tile: separate ffsll from ffs
[glibc.git] / ChangeLog
blobd488679832b20871b2ce51939aae2585af443e04
1 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
3         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4         * sysdeps/tile/ffsll.c (ffsll): To here.
6         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11         if not defined.
12         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
13         definition.
14         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
15         hidden ___tls_get_addr.
16         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17         hidden __tls_get_addr.
18         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
19         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
20         Likewise.
22 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25         _dl_init call.
27 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
30         from "call _dl_init@PLT".
31         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
33 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35         * manual/search.texi: (Array Sort Function): Clarify stable sorting
36         guarantees.
38 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
40         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
44         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
45         strnlen.
47 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
49         * string/strncat.c (STRNCAT): Simplify implementation.
51 2014-12-19  David S. Miller  <davem@davemloft.net>
53         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
54         access the quad as both a long double and as a series of 4 words.
56         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
57         link_map->l_info array access.
59 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
61         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
63         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
64         * math/atest-exp2.c (TIMEOUT): Likewise.
65         * math/atest-sincos.c (TIMEOUT): Likewise.
67 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
69         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
70         -Wno-error with -fno-builtin-lround.
72 2014-12-19  Torvald Riegel  <triegel@redhat.com>
74         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
75         Contains futex constants and functions moved over from ...
76         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
77         <lowlevellock-futex.h>.
78         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
79         (lll_timedwait_tid): Add comments and parentheses around macro
80         arguments.
82 2014-12-19  Torvald Riegel  <triegel@redhat.com>
84         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
85         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
86         (__lll_private_flag): Remove.
87         (lll_futex_wait): Likewise.
88         (lll_futex_timed_wait): Likewise.
89         (lll_futex_wake): Likewise.
90         (lll_futex_requeue): Likewise.
91         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
92         (__lll_timedwait_tid): Spell out argument names.
93         (lll_timedwait_tid): Add comments and parentheses around macro
94         arguments.
95         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
96         LLL_SHARED and LLL_PRIVATE usable from assembly code.
98 2014-12-19  Torvald Riegel  <triegel@redhat.com>
100         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
101         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
102         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
103         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
104         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
105         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
106         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
107         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
108         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
109         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
110         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
111         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
112         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
113         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
114         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
115         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
116         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
117         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
118         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
120 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
122         * sysdeps/x86_64/x32/Makefile: New file.
124 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
126         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
127         1L with (mp_limb_t) 1.
129 2014-12-17  Roland McGrath  <roland@hack.frob.com>
131         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
132         * nptl/libc_pthread_init.c: ... here.
133         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
134         * nptl/register-atfork.c: ... here.
136         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
137         Use pthread_sigmask rather than INTERNAL_SYSCALL.
138         Use assert_perror to check its return value.
139         (__gai_create_helper_thread): Likewise.
141         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
143         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
145 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
147         [BZ #17725]
148         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
149         __profil_counter.
150         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
151         Likewise.
152         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
153         Likewise.
154         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
155         Likewise.
156         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
157         (profil_counter): Likewise.
158         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
159         (profil_counter): Likewise.
160         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
161         Likewise.
162         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
163         Likewise.
164         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
165         (profil_counter): Likewise.
166         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
167         Likewise.
168         [!__profil_counter] (profil_counter): Define as weak alias of
169         __profil_counter.
170         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
171         (profil_counter): Rename to __profil_counter.
172         [!__profil_counter] (profil_counter): Define as weak alias of
173         __profil_counter.
174         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
175         (profil_counter): Rename to __profil_counter.
176         [!__profil_counter] (profil_counter): Define as weak alias of
177         __profil_counter.
178         * sysdeps/posix/profil.c: Update comment referring to
179         profil_counter.
180         (__profil): Use __profil_counter instead of profil_counter.
181         * sysdeps/posix/sprofil.c (profil_counter): Rename to
182         __profil_counter.  Use __profil_counter_ushort and
183         __profil_counter_uint in definitions.
184         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
185         instead of profil_counter_uint and profil_counter_ushort.
187         [BZ #17722]
188         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
189         define as weak alias of __inet_makeaddr.
190         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
191         as weak alias of __inet_addr.
192         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
193         as weak alias of __inet_pton.  Use libc_hidden_weak.
194         * include/arpa/inet.h (__inet_pton): Declare.  Use
195         libc_hidden_proto.
196         (inet_makeaddr): Don't use libc_hidden_proto.
197         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
198         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
199         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
200         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
201         Remove variable.
202         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
203         (test-xfail-POSIX/time.h/linknamespace): Likewise.
205 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
207         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
209 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
211         * stdio-common/bug-vfprintf-nargs.c (do_test):
212         Cast value to intptr_t to avoid format warning
213         for usage with PRIdPTR printing macro.
215 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
217         * libio/tst-widetext.c (do_test):
218         Use format type %td instead of %Zd for ptrdiff_t
219         in order to avoid format warning.
221 2014-12-17  Andreas Schwab  <schwab@suse.de>
223         * nscd/mem.c (gc): Add size_t cast to match printf format.
225 2014-12-16  Roland McGrath  <roland@hack.frob.com>
227         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
228         (init): Apply PTR_MANGLE to pointers before storing them.
229         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
230         before using them.
232 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
234         [BZ #17719]
235         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
236         define as weak alias of __memrchr.
237         (__memrchr): Do not define as strong alias of memrchr.
238         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
239         Remove variable.
240         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
241         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
242         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
244         [BZ #17717]
245         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
246         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
247         (if_indextoname): Rename to __if_indextoname and define as weak
248         alias of __if_indextoname.  Use libc_hidden_weak.
249         (if_freenameindex): Rename to __if_freenameindex and define as
250         weak alias of __if_freenameindex.
251         (if_nameindex): Rename to __if_nameindex and define as weak alias
252         of __if_nameindex.
253         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
254         __if_nametoindex and define as weak alias of __if_nametoindex.
255         Use libc_hidden_weak.
256         (if_freenameindex): Rename to __if_freenameindex and define as
257         weak alias of __if_freenameindex.
258         (if_nameindex): Rename to __if_nameindex and define as weak alias
259         of __if_nameindex.
260         (if_indextoname): Rename to __if_indextoname and define as weak
261         alias of __if_indextoname.  Use libc_hidden_weak.
262         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
263         __if_nametoindex and define as weak alias of __if_nametoindex.
264         Use libc_hidden_weak.
265         (if_freenameindex): Rename to __if_freenameindex and define as
266         weak alias of __if_freenameindex.  Use libc_hidden_weak.
267         (if_nameindex_netlink): Use __if_freenameindex instead of
268         if_freenameindex.
269         (if_nameindex): Rename to __if_nameindex and define as weak alias
270         of __if_nameindex.  Use libc_hidden_weak.
271         (if_indextoname): Rename to __if_indextoname and define as weak
272         alias of __if_indextoname.  Use libc_hidden_weak.
273         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
274         libc_hidden_proto.
275         [!_ISOMAC] (__if_freenameindex): Likewise.
276         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
277         if_nametoindex.
278         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
279         variable.
280         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
281         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
282         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
283         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
284         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
285         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
286         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
288         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
289         Remove variable.
290         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
291         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
293 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
295         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
296         subscript above bounds'
298         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
299         bounds.
301 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
303         * libio/tst-fopenloc.c: Use test-skeleton.c.
305         * stdlib/tst-bsearch.c: Use test-skeleton.c.
306         (entry): Rename to ITEM.
307         (do_test, comp): Adjust.
309         * stdio-common/tst-fseek.c: Use test-skeleton.c.
311 2014-12-16  Torvald Riegel  <triegel@redhat.com>
313         * string/tester.c: Include <libc-internal.h>.
314         (test_memset): Ignore -Wmemset-transposed-args.
316 2014-12-16  Torvald Riegel  <triegel@redhat.com>
318         * misc/tst-mntent2.c (do_test): Fix warning.
320 2014-12-16  Torvald Riegel  <triegel@redhat.com>
322         * elf/tst-unique4lib.cc(a): Mark as used.
324 2014-12-16  Florian Weimer  <fweimer@redhat.com>
326         [BZ #17630]
327         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
328         names.
330 2014-12-16  Allan McRae  <allan@archlinux.org>
332         * stdio-common/Makefile (tests): Re-add bug26.
334 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
336         [BZ #17657]
337         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
338         static array.
340 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
342         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
343         (__lll_lock_wait): Likewise.
344         (__lll_timedlock_wait): Likewise.
345         (__lll_timedwait_tid): Likewise.
346         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
347         (__lll_robust_timedlock_wait): Likewise.
348         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
349         (lll_cond_trylock): Likewise.
350         (__lll_lock): Likewise.
351         (__lll_robust_lock): Likewise.
352         (__lll_cond_lock): Likewise.
353         (lll_robust_cond_lock): Likewise.
354         (__lll_timedlock): Likewise.
355         (__lll_robust_timedlock): Likewise.
356         (__lll_unlock): Likewise.
357         (__lll_robust_unlock): Likewise.
358         (lll_wait_tid): Likewise.
359         (lll_timedwait_tid): Likewise.
361 2014-12-15  Torvald Riegel  <triegel@redhat.com>
363         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
365 2014-12-15  Torvald Riegel  <triegel@redhat.com>
367         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
369 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
371         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
372         * stdio-common/tst-sprintf.c: Likewise.
374 2014-12-15  Torvald Riegel  <triegel@redhat.com>
376         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
378 2014-12-15  Jeff Law  <law@redhat.com>
380         [BZ #16617]
381         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
382         on the heap.  (CVE-2012-3406)
383         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
384         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
385         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
387 2014-12-15  Will Newton  <will.newton@linaro.org>
389         * manual/install.texi: Bump required version of texinfo
390         to 4.7 from 4.5.
391         * INSTALL: Regenerated.
392         * configure.ac: Check for makeinfo version 4.7 and above.
393         * configure: Regenerated.
395 2014-12-12  Roland McGrath  <roland@hack.frob.com>
397         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
398         PREFIX, string constant to insert between directory and name.
399         * sysdeps/posix/shm_open.c: Update caller.
400         * sysdeps/posix/shm_unlink.c: Likewise.
401         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
402         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
403         (SEM_SHM_PREFIX): New macro.
404         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
405         [$(have-thread-library) = no].
406         * nptl/Makefile (libpthread-routines): Add shm-directory.
407         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
408         * sysdeps/nptl/shm-directory.h: New file.
409         * sysdeps/posix/shm-directory.c
410         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
411         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
412         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
413         INTERNAL_SYSCALL.
414         (__where_is_shmfs): Function removed.
415         (mountpoint, defaultmount, defaultdir, __namedsem_once):
416         Variables removed.
417         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
418         Use SHM_GET_NAME.
419         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
421         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
422         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
423         unconditional for use inside libpthread.
424         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
426 2014-12-12  Roland McGrath  <roland@hack.frob.com>
428         * nptl/pthread_getaffinity.c: New file.
429         * nptl/pthread_setaffinity.c: New file.
430         * nptl/pthread_getname.c: New file.
431         * nptl/pthread_setname.c: New file.
433         * nptl/pthread_create.c (START_THREAD_DEFN)
434         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
436 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
437             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
439         * resolv/res_send.c (send_vc): Disable warning resplen may
440         be used uninitialized.
442 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
444         * nptl/tst-mutex6.c
445         (ATTR_NULL): New define checks ATTR against NULL.
446         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
447         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
449 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
451         [BZ #17581]
452         * malloc/hooks.c
453         (mem2mem_check): Revert my previous change.
454         (malloc_check_get_size): Revert my previous change.
455         (mem2chunk_check): Revert my previous change.
457 2014-12-11  Roland McGrath  <roland@hack.frob.com>
459         * sysdeps/posix/shm-directory.c: New file.
460         * sysdeps/posix/shm-directory.h: New file.
461         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
462         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
463         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
464         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
465         Transmute EPERM to EACCES.
466         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
467         from ...
468         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
469         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
471 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
473         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
474         pointer and cast to uintptr_t.
475         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
476         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
477         Add cast to avoid warning.
478         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
480 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
482         * nptl/semaphore.h: Move to ...
483         * sysdeps/pthread/semaphore.h: ... here.
484         * Makefile (installed-headers): Change nptl/semaphore.h to
485         sysdeps/pthread/semaphore.h.
487 2014-12-11  Roland McGrath  <roland@hack.frob.com>
489         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
490         generated error format strings.
492         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
493         -Wformat-extra-args warnings for scanf formats.
494         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
495         test of zero-length format (duh).
496         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
497         corner-case scanf format test.
498         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
499         generated fprintf format string.
500         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
501         corner-case sprintf format tests.
502         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
503         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
504         -Wformat-extra-args warnings throughout.
505         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
506         (CFLAGS-scanf4.c): Likewise.
507         (CFLAGS-scanf7.c): Likewise.
508         (CFLAGS-tst-sprintf.c): Likewise.
509         (CFLAGS-tst-printf.c): Likewise.
510         (CFLAGS-tst-printfsz.c): Likewise.
512 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
514         * include/cpio.h: New file.
515         * include/fmtmsg.h: Likewise.
517         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
518         corresponding format argument to size_t.
519         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
520         arguments.
521         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
522         corresponding format argument to size_t.
523         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
524         arguments.
525         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
526         corresponding format argument to size_t.
527         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
528         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
529         (CFLAGS-tst-mbswcs2.c): Likewise.
530         (CFLAGS-tst-mbswcs3.c): Likewise.
531         (CFLAGS-tst-mbswcs4.c): Likewise.
532         (CFLAGS-tst-mbswcs5.c): Likewise.
533         (CFLAGS-tst-trans.c): Likewise
535 2014-12-11  Roland McGrath  <roland@hack.frob.com>
537         * posix/regexbug1.c (main): Use "%s" format with regerror results,
538         rather than assuming they won't contain any '%'s.
540 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
542         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
543         inhibit_loop_to_libcall to avoid recursive calls.
544         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
545         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
547 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
549         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
550         prototype.
552 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
554         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
555         integer value instead of boolean.
557 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
559         * malloc/malloc.c: Fix powerof2 check.
561 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
563         * locale/programs/locfile.h (maybe_swap_uint32):
564         Remove inline and add unused attribute.
566 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
568         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
569         Truncating assembler expression to a .long expression.
571 2014-12-11  Andreas Schwab  <schwab@suse.de>
573         * elf/rtld.c (struct map_args): Constify str member.
574         (do_preload): Constify fname argument.
576 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
578         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
579         constants definition.
581 2014-12-11  Andreas Schwab  <schwab@suse.de>
583         [BZ #16657]
584         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
585         FORCE_ELISION instead of DO_ELISION.
586         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
587         Remove.
588         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
589         Likewise.
591         * iconvdata/gconv-modules: Remove duplicate entry.
593 2014-12-11  Will Newton  <will.newton@linaro.org>
595         Merge gettext 0.19.3 into intl/.
597         This involves a number of cosmetic changes to comments
598         and ANSI function definitions and prototypes throughout
599         all the files. The gettext copyright header is used but
600         with the date ranges taken from the glibc copy.
602         * NEWS: Add gettext merge to 2.21.
603         * intl/bindtextdom.c: Switch to gettext copyright.
604         Use ANSI definitions and prototypes.
605         Use gl_* locking primitives rather than __libc_* ones.
606         Use __builtin_expect rather than __glibc_likely/unlikely.
607         * intl/dcgettext.c: Switch to gettext copyright.
608         Use ANSI definitions and prototypes.
609         * intl/dcigettext.c: Switch to gettext copyright.
610         Use ANSI definitions and prototypes.
611         (INTDIV0_RAISES_SIGFPE): New define.
612         Use gl_* locking primitives rather than __libc_* ones.
613         Include eval-plural.h instead of plural-eval.c.
614         Use __builtin_expect rather than __glibc_likely/unlikely.
615         * intl/dcngettext.c: Switch to gettext copyright.
616         Use ANSI definitions and prototypes.
617         * intl/dgettext.c: Likewise.
618         * intl/dngettext.c: Likewise.
619         * intl/plural-eval.c: Renamed to...
620         * intl/eval-plural.h: ...this.
621         * intl/explodename.c: Switch to gettext copyright.
622         Use ANSI definitions and prototypes.
623         (_nl_explode_name): Use strchr instead of __rawmemchr.
624         * intl/finddomain.c: Switch to gettext copyright.
625         Use ANSI definitions and prototypes.
626         Use gl_* locking primitives rather than __libc_* ones.
627         (_nl_find_domain): Use malloc rather than alloca for
628         allocation of temporary locale name.
629         * intl/gettext.c: Switch to gettext copyright.
630         Use ANSI definitions and prototypes.
631         * intl/gettextP.h: Switch to gettext copyright.
632         Use ANSI definitions and prototypes.
633         Use gl_* locking primitives rather than __libc_* ones.
634         * intl/gmo.h: Switch to gettext copyright.
635         (struct sysdep_string): Move struct segment_pair outside of
636         struct definition.
637         * intl/hash-string.c: Use ANSI definitions and prototypes.
638         * intl/hash-string.h: Switch to gettext copyright.
639         Use ANSI definitions and prototypes.
640         * intl/l10nflist.c: Switch to gettext copyright.
641         Use ANSI definitions and prototypes.
642         (_nl_normalize_codeset): Avoid integer overflow.
643         * intl/loadinfo.h: Switch to gettext copyright.
644         Use ANSI definitions and prototypes.
645         (LIBINTL_DLL_EXPORTED): New define.
646         (PATH_SEPARATOR): New define.
647         * intl/loadmsgcat.c: Switch to gettext copyright.
648         * intl/localealias.c: Switch to gettext copyright.
649         Use ANSI definitions and prototypes.
650         (_nl_expand_alias): Use PATH_SEPARATOR.
651         * intl/ngettext.c: Switch to gettext copyright.
652         Use ANSI definitions and prototypes.
653         * intl/plural-exp.c: Likewise.
654         * intl/plural-exp.h: Switch to gettext copyright.
655         Use ANSI definitions and prototypes.
656         (struct expression): Move definition of enum operator outside
657         of struct definition.
658         * intl/plural.c: Regenerate.
659         * intl/plural.y: Switch to gettext copyright.
660         Use ANSI definitions and prototypes.
661         Port to bison 3.0.
662         * intl/textdomain.c: Switch to gettext copyright.
663         Use ANSI definitions and prototypes.
664         Use gl_* locking primitives rather than __libc_* ones.
666 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
668         * debug/warning-nop.c: Add used atrribute.
670 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
672         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
674         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
675         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
676         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
678 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
679             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
681         [BZ #17634]
682         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
683         Undefine after defining function.  Define as weak alias of
684         __wcschr.  Use libc_hidden_weak.
685         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
686         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
687         (libc_hidden_def): Also define __GI___wcschr alias.
688         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
689         __wcschr and define as weak alias of __wcschr.
690         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
691         __wcschr.
692         [!WCSCHR] (DEFAULT_WCSCHR): Define.
693         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
694         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
695         libc_hidden_weak.  Do not use libc_hidden_def.
696         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
697         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
698         __GI___wcschr alias.
699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
700         [IS_IN (libc)] (wcschr): Define as macro expanding to
701         __redirect_wcschr.
702         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
703         [IS_IN (libc)] (__wcschr_power6): Likewise.
704         [IS_IN (libc)] (__wcschr_power7): Likewise.
705         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
706         instead of wcschr.
707         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
708         __libc_wcschr.
709         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
710         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
711         __wcschr and define as weak alias of __wcschr.  Use
712         libc_hidden_builtin_def.
713         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
714         as weak alias of __wcschr.  Use libc_hidden_weak.
715         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
716         wcschr.
717         * time/era.c (_nl_init_era_entries): Likewise.
718         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
719         variable.
720         (test-xfail-XPG3/time.h/linknamespace): Likewise.
721         (test-xfail-XPG4/time.h/linknamespace): Likewise.
723 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
725         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
726         format for long int variable.
728 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
730         [BZ #10672]
731         * manual/search.texi: (Array Sort Function): Remove claim how to make
732         qsort stable.
734 2014-12-10  Andreas Schwab  <schwab@suse.de>
736         [BZ #12847]
737         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
738         user-controlled locks.
740 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
742         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
743         register.
745 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
747         * configure.ac (--disable-werror): New configure option.
748         (enable_werror): New AC_SUBST.
749         * configure: Regenerated.
750         * config.make.in (enable-werror): New variable.
751         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
752         -Wno-error=undef.
753         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
754         * manual/install.texi (Configuring and compiling): Document
755         --disable-werror.
756         * INSTALL: Regenerated.
757         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
758         (CFLAGS-tst-chk2.c): Likewise.
759         (CFLAGS-tst-chk3.c): Likewise.
760         (CFLAGS-tst-chk4.cc): Likewise.
761         (CFLAGS-tst-chk5.cc): Likewise.
762         (CFLAGS-tst-chk6.cc): Likewise.
763         (CFLAGS-tst-lfschk1.c): Likewise.
764         (CFLAGS-tst-lfschk2.c): Likewise.
765         (CFLAGS-tst-lfschk3.c): Likewise.
766         (CFLAGS-tst-lfschk4.cc): Likewise.
767         (CFLAGS-tst-lfschk5.cc): Likewise.
768         (CFLAGS-tst-lfschk6.cc): Likewise.
770         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
771         (main): Disable -Wdeprecated-declarations around calls to
772         register_printf_function.
774         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
775         (do_test): Disable -Wdiv-by-zero around some calls to
776         fwrite_unlocked and fread_unlocked.
778         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
779         (DIAG_POP_NEEDS_COMMENT): Likewise.
780         (_DIAG_STR1): Likewise.
781         (_DIAG_STR): Likewise.
782         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
783         * stdio-common/bug21.c: Include <libc-internal.h>.
784         (do_test): Disable -Wformat around call to sscanf.
785         * stdio-common/scanf14.c: Include <libc-internal.h>.
786         (main): Disable -Wformat around some calls to scanf functions.
788 2014-12-09  Torvald Riegel  <triegel@redhat.com>
790         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
792 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
794         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
795         stack variable alignment.
797 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
799         [BZ #17682]
800         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
801         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
802         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
803         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
804         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
805         __getrlimit instead of getrlimit.
806         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
807         __gettimeofday instead of gettimeofday.
808         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
809         Likewise.
810         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
811         Likewise.
812         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
813         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
814         Remove variable.
815         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
816         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
818 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
820         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
821         for wide-character tests.
823 2014-12-04  Roland McGrath  <roland@hack.frob.com>
825         * io/openat64.c: #include <libc-internal.h>
826         (__openat64): Prototypify.  Use ignore_value on MODE.
827         * io/openat.c: Likewise.
828         * misc/reboot.c: #include <libc-internal.h>
829         (reboot): Prototypify.  Use ignore_value on HOWTO.
830         * misc/ptrace.c: #include <libc-internal.h>
831         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
833 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
835         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
836         XPG4, UNIX98 and XOPEN2K.
837         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
838         Remove variable.
839         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
841 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
843         * libio/fileops.c: Use ISO C style for function definitions.
844         * libio/iofopen.c: Likewise.
845         * libio/wfileops.c: Likewise.
847         [BZ #17653]
848         * libio/fileops.c (_IO_new_file_underflow): Unset cached
849         offset on EOF.
850         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
851         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
852         (fgets_func): Function pointer to fgets and fgetws.
853         (do_ftell_test): Add test to verify ftell value after read
854         EOF.
855         (do_test): Set fgets_func.
857         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
858         O_TRUNC flag for w and w+ modes.
859         (do_rewind_test): Likewise.
860         (do_ftell_test): Likewise.
861         (do_write_test): Likewise.
863         [BZ #17647]
864         * libio/fileops.c (do_ftell): Seek only when there are
865         unflushed writes.
866         * libio/wfileops.c (do_ftell_wide): Likewise.
867         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
868         test case.
869         (do_one_test): Call it.
871 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
873         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
874         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
875         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
876         Remove variable.
877         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
878         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
879         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
881 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
883         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
884         Remove variable.
885         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
887         [BZ #17668]
888         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
889         as weak alias of __getifaddrs.  Use libc_hidden_weak.
890         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
891         __freeifaddrs.  Use libc_hidden_weak.
892         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
893         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
894         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
895         __freeifaddrs.  Use libc_hidden_weak.
896         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
897         __getifaddrs and define as weak alias of __getifaddrs.  Use
898         libc_hidden_weak.
899         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
900         __freeifaddrs.  Use libc_hidden_weak.
901         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
902         Remove variable.
903         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
904         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
906 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
908         [BZ #17601]
909         * sysdeps/mips/start.S (__start): Use indirect jump to call
910         __libc_start_main.
912 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
914         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
916         * nptl/tst-mutex1.c: Include <stdbool.h>.
917         [!ATTR] (ATTR_NULL): New macro.
918         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
919         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
920         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
922         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
923         to char *.
925         [BZ #17665]
926         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
927         Change conditional to [__USE_MISC].
929         [BZ #17664]
930         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
931         fgets_unlocked.
932         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
933         __fgets_unlocked.
934         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
935         fgets_unlocked.
936         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
937         Remove variable.
938         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
939         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
940         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
941         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
942         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
943         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
944         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
945         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
946         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
948         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
950 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
952         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
953         Remove strpbrk objects.
954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
955         (__libc_ifunc_impl_list): Remove strpbrk implementation.
956         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
957         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
958         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
959         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
961         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
962         Remove strcspn objects.
963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
964         (__libc_ifunc_impl_list): Remove strcspn implementation.
965         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
966         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
967         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
968         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
970         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
971         Remove strspn objetcs.
972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
973         (__libc_ifunc_impl_list): Remove strspn implementation.
974         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
975         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
976         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
977         * sysdeps/powerpc/powerpc64/strspn.S: New file.
979 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
981         [BZ #17581]
982         * malloc/hooks.c
983         (mem2mem_check): Add a terminator to the chain of checking blocks.
984         (malloc_check_get_size): Use it here.
985         (mem2chunk_check): Ditto.
987 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
989         * sysdeps/powerpc/powerpc64/strtok.S: New file.
990         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
992 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
994         * bits/ioctl-types.h: Indent preprocessor directives correctly.
996         * nptl/nptl-init.c: Include libc-internal.h.
997         (__pthread_initialize_minimal_internal): Use ROUND_UP.
999         * elf/ldconfig.c (search_dir): Expand comment.
1001 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1003         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1004         variable.
1005         (linknamespace-symlist-stdlibs-tests): Likewise.
1006         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1007         instead of $(objpfx)symlist-stdlibs.
1008         (linknamespace-libs-isoc): New variable.
1009         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1010         (linknamespace-libs-ISO): New variable.
1011         (linknamespace-libs-ISO99): Likewise.
1012         (linknamespace-libs-ISO11): Likewise.
1013         (linknamespace-libs-XPG3): Likewise.
1014         (linknamespace-libs-XPG4): Likewise.
1015         (linknamespace-libs-POSIX): Likewise.
1016         (linknamespace-libs-UNIX98): Likewise.
1017         (linknamespace-libs-XOPEN2K): Likewise.
1018         (linknamespace-libs-POSIX2008): Likewise.
1019         (linknamespace-libs-XOPEN2K8): Likewise.
1020         ($(objpfx)symlist-stdlibs): Replace by
1021         $(linknamespace-symlist-stdlibs-tests).  Use
1022         $(linknamespace-libs-$*) as set of libraries.
1023         ($(linknamespace-header-tests)): Update dependencies.  Use
1024         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1025         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1026         * conform/linknamespace.pl: Remove comment about considering
1027         definitions of symbols from irrelevant libraries.
1029 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1031         [BZ #13862]
1032         * elf/dl-tls.c: Include <atomic.h>.
1033         (oom): Remove #ifdef SHARED/#endif.
1034         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1035         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1036         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1037         big enough.
1038         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1039         * nptl/Makefile (tests): Add tst-stack4.
1040         (modules-names): Add tst-stack4mod.
1041         ($(objpfx)tst-stack4): New.
1042         (tst-stack4mod.sos): Likewise.
1043         ($(objpfx)tst-stack4.out): Likewise.
1044         ($(tst-stack4mod.sos)): Likewise.
1045         (clean): Likewise.
1046         * nptl/tst-stack4.c: New file.
1047         * nptl/tst-stack4mod.c: Likewise.
1049 2014-11-27  J. Brown  <jb999@gmx.de>
1051         * sysdeps/x86/bits/string.h: Add recent CPUs.
1053 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1055         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1056         sigblock.
1058         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1059         feof.
1061         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1062         variable.
1064 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1066         * nscd/connections.c: Include libc-internal.h because of macro
1067         usage ignore_value.
1069 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1071         * string/bits/string3.h (__warn_memset_zero_len): Don't
1072         declare for gcc newer than 5.0.
1073         (memset): Don't test for zero-length __LEN for gcc newer than
1074         5.0.
1076 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1078         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1079         size_t for %zu format.
1081         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1082         difference, not %ju.
1084 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1086         * include/libc-internal.h (ignore_value): New macro.
1087         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1088         with ignore_value.
1090         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1091         definition.
1093         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1094         pthread_cleanup_push to void *.
1096         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1097         Undefine.
1099         [BZ #16619]
1100         [BZ #16740]
1101         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1102         instead of 1L << 52.
1104         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1105         * libio/bug-rewind2.c (do_test): Likewise.
1107         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1108         * debug/test-strcpy_chk-ifunc.c: Likewise.
1109         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1110         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1111         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1112         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1113         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1114         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1115         * Rules [$(multi-arch) = no] (tests): Do not filter out
1116         $(tests-ifunc).
1117         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1118         * debug/Makefile (tests-ifunc): Remove variable.
1119         (tests): Do not add $(tests-ifunc).
1120         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1121         (tests): Do not add $(tests-ifunc).
1122         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1123         [TEST_IFUNC]: Remove conditionals.
1124         * string/test-string.h (TEST_IFUNC): Remove macro.
1125         [TEST_IFUNC]: Remove conditionals.
1127         * string/test-strchr.c [!WIDE] (L): New macro.
1128         [WIDE] (L): Likewise.
1129         (check1): Use CHAR instead of char.  Use L on string and character
1130         constants.
1132 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1134         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1135         tests.
1136         * sysdeps/powerpc/bits/atomic.h
1137         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1138         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1139         (atomic_exchange_and_add_acq): Likewise.
1140         (atomic_exchange_and_add_rel): Likewise.
1141         * sysdeps/powerpc/powerpc32/bits/atomic.h
1142         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1143         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1144         * sysdeps/powerpc/powerpc64/bits/atomic.h
1145         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1146         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1148 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1150         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1151         Change synchronization of __sched_fifo_min_prio and
1152         __sched_fifo_max_prio.
1153         * nptl/pthread_mutexattr_getprioceiling.c
1154         (pthread_mutexattr_getprioceiling): Likewise.
1155         * nptl/pthread_mutexattr_setprioceiling.c
1156         (pthread_mutexattr_setprioceiling): Likewise.
1157         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1158         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1159         Likewise.
1161 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1163         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1164         void.
1166 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1168         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1169         third argument const.
1171 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1173         fnmatch: work around GCC compiler warning bug with uninit var
1174         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1175         This works around a bug with x86-64 GCC 4.9.2 and earlier
1176         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1177         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1178         used uninitialized in this function [-Wmaybe-uninitialized]".
1180 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1182         * posix/bug-regex31.c (main): Return RES not 0.
1184 2014-11-25  Anton Blanchard <anton@samba.org>
1186         * sysdeps/powerpc/bits/atomic.h
1187         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1189 2014-11-24  Sterling Augustine  <saugustine@google.com>
1191         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1193 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1195         [BZ #17608]
1196         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1198 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1200         [BZ #17633]
1201         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1202         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1203         variable.
1204         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1205         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1207 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1209         * string/strncpy.c (strncpy): Improve performance by using memset.
1211 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1213         * string/strcpy.c (strcpy):
1214         Improve performance by using strlen and memcpy.
1216 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1218         * string/strcoll_l.c (get_next_seq): __always_inline.
1219         * string/strcoll_l.c (do_compare): __always_inline.
1221 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1223         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1224         defined.
1225         * include/mqueue.h: Likewise.
1226         * include/stdlib.h: Likewise.
1228         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1229         (get_null_defines): Adjust.
1230         * sunrpc/Makefile: Adjust comment.
1231         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1232         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1233         (CFLAGS-interp.c): Likewise.
1234         (CFLAGS-ldconfig.c): Likewise.
1235         (CPPFLAGS-.os): Likewise.
1236         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1237         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1238         * extra-modules.mk (extra-modules.mk): Likewise.
1239         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1240         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1241         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1242         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1243         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1244         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1245         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1246         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1247         * iconvdata/Makefile (CPPFLAGS): Likewise.
1248         (cpp-srcs-left): Add libof for all iconvdata routines.
1249         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1250         * include/assert.h: Likewise.
1251         * include/ctype.h: Likewise.
1252         * include/errno.h: Likewise.
1253         * include/libc-symbols.h: Likewise.
1254         * include/math.h: Likewise.
1255         * include/netdb.h: Likewise.
1256         * include/resolv.h: Likewise.
1257         * include/stdio.h: Likewise.
1258         * include/stdlib.h: Likewise.
1259         * include/string.h: Likewise.
1260         * include/sys/stat.h: Likewise.
1261         * include/wctype.h: Likewise.
1262         * intl/l10nflist.c: Likewise.
1263         * libidn/idn-stub.c: Likewise.
1264         * libio/libioP.h: Likewise.
1265         * nptl/libc_multiple_threads.c: Likewise.
1266         * nptl/pthreadP.h: Likewise.
1267         * posix/regex_internal.h: Likewise.
1268         * resolv/res_hconf.c: Likewise.
1269         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1270         * sysdeps/arm/memmove.S: Likewise.
1271         * sysdeps/arm/sysdep.h: Likewise.
1272         * sysdeps/generic/_itoa.h: Likewise.
1273         * sysdeps/generic/symbol-hacks.h: Likewise.
1274         * sysdeps/gnu/errlist.awk: Likewise.
1275         * sysdeps/gnu/errlist.c: Likewise.
1276         * sysdeps/i386/i586/memcpy.S: Likewise.
1277         * sysdeps/i386/i586/memset.S: Likewise.
1278         * sysdeps/i386/i686/memcpy.S: Likewise.
1279         * sysdeps/i386/i686/memmove.S: Likewise.
1280         * sysdeps/i386/i686/mempcpy.S: Likewise.
1281         * sysdeps/i386/i686/memset.S: Likewise.
1282         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1283         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1284         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1285         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1286         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1287         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1288         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1289         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1290         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1291         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1292         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1293         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1294         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1295         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1296         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1297         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1298         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1299         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1300         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1301         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1302         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1303         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1304         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1305         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1306         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1307         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1308         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1309         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1310         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1311         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1312         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1313         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1314         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1315         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1316         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1317         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1318         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1319         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1320         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1321         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1322         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1323         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1324         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1325         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1326         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1327         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1328         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1329         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1330         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1331         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1332         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1333         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1334         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1335         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1336         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1337         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1338         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1339         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1340         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1341         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1342         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1343         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1344         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1345         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1346         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1347         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1348         * sysdeps/posix/closedir.c: Likewise.
1349         * sysdeps/posix/opendir.c: Likewise.
1350         * sysdeps/posix/readdir.c: Likewise.
1351         * sysdeps/posix/rewinddir.c: Likewise.
1352         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1353         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1354         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1355         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1356         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1357         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1358         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1359         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1360         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1361         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1362         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1363         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1364         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1365         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1366         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1367         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1368         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1369         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1370         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1371         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1372         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1373         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1374         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1375         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1376         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1377         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1378         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1379         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1380         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1381         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1382         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1383         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1384         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1386         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1387         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1388         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1389         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1390         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1391         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1392         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1393         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1394         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1395         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1396         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1397         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1398         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1399         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1400         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1401         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1402         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1403         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1404         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1405         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1406         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1407         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1408         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1409         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1410         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1411         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1412         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1413         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1414         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1415         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1416         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1417         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1418         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1419         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1420         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1421         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1422         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1423         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1424         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1425         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1426         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1427         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1428         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1429         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1430         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1431         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1432         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1433         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1434         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1435         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1436         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1437         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1438         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1439         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1440         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1441         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1442         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1443         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1444         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1445         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1446         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1447         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1448         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1450         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1451         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1452         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1453         * sysdeps/unix/alpha/sysdep.S: Likewise.
1454         * sysdeps/unix/alpha/sysdep.h: Likewise.
1455         * sysdeps/unix/make-syscalls.sh: Likewise.
1456         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1457         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1458         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1459         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1460         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1461         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1462         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1463         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1464         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1465         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1466         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1467         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1468         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1469         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1470         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1471         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1472         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1473         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1474         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1475         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1476         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1477         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1478         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1479         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1480         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1481         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1482         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1485         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1486         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1487         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1488         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1489         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1490         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1491         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1492         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1493         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1494         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1495         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1496         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1497         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1498         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1499         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1500         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1501         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1502         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1503         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1504         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1505         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1506         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1507         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1508         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1509         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1510         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1511         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1512         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1513         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1514         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1515         * sysdeps/x86_64/memcpy.S: Likewise.
1516         * sysdeps/x86_64/memmove.c: Likewise.
1517         * sysdeps/x86_64/memset.S: Likewise.
1518         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1519         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1520         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1521         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1522         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1523         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1524         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1525         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1526         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1527         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1528         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1529         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1530         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1531         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1532         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1533         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1534         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1535         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1536         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1537         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1538         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1539         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1540         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1541         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1542         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1543         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1544         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1545         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1546         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1547         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1548         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1549         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1550         * sysdeps/x86_64/strcmp.S: Likewise.
1552         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1554         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1555         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1556         * elf/rtld-Rules: Likewise.
1557         * elf/setup-vdso.h: Likewise.
1558         * include/assert.h: Likewise.
1559         * include/bits/stdlib-float.h: Likewise.
1560         * include/errno.h: Likewise.
1561         * include/sys/stat.h: Likewise.
1562         * include/unistd.h: Likewise.
1563         * sysdeps/aarch64/setjmp.S: Likewise.
1564         * sysdeps/alpha/setjmp.S: Likewise.
1565         * sysdeps/arm/__longjmp.S: Likewise.
1566         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1567         * sysdeps/arm/setjmp.S: Likewise.
1568         * sysdeps/arm/sysdep.h: Likewise.
1569         * sysdeps/generic/_itoa.h: Likewise.
1570         * sysdeps/generic/dl-sysdep.h: Likewise.
1571         * sysdeps/generic/ldsodefs.h: Likewise.
1572         * sysdeps/i386/dl-tls.h: Likewise.
1573         * sysdeps/i386/setjmp.S: Likewise.
1574         * sysdeps/m68k/setjmp.c: Likewise.
1575         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1576         * sysdeps/mach/hurd/opendir.c: Likewise.
1577         * sysdeps/posix/getcwd.c: Likewise.
1578         * sysdeps/posix/opendir.c: Likewise.
1579         * sysdeps/posix/profil.c: Likewise.
1580         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1581         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1582         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1583         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1584         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1585         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1586         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1587         * sysdeps/s390/dl-tls.h: Likewise.
1588         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1589         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1590         * sysdeps/sh/sh3/setjmp.S: Likewise.
1591         * sysdeps/sh/sh4/setjmp.S: Likewise.
1592         * sysdeps/unix/alpha/sysdep.h: Likewise.
1593         * sysdeps/unix/arm/sysdep.S: Likewise.
1594         * sysdeps/unix/i386/sysdep.S: Likewise.
1595         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1596         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1597         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1598         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1599         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1600         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1601         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1602         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1603         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1604         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1605         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1606         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1607         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1610         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1611         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1612         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1613         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1614         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1615         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1616         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1617         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1618         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1619         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1620         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1621         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1622         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1623         * sysdeps/x86_64/setjmp.S: Likewise.
1625         * include/math.h: Use IS_IN instead of IS_IN_libm.
1626         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1627         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1628         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1629         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1630         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1631         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1632         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1633         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1634         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1635         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1636         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1637         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1638         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1639         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1640         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1641         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1642         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1643         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1644         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1645         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1646         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1647         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1648         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1649         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1650         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1651         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1652         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1653         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1654         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1655         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1656         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1657         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1658         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1660         Likewise.
1661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1662         Likewise.
1663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1664         Likewise.
1665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1666         Likewise.
1667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1668         Likewise.
1669         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1670         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1671         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1672         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1673         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1674         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1680         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1681         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1682         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1683         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1684         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1685         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1686         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1687         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1688         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1689         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1690         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1691         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1692         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1693         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1695         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1697         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1698         * nptl/pthreadP.h: Likewise.
1699         * nptl_db/structs.def: Likewise.
1700         * sysdeps/arm/sysdep.h: Likewise.
1701         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1702         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1703         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1704         * sysdeps/unix/alpha/sysdep.h: Likewise.
1705         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1706         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1707         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1708         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1709         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1710         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1711         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1712         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1713         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1714         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1715         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1716         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1717         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1718         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1722         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1723         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1725         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1726         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1727         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1728         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1729         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1730         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1732         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1733         * nptl/pthreadP.h: Likewise.
1734         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1735         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1736         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1737         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1738         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1739         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1740         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1741         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1742         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1743         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1744         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1745         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1747         Likewise.
1748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1749         Likewise.
1750         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1752         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1753         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1754         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1755         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1756         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1757         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1759         * dlfcn/dladdr.c: Use IS_IN.
1760         * dlfcn/dladdr1.c: Likewise.
1761         * dlfcn/dlclose.c: Likewise.
1762         * dlfcn/dlerror.c: Likewise.
1763         * dlfcn/dlinfo.c: Likewise.
1764         * dlfcn/dlmopen.c: Likewise.
1765         * dlfcn/dlopen.c: Likewise.
1766         * dlfcn/dlsym.c: Likewise.
1767         * dlfcn/dlvsym.c: Likewise.
1769         * include/ifaddrs.h: Use IS_IN.
1770         * inet/check_pf.c: Likewise.
1771         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1772         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1774         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1775         IS_IN_ldconfig.
1776         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1777         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1779         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1780         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1781         IS_IN (libc).
1783         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1785         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1786         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1787         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1788         * include/libc-symbols.h (IS_IN_LIB): New macro.
1789         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1790         * include/netdb.h: Likewise.
1791         * include/stap-probe.h: Remove all uses of IN_LIB.
1793         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1794         instead of IN_MODULE.
1795         * include/libc-symbols.h (IN_MODULE): Define using
1796         MODULE_NAME.
1797         (PASTE_NAME, PASTE_NAME1): New macros.
1798         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1799         of IN_LIB.
1800         (STAP_PROBE_ASM): Likewise.
1802 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1804         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1805         __mach_init in dlopened libc.
1807 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1809         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1810         * sysdeps/arm/preconfigure: Regenerate.
1812 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1814         * nptl/pthread_create.c (__pthread_create_2_1): Set
1815         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1816         when copying values from IATTR into PD.
1818 2014-11-21  Will Newton  <will.newton@linaro.org>
1819             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1821         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1822         Refactor inline-asm.  Also add comment.
1824         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1825         ElfW macro instead of hardcoded Elf64 types.
1826         (la_aarch64_gnu_pltenter): Likewise.
1827         * sysdeps/aarch64/dl-machine.h
1828         (elf_machine_runtime_setup): Use ElfW(Addr).
1830         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1831         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1832         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1833         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1834         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1835         (R_AARCH64_TLS_DTPMOD64): Rename to ..
1836         (R_AARCH64_TLS_DTPMOD): This.
1837         (R_AARCH64_TLS_DTPREL64): Rename to ...
1838         (R_AARCH64_TLS_DTPREL): This.
1839         (R_AARCH64_TLS_TPREL64): Rename to ...
1840         (R_AARCH64_TLS_TPREL): This.
1841         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1842         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1843         R_AARCH64_TLS_TPREL64.
1844         (elf_machine_rela): Likewise.
1846 2014-11-21  Torvald Riegel  <triegel@redhat.com>
1848         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1849         by setting it to 0.  64b atomics are not supported currently.
1851 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1853         [BZ #16469]
1854         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1855         search domain names.
1857 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1859         [BZ #16469]
1860         * NEWS: Update.
1861         * resolv/res_query.c (__libc_res_nquerydomain): Retain
1862         trailing dot.
1863         * posix/tst-getaddrinfo5.c: New.
1864         * posix/Makefile (tests): Add it.
1866 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1868         [BZ #14498]
1869         * NEWS: Fixed.
1870         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1871         after parsing line but before break_if_match.
1872         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1873         if there is a protocol mismatch.
1875 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1877         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1878         because the potential race is on the user-supplied stream.
1880 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1882         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1883         string literal if not passed a buffer.
1884         * manual/job.texi (ctermid): Update reasoning, note deviation
1885         from posix, suggest mtasurace when not passed a buffer, for
1886         future non-preliminary safety notes.
1888 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1890         * manual/users.texi (cuserid): Fix MT-Safety note for the case
1891         of not passing it a buffer.
1892         Reported by Peng Haitao.
1894 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1896         * manual/Makefile ($(objpfx)stamp-summary): Require
1897         check-safety.sh to pass.
1898         * manual/check-safety.sh: Wish for verification that every
1899         @deftypefn and @deftypefun is followed by a @safety remark.
1901 2014-11-20  Roland McGrath  <roland@hack.frob.com>
1903         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1905         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1906         PTHREAD_CANCEL_ASYNCHRONOUS.
1907         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1908         send SIGCANCEL.
1910         * nptl/default-sched.h: New file.
1911         * sysdeps/unix/sysv/linux/default-sched.h: New file.
1912         * nptl/pthread_create.c: Include it.
1913         (__pthread_create_2_1): Use collect_default_sched instead of making
1914         Linux syscalls here directly.
1916 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1918         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1919         __pthread_once): Use C11 atomics.
1921 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1923         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1925 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1927         * include/atomic.h (__atomic_link_error, __atomic_check_size,
1928         atomic_thread_fence_acquire, atomic_thread_fence_release,
1929         atomic_thread_fence_seq_cst, atomic_load_relaxed,
1930         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1931         atomic_compare_exchange_weak_relaxed,
1932         atomic_compare_exchange_weak_acquire,
1933         atomic_compare_exchange_weak_release,
1934         atomic_exchange_acquire, atomic_exchange_release,
1935         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1936         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1937         atomic_fetch_and_acquire,
1938         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1940 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1942         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1943         USE_ATOMIC_COMPILER_BUILTINS): Define.
1944         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1945         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1946         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1947         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1948         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1950         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1952         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1953         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1954         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1956         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1958         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1960         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1961         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1962         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1963         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1964         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1966         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1968         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1969         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1970         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1972         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1973         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1974         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1976         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1977         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1978         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1979         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1980         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1981         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1982         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1983         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1985 2014-11-19  Roland McGrath  <roland@hack.frob.com>
1987         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1988         the sched_priority value here.  It was already checked when the user
1989         called pthread_attr_setschedparam.
1991         * nptl/tst-bad-schedattr.c: New file.
1992         * nptl/Makefile (tests): Add it.
1994 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
1995             Florian Weimer  <fweimer@redhat.com>
1996             Joseph Myers  <joseph@codesourcery.com>
1997             Adam Conrad  <adconrad@0c3.net>
1998             Andreas Schwab  <schwab@suse.de>
1999             Brooks  <bmoses@google.com>
2001         [BZ #17625]
2002         * wordexp-test.c (__dso_handle): Add prototype.
2003         (__register_atfork): Likewise.
2004         (__app_register_atfork): New function.
2005         (registered_forks): New global.
2006         (register_fork): New function.
2007         (test_case): Add 3 new tests for WRDE_CMDSUB.
2008         (main): Call __app_register_atfork.
2009         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2010         fork count is non-zero fail the test.
2011         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2012         is set.
2013         (parse_dollars): Remove check for WRDE_NOCMD.
2014         (parse_dquote): Likewise.
2016 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2018         * Makeconfig (built-modules): List non-library modules to be
2019         built.
2020         (module-cppflags): Include libc-modules.h for
2021         everything except shlib-versions.v.i.
2022         (CPPFLAGS): Use it.
2023         (before-compile): Add libc-modules.h.
2024         ($(common-objpfx)libc-modules.h,
2025         $(common-objpfx)libc-modules.stmp): New targets.
2026         (common-generated): Add libc-modules.h and libc-modules.stmp.
2027         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2028         * include/libc-symbols.h: Don't include libc-modules.h.
2029         * include/libc-modules.h: Remove file.
2030         * scripts/gen-libc-modules.awk: New script to generate
2031         libc-modules.h.
2032         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2033         Depend on libc-modules.stmp.
2035         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2037         * Makeconfig (in-module): Get value of libof set for the
2038         translation unit.
2039         (CPPFLAGS): Use $(in-module).
2040         * Makerules: Don't suffix routine names for nonlib.
2041         * include/libc-modules.h: New file.
2042         * include/libc-symbols.h: Include libc-modules.h
2043         (IS_IN): New macro to replace IS_IN_* macros.
2044         * elf/Makefile: Set libof-* for each routine.
2045         * elf/rtld-Rules: Likewise.
2046         * extra-modules.mk: Likewise.
2047         * iconv/Makefile: Likewise.
2048         * iconvdata/Makefile: Likewise.
2049         * locale/Makefile: Likewise.
2050         * malloc/Makefile: Likewise.
2051         * nss/Makefile: Likewise.
2052         * sysdeps/gnu/Makefile: Likewise.
2053         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2054         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2055         * sysdeps/s390/s390-64/Makefile: Likewise.
2056         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2057         CPPFLAGS for nscd instead of nonlib.
2059 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2061         * nptl/createthread.c: New file.
2063         * nptl/createthread.c: Moved ...
2064         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2066         * nptl/createthread.c: Add proper top-line comment.
2067         (do_clone): Folded into ...
2068         (create_thread): ... here.  Take new arguments STOPPED_START and
2069         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2070         increment __nptl_threads, do event-reporting logic, do
2071         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2072         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2073         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2074         just send SIGCANCEL.
2075         * nptl/pthread_create.c: Forward-declare create_thread before
2076         including createthread.c.
2077         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2078         declaration, and new macro START_THREAD_SELF to replace argument.
2079         Remove return statement.
2080         (report_thread_creation): New function.
2081         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2082         synchronization logic, and __nptl_nthreads increment here, around
2083         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2084         PD->parent_cancelhandling here, before create_thread.  When
2085         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2086         __deallocate_stack, and ENOMEM translation here.
2088 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2090         [BZ #17616]
2091         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2092         (mptwo): Rename to __mptwo.
2093         (__inv): Use __mptwo instead of mptwo.
2094         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2095         (mptwo): Rename to __mptwo.
2096         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2097         of mpone and __mptwo instead of mptwo.
2098         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2099         instead of mpone.
2100         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2101         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2102         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2103         of mpone and __mptwo instead of mptwo.
2104         (__mpranred): Use __mpone instead of mpone.
2105         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2106         variable.
2107         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2108         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2109         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2110         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2111         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2112         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2113         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2114         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2115         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2116         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2117         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2118         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2119         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2120         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2121         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2122         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2123         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2124         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2125         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2127 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2129         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2130         replace BSD Handler xref with BSD Signal Handling.
2132 2014-11-17  Richard Henderson  <rth@redhat.com>
2134         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2135         (_FP_PACK_RAW_2): Remove.
2136         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2137         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2138         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2139         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2140         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2141         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2142         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2143         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2144         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2145         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2146         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2147         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2148         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2149         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2150         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2151         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2153 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2155         * signal/signal.h [__USE_MISC]
2156         (struct sigvec): Remove type.
2157         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2158         (sigvec): Remove declaration.
2159         * sysdeps/posix/sigvec.c: Moved ...
2160         * signal/sigvec.c: ... here, replacing old file.
2161         (struct sigvec): New type, copied from old signal.h definition.
2162         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2163         (__sigvec): Convert definition to prototype.
2164         (sigvec): Replace weak_alias with compat_symbol.
2165         * signal/Versions (libc: GLIBC_2.21): New version set.
2166         * include/signal.h: Remove __sigvec declaration.
2167         * sysdeps/unix/bsd/sigvec.c: Remove file.
2168         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2169         * manual/signal.texi (BSD Handler): Remove subsection.
2170         Move siginterrupt up to ...
2171         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2172         (Blocking in BSD): Fold subsection into its parent.
2173         * NEWS: Mention sigvec removal.
2175 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2177         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2178         (DLA_FMS): Make definition conditional only on [__FMA4__].
2179         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2180         definition.
2182         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2183         Make definition conditional only on [PROF].
2184         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2185         definition.
2186         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2187         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2189         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2190         !__GNUC__].
2191         * include/signal.h (__sigpause): Move declaration above call to
2192         libc_hidden_proto.
2193         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2194         variable.
2195         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2196         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2198 2014-11-14  David S. Miller  <davem@davemloft.net>
2200         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2201         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2203 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2205         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2206         * configure: Regenerated.
2207         * manual/install.texi (Tools for Compilation): Document a
2208         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2209         compiler verified to work.
2210         * INSTALL: Regenerated.
2212         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2213         redeclare with asm name.
2214         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2215         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2216         including <string.h>.
2217         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2218         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2219         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2220         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2221         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2222         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2223         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2225 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2227         * stdlib/strtol.c (__strtol): Use prototype definition.
2229         [BZ #17594]
2230         * stdlib/strtol.c (SYM__): New macro.
2231         (SYM__1): Likewise.
2232         (__strtol): Likewise.
2233         (strtol): Rename to __strtol and define as weak alias of
2234         __strtol.  Use libc_hidden_weak.
2236 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2238         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2239         Use numbered labels in inline assembly.
2241 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2243         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2244         Add setjmp LIBC_PROBE.
2245         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2246         Likewise.
2247         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2248         Add longjmp, longjmp_target LIBC_PROBE.
2249         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2250         Likewise.
2252 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2254         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2255         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2256         to get rid of unused variable warning.
2258 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2260         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2261         Check for unwind_backtrace ==  NULL only in SHARED case.
2262         (__backchain_backtrace): Compile only in SHARED case.
2263         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2264         Likewise.
2265         (__backchain_backtrace): Declare as static.
2267 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2269         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2270         (__libc_multiple_threads_ptr): Variable moved ...
2271         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2273 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2275         * conform/GlibcConform.pm: New file.
2276         * conform/conformtest.pl: Use GlibcConform module.
2277         * conform/linknamespace.pl: New file.
2278         * conform/list-header-symbols.pl: Likewise.
2279         * conform/Makefile (linknamespace-symlists-base): New variable.
2280         (linknamespace-symlists-tests): Likewise.
2281         (linknamespace-header-base): Likewise.
2282         (linknamespace-header-tests): Likewise.
2283         (tests-special): Add new tests.
2284         ($(linknamespace-symlists-tests)): New rule.
2285         (linknamespace-libs): New variable.
2286         ($(objpfx)symlist-stdlibs): New rule.
2287         ($(linknamespace-header-tests)): Likewise.
2288         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2289         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2290         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2291         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2292         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2293         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2294         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2295         (test-xfail-ISO/math.h/linknamespace): Likewise.
2296         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2297         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2298         (test-xfail-ISO/time.h/linknamespace): Likewise.
2299         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2300         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2301         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2302         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2303         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2304         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2305         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2306         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2307         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2308         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2309         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2310         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2311         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2312         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2313         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2314         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2315         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2316         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2317         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2318         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2319         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2320         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2321         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2322         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2323         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2324         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2325         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2326         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2327         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2328         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2329         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2330         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2331         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2332         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2333         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2334         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2335         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2336         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2337         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2338         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2339         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2340         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2341         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2342         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2343         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2344         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2345         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2346         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2347         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2348         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2349         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2350         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2351         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2352         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2353         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2354         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2355         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2356         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2357         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2358         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2359         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2360         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2361         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2362         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2363         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2364         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2365         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2366         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2367         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2368         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2369         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2370         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2371         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2372         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2373         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2374         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2375         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2376         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2377         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2378         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2379         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2380         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2381         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2382         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2383         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2384         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2385         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2386         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2387         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2388         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2389         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2390         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2391         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2392         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2393         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2394         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2395         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2396         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2397         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2398         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2399         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2400         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2401         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2402         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2403         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2404         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2405         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2406         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2407         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2408         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2409         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2410         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2411         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2412         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2413         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2414         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2415         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2416         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2417         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2418         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2419         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2420         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2421         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2422         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2423         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2424         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2425         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2426         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2427         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2428         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2429         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2430         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2431         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2432         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2433         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2434         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2435         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2436         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2437         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2438         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2439         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2440         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2441         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2442         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2443         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2444         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2445         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2446         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2447         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2448         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2450         [BZ #17589]
2451         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2452         of fgets_unlocked.
2454         [BZ #17585]
2455         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2456         (memmem): Rename to __memmem and define as weak alias of
2457         __memmem.  Use libc_hidden_weak.
2458         (__memmem): Use libc_hidden_def.
2459         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2460         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2461         memmem.
2463         [BZ #17582]
2464         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2465         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2466         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2467         and define as weak alias of __fgets_unlocked.  Use
2468         libc_hidden_weak.
2469         (__fgets_unlocked): Use libc_hidden_def.
2470         * include/stdio.h (__fgets_unlocked): Declare.  Use
2471         libc_hidden_proto.
2472         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2473         __fgets_unlocked instead of fgets_unlocked.
2474         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2475         (GET_NPROCS_CONF_PARSER): Likewise.
2476         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2477         (GET_NPROCS_CONF_PARSER): Likewise.
2479         [BZ #17574]
2480         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2481         weak alias of __wmemset.  Use libc_hidden_weak.
2482         (__wmemset): Use libc_hidden_def.
2483         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2484         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2485         of wmemset.
2487         [BZ #17573]
2488         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2489         with asm name __mempcpy.
2490         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2492         [BZ #17572]
2493         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2494         and define as weak alias of __rawmemchr.
2495         (__rawmemchr): Do not define as strong alias of rawmemchr.
2497         [BZ #17571]
2498         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2499         alias of __qsort_r.
2500         (qsort): Call __qsort_r instead of qsort_r.
2501         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2502         (__qsort_r): Declare.  Call libc_hidden_proto.
2503         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2504         instead of qsort_r.
2505         * nscd/gai.c (__qsort_r): Define to qsort_r.
2506         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2507         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2508         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2510         [BZ #17570]
2511         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2512         define as weak alias of __malloc_info.
2514         [BZ #17584]
2515         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2516         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2517         (__rewinddir): Use libc_hidden_def.
2518         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2519         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2520         (__rewinddir): Use libc_hidden_def.
2521         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2522         weak alias of __rewinddir.  Don't use libc_hidden_def.
2523         (__rewinddir): Use libc_hidden_def.
2524         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2525         (__rewinddir): Use libc_hidden_proto.
2526         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2527         rewinddir.
2528         (__getcwd): Use __rewinddir instead of rewinddir.
2530         [BZ #17583]
2531         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2532         alias of __fileno.  Use libc_hidden_weak.
2533         (__fileno): Use libc_hidden_def.
2534         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2535         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2536         alias of __ftello.
2537         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2538         __ftello.
2539         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2540         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2541         libc_hidden_def.
2542         (fread_unlocked): Don't use libc_hidden_ver.
2543         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2544         and define as weak alias of __fread_unlocked.  Don't use
2545         libc_hidden_def.
2546         (__fread_unlocked): Use libc_hidden_def.
2547         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2548         (ftello): Don't use libc_hidden_proto.
2549         (__ftello): Declare.  Use libc_hidden_proto.
2550         (fread_unlocked): Don't use libc_hidden_proto.
2551         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2552         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2553         and __ftello instead of fileno, fread_unlocked and ftello.
2555 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2557         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2558         GOT12.
2559         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2560         Likewise.
2561         (_dl_start_user): Likewise.
2562         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2564 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2565             Siddhesh Poyarekar  <siddhesh@redhat.com>
2567         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2568         Move argv and envp down instead of moving argc up.
2569         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2571 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2573         [BZ #17506]
2574         * test-skeleton.c (main): Return successful if one of
2575         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2576         * string/tst-strcoll-overflow.c: Define expected status.
2578 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2580         [BZ #17475]
2581         * locale/iso-639.def: Define Bhili and Tulu language codes.
2583 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2585         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2587 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2589         [BZ #17555]
2590         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2592 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2594         * configure.ac: Updated check of minimal required version to
2595         2.22.
2596         * manual/install.texi (Tools for Compilation): Updated version
2597         number.
2598         * configure: Regenerated.
2599         * INSTALL: Likewise.
2601 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2603         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2604         __tls_get_addr.
2606 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2608         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2609         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2610         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2611         libc_hidden_weak.
2612         (waitpid): Define as alias of __waitpid.
2613         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2614         __waitpid.
2615         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2616         libc_hidden_weak.
2617         (waitpid): Define as alias of __waitpid.
2618         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2619         __libc_waitpid alias.
2620         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2621         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2622         Likewise.
2623         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2624         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2625         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2626         alias.
2627         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2628         __waitpid.
2629         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2630         libc_hidden_weak.
2631         (waitpid): Define as alias of __waitpid.
2633 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2635         * manual/llio.texi: Add comment that write safety has been
2636         fixed in Linux.
2638         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2639         (localplt-build-dso): Add elf/ld.so.
2640         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2641         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2642         and free for ld.so.
2643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2644         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2646         Likewise.
2647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2648         Likewise.
2649         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2650         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2651         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2652         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2653         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2654         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2655         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2656         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2657         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2658         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2659         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2661 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2663         [BZ #14132]
2664         * include/libc-symbols.h (INTUSE): Remove macro.
2665         (INTDEF): Likewise.
2666         (INTVARDEF): Likewise.
2667         (_INTVARDEF): Likewise.
2668         (INTDEF2): Likewise.
2669         (INTVARDEF2): Likewise.
2670         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2671         rtld_hidden_def instead of INTVARDEF.
2672         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2673         (_dl_starting_up_internal): Remove declaration.
2674         (_dl_starting_up): Use rtld_hidden_proto.
2675         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2676         declaration.
2677         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2678         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2679         _dl_starting_up.
2680         * elf/dl-writev.h (_dl_writev): Likewise.
2681         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2682         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2683         _dl_starting_up_internal.
2685 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2687         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2688         test-skeleton.c.
2690 2014-11-05  Will Newton  <will.newton@linaro.org>
2692         * benchtests/Makefile: (bench-malloc): Add malloc thread
2693         scalability benchmark.
2694         * benchtests/bench-malloc-threads.c: New file.
2696 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2698         * sysdeps/aarch64/strchrnul.S: New file.
2700 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2702         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2703         definition.
2704         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2705         Likwise.
2706         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2707         Likewise.
2708         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2709         Likewise.
2710         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2711         Likewise.
2712         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2713         Likewise.
2715 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2717         * catgets/test-gencat.c: Use test-skeleton.c.
2718         * catgets/tst-catgets.c: Likewise.
2719         * csu/tst-empty.c: Likewise.
2720         * elf/tst-audit2.c: Likewise.
2721         * elf/tst-global1.c: Likewise.
2722         * elf/tst-pathopt.c: Likewise.
2723         * elf/tst-piemod1.c: Likewise.
2724         * elf/tst-tls10.c: Likewise.
2725         * elf/tst-tls11.c: Likewise.
2726         * elf/tst-tls12.c: Likewise.
2727         * gnulib/tst-gcc.c: Likewise.
2728         * iconvdata/tst-e2big.c: Likewise.
2729         * iconvdata/tst-loading.c: Likewise.
2730         * iconv/tst-iconv1.c: Likewise.
2731         * iconv/tst-iconv2.c: Likewise.
2732         * inet/test-inet6_opt.c: Likewise.
2733         * inet/tst-gethnm.c: Likewise.
2734         * inet/tst-network.c: Likewise.
2735         * inet/tst-ntoa.c: Likewise.
2736         * intl/tst-codeset.c: Likewise.
2737         * intl/tst-gettext2.c: Likewise.
2738         * intl/tst-gettext3.c: Likewise.
2739         * intl/tst-ngettext.c: Likewise.
2740         * intl/tst-translit.c: Likewise.
2741         * io/test-stat.c: Likewise.
2742         * libio/test-fmemopen.c: Likewise.
2743         * libio/tst-freopen.c: Likewise.
2744         * libio/tst-sscanf.c: Likewise.
2745         * libio/tst-ungetwc1.c: Likewise.
2746         * libio/tst-ungetwc2.c: Likewise.
2747         * libio/tst-widetext.c: Likewise.
2748         * localedata/tst-ctype.c: Likewise.
2749         * localedata/tst-digits.c: Likewise.
2750         * localedata/tst-leaks.c: Likewise.
2751         * localedata/tst-mbswcs1.c: Likewise.
2752         * localedata/tst-mbswcs2.c: Likewise.
2753         * localedata/tst-mbswcs3.c: Likewise.
2754         * localedata/tst-mbswcs4.c: Likewise.
2755         * localedata/tst-mbswcs5.c: Likewise.
2756         * localedata/tst-setlocale.c: Likewise.
2757         * localedata/tst-trans.c: Likewise.
2758         * localedata/tst-wctype.c: Likewise.
2759         * localedata/tst-xlocale1.c: Likewise.
2760         * login/tst-grantpt.c: Likewise.
2761         * malloc/tst-calloc.c: Likewise.
2762         * malloc/tst-malloc.c: Likewise.
2763         * malloc/tst-mallocstate.c: Likewise.
2764         * malloc/tst-mcheck.c: Likewise.
2765         * malloc/tst-mtrace.c: Likewise.
2766         * malloc/tst-obstack.c: Likewise.
2767         * math/atest-exp2.c: Likewise.
2768         * math/atest-exp.c: Likewise.
2769         * math/atest-sincos.c: Likewise.
2770         * math/test-matherr.c: Likewise.
2771         * math/test-misc.c: Likewise.
2772         * math/test-powl.c: Likewise.
2773         * math/tst-definitions.c: Likewise.
2774         * misc/tst-dirname.c: Likewise.
2775         * misc/tst-efgcvt.c: Likewise.
2776         * misc/tst-fdset.c: Likewise.
2777         * misc/tst-hsearch.c: Likewise.
2778         * misc/tst-mntent2.c: Likewise.
2779         * nptl/tst-sem7.c: Likewise.
2780         * nptl/tst-sem8.c: Likewise.
2781         * nptl/tst-sem9.c: Likewise.
2782         * nss/test-netdb.c: Likewise.
2783         * posix/tst-fnmatch.c: Likewise.
2784         * posix/tst-getlogin.c: Likewise.
2785         * posix/tst-gnuglob.c: Likewise.
2786         * posix/tst-mmap.c: Likewise.
2787         * pwd/tst-getpw.c: Likewise.
2788         * resolv/tst-inet_ntop.c: Likewise.
2789         * rt/tst-timer.c: Likewise.
2790         * stdio-common/test-fseek.c: Likewise.
2791         * stdio-common/test-popen.c: Likewise.
2792         * stdio-common/test-vfprintf.c: Likewise.
2793         * stdio-common/tst-cookie.c: Likewise.
2794         * stdio-common/tst-fileno.c: Likewise.
2795         * stdio-common/tst-gets.c: Likewise.
2796         * stdio-common/tst-obprintf.c: Likewise.
2797         * stdio-common/tst-perror.c: Likewise.
2798         * stdio-common/tst-sprintf2.c: Likewise.
2799         * stdio-common/tst-sprintf3.c: Likewise.
2800         * stdio-common/tst-sprintf.c: Likewise.
2801         * stdio-common/tst-swprintf.c: Likewise.
2802         * stdio-common/tst-tmpnam.c: Likewise.
2803         * stdio-common/tst-unbputc.c: Likewise.
2804         * stdio-common/tst-wc-printf.c: Likewise.
2805         * stdlib/tst-environ.c: Likewise.
2806         * stdlib/tst-fmtmsg.c: Likewise.
2807         * stdlib/tst-limits.c: Likewise.
2808         * stdlib/tst-rand48-2.c: Likewise.
2809         * stdlib/tst-rand48.c: Likewise.
2810         * stdlib/tst-random2.c: Likewise.
2811         * stdlib/tst-random.c: Likewise.
2812         * stdlib/tst-strtol.c: Likewise.
2813         * stdlib/tst-strtoll.c: Likewise.
2814         * stdlib/tst-tls-atexit.c: Likewise.
2815         * stdlib/tst-xpg-basename.c: Likewise.
2816         * string/test-ffs.c: Likewise.
2817         * string/tst-bswap.c: Likewise.
2818         * string/tst-inlcall.c: Likewise.
2819         * string/tst-strtok.c: Likewise.
2820         * string/tst-strxfrm.c: Likewise.
2821         * sysdeps/x86_64/tst-audit10.c: Likewise.
2822         * sysdeps/x86_64/tst-audit3.c: Likewise.
2823         * sysdeps/x86_64/tst-audit4.c: Likewise.
2824         * sysdeps/x86_64/tst-audit5.c: Likewise.
2825         * time/tst-ftime_l.c: Likewise.
2826         * time/tst-getdate.c: Likewise.
2827         * time/tst-mktime3.c: Likewise.
2828         * time/tst-mktime.c: Likewise.
2829         * time/tst-posixtz.c: Likewise.
2830         * time/tst-strptime2.c: Likewise.
2831         * time/tst-strptime3.c: Likewise.
2832         * wcsmbs/tst-btowc.c: Likewise.
2833         * wcsmbs/tst-mbrtowc.c: Likewise.
2834         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2835         * wcsmbs/tst-wchar-h.c: Likewise.
2836         * wcsmbs/tst-wcpncpy.c: Likewise.
2837         * wcsmbs/tst-wcrtomb.c: Likewise.
2838         * wcsmbs/tst-wcsnlen.c: Likewise.
2839         * wcsmbs/tst-wcstof.c: Likewise.
2841 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
2843         [BZ #14132]
2844         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2845         INTDEF.
2846         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2847         declaration.
2848         (_dl_mcount): Use rtld_hidden_proto.
2849         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2850         _dl_mcount.
2851         * elf/rtld.c (_rtld_global_ro): Likewise.
2853         [BZ #14132]
2854         * elf/dl-init.c (_dl_init): Don't use INTDEF.
2855         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2856         of _dl_init_internal.
2857         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2858         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2859         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2860         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2861         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2862         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2863         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2864         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2865         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2866         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2867         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2868         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2869         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2870         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2871         * sysdeps/tile/dl-start.S (_start): Likewise.
2872         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2873         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2875         [BZ #14132]
2876         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2877         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2878         (rtld_progname): Make macro definition unconditional.
2879         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2880         INTDEF.
2881         (dlmopen_doit): Do not use INTUSE with _dl_argv.
2882         (dl_main): Likewise.
2883         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2884         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2885         instead of _dl_argv_internal.
2886         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2887         __GI__dl_argv instead of INTUSE(_dl_argv).
2888         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2889         __GI__dl_argv instead of _dl_argv_internal.
2891         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2892         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2893         macro.
2894         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2895         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2896         New macro.
2897         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2898         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2899         macro.
2900         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2901         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2903 2014-11-04  Andreas Schwab  <schwab@suse.de>
2905         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2907 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2909         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2910         mtvsrd instruction in binary form.
2912 2014-11-03  Andreas Schwab  <schwab@suse.de>
2914         [BZ #17522]
2915         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2916         for less than MB_LEN_MAX use a local buffer of that size.
2917         * libio/tst-fputws.c: New file.
2918         * libio/Makefile (tests): Add tst-fputws.
2920 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
2922         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2923         the size of the fpu_fr.fpu_dregs[] array.
2925 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
2927         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2928         (__nanosleep): Do not define as alias.
2929         (nanosleep): Define as alias of __nanosleep.
2930         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2931         __libc_nanosleep name.
2933 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2935         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2936         install.texi in comment.
2938 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2940         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2941         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2942         ... add here and use lwsync or sync ...
2943         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2944         ... and add here using lwsync.
2946 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2948         * elf/dl-machine-reject-phdr.h: New file.
2949         * elf/dl-load.c: #include that.
2950         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2951         if that returned true.
2953 2014-10-31  Roland McGrath  <roland@hack.frob.com>
2955         [BZ #17496]
2956         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2957         gen-as-const-headers chunk.  Add a big scare comment after the last
2958         safe place to touch before-compile.
2960 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2962         * manual/install.texi (Tools for Compilation): Update autoconf
2963         version requirements.
2964         * INSTALL: Regenerated.
2966         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2967         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2968         (__libc_pselect): Likewise.
2970         [BZ #14138]
2971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2976 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2978         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2979         correct barrier instruction.
2980         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2981         Likewise.
2982         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2983         Likewise.
2985 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2987         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2988         after defining inlines.  Instead, just use parens to defeat macro
2989         expansion of __isctype in its declaration.
2991 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2993         * include/sys/uio.h (__libc_readv): Remove declaration.
2994         (__libc_writev): Likewise.
2995         * misc/readv.c (__libc_readv): Rename to __readv.
2996         (__readv): Do not define as alias.
2997         (readv): Define as alias of __readv.
2998         * misc/writev.c (__libc_writev): Rename to __writev.
2999         (__writev): Do not define as alias.
3000         (writev): Define as alias of __writev.
3001         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3002         (__readv): Do not define as alias.
3003         (readv): Define unconditionally as alias of __readv.
3004         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3005         (__writev): Do not define as alias.
3006         (writev): Define unconditionally as alias of __writev.
3007         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3008         name.
3009         (writev): Do not define __libc_writev name.
3011 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3013         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3014         (convert_charseq): New function, broken out of ...
3015         (use_from_charmap): ... here.  Call it.
3016         (use_to_charmap): Use convert_charseq and free instead of duplicating
3017         its code with a variable-length stack struct.
3019 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3021         * include/fcntl.h (__libc_creat): Remove declaration.
3022         * io/creat.c (__libc_creat): Rename to creat.
3023         (creat): Do not define as alias.
3024         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3025         of creat instead of __libc_creat.
3026         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3027         to creat.
3028         (creat): Do not define as alias.
3029         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3030         __libc_creat.
3031         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3032         __libc_creat name.
3033         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3034         Likewise.
3036 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3038         * manual/llio.texi: Add comments discussing why write() may be
3039         considered MT-unsafe on Linux.
3041 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3043         * dl-load.c (local_strdup): Remove.
3044         (expand_dynamic_string_token): Use __strdup.
3045         (decompose_rpath): Likewise.
3046         (_dl_map_object): Likewise.
3048 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3050         [BZ #14132]
3051         * sysdeps/generic/unwind-dw2-fde.c
3052         (__register_frame_info_bases_internal): Do not declare.
3053         (__register_frame_info_table_bases_internal): Likewise.
3054         (__deregister_frame_info_bases_internal): Likewise.
3055         (__register_frame_info_bases): Declare and use hidden_proto before
3056         definition.  Use hidden_def instead of INTDEF.
3057         (__register_frame_info_table_bases): Likewise.
3058         (__deregister_frame_info_bases): Likewise.
3059         (__register_frame_info): Do not use INTUSE.
3060         (__register_frame): Likewise.
3061         (__register_frame_info_table): Likewise.
3062         (__register_frame_table): Likewise.
3063         (__deregister_frame_info): Likewise.
3064         (__deregister_frame): Likewise.
3066 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3068         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3069         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3070         not undefine.
3071         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3072         Likewise.
3073         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3074         Likewise.
3076 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3078         [BZ #14138]
3079         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3080         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3081         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3082         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3083         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3084         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3085         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3086         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3087         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3088         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3089         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3090         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3091         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3092         syscall.
3093         (setfsuid): Likewise.
3094         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3095         (setfsuid): Likewise.
3096         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3097         (setfsuid): Likewise.
3098         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3099         Likewise.
3100         (setfsuid): Likewise.
3101         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3102         (setfsuid): Likewise.
3103         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3104         Likewise.
3105         (setfsuid): Likewise.
3107 2014-10-27  Andreas Schwab  <schwab@suse.de>
3109         [BZ #17501]
3110         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3111         check for Slow_SSE4_2 feature bit.
3112         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3113         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3114         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3115         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3117 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3119         * configure.ac: Validate compiler version with a empirical test of
3120         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3121         $CC -v output.
3122         * configure: Regenerated.
3124         * inet/htons.c (htons): Prototypify.
3125         * inet/htonl.c (htonl): Likewise.
3127 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3129         * string/strncat.c (strncat): Improve performance by using strlen.
3131 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3133         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3135 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3137         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3138         Call libc_fetestexcept_aarch64.
3140 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3142         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3143         Call libc_feholdexcept_aarch64.
3145 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3147         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3148         Call get_rounding_mode.
3150 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3152         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3153         Simplify logic.
3155 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3157         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3158         Simplify logic.
3160 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3162         [BZ #14138]
3163         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3164         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3165         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3166         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3167         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3168         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3169         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3170         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3171         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3172         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3173         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3174         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3175         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3176         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3177         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3178         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3179         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3180         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3181         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3182         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3183         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3184         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3185         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3186         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3187         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3188         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3189         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3190         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3191         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3192         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3193         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3194         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3195         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3196         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3197         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3198         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3199         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3200         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3201         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3202         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3203         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3204         syscall.
3205         (geteuid): Likewise.
3206         (getgid): Likewise.
3207         (getuid): Likewise.
3208         (getresgid): Likewise.
3209         (getresuid): Likewise.
3210         (getgroups): Likewise.
3211         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3212         (geteuid): Likewise.
3213         (getgid): Likewise.
3214         (getuid): Likewise.
3215         (getresgid): Likewise.
3216         (getresuid): Likewise.
3217         (getgroups): Likewise.
3218         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3219         (geteuid): Likewise.
3220         (getgid): Likewise.
3221         (getuid): Likewise.
3222         (getresgid): Likewise.
3223         (getresuid): Likewise.
3224         (getgroups): Likewise.
3225         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3226         Likewise.
3227         (geteuid): Likewise.
3228         (getgid): Likewise.
3229         (getuid): Likewise.
3230         (getresgid): Likewise.
3231         (getresuid): Likewise.
3232         (getgroups): Likewise.
3233         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3234         (geteuid): Likewise.
3235         (getgid): Likewise.
3236         (getuid): Likewise.
3237         (getresgid): Likewise.
3238         (getresuid): Likewise.
3239         (getgroups): Likewise.
3240         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3241         Likewise.
3242         (geteuid): Likewise.
3243         (getgid): Likewise.
3244         (getuid): Likewise.
3245         (getgroups): Likewise.
3247         [BZ #14138]
3248         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3249         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3250         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3251         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3252         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3253         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3254         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3255         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3256         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3257         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3258         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3259         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3260         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3261         __chown.
3262         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3263         (lchown): Likewise.
3264         (fchown): Likewise.
3265         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3266         Likewise.
3267         (lchown): Likewise.
3268         (fchown): Likewise.
3269         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3270         (lchown): Likewise.
3271         (fchown): Likewise.
3272         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3273         Likewise.
3274         (lchown): Likewise.
3275         (fchown): Likewise.
3277 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3279         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3280         Simplify logic.
3282 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3284         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3285         Cleanup logic.
3287 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3289         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3290         Remove unused include.
3292 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3294         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3295         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3296         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3297         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3299 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3300             Helge Deller <deller@gmx.de>
3302         [BZ #17508]
3303         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3304         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3305         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3307 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3309         [BZ #14132]
3310         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3311         Remove macro definition.
3312         (__ashrdi3_v_glibc20): Likewise.
3313         (__lshrdi3_v_glibc20): Likewise.
3314         (__cmpdi2_v_glibc20): Likewise.
3315         (__ucmpdi2_v_glibc20): Likewise.
3316         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3317         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3318         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3319         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3320         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3321         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3323 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3325         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3326         old GNU extension [0] syntax.
3327         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3328         alloca rather than an array member with variable length.
3329         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3330         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3331         (parse_opt): ... here.  Likewise use alloca there.
3332         Validate the -i argument before checking for rootness.
3333         (send_shutdown): New function, broken out of ...
3334         (parse_opt): ... here.
3336 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3338         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3339         macro to get at the _rt_local_ro field.
3340         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3341         ([PIC] case) or _dl_hwcap ([!PIC] case).
3342         * sysdeps/arm/setjmp.S: Likewise.
3344         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3345         * sysdeps/arm/configure.ac: New check to define it.
3346         * sysdeps/arm/configure: Regenerated.
3347         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3348         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3349         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3350         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3351         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3352         Use move/movt pair instead of a load.
3353         (LDST_GLOBAL): Macro removed.
3354         (LDR_GLOBAL): New macro replaces it.
3355         (LDR_HIDDEN): New macro.
3356         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3357         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3359         * setjmp/tst-setjmp-static.c: New file.
3360         * setjmp/Makefile (tests): Add it.
3361         (tests-static): New variable.
3363 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3365         [BZ #17485]
3366         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3368 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3370         [BZ #14132]
3371         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3373 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3375         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3377 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3379         * io/fts.c (dirent_not_directory): New function.
3380         (fts_build): Call it.
3382 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3384         * nptl/version.c (__nptl_main): Use normal __write rather than
3385         INTERNAL_SYSCALL.
3386         (banner): Update copyright years.
3388         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3389         gettimeofday.
3390         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3391         * nptl/pthread_cond_timedwait.c: Likewise.
3392         * nptl/pthread_mutex_timedlock.c: Likewise.
3393         * nptl/sem_timedwait.c: Likewise.
3395         * sysdeps/nptl/bits/libc-lock.h
3396         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3397         (__libc_lock_init_recursive): Return void, not 0.
3398         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3399         (__libc_rwlock_init): Likewise.
3400         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3402 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3404         [BZ #15215]
3405         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3406         (__pthread_once_slow): ... here.
3407         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3408         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3410 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3412         [BZ #15215]
3413         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3414         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3415         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3416         * nptl/pthread_once.c (__pthread_once): Likewise.
3417         Update comments.
3419 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3421         [BZ #14138]
3422         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3423         name.
3424         (writev): Use __libc_writev as strong name.
3425         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3426         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3428 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3430         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3432         * sysdeps/i386/nptl/tls.h
3433         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3434         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3435         New macros.
3436         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3437         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3438         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3439         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3440         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3441         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3443         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3444         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3445         on [__NR_futex].
3446         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3447         broken out of ...
3448         (__pthread_mutex_init): ... here.  Call it.
3449         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3450         Conditionalize PI cases on [__NR_futex].
3451         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3452         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3453         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3455         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3456         conditional on [SIGSETXID].
3457         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3458         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3459         is defined.  Likewise for SIGSETXID.
3460         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3461         Conditionalize definitions on [SIGSETXID].
3462         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3463         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3464         unblocking on [SIGCANCEL].
3466         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3467         [__NR_set_robust_list].
3469 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3471         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3472         (do_compare): Likewise.
3474 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3476         [BZ #15884]
3477         * string/strcoll_l.c: Don't include stdio.h.
3478         (coll_seq): Remove members idxarr and rulearr.
3479         (get_next_seq_cached): Remove function.
3480         (get_next_seq): Likewise.
3481         (get_next_seq_nocache): Rename to get_next_seq.
3482         (do_compare): Remove function.
3483         (do_compare_nocache): Rename to do_compare.
3484         (STRCOLL): Remove weight and rules cache.
3486 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3488         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3489         * sysdeps/arm/sfp-machine.h: ... to here.
3490         * sysdeps/arm/Implies: Remove arm/soft-fp.
3492 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3494         * conform/data/sys/utsname.h-data (*_t): Allow.
3495         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3496         [POSIX] (WEXITED): Do not expect constant.
3497         [POSIX] (WSTOPPED): Likewise.
3498         [POSIX] (WNOHANG): Likewise.
3499         [POSIX] (WNOWAIT): Likewise.
3500         [POSIX] (siginfo_t): Do not expect type or elements.
3501         [POSIX] (pid_t): Do not expect type.
3502         [POSIX] (signal.h): Do not allow header.
3503         [POSIX] (sys/resource.h): Likewise.
3504         [POSIX] (si_*): Do not allow pattern.
3505         [POSIX] (W*): Likewise.
3506         [POSIX] (P_*): Likewise.
3507         [POSIX] (BUS_*): Likewise.
3508         [POSIX] (CLD_*): Likewise.
3509         [POSIX] (FPE_*): Likewise.
3510         [POSIX] (ILL_*): Likewise.
3511         [POSIX] (POLL_*): Likewise.
3512         [POSIX] (SEGV_*): Likewise.
3513         [POSIX] (SI_*): Likewise.
3514         [POSIX] (TRAP_*): Likewise.
3515         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3516         variable.
3518 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3520         [BZ #12926]
3521         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3522         infinite loop when __recvmsg returns 0.
3524 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3526         * CANCEL-FCT-WAIVE: Remove file.
3527         * CANCEL-FILE-WAIVE: Likewise.
3529         [BZ #14132]
3530         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3531         instead of INTVARDEF.
3532         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3533         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3534         rtld_hidden_data_def instead of INTVARDEF.
3535         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3536         * elf/dl-deps.c (expand_dst): Likewise.
3537         * elf/dl-load.c (_dl_dst_count): Likewise.
3538         (_dl_dst_substitute): Likewise.
3539         (decompose_rpath): Likewise.
3540         (_dl_init_paths): Likewise.
3541         (open_path): Likewise.
3542         (_dl_map_object): Likewise.
3543         * elf/rtld.c (dl_main): Likewise.
3544         (process_dl_audit): Likewise.
3545         (process_envvars): Likewise.
3546         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3547         Remove declaration.
3548         (__libc_enable_secure): Use rtld_hidden_proto.
3550 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3552         * elf/dl-load.c
3553         (add_path): New function broken out of _dl_rtld_di_serinfo.
3554         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3556 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3558         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3559         parentheses around macro arguments.
3560         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3561         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3562         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3563         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3564         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3565         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3566         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3567         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3568         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3569         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3570         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3571         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3572         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3573         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3574         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3575         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3576         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3577         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3578         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3579         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3580         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3583         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3584         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3585         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3586         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3587         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3588         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3589         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3590         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3591         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3592         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3593         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3594         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3595         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3596         Likewise.
3597         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3598         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3599         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3600         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3603         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3604         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3605         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3606         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3607         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3608         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3609         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3610         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3611         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3612         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3613         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3614         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3615         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3616         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3617         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3618         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3619         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3620         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3621         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3622         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3623         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3624         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3625         (_FP_FRAC_SRS_1): Likewise.
3626         (_FP_FRAC_CLZ_1): Likewise.
3627         (_FP_MUL_MEAT_1_imm): Likewise.
3628         (_FP_MUL_MEAT_1_wide): Likewise.
3629         (_FP_MUL_MEAT_1_hard): Likewise.
3630         (_FP_SQRT_MEAT_1): Likewise.
3631         (_FP_FRAC_ASSEMBLE_1): Likewise.
3632         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3633         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3634         (__FP_CLZ_2): Likewise.
3635         (_FP_MUL_MEAT_2_wide): Likewise.
3636         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3637         (_FP_MUL_MEAT_2_gmp): Likewise.
3638         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3639         (_FP_SQRT_MEAT_2): Likewise.
3640         (_FP_FRAC_ASSEMBLE_2): Likewise.
3641         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3642         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3643         (_FP_FRAC_CLZ_4): Likewise.
3644         (_FP_MUL_MEAT_4_wide): Likewise.
3645         (_FP_MUL_MEAT_4_gmp): Likewise.
3646         (_FP_SQRT_MEAT_4): Likewise.
3647         (_FP_FRAC_ASSEMBLE_4): Likewise.
3648         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3649         * soft-fp/op-common.h (_FP_CMP): Likewise.
3650         (_FP_CMP_EQ): Likewise.
3651         (_FP_CMP_UNORD): Likewise.
3652         (_FP_TO_INT): Likewise.
3653         (_FP_FROM_INT): Likewise.
3654         [!__FP_CLZ] (__FP_CLZ): Likewise.
3655         (_FP_DIV_HELP_imm): Likewise.
3656         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3657         Likewise.
3658         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3659         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3660         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3661         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3662         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3663         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3664         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3665         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3666         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3667         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3668         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3669         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3670         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3671         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3672         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3673         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3674         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3675         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3676         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3677         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3678         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3679         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3680         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3681         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3682         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3683         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3684         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3685         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3686         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3687         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3688         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3689         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3690         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3691         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3692         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3693         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3694         (FP_UNPACK_RAW_SP): Likewise.
3695         (FP_PACK_RAW_S): Likewise.
3696         (FP_PACK_RAW_SP): Likewise.
3697         (FP_UNPACK_S): Likewise.
3698         (FP_UNPACK_SP): Likewise.
3699         (FP_UNPACK_SEMIRAW_S): Likewise.
3700         (FP_UNPACK_SEMIRAW_SP): Likewise.
3701         (FP_PACK_S): Likewise.
3702         (FP_PACK_SP): Likewise.
3703         (FP_PACK_SEMIRAW_S): Likewise.
3704         (FP_PACK_SEMIRAW_SP): Likewise.
3705         (_FP_SQRT_MEAT_S): Likewise.
3706         (FP_CMP_S): Likewise.
3707         (FP_CMP_EQ_S): Likewise.
3708         (FP_CMP_UNORD_S): Likewise.
3709         (FP_TO_INT_S): Likewise.
3710         (FP_FROM_INT_S): Likewise.
3712         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3714         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3715         (FP_EX_INVALID_IMZ): Likewise.
3716         (FP_EX_INVALID_IMZ_FMA): Likewise.
3717         (FP_EX_INVALID_ISI): Likewise.
3718         (FP_EX_INVALID_ZDZ): Likewise.
3719         (FP_EX_INVALID_IDI): Likewise.
3720         (FP_EX_INVALID_SQRT): Likewise.
3721         (FP_EX_INVALID_CVI): Likewise.
3722         (FP_EX_INVALID_VC): Likewise.
3723         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3724         "invalid" exceptions.
3725         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3726         (_FP_ADD_INTERNAL): Likewise.
3727         (_FP_MUL): Likewise.
3728         (_FP_FMA): Likewise.
3729         (_FP_DIV): Likewise.
3730         (_FP_CMP_CHECK_NAN): Likewise.
3731         (_FP_SQRT): Likewise.
3732         (_FP_TO_INT): Likewise.
3733         (FP_EXTEND): Likewise.
3735 2014-10-09  Allan McRae  <allan@archlinux.org>
3737         * po/fr.po: Update French translation from translation project.
3739 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3741         [BZ #14132]
3742         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3743         of INTDEF.
3744         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3745         (__cxa_atexit): Use libc_hidden_proto.
3746         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3748         [BZ #14132]
3749         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3750         declaration.
3751         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3752         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3753         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3754         [!_ISOMAC] (__iswctype_internal): Likewise.
3755         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3756         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3757         alias.
3758         (fcntl): Remove __fcntl_internal alias.
3759         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3760         __connect_internal alias.
3761         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3762         Likewise.
3764         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3765         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3766         FP_DENORM_ZERO.
3767         (_FP_CHECK_FLUSH_ZERO): New macro.
3768         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3769         (_FP_CMP): Likewise.
3770         (_FP_CMP_EQ): Likewise.
3771         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3772         FP_DENORM_ZERO.
3773         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3774         (FP_TRUNC): Likewise.
3776         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3777         treated as invalid conversion, not as normal exponent.
3779         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3780         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3781         (_FP_CMP_EQ): Likewise.
3782         (_FP_CMP_UNORD): Likewise.
3783         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3784         (FP_CMP_EQ_D): Likewise.
3785         (FP_CMP_UNORD_D): Likewise.
3786         * soft-fp/extended.h (FP_CMP_E): Likewise.
3787         (FP_CMP_EQ_E): Likewise.
3788         (FP_CMP_UNORD_E): Likewise.
3789         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3790         (FP_CMP_EQ_Q): Likewise.
3791         (FP_CMP_UNORD_Q): Likewise.
3792         * soft-fp/single.h (FP_CMP_S): Likewise.
3793         (FP_CMP_EQ_S): Likewise.
3794         (FP_CMP_UNORD_S): Likewise.
3795         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3796         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3797         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3798         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3799         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3800         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3801         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3802         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3803         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3804         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3805         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3806         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3807         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3808         to FP_CMP_Q.
3809         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3810         FP_CMP_Q.
3811         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3812         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3813         FP_CMP_EQ_Q.
3814         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3815         FP_CMP_Q.
3816         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3817         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3818         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3819         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3820         FP_CMP_EQ_Q.
3821         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3822         FP_CMP_Q.
3823         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3824         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3825         FP_CMP_EQ_Q.
3826         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3827         FP_CMP_Q.
3828         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3829         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3830         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3831         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3832         FP_CMP_EQ_Q.
3834         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3835         a subnormal result, set the underflow exception if trapping on
3836         underflow is enabled.
3837         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3838         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3839         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3840         redefine to 0.
3841         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3842         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3843         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3844         * soft-fp/extendxftf2.c (__extendxftf2): Use
3845         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3847         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3848         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3849         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3850         FP_HANDLE_EXCEPTIONS.
3851         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3852         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3853         FP_HANDLE_EXCEPTIONS.
3854         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3855         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3856         FP_HANDLE_EXCEPTIONS.
3857         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3858         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3859         FP_HANDLE_EXCEPTIONS.
3861 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
3863         [BZ #14132]
3864         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3865         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3866         use INTUSE.
3867         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3868         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3869         Remove alias.
3870         (__adjtimex): Define using libc_hidden_ver.
3871         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3872         Remove declaration.
3873         (ntp_gettime): Call __adjtimex directly.
3874         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3875         Remove declaration.
3876         (ntp_gettimex): Call __adjtimex directly.
3877         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3878         __adjtimex_internal alias.
3880 2014-10-08  Roland McGrath  <roland@hack.frob.com>
3882         [BZ #17460]
3883         * nscd/nscd.c (more_help): Rewrite list of tables collection
3884         using xstrdup and asprintf.
3886         * nscd/nscd_conf.c: Remove local xstrdup declaration.
3888 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3889             Roland McGrath  <roland@hack.frob.com>
3891         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3892         (do_lookup_unique): ... local function 'enter' here; update callers.
3894 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
3896         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3897         compat_symbol calls on [SHARED].
3898         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3899         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3900         Remove.
3901         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3902         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3903         (oldsetrlimit): Remove.
3904         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3906         (lchown): New syscall entry.
3907         (oldsetrlimit): Remove.
3908         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3909         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3910         (oldsetrlimit): Remove.
3911         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3913         [BZ #14138]
3914         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3915         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3916         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3917         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3918         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3919         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3920         (fchown): Likewise.
3921         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3922         (fchown): Likewise.
3923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3924         Likewise.
3926 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3928         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3929         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3930         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3931         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3932         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3933         Likewise.
3934         (__old_sem_post): Likewise.
3936 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
3938         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3939         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3940         HAVE_CLOCK_GETTIME_VSYSCALL macros.
3941         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3942         Use INLINE_VSYSCALL macro.
3943         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3944         __vdso_clock_gettime.
3945         * sysdeps/unix/sysv/linux/tile/init-first.c
3946         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3947         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3948         __vdso_clock_gettime.
3950         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3951         to set up frame more cleanly.
3953         * sysdeps/tile/memcmp.c: New file.
3955         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3957         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3958         * sysdeps/tile/tilegx/strcasestr.c: New file.
3959         * sysdeps/tile/tilegx/strnlen.c: New file.
3960         * sysdeps/tile/tilegx/strstr.c: New file.
3962         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3964 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
3966         * nptl/tst-setuid3.c: Write errors to stdout.
3968 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3970         * elf/dl-deps.c
3971         (preload): New functions broken out of _dl_map_object_deps.
3972         (_dl_map_object_deps):  Remove a nested function. Update call sites.
3974 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
3976         [BZ #14138]
3977         * sysdeps/unix/sysv/linux/execve.c: Remove file.
3978         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3980 2014-10-01  Steve Ellcey  <sellcey@mips.com>
3982         * sysdeps/mips/strcmp.S: New.
3984 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
3986         [BZ #14138]
3987         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3988         (linkat): Likewise.
3989         (mkdirat): Likewise.
3990         (readlinkat): Likewise.
3991         (renameat): Likewise.
3992         (symlinkat): Likewise.
3993         (unlinkat): Likewise.
3994         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3995         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3996         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3997         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3998         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3999         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4000         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4002 2014-09-30  Will Newton  <will.newton@linaro.org>
4004         * math/math.h: Define long double math functions if
4005         _LIBC_TEST is defined.
4006         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4008         * localedata/Makefile: Move assignment to tests-special
4009         into an ifdef testing run-built-tests.
4010         * timezone/Makefile: Likewise.
4012 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4014         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4015         with $(BASH) not $(SHELL).
4017 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4018             Matthew LeGendre  <legendre1@llnl.gov>
4020         [BZ #17411]
4021         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4022         l_reloc_result.
4024 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4026         * stdio-common/printf_fp.c
4027         (hack_digit): New function, broken out of ...
4028         (__printf_fp): ... local function here.  Update call sites.
4029         hack_digit now takes an additional parameter that is a pointer
4030         to a struct of the referenced locals.  Those locals moved inside
4031         the struct and references updated.
4033 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4035         * aclocal.m4: Require autoconf 2.69.
4036         * configure: Regenerated.
4037         * sysdeps/aarch64/configure: Likewise.
4038         * sysdeps/alpha/configure: Likewise.
4039         * sysdeps/arm/armv7/configure: Likewise.
4040         * sysdeps/arm/configure: Likewise.
4041         * sysdeps/ia64/configure: Likewise.
4042         * sysdeps/mach/configure: Likewise.
4043         * sysdeps/mips/configure: Likewise.
4044         * sysdeps/s390/configure: Likewise.
4045         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4048         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4049         file.
4050         * sysdeps/ia64/configure.ac: Likewise.
4052 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4055         specify symbol version for ld.so.  Do not include entry for
4056         libpthread.
4057         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4058         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4059         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4061         [BZ #14171]
4062         * Makeconfig [$(build-shared) = yes]
4063         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4064         makefiles.
4065         [$(build-shared) = yes && $(soversions.mk-done) = t]
4066         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4067         [$(build-shared) = yes && $(soversions.mk-done) = t]
4068         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4069         to Makerules.
4070         [$(build-shared) = yes && $(soversions.mk-done) = t]
4071         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4072         here.
4073         [$(build-shared) = yes && $(soversions.mk-done) = t]
4074         (common-generated): Don't append gnu/lib-names.h and
4075         gnu/lib-names.stmp here.
4076         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4077         (lib-names-h-abi): New variable.
4078         [$(build-shared) = yes && $(soversions.mk-done) = t]
4079         (lib-names-stmp-abi): Likewise.
4080         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4081         abi-variants] (before-compile): Append
4082         $(common-objpfx)$(lib-names-h-abi).
4083         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4084         abi-variants] (common-generated): Append gnu/lib-names.h.
4085         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4086         abi-variants] (install-others-nosubdir): Depend on
4087         $(inst_includedir)/$(lib-names-h-abi).
4088         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4089         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4090         [$(build-shared) = yes && $(soversions.mk-done) = t]
4091         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4092         [$(build-shared) = yes && $(soversions.mk-done) = t]
4093         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4094         [$(build-shared) = yes && $(soversions.mk-done) = t]
4095         (common-generated): Append $(lib-names-h-abi) and
4096         $(lib-names-stmp-abi).
4097         * scripts/lib-names.awk: Do not handle multi being set.
4098         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4099         Remove variable.
4100         (abi-lp64_be-ld-soname): Likewise.
4101         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4102         Likewise.
4103         (abi-hard-ld-soname): Likewise.
4104         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4105         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4106         Remove variable.
4107         (abi-o32_hard-ld-soname): Likewise.
4108         (abi-o32_soft_2008-ld-soname): Likewise.
4109         (abi-o32_hard_2008-ld-soname): Likewise.
4110         (abi-n32_soft-ld-soname): Likewise.
4111         (abi-n32_hard-ld-soname): Likewise.
4112         (abi-n32_soft_2008-ld-soname): Likewise.
4113         (abi-n32_hard_2008-ld-soname): Likewise.
4114         (abi-n64_soft-ld-soname): Likewise.
4115         (abi-n64_hard-ld-soname): Likewise.
4116         (abi-n64_soft_2008-ld-soname): Likewise.
4117         (abi-n64_hard_2008-ld-soname): Likewise.
4118         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4119         Likewise.
4120         (abi-64-v2-ld-soname): Likewise.
4121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4122         ld.so entries.
4123         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4124         variable.
4125         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4126         entry.
4127         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4128         variable.
4129         (abi-64-ld-soname): Likewise.
4130         (abi-x32-ld-soname): Likewise.
4131         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4132         entry.
4133         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4135 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4137         [BZ #14138]
4138         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4139         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4140         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4141         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4142         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4143         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4144         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4145         syscall entry for GLIBC_2.2 symbol version.
4146         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4147         Likewise.
4148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4149         (setrlimit): Likewise.
4150         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4151         Likewise.
4153 2014-09-23  Will Newton  <will.newton@linaro.org>
4155         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4156         _LINUX_ARM_SYSDEP_H include guard too.
4157         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4158         define.
4160 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4162         * sysdeps/unix/sysv/linux/eventfd.c:
4163         Make first argument unsigned.
4164         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4165         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4167 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4169         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4170         * socket/sys/socket.h: Likewise
4171         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4173 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4175         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4177 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4179         * time/tst-ftime.c: New test.
4180         * time/Makefile (tests): Add tst-ftime.
4182 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4184         * soft-fp/extended.h: Fix comment formatting.
4185         * soft-fp/op-1.h: Likewise.
4186         * soft-fp/op-2.h: Likewise.
4187         * soft-fp/op-4.h: Likewise.
4188         * soft-fp/op-8.h: Likewise.
4189         * soft-fp/op-common.h: Likewise.
4190         * soft-fp/soft-fp.h: Likewise.
4192         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4194 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4196         [BZ #6652]
4197         * Makeconfig (soversions-default-setname): Remove variable.
4198         ($(common-objpfx)soversions.i): Don't pass default_setname to
4199         soversions.awk.
4200         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4201         oldest_abi to abi-versions.awk.
4202         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4203         * config.make.in (oldest-abi): Remove variable.
4204         * configure.ac (--enable-oldest-abi): Remove configure option.
4205         * configure: Regenerated.
4206         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4207         text.
4208         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4209         * scripts/soversions.awk: Do not handle default_setname variable.
4210         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4211         variable.
4212         * sysdeps/mach/hurd/configure: Regenerated.
4213         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4214         variable.
4215         * sysdeps/unix/sysv/linux/configure: Regenerated.
4217 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4219         * elf/Makefile (CFLAGS-interp.c): Remove.
4220         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4221         path string.
4222         * elf/interp.c: Include generated runtime-linker.h
4224         * Makerules (lib%.so): Don't include $(+interp) in
4225         prerequisites.
4226         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4227         * dlfcn/eval.c: Remove file.
4229         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4230         macros.
4232         [BZ #17266]
4233         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4234         4.2 and newer.
4236         [BZ #17370]
4237         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4239 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4240             Jakub Jelinek  <jakub@redhat.com>
4242         [BZ #17266]
4243         * libio/stdio.h: Check definition of __fortify_function
4244         instead of __extern_always_inline to include bits/stdio2.h.
4245         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4246         check if __extern_always_inline is defined.
4247         [__USE_MISC || __USE_XOPEN]: Likewise.
4248         [__USE_ISOC99] Likewise.
4249         * misc/sys/cdefs.h (__fortify_function): Define only if
4250         __extern_always_inline is defined.
4251         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4252         __extern_always_inline and __extern_inline only for g++-4.3
4253         and newer or a compatible gcc.
4255 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4257         [BZ #17371]
4258         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4259         last change to handle zero prefix length.
4261 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4263         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4264         _SC_REGEX_VERSION.
4266         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4267         _POSIX_RAW_SOCKETS.
4269 2014-09-13  Allan McRae  <allan@archlinux.org>
4271         * po/ru.po: Update Russian translation from translation project.
4273 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4275         * locale/programs/locale.c (show_locale_vars): Inline local function
4276         into its sole call site.  Clean up some style nits.
4277         (print_item): New function, broken out of ...
4278         (show_info): ... local function here.  Clean up style nits.
4280         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4281         out of ...
4282         (set_class_defaults): ... local function set_default here.
4283         Define set_default as a macro locally to pass constant parameters.
4284         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4285         rather than a shared local.
4287         * stdlib/rpmatch.c (try): New function, broken out of ...
4288         (rpmatch): ... local function here.  Also, prototypify definition.
4290 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4292         * scripts/soversions.awk: Do not handle configuration names.
4293         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4294         vendor and os variables to soversions.awk.
4295         * configure.ac: Do not modify gnu-* host_os.
4296         * configure: Regenerated
4297         * shlib-versions: Remove first column with configuration names.
4298         * nptl/shlib-versions: Likewise.
4299         * nptl_db/shlib-versions: Likewise.
4300         * sysdeps/hppa/shlib-versions: Likewise.
4301         * sysdeps/m68k/shlib-versions: Likewise.
4302         * sysdeps/mach/hurd/shlib-versions: Likewise.
4303         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4304         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4305         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4306         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4307         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4308         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4309         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4310         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4312         Likewise.
4313         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4314         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4315         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4316         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4317         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4318         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4319         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4320         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4323         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4325         Regenerated.
4326         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4328         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4330         * shlib-versions: Remove OS-specific entries.  Moved to files in
4331         sysdeps.
4332         * sysdeps/mach/hurd/shlib-versions: New file.
4333         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4335         * nptl/shlib-versions: Remove architecture-specific entries.
4336         Moved to files in sysdeps.
4337         * shlib-versions: Likewise.
4338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4339         file.
4340         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4341         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4342         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4343         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4345         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4346         (UDP_NO_CHECK6_RX): Likewise.
4348 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4350         * sysdeps/posix/sysconf.c (__sysconf): Spell
4351         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4353 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4355         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4356         loading.
4357         * iconv/Versions (__gconv_transliterate): Export for use from
4358         gconv modules.
4359         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4360         (struct __gconv_trans_data, __gconv_trans_fct,
4361         __gconv_trans_context_fct, __gconv_trans_query_fct,
4362         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4363         definitions.
4364         (struct __gconv_step_data): Remove __trans member.
4365         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4366         longer hidden.  Remove unused trans_data argument.
4367         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4368         (__gconv_translit_find): Remove declaration.
4369         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4370         prototype.
4371         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4372         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4373         trans_data argument.  Add hidden definition.
4374         (__gconv_translit_find): Remove.
4375         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4376         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4377         * iconv/skeleton.c: Remove transliteration initialization.
4378         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4379         __gconv_step_data initialization.
4380         * libio/iofwide.c (__libio_translit_): Remove.
4381         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4382         * wcsmbs/btowc.c (__btowc): Likewise.
4383         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4384         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4385         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4386         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4387         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4388         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4389         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4390         * wcsmbs/wctob.c (wctob): Likewise.
4392 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4394         [BZ #16194]
4395         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4396         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4397         register usage.
4398         * sysdeps/x86/Makefile: Adjust.
4400 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4401             Roland McGrath  <roland@hack.frob.com>
4403         * locale/weight.h: Add include guard.
4404         (findidx): Make static rather than auto; take new parameters
4405         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4406         * locale/weightwc.h: Likewise.
4407         * posix/fnmatch_loop.c
4408         (FCT): Change type of EXTRA from int32_t to wint_t.
4409         Don't include either header inside the function.
4410         Call FINDIDX rather than findidx, and pass new arguments.
4411         #undef FINDIDX at the end of the file.
4412         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4413         FINDIDX before including fnmatch_loop.c for the non-wide version.
4414         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4415         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4416         for the wide version.
4417         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4418         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4419         Pass new arguments to findidx.
4420         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4421         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4422         Don't #include it inside the function.  Pass new arguments to findidx.
4423         * posix/regex_internal.h
4424         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4425         (re_string_elem_size_at): Don't #include it inside the function.
4426         Pass new arguments to findidx.
4427         * string/strcoll_l.c: #include WEIGHT_H at top level.
4428         (get_next_seq): Don't #include it inside the function.
4429         Pass new arguments to findidx.
4430         (get_next_seq_nocache): Likewise.
4431         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4432         (STRXFRM): Don't #include it inside the function.
4433         Pass new arguments to findidx.
4435 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4437         [BZ #17344]
4438         * malloc/malloc.c (unlink): Turn asserts into a call to
4439         malloc_printerr.
4441 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4443         [BZ #17370]
4444         * libio/wfileops (do_ftell_wide): Free OUT.
4446 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4448         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4450 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4452         [BZ #17363]
4453         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4454         group if the current group is empty.
4456 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4458         * benchtests/bench-memset.c (test_main): Add more test from size
4459         from 32 to 512 bytes.
4460         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4461         Add POWER8 memset object.
4462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4463         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4464         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4465         implementation.
4466         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4467         Likewise.
4468         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4469         multiarch POWER8 memset optimization.
4470         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4471         POWER8 memset optimization.
4473         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4474         Remove bzero multiarch objects.
4475         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4476         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4477         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4478         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4479         Remove define.
4480         [__bzero]: Redefine to specific name.
4481         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4482         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4483         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4484         define.
4485         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4486         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4488 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4490         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4491         warnings into errors.
4493         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4494         __cxa_thread_atexit_impl prototype.
4496 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4498         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4499         Fix capitalization of error message.
4501 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4503         * sysdeps/mips/preconfigure: Modify ABI tests.
4505 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4507         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4509 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4510             Carlos O'Donell  <carlos@systemhalted.org>
4512         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4513         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4514         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4515         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4516         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4517         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4518         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4519         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4520         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4521         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4522         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4523         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4524         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4525         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4526         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4527         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4528         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4529         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4530         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4531         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4532         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4533         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4534         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4535         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4536         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4537         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4538         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4539         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4540         Deconditionalize the code that was previously under [RESET_PID].
4541         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4542         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4543         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4544         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4545         include sysdep.h.
4547 2014-09-08  Allan McRae  <allan@archlinux.org>
4549         * version.h (RELEASE): Set to "development".
4550         (VERSION): Set to "2.20.90"
4552 2014-09-07  Allan McRae  <allan@archlinux.org
4554         * version.h (RELEASE): Set to "stable".
4555         (VERSION): Set to "2.20"
4556         * include/features.h (__GLIBC_MINOR__): Set to 20.
4558         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4559         Liebler.
4561         * po/ko.po: Update Korean translation from translation project.
4563 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4565         [BZ #17354]
4566         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4567         macro for handling signed relocations.
4569 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4571         [BZ #17325]
4572         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4573         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4574         assert.
4575         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4576         * iconvdata/ibm935.c (BODY): Likewise.
4577         * iconvdata/ibm937.c (BODY): Likewise.
4578         * iconvdata/ibm939.c (BODY): Likewise.
4579         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4580         assert.
4581         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4582         script.
4583         * iconvdata/run-iconv-test.sh: New test loop for checking for
4584         decoder crashers.
4586 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4588         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4589         libm_hidden_ver.
4591 2014-09-01  Allan McRae  <allan@archlinux.org>
4593         * po/eo.po: Update Esperanto translation from translation project.
4595         * po/ca.po: Update Catalan translation from translation project.
4597 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4599         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4600         __proc_dostop call.
4602 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4604         [BZ #17319]
4605         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4606         to call set_thread_area instead of hand written asm.
4607         (__NR_set_thread_area): Removed define.
4608         (TLS_FLAG_WRITABLE): Likewise.
4609         (__ASSUME_SET_THREAD_AREA): Remove check.
4610         (TLS_EBX_ARG): Remove define.
4611         (TLS_LOAD_EBX): Likewise.
4613 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4615         Simplify atomicity of socket creation in bind.
4617         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4618         looking up the name after linking the file.
4620 2014-08-27  Allan McRae  <allan@archlinux.org>
4622         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4624 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4626         [BZ #17187]
4627         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4628         trans_compare, open_translit, __gconv_translit_find):
4629         Remove module loading code.
4631 2014-08-26  Allan McRae  <allan@archlinux.org>
4633         * po/vi.po: Update Vietnamese translation from translation project.
4635         * po/uk.po: Update Ukrainian translation from translation project.
4637         * po/fr.po: Update French translation from translation project.
4639         * po/ru.po: Update Russian translation from translation project.
4641         * po/pl.po: Update Polish translation from translation project.
4643         * po/cs.po: Update Czech translation from translation project.
4645         * po/de.po: Update German translation from translation project.
4647         * po/bg.po: Update Bulgarian translation from translation project.
4649         * po/sv.po: Update Sweedish translation from translation project.
4651         * po/nl.po: Update Dutch translation from translation project.
4653         * po/es.po: Update Spanish translation from translation project.
4655 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4657         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4659         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4660         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4661         (CPPFLAGS-iconvconfig): Likewise.
4662         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4664         * include/libc-symbols.h: Remove unnecessary check for
4665         NOT_IN_libc.
4666         * nptl/pthreadP.h: Likewise.
4667         * sysdeps/aarch64/setjmp.S: Likewise.
4668         * sysdeps/alpha/setjmp.S: Likewise.
4669         * sysdeps/arm/sysdep.h: Likewise.
4670         * sysdeps/i386/setjmp.S: Likewise.
4671         * sysdeps/m68k/setjmp.c: Likewise.
4672         * sysdeps/posix/getcwd.c: Likewise.
4673         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4674         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4675         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4676         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4677         * sysdeps/sh/sh3/setjmp.S: Likewise.
4678         * sysdeps/sh/sh4/setjmp.S: Likewise.
4679         * sysdeps/unix/alpha/sysdep.h: Likewise.
4680         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4681         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4682         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4683         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4686         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4687         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4688         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4689         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4690         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4691         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4692         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4693         * sysdeps/x86_64/setjmp.S: Likewise.
4695 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4697         [BZ #17263]
4698         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4699         <stdint.h>.
4700         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4701         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4703 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4705         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4707         [BZ #17262]
4708         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4709         and __x86_64__ when disabling x87 inline functions.
4711 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4713         [BZ #17259]
4714         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4715         asm statement with __cpuid_count.
4717 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4719         * configure.ac: Change __ehdr_start code to dereference the struct.
4720         Run readelf on the output to look for relocations.
4721         * configure: Regenerated.
4723 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4725         [BZ #17261]
4726         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4727         value to 0.
4728         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4730 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4732         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4734 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4736         [BZ #16892]
4737         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4738         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4740 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4742         * malloc/malloc.c: Fix typo in comment.
4744 2014-08-09  Allan McRae  <allan@archlinux.org>
4746         * Regenerate libc.po.
4748 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4750         * intl/tst-gettext2.sh: Check every lang file for creation.
4752 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4754         * sysdeps/aarch64/fpu/math_private.h
4755         (libc_feholdsetround_noex_aarch64_ctx): New function.
4757 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4759         * sysdeps/arm/armv6/strcpy.S (strcpy):
4760         Fix performance issue in misaligned cases.
4762 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4764         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4765         Move definition from termios.h.
4766         (struct termio): Likewise.
4767         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4768         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4769         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4770         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4771         Likewise.
4772         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4773         Move definition to ioctl-types.h
4774         (struct termio): Likewise.
4775         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4776         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4777         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4778         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4779         Likewise.
4781 2014-08-05  Richard Henderson  <rth@redhat.com>
4783         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4784         exceptions.
4785         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4786         Add fraiseexcpt.
4787         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4788         Use __feraiseexcept.
4789         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4790         Protect libm symbols with IS_IN_libm.
4792         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4794 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4796         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4798 2014-08-04  Will Newton  <will.newton@linaro.org>
4800         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4801         file.
4803 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4805         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4806         variants for each function.
4808 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4810         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4811         appended ...
4812         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4813         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4814         appended ...
4815         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4816         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4817         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4818         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4819         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4820         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4821         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4822         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4823         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4824         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4825         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4826         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4827         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4828         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4829         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4830         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4831         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4832         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4833         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4834         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4835         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4836         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4837         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4838         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4839         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4840         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4841         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4842         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4843         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4844         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4845         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4846         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4847         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4848         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4849         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4850         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4851         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4852         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4853         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4854         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4855         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4856         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4857         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4858         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4859         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4860         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4861         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4862         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4863         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4864         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4865         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4866         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4867         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4868         Update #include.
4869         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4870         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4872 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4874         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4875         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4876         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4877         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4878         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4879         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4881 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4883         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4884         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4885         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4886         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4888 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4890         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4891         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4892         (__libc_vfork): Define function under this name.
4893         (__vfork): Define as an alias.
4894         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4895         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4897 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4899         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4900         that was previously under [RESET_PID].
4901         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4903 2014-08-04  Andreas Schwab  <schwab@suse.de>
4905         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4907 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
4909         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4910         (main): Likewise.
4912 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4914         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4916 2014-08-01  Richard Henderon  <rth@redhat.com>
4918         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4919         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4920         typo in exact zero test.
4921         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4922         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4923         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4925 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4927         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4928         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4929         * sysdeps/arm/sysdep.h: ... here.
4930         [!__ASSEMBLER__]: Include <stdint.h>.
4932 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4934         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4935         (HAVE_WCTYPE_H): Likewise.
4936         (HAVE_ISWCTYPE): Likewise.
4937         (ENABLE_NLS): Likewise.
4938         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4939         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4941         * posix/regex_internal.c: Check if DEBUG is defined and is
4942         set.
4944         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4945         (HAVE_MBSRTOWCS): Likewise.
4946         * posix/fnmatch.c: Include string.h unconditionally.
4948 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4950         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4951         reversal.
4953 2014-07-31  Roland McGrath  <roland@hack.frob.com>
4955         * sysdeps/generic/safe-fatal.h: New file.
4956         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4957         * nptl/forward.c: Include it.
4958         (__pthread_unwind): Use __safe_fatal as default action, rather
4959         than a bogus use of INTERNAL_SYSCALL that could never work.
4961         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4962         * configure.ac (libc_cv_builtin_trap): New test.
4963         * configure: Regenerated.
4964         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4965         (ABORT_INSTRUCTION): Define using __builtin_trap.
4967         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4968         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4969         * sysdeps/nptl/nptl-signals.h: New file.
4970         * nptl/pthreadP.h: Include <nptl-signals.h>.
4972 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4974         * sysdeps/s390/s390-64/utf16-utf32-z9.c
4975         (ONE_DIRECTION): Define.
4976         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4977         (ONE_DIRECTION): Define.
4978         * sysdeps/s390/s390-64/utf8-utf32-z9.c
4979         (ONE_DIRECTION): Define.
4981 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4983         * sysdeps/s390/Makefile: Delete file.
4984         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4985         * sysdeps/s390/__longjmp.c: Delete file.
4986         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4987         Remove fields __flags and __reserved.
4988         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4989         and add versioning.
4990         * sysdeps/s390/rtld-__longjmp.c: Delete file.
4991         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4992         * sysdeps/s390/rtld-setjmp.S: Likewise.
4993         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4994         * sysdeps/s390/s390-32/__longjmp.c: ... here.
4995         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4996         * sysdeps/s390/s390-32/setjmp.S: ... here.
4997         Add versioning.
4998         (__sigsetjmp): Remove setting __flags field.
4999         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5000         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5001         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5002         * sysdeps/s390/s390-64/setjmp.S: ... here.
5003         Add versioning.
5004         (__sigsetjmp): Remove setting __flags field.
5005         * sysdeps/s390/setjmp.S: Delete file.
5006         * sysdeps/s390/sigjmp.c: Likewise.
5007         * sysdeps/s390/v1-longjmp.c: Likewise.
5008         * sysdeps/s390/v1-setjmp.h: Likewise.
5009         * sysdeps/s390/v1-sigjmp.c: Likewise.
5010         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5011         Remove v1-longjmp_chk.
5012         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5013         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5014         Include debug/longjmp_chk.c and add versioning.
5015         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5016         Include nptl/pt-longjmp.c and add versioning.
5017         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5018         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5019         Include __longjmp.c.
5020         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5021         Move to ...
5022         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5023         (__getcontext): Remove setting __flags field.
5024         Add versioning.
5025         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5026         Don't restore upper high grps.
5027         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5028         Likewise.
5029         (__swapcontext): Remove setting uc_flags field.
5030         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5031         Delete file.
5032         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5033         Include __longjmp.c.
5034         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5035         Move to ...
5036         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5037         (__getcontext): Remove setting __flags field.
5038         Add versioning.
5039         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5040         (__swapcontext): Remove setting uc_flags field.
5041         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5042         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5043         Remove fields uc_high_gprs and __reserved.
5044         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5045         New file with reverted content.
5046         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5047         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5048         Regenerated.
5049         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5050         Regenerated.
5052 2014-07-31  Andreas Schwab  <schwab@suse.de>
5054         * config.h.in (HAVE_IFUNC): Define to 0.
5055         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5056         definedness.
5058 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5061         memmove-avx-unaligned, memcpy-avx-unaligned and
5062         mempcpy-avx-unaligned.
5063         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5064         Add tests for AVX memcpy functions.
5065         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5066         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5067         memcpy_chk.
5068         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5069         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5070         memmove_chk.
5071         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5072         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5073         mempcpy_chk.
5074         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5075         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5076         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5078 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5080         [BZ #17213]
5081         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5082         powerpc64le.
5084 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5086         [BZ #16839]
5087         * manual/llio.texi: Add section about open file description locks.
5088         * manual/examples/ofdlocks.c: Example of open file description
5089         lock usage.
5090         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5091         F_OFD_SETLK, and F_OFD_SETLKW.
5093 2014-07-23  Allan McRae  <allan@archlinux.org>
5095         * po/es.po: Update Spanish translation from translation project.
5097 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5099         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5101 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5103         [BZ #17078]
5104         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5105         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5106         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5108 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5110         [BZ #17088]
5111         * math/fesetenv.c (__fesetenv)
5112         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5113         * math/feupdateenv.c (__feupdateenv)
5114         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5116         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5117         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5118         (__ASSUME_SOCKETCALL): Do not define.
5120         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5121         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5122         (__ASSUME_SOCKETCALL): Do not define.
5123         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5124         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5125         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5126         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5127         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5128         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5129         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5130         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5132         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5133         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5134         (__ASSUME_SOCKETCALL): Do not define.
5135         (__ASSUME_IPC64): Define unconditionally.
5136         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5137         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5138         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5139         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5140         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5141         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5142         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5143         Likewise.
5145         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5146         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5147         (__ASSUME_SOCKETCALL): Do not define.
5148         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5149         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5150         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5151         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5152         (__ASSUME_REQUEUE_PI): Define unconditionally.
5153         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5154         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5155         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5156         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5157         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5158         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5160         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5161         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5162         (__ASSUME_SOCKETCALL): Do not define.
5163         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5164         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5165         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5166         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5167         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5168         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5170         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5171         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5172         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5173         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5174         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5175         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5176         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5177         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5178         (__ASSUME_GETCPU_SYSCALL): Likewise.
5180         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5181         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5182         cases for individual architectures.
5183         * sysdeps/gnu/configure: Regenerated.
5184         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5185         LIBC_SLIBDIR_RTLDDIR.
5186         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5187         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5188         LIBC_SLIBDIR_RTLDDIR.
5189         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5191         LIBC_SLIBDIR_RTLDDIR.
5192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5193         Regenerated.
5194         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5195         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5196         file.
5197         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5198         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5199         file.
5200         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5201         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5202         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5203         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5205         * sysdeps/aarch64/shlib-versions: Move to ...
5206         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5207         * sysdeps/alpha/shlib-versions: Move to ...
5208         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5209         * sysdeps/arm/shlib-versions: Move to ...
5210         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5211         * sysdeps/hppa/shlib-versions: Move all contents except for
5212         libgcc_s entry to ...
5213         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5214         entry from ...
5215         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5216         * sysdeps/ia64/shlib-versions: Move to ...
5217         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5218         entry from ...
5219         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5220         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5221         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5222         * sysdeps/microblaze/shlib-versions: Move to ...
5223         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5224         * sysdeps/mips/shlib-versions: Move to ...
5225         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5226         entry from ...
5227         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5228         * sysdeps/tile/shlib-versions: Move to ...
5229         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5230         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5231         from ...
5232         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5233         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5234         entry from ...
5235         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5237 2014-07-17  Will Newton  <will.newton@linaro.org>
5239         * sysdeps/arm/bits/atomic.h
5240         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5241         (__arch_compare_and_exchange_bool_16_int): Likewise.
5242         (__arch_compare_and_exchange_bool_64_int): Likewise.
5244         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5245         into an #else block.
5247 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5249         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5250         just Linux configurations.  Test empirically that the compiler sets
5251         __ARM_EABI__, rather than using the tuple to decide.
5252         * sysdeps/arm/preconfigure: Regenerated.
5253         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5254         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5255         contents appended ...
5256         * sysdeps/arm/configure.ac: ... here.
5257         * sysdeps/arm/configure: Regenerated.
5259 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5261         * nptl/pthread_kill.c: New file.
5262         * nptl/pthread_sigmask.c: New file.
5263         * nptl/pthread_sigqueue.c: New file.
5265         * sysdeps/nptl/lowlevellock.h: New file.
5266         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5267         * sysdeps/nptl/lowlevellock-futex.h: New file.
5269         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5270         Remove dead declarations.
5272 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5274         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5275         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5276         config-cflags-avx2.
5277         * sysdeps/x86_64/configure.ac: Likewise.
5278         * sysdeps/i386/configure: Regenerated.
5279         * sysdeps/x86_64/configure: Likewise.
5280         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5281         memset-avx2 only if config-cflags-avx2 is yes.
5282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5283         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5284         defined.
5285         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5286         only if HAVE_AVX2_SUPPORT is defined.
5287         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5289 2014-07-14  Alan Modra  <amodra@gmail.com>
5291         [BZ #17153]
5292         * elf/elf.h (DT_PPC64_NUM): Correct value.
5293         * NEWS: Add to fixed bug list.
5295 2014-07-13  Jim Meyering  <meyering@fb.com>
5297         [BZ 17150]
5298         regex: don't deref NULL upon heap allocation failure
5299         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5300         failure in one more place.
5301         To trigger the segfault, configure grep -with-included-regex,
5302         build it, and run these commands:
5303         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5305 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5307         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5309 2014-07-11  Richard Henderson  <rth@redhat.com>
5311         * sysdeps/aarch64/libm-test-ulps: Update.
5313 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5315         [BZ #17135]
5316         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5317         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5318         (__nptl_setxid): Initialize error member.  Call
5319         __nptl_setxid_error.
5320         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5321         * nptl/descr.h (struct xid_command): Add error member.
5322         * nptl/tst-setuid3.c: New file.
5323         * nptl/Makefile (tests): Add it.
5325 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5327         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5328         New define.
5329         (__lll_trylock): Use __lll_base_trylock.
5330         (__lll_cond_trylock): Likewise.
5332 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5334         * nptl/pthread_create.c (start_thread): Use atomic_or and
5335         lll_futex_wake directly rather than lll_robust_dead.
5336         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5337         (lll_robust_dead): Macro removed.
5338         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5339         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5340         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5341         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5342         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5343         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5344         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5345         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5346         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5347         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5348         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5349         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5350         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5351         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5352         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5354         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5355         Use atomic_compare_and_exchange_val_acq directly rather than
5356         lll_robust_trylock.
5357         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5358         (__lll_robust_trylock, lll_robust_trylock): Removed.
5359         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5360         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5361         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5362         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5363         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5364         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5365         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5366         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5367         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5368         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5369         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5370         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5371         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5372         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5374 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5376         * manual/locale.texi (Locale Names): New section documenting
5377         locale name syntax.  Adjust menu and node chaining accordingly.
5378         (Choosing Locale): Reference Locale Names, Locale Categories.
5379         Mention setting LC_ALL=C.  Reflect that name syntax is now
5380         documented.
5381         (Locale Categories): New section title.  Reference Locale Names.
5382         LC_ALL is an environment variable, but not a category.
5383         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5384         description, now in Locale Name.  Reference that section.  Locale
5385         name syntax is now documented.
5387 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5389         [BZ #17137]
5390         * locale/findlocale.c (name_present, valid_locale_name): New
5391         functions.
5392         (_nl_find_locale): Use the loc_name variable to store name
5393         candidates.  Call name_present and valid_locale_name to check and
5394         validate locale names.  Return an error if the locale is invalid.
5396 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5398         * locale/setlocale.c (setlocale): Use strdup for allocating
5399         composite name copy.
5401 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5403         Sync up with gnulib.
5404         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5405         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5406         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5407         and _GL_ARG_NONNULL.
5408         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5409         [!_LIBC]: Include code for Windows and Cygwin.
5410         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5411         Include prototype for int strerror_r.
5412         [!_LIBC] (is_open): New function.
5413         (flush_stdout): New function.
5414         (print_errno_message): Use it.
5415         (error): Likewise.
5416         (error_at_line): Likewise.
5417         (error_tail) Add function attribute macros.  Use
5418         __builtin_expect.
5420         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5422         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5424         * io/ftw.c: Include sys/param.h unconditionally.
5426         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5428         [BZ #17125]
5429         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5430         libc_freeres_ptr.
5431         (freecache): New function to free CACHE on exit.
5433         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5434         initialization.
5436 2014-07-09  David S. Miller  <davem@davemloft.net>
5438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5440         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5441         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5442         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5443         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5444         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5445         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5446         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5447         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5448         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5449         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5450         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5451         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5452         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5454 2014-07-09  Andreas Schwab  <schwab@suse.de>
5456         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5457         output.
5458         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5459         (do_test): Likewise.
5461         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5463 2014-07-09  Will Newton  <will.newton@linaro.org>
5465         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5466         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5467         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5468         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5469         * sysdeps/hppa/start.S (_start): Likewise.
5471 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5473         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5475         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5476         defined.
5478 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5480         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5481         after checking that it is non-NULL.
5483         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5485 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5487         * sysdeps/powerpc/memmove.c: Remove file.
5488         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5489         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5490         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5491         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5492         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5493         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5494         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5495         string memmove instead of removed powerpc one.
5497         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5498         [weak_alias]: Fix compiler warning due trailing data.
5499         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5500         [weak_alias]: Likewise.
5501         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5502         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5505         (__libc_ifunc_impl_list): Add memmove functions.
5507 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5509         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5510         Remove code.
5511         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5512         Likewise
5513         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5514         Likewise
5515         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5516         Likewise
5517         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5518         Likewise
5519         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5520         Likewise
5521         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5522         Likewise
5523         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5524         Likewise
5525         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5526         Likewise
5527         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5528         Likewise
5529         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5530         Likewise
5531         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5532         Likewise
5533         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5534         Likewise
5535         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5536         Likewise
5537         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5538         Likewise
5539         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5540         Likewise
5541         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5542         Likewise
5544 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5546         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5547         to avoid alignment traps in non-cacheable memory.
5548         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5550         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5551         multiarch objects.
5552         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5553         file: multiarch power7 memmove.
5554         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5555         multiarch default memmove.
5556         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5557         multiarch memove for powerpc32/power4.
5559         * string/bcopy.c: Use full path to include memmove.c.
5560         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5561         multiarch objects.
5562         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5563         bcopy for powerpc64.
5564         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5565         bcopy for powerpc64.
5566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5567         and memmove implementations.
5568         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5569         optimized multiarch memmove for POWER7/powerpc64.
5570         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5571         default multiarch memmove for powerpc64.
5572         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5573         multiarch for powerpc64.
5574         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5575         for POWER7/powerpc64.
5576         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5577         memmove for POWER7/powerpc64.
5579         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5580         glibc default one.
5582         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5583         __ELF_NATIVE_CLASS equal to 64.
5585 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5587         * sysdeps/nptl/lowlevellock.h: File removed.
5589         * NEWS: NPTL is no longer an add-on!
5590         * nptl/internaltypes.h: Moved ...
5591         * sysdeps/nptl/internaltypes.h: ... here.
5592         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5593         * sysdeps/nptl/fork.c: Likewise.
5594         * sysdeps/nptl/gai_misc.h: Likewise.
5595         * sysdeps/nptl/librt-cancellation.c: Likewise.
5596         * sysdeps/nptl/jmp-unwind.c: Likewise.
5597         * sysdeps/nptl/setxid.h: Likewise.
5598         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5599         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5600         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5601         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5602         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5603         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5604         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5605         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5606         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5607         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5608         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5609         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5610         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5611         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5612         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5613         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5614         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5615         * nptl/Makeconfig: Moved ...
5616         * sysdeps/nptl/Makeconfig: ... here.
5617         * nptl/configure: File removed.
5618         * nptl/ANNOUNCE: File removed.
5619         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5620         * sysdeps/unix/sysv/linux/configure: Regenerated.
5622         * nptl/Makefile (routines): Add libc_pthread_init,
5623         libc_multiple_threads, register-atfork and unregister-atfork.
5624         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5625         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5626         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5627         pthread-pi-defines.sym, structsem.sym.
5628         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5629         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5630         [$(subdir) = nptl] (tests): Add tst-setgetname.
5631         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5632         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5633         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5634         [!LIBC_SIGACTION]: Remove aliases.
5635         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5636         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5637         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5638         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5639         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5640         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5641         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5642         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5643         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5644         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5645         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5646         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5647         __libc_allocate_rtsig_private.
5648         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5649         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5650         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5651         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5652         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5653         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5654         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5655         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5656         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5657         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5658         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5659         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5660         * nptl/internaltypes.h: ... here.
5661         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5662         * sysdeps/nptl/jmp-unwind.c: ... here.
5663         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5664         * nptl/libc-lowlevellock.c: ... here.
5665         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5666         * nptl/libc_multiple_threads.c: ... here.
5667         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5668         * nptl/libc_pthread_init.c: ... here.
5669         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5670         * nptl/lowlevelbarrier.sym: ... here.
5671         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5672         * nptl/lowlevelcond.sym: ... here.
5673         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5674         * nptl/lowlevellock.c: ... here.
5675         * nptl/lowlevellock.h: Moved ...
5676         * sysdeps/nptl/lowlevellock.h: ... here.
5677         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5678         * nptl/lowlevelrobustlock.c: ... here.
5679         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5680         * nptl/lowlevelrobustlock.sym: ... here.
5681         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5682         * nptl/lowlevelrwlock.sym: ... here.
5683         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5684         * nptl/pt-fork.c: ... here.
5685         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5686         * nptl/pthread-pi-defines.sym: ... here.
5687         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5688         * nptl/pthread_attr_getaffinity.c: ... here.
5689         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5690         * nptl/pthread_attr_setaffinity.c: ... here.
5691         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5692         * nptl/pthread_mutex_cond_lock.c: ... here.
5693         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5694         Update #include.
5695         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5696         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5697         * nptl/pthread_once.c: ... here, replacing old file.
5698         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5699         * nptl/pthread_yield.c: ... here.
5700         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5701         * nptl/register-atfork.c: ... here.
5702         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5703         * nptl/sem_post.c: ... here.
5704         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5705         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5706         * nptl/sem_timedwait.c: ... here.
5707         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5708         * nptl/sem_trywait.c: ... here.
5709         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5710         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5711         * nptl/sem_wait.c: ... here.
5712         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5713         * nptl/structsem.sym: ... here.
5714         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5715         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5716         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5717         * nptl/unregister-atfork.c: ... here.
5718         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5719         * nptl/unwindbuf.sym: ... here.
5720         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5721         * sysdeps/nptl/fork.c: ... here.
5722         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5723         * sysdeps/nptl/fork.h: ... here.
5724         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5725         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5726         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5727         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5728         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5729         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5730         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5731         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5732         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5733         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5734         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5735         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5736         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5737         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5738         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5739         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5740         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5741         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5742         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5743         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5744         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5745         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5746         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5747         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5748         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5749         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5750         * sysdeps/unix/sysv/linux/raise.c: ... here.
5751         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5752         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5753         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5754         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5755         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5756         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5757         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5758         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5759         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5760         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5761         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5762         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5763         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5764         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5765         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5767 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5769         * sysdeps/generic/memcopy.h: Add comment for
5770         MEMCPY_OK_FOR_FWD_MEMMOVE.
5772 2014-07-04  Will Newton  <will.newton@linaro.org>
5774         * string/memchr.c: Merge from gnulib.
5775         [_LIBC]: Remove conditionals.
5776         (__ptr_t): Remove define.
5777         (LONG_MAX_32_BITS): Likewise.
5778         (LONG_MAX): Likewise.
5779         (MEMCHR): Use ANSI prototype and optimize algorithm.
5781         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5783 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5785         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5786         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5788         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5789         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5790         in a bare environment with no <stdlib.h> installed.
5791         * sysdeps/nptl/configure: Regenerated.
5793         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5795         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5796         AC_EGREP_CPP for kernel header checks, so they only succeed if
5797         including <linux/version.h> actually works right.
5798         * sysdeps/unix/sysv/linux/configure: Regenerated.
5800         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5801         value so it's not diagnosed as unused.
5803         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5804         thing) with "ifeq ($(subdir),rt)".
5806 2014-07-03  Richard Henderson  <rth@redhat.com>
5808         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5809         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5810         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5812         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5813         (math_force_eval): New.
5815         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5816         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5818         * sysdeps/alpha/fpu/s_round.c: Remove file.
5819         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5821         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5822         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5823         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5824         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5825         (_dl_start, print_statistics): Likewise.
5826         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5827         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5829         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5830         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5831         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5832         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5833         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5834         (HP_SMALL_TIMING_AVAIL): Define.
5835         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5836         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5837         (HP_SMALL_TIMING_AVAIL): Define.
5838         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5839         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5841         * sysdeps/aarch64/hp-timing.h: New file.
5843         * sysdeps/generic/hp-timing.h: Remove dead comment.
5844         * sysdeps/generic/hp-timing-common.h: New file.
5845         * sysdeps/alpha/hp-timing.h: Include it.
5846         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5847         * sysdeps/i386/i686/hp-timing.h: Likewise.
5848         * sysdeps/ia64/hp-timing.h: Likewise.
5849         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5850         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5851         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5852         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5853         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5854         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5855         (hp_timing_t): New.
5857         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5858         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5859         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5860         * elf/rtld.c (_dl_start_final): Likewise.
5861         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5862         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5863         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5864         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5865         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5866         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5867         (HP_TIMING_DIFF_INIT): Remove.
5868         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5869         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5870         (HP_TIMING_DIFF_INIT): Remove.
5871         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5872         * sysdeps/i386/i686/hp-timing.c: Remove file.
5873         * sysdeps/x86_64/hp-timing.c: Remove file.
5874         * sysdeps/ia64/hp-timing.c: Remove file.
5875         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5876         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5877         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5878         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5880         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5881         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5882         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5883         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5884         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5885         (HP_TIMING_ACCUM): Remove.
5886         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5887         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5888         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5890         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5891         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5892         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5893         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5894         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5895         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5896         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5897         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5899         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5901 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
5903         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5905 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5907         Sync up with gettext.
5908         * intl/loadmsgcat.c: Define O_BINARY if not defined.
5909         [_MSC_VER]: Include malloc.h
5910         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5911         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5912         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
5913         TEMP_FAILURE_RETRY.  Cast return of alloca.
5914         [!_LIBC] Call gl_rwlock_init.
5915         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5917 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5919         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5920         before checking its value.
5922 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5924         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5926         * debug/memcpy_chk.c: Don't include pagecopy.h.
5927         * debug/mempcpy_chk.c: Likewise.
5928         * string/memcpy.c: Likewise.
5929         * string/memmove.c: Likewise.
5930         * sysdeps/powerpc/memmove.c: Likewise.
5931         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
5932         definition of PAGE_COPY_FWD_MAYBE here...
5933         * sysdeps/generic/pagecopy.h: ... from here.
5934         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5936 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5937             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5939         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5941         optimizations.
5942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5943         (__libc_ifunc_impl_list): Likewise.
5944         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5945         multiarch strcat for PPC64.
5946         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5947         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5949 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5951         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5953 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5955         * intl/loadmsgcat.c: Remove declaration of
5956         get_sysdep_segment_value.
5957         (get_sysdep_segment_value): Use ISO C style.
5958         (_nl_load_domain): Use ISO C style.  Get rid of redundant
5959         semicolon.  Fix typo and formatting in comment.
5960         (_nl_unload_domain): Use ISO C style.
5962         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5964 2014-07-02  Will Newton  <will.newton@linaro.org>
5966         * malloc/obstack.c: Merge from gnulib master.
5967         [HAVE_CONFIG_H]: Remove conditional code.
5968         [!_LIBC]: Include config.h.
5969         [!ELIDE_CODE]: Don't include inttypes.h, include
5970         stdint.h unconditionally.
5971         (print_and_abort): Mark as _Noreturn.
5972         (_obstack_allocated_p): Mark as __attribute_pure__.
5973         (obstack_free): Rename to __obstack_free.
5974         [!__attribute__]: Remove conditional code.
5975         * malloc/obstack.h: Merge from gnulib master.
5976         [__cplusplus]: Move conditional down.
5977         [!__attribute_pure__]: Define __attribute_pure__ here
5978         if it is not already defined.
5979         (_obstack_memory_used): Mark as __attribute_pure__.
5980         [!__obstack_free]: Define as obstack_free.
5981         [__GNUC__]: Remove check for ancient NeXT gcc.
5983 2014-07-02  Will Newton  <will.newton@linaro.org>
5984             Paul Eggert  <eggert@cs.ucla.edu>
5986         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5988 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5990         * resolv/gethnamaddr.c: Add comment warning that the file is
5991         not maintained.
5993 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
5995         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5996         entries.
5998         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5999         entry for aio_cancel and aio_cancel64.
6000         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6001         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6002         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6003         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6004         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6005         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6006         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6007         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6008         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6009         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6010         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6011         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6012         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6014 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6016         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6017         * nptl/pthread_mutex_lock.c: Likewise.
6018         * nptl/pthread_mutex_timedlock.c: Likewise.
6019         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6021 2014-07-01  Richard henderson  <rth@redhat.com>
6023         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6024         (__isnan, __isnanl): Remove.
6025         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6027         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6029 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6031         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6033 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6035         * resolv/nss_dns/dns-host.c (getanswer_r)
6036         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6038 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6040         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6041         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6042         undefine.
6043         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6044         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6046 2014-07-01  Roland McGrath <roland@hack.frob.com>
6048         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6049         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6051         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6052         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6054         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6055         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6056         ... here.
6057         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6058         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6060         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6061         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6062         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6063         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6065         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6066         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6067         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6068         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6069         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6070         Moved ...
6071         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6072         ... here.
6073         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6074         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6075         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6076         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6077         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6078         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6079         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6080         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6081         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6082         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6083         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6084         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6085         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6086         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6087         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6088         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6089         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6090         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6091         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6092         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6093         ... here.
6094         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6095         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6096         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6097         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6098         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6099         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6100         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6101         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6103 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6105         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6106         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6107         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6108         Add sysdep.
6110 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6114 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6116         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6117         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6119         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6121         * sysdeps/arm/libm-test-ulps: Regenerated.
6123 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6124             Roland McGrath <roland@hack.frob.com>
6126         * test-skeleton.c (signal_handler): Kill the whole process group
6127         before killing the child individually.
6128         (main): Report any failure on `setpgid'.
6130 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6132         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6133         from _TLS_H to _ARM_NPTL_TLS_H.
6134         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6135         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6137 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6139         [BZ #16539]
6140         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6141         (__expm1l): Return argument unchanged when small but not
6142         subnormal.
6144         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6145         include macro name.
6146         (_FP_UNPACK_RAW_1_P): Likewise.
6147         (_FP_PACK_RAW_1): Likewise.
6148         (_FP_PACK_RAW_1_P): Likewise.
6149         (_FP_MUL_MEAT_1_wide): Likewise.
6150         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6151         (_FP_MUL_MEAT_1_hard): Likewise.
6152         (_FP_DIV_MEAT_1_imm): Likewise.
6153         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6154         (_FP_DIV_MEAT_1_udiv): Likewise.
6155         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6156         (_FP_UNPACK_RAW_2): Likewise.
6157         (_FP_UNPACK_RAW_2_P): Likewise.
6158         (_FP_PACK_RAW_2): Likewise.
6159         (_FP_PACK_RAW_2_P): Likewise.
6160         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6161         (_FP_MUL_MEAT_2_wide): Likewise.
6162         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6163         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6164         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6165         (_FP_MUL_MEAT_2_gmp): Likewise.
6166         (_FP_DIV_MEAT_2_udiv): Likewise.
6167         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6168         (_FP_FRAC_SRL_4): Likewise.
6169         (_FP_FRAC_SRST_4): Likewise.
6170         (_FP_FRAC_SRS_4): Likewise.
6171         (_FP_UNPACK_RAW_4): Likewise.
6172         (_FP_UNPACK_RAW_4_P): Likewise.
6173         (_FP_PACK_RAW_4): Likewise.
6174         (_FP_PACK_RAW_4_P): Likewise.
6175         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6176         (_FP_MUL_MEAT_4_wide): Likewise.
6177         (_FP_MUL_MEAT_4_gmp): Likewise.
6178         (umul_ppppmnnn): Likewise.
6179         (_FP_DIV_MEAT_4_udiv): Likewise.
6180         (__FP_FRAC_ADD_4): Likewise.
6181         (__FP_FRAC_SUB_3): Likewise.
6182         (__FP_FRAC_SUB_4): Likewise.
6183         (__FP_FRAC_DEC_3): Likewise.
6184         (__FP_FRAC_DEC_4): Likewise.
6185         (__FP_FRAC_ADDI_4): Likewise.
6186         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6187         (_FP_FRAC_SRL_8): Likewise.
6188         (_FP_FRAC_SRS_8): Likewise.
6190         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6191         include macro name.
6192         (FP_UNPACK_RAW_EP): Likewise.
6193         (FP_PACK_RAW_E): Likewise.
6194         (FP_PACK_RAW_EP): Likewise.
6195         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6196         (_FP_ISSIGNAN): Likewise.
6197         (_FP_ADD_INTERNAL): Likewise.
6198         (_FP_FMA): Likewise.
6199         (_FP_CMP): Likewise.
6200         (_FP_SQRT): Likewise.
6201         (_FP_TO_INT): Likewise.
6202         (_FP_FROM_INT): Likewise.
6203         (FP_EXTEND): Likewise.
6204         (_FP_DIV_MEAT_N_loop): Likewise.
6206 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6208         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6209         throughout.
6211 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6213         [BZ #17097]
6214         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6215         result with correct sign in case of exponents that produce
6216         overflow except for X very close to 1.
6218 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6220         mktime: merge #if/#ifdef usage from glibc
6221         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6222         as that works with both Glibc's and Gnulib's style.
6223         See thread starting at Siddhesh Poyarekar's bug report at:
6224         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6226 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6228         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6229         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6230         * sysdeps/tile/tilegx/memmove.c: Remove file.
6232 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6234         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6235         abi-name definition.
6236         * scripts/soversions.awk: Do not handle or generate ABI lines.
6237         * shlib-versions: Remove ABI entries.
6238         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6239         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6241 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6244         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6245         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6246         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6248         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6250         Moved ...
6251         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6252         ... here.
6253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6254         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6256         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6258         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6260         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6261         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6262         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6263         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6264         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6265         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6266         Moved ...
6267         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6268         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6269         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6270         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6271         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6272         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6273         Moved ...
6274         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6275         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6276         Moved ...
6277         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6278         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6279         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6280         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6281         Moved ...
6282         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6284         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6285         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6286         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6287         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6288         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6289         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6290         Moved ...
6291         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6292         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6293         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6294         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6295         Moved ...
6296         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6297         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6298         Moved ...
6299         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6300         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6301         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6302         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6303         Moved ...
6304         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6305         ... here.
6306         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6307         Identical file removed.
6308         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6309         Moved ...
6310         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6311         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6312         Identical file removed.
6313         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6314         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6315         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6316         Moved ...
6317         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6318         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6319         Identical file removed.
6320         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6321         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6322         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6323         Identical file removed.
6324         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6325         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6326         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6327         Identical file removed.
6328         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6329         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6330         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6331         Identical file removed.
6332         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6333         Moved ...
6334         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6335         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6336         Identical file removed.
6337         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6338         Moved ...
6339         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6340         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6341         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6343         Identical file removed.
6344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6345         Moved ...
6346         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6347         ... here.
6348         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6349         Identical file removed.
6350         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6351         Moved ...
6352         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6353         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6354         Identical file removed.
6355         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6356         Moved ...
6357         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6358         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6359         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6360         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6361         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6362         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6363         Moved ...
6364         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6365         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6366         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6368         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6369         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6370         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6371         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6372         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6374 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6376         [BZ #17092]
6377         * nscd/nscd.c (monitor_child): Return exit status of child
6378         instead of return value from wait syscall.
6380 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6382         * configure.ac (libc_commonpagesize): Remove variable.
6383         (libc_relro_required): Likewise.
6384         (libc_cv_z_relro): Remove configure test.
6385         * configure: Regenerated.
6386         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6387         variable.
6388         (libc_relro_required): Likewise.
6389         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6390         (libc_relro_required): Likewise.
6391         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6392         (libc_relro_required): Likewise.
6393         * sysdeps/arm/preconfigure: Regenerated.
6394         * sysdeps/ia64/preconfigure: Remove file.
6395         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6396         variable.
6397         (libc_relro_required): Likewise.
6399         [BZ #16561]
6400         [BZ #16562]
6401         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6402         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6403         recompute overflowing results in original rounding mode.
6404         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6405         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6406         recompute overflowing results in original rounding mode.
6407         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6408         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6409         recompute overflowing results in original rounding mode.
6410         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6411         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6412         recompute overflowing results in original rounding mode.
6413         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6414         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6415         recompute overflowing results in original rounding mode.
6416         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6417         (libc_feholdsetround_ctx): New macro.
6418         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6419         * sysdeps/i386/fpu/libm-test-ulps: Update.
6420         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6422 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6424         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6425         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6426         corresponding .cpsetup call.
6428 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6430         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6431         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6432         * sysdeps/arm/Makefile [$(subdir) = csu]
6433         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6434         (static-only-routines): Add aeabi_read_tp here.
6435         (shared-only-routines): Add libc-aeabi_read_tp here.
6436         (CFLAGS-libc-start.c): Add -fexceptions here.
6437         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6438         (sysdep_routines, static-only-routines, shared-only-routines):
6439         Don't add to these here.
6440         (CFLAGS-libc-start.c): Likewise.
6442         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6443         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6444         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6445         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6446         * sysdeps/arm/Makefile [$(subdir) = rt]
6447         (librt-sysdep_routines, librt-shared-only-routines):
6448         Append rt-aeabi_unwind_cpp_pr1 here.
6449         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6450         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6451         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6452         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6453         Append nptl-aeabi_unwind_cpp_pr1 here.
6454         (tests): Filter out tst-cleanupx4 here.
6455         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6456         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6457         Don't do those here.
6459 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6461         * scripts/list-sources.sh: Do not handle ports specially.
6463 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6465         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6466         * sysdeps/arm/feupdateenv.c: Likewise.
6468         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6470 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6472         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6473         trailing whitespace removed.
6474         * scripts/config.guess: Update to version 2014-03-23.
6475         * scripts/config.sub: Update to version 2014-05-01
6476         * scripts/install-sh: Update to version 2013-12-25.23.
6477         * scripts/move-if-change: Update from gnulib.
6479 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6481         * debug/memmove_chk.c: Remove pagecopy.h include.
6483 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6485         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6486         identical to gnulib mktime.
6488 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6490         * configure.ac: Do not test for machine being rs6000.  Do not test
6491         for powerpc*-*soft.
6492         * configure: Regenerated.
6494         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6495         test.
6496         * configure: Regenerated.
6497         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6498         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6499         Remove configure test.
6500         * sysdeps/arm/configure: Regenerated.
6501         * sysdeps/nptl/configure.ac: Do not check
6502         libc_cv_asm_cfi_directives.
6503         * sysdeps/nptl/configure: Regenerated.
6504         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6505         * sysdeps/x86_64/nptl/configure: Remove generated file.
6506         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6507         unconditional.
6508         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6510 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6512         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6513         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6514         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6515         it is defined.
6517         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6518         instead of whether it is defined.
6519         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6520         * sysdeps/hppa/dl-machine.h: Likewise.
6521         * sysdeps/ia64/dl-machine.h: Likewise.
6522         * sysdeps/m68k/dl-machine.h: Likewise.
6523         * sysdeps/microblaze/dl-machine.h: Likewise.
6524         * sysdeps/mips/dl-machine.: Likewise.
6525         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6526         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6527         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6528         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6529         * sysdeps/sh/dl-machine.h: Likewise.
6530         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6531         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6532         * sysdeps/tile/dl-machine.h: Likewise.
6533         * sysdeps/x86_64/dl-machine.h: Likewise.
6535         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6536         code.
6537         (verify_persistent_db): Likewise.
6539 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6542         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6544         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6546         Moved ...
6547         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6548         ... here.
6549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6550         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6552         Identical file removed.
6553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6554         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6556         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6558         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6560         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6562         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6564         Moved ...
6565         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6567         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6569         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6571         Moved ...
6572         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6574         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6576         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6578         Identical file removed.
6579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6580         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6582         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6584         Moved ...
6585         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6586         ... here.
6587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6588         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6590         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6592         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6594         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6596         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6598         Moved ...
6599         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6601         Moved ...
6602         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6604         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6606         Moved ...
6607         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6609         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6611         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6612         folded into ...
6613         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6614         * sysdeps/unix/sysv/linux/s390/Versions
6615         (libpthread: GLIBC_2.19): New version set.
6616         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6617         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6618         (librt: GLIBC_2.3.3): New version set.
6619         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6620         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6621         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6622         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6623         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6624         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6625         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6626         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6627         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6628         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6629         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6630         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6631         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6632         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6633         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6634         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6635         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6636         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6637         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6638         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6639         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6640         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6641         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6642         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6643         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6644         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6645         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6646         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6647         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6648         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6649         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6650         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6653         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6655         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6657         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6658         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6659         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6660         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6661         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6663         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6665         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6666         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6667         (__libc_vfork): Define the function under this name.
6668         [!NOT_IN_libc] (__vfork): Make this an alias.
6669         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6670         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6671         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6672         (__libc_vfork): Define the function under this name.
6673         [!NOT_IN_libc] (__vfork): Make this an alias.
6674         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6675         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6676         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6678         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6679         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6681         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6682         code that was previously under [RESET_PID].
6683         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6684         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6687         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6688         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6689         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6690         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6691         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6692         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6693         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6694         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6695         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6696         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6697         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6698         Moved ...
6699         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6700         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6701         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6702         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6703         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6704         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6705         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6706         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6707         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6708         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6709         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6710         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6711         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6712         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6713         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6714         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6715         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6716         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6717         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6718         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6719         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6720         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6721         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6722         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6723         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6724         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6725         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6726         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6727         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6729 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6731         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6732         that was previously under [RESET_PID].
6733         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6735 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6737         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6738         not undefine and redefine.
6739         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6740         [O_CLOEXEC]: Make code unconditional.
6741         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6742         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6743         <kernel-features.h>.
6744         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6745         conditional variable definition.
6746         (shm_open) [O_CLOEXEC]: Make code unconditional.
6747         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6748         code.
6750         * configure.ac (USE_REGPARMS): Don't define here.
6751         * configure: Regenerated.
6752         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6753         * sysdeps/i386/configure: Regenerated.
6755         * nptl/createthread.c: Don't include kernel-features.h.
6756         * nptl/pthread_cancel.c: Likewise.
6757         * nptl/pthread_condattr_setclock.c: Likewise.
6758         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6759         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6760         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6761         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6762         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6763         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6764         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6766         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6767         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6768         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6769         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6770         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6771         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6772         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6773         * nscd/gai.c: Likewise.
6774         * nss/nss_db/db-open.c: Likewise.
6775         * sysdeps/generic/ldsodefs.h: Likewise.
6776         * sysdeps/sh/nptl/tls.h: Likewise.
6777         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6778         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6779         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6780         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6781         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6782         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6783         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6784         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6785         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6786         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6787         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6788         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6789         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6790         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6791         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6792         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6793         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6794         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6795         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6796         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6798         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6799         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6800         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6801         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6802         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6803         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6804         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6805         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6806         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6807         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6808         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6809         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6810         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6811         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6812         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6813         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6814         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6815         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6816         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6817         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6818         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6819         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6820         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6821         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6822         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6823         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6824         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6825         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6826         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6827         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6828         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6829         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6830         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6831         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6832         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6833         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6834         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6857         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6858         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6859         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6860         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6861         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6862         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6863         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6864         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6865         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6866         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6867         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6868         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6869         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6870         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6871         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6872         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6873         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6874         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6875         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6876         * sysdeps/unix/sysv/linux/system.c: Likewise.
6877         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6878         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6879         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6880         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6881         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6882         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6883         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6885         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6886         * configure: Regenerated.
6887         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6889         * configure.ac (base_machine): Do not set specially for particular
6890         machines here.
6891         * configure: Regenerated.
6892         * sysdeps/powerpc/preconfigure: Move machine and base_machine
6893         settings from configure.ac.
6894         * sysdeps/i386/preconfigure: New file.
6895         * sysdeps/s390/preconfigure: Likewise.
6896         * sysdeps/sh/preconfigure: Likewise.
6897         * sysdeps/sparc/preconfigure: Likewise.
6899 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6901         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6902         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6903         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6904         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6905         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6906         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6907         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6908         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6909         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6910         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6911         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6912         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6913         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6914         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6915         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6916         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6917         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6918         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6919         * sysdeps/sparc/sparc64/Makefile: ... appended here.
6921         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6922         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6923         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6924         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6925         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6926         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6927         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6928         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6929         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6930         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6931         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6932         * sysdeps/sparc/sparc32/sem_post.c: ... here.
6933         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6934         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6935         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6936         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6937         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6938         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6939         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6940         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6941         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6942         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6943         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6944         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6945         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6946         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6947         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6948         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6949         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6950         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6951         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6952         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6953         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6954         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6955         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6956         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6957         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6958         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6961         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6963         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6965         Moved ...
6966         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6967         ... here.
6968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6969         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6971         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6973         Moved ...
6974         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6976         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6978         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6980         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6982         Moved ...
6983         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6985         Moved ...
6986         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6988         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6990         Moved ...
6991         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6993         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6995         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6997         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6999         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7001         Moved ...
7002         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7003         ... here.
7004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7005         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7007         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7009         Moved ...
7010         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7012         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7014         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7016         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7018         Moved ...
7019         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7021         Moved ...
7022         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7024         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7026         Moved ...
7027         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7029         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7031         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7033 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7035         * timezone/checktab.awk: Update from tzcode 2014e.
7036         * timezone/private.h: Likewise.
7037         * timezone/tzfile.h: Likewise.
7038         * timezone/zdump.c: Likewise.
7039         * timezone/zic.c: Likewise.
7041         * sysdeps/unix/sysv/linux/kernel-features.h
7042         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7043         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7044         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7045         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7046         Remove conditional code.
7048 2014-06-25  Will Newton  <will.newton@linaro.org>
7050         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7051         (_dl_arm_cap_flags): Add HWCAP2 values.
7052         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7053         (_DL_HWCAP_COUNT): Increase to 37.
7054         (_DL_HWCAP_LAST): New define.
7055         (_DL_HWCAP2_LAST): New define.
7056         (_dl_procinfo): Add support for printing
7057         AT_HWCAP2 entries.
7058         (_dl_string_hwcap): Use _dl_hwcap_string.
7060 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7064 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7066         * README: Do not mention ports directory.
7068         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7069         Remove macro.
7070         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7071         <kernel-features.h>.
7072         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7073         conditional variable definition.
7074         (__futimes): Update comment.
7075         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7076         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7078         [BZ #16560]
7079         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7080         arguments close to 0.
7081         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7082         Likewise.
7083         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7084         Likewise.
7085         * math/auto-libm-test-in: Add more tests of exp10.
7086         * math/auto-libm-test-out: Regenerated.
7087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7089         * sysdeps/unix/sysv/linux/kernel-features.h
7090         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7091         * sysdeps/unix/sysv/linux/readv.c: Do not include
7092         <kernel-features.h>.
7093         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7094         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7095         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7096         unconditional.
7097         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7098         conditional code.
7099         * sysdeps/unix/sysv/linux/writev.c: Do not include
7100         <kernel-features.h>.
7101         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7102         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7103         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7104         unconditional.
7105         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7106         conditional code.
7108 2014-06-25  Will Newton  <will.newton@linaro.org>
7110         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7111         comment changes throughout the file.  Remove checks
7112         for HAVE_*_H definitions that are not required.
7113         (__gen_tempname): Call abort if an unknown kind value is
7114         passed.
7116 2014-06-25  Andreas Schwab  <schwab@suse.de>
7118         [BZ #17086]
7119         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7120         scalbln, scalblnf, scalblnl in libc.
7122 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7124         [BZ #17086]
7125         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7126         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7127         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7129 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7131         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7132         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7133         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7134         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7135         Update #include.
7136         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7137         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7138         Update #include.
7139         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7140         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7141         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7142         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7143         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7144         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7145         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7146         * sysdeps/x86/bits/semaphore.h: ... here.
7147         * sysdeps/x86/nptl/elide.h: Moved ...
7148         * sysdeps/x86/elide.h: ... here.
7149         * sysdeps/x86_64/nptl/Implies: File removed.
7150         * sysdeps/i386/nptl/Implies: File removed.
7152 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7154         [BZ #16539]
7155         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7156         return the argument for normal arguments with exponent below -64.
7157         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7158         Likewise.
7159         * math/auto-libm-test-in: Add another test of expm1.
7160         * math/auto-libm-test-out: Regenerated.
7162         [BZ #16287]
7163         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7164         calling __erfcl for arguments at least 16.
7165         * math/auto-libm-test-in: Add more tests of erf.
7166         * math/auto-libm-test-out: Regenerated.
7168         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7169         individual architectures.
7170         * sysdeps/unix/sysv/linux/configure: Regenerated.
7171         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7172         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7173         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7174         (ldd_rewrite_script): Define variable.
7175         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7177         file.
7178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7179         generated file.
7180         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7181         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7182         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7183         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7184         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7185         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7186         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7187         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7189 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7191         [BZ #17084]
7192         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7193         Rename member __data.d to __data.__elision_data.
7195 2014-06-24  Wilco  <wdijkstr@arm.com>
7197         * NEWS: Add 16918 to fixed bug list.
7199 2014-06-24  Wilco  <wdijkstr@arm.com>
7201         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7203 2014-06-24  Wilco  <wdijkstr@arm.com>
7205         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7206         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7207         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7208         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7209         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7210         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7211         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7212         Use _FPU_MASK_RM.
7214 2014-06-24  Wilco  <wdijkstr@arm.com>
7216         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7218 2014-06-24  Wilco  <wdijkstr@arm.com>
7220         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7221         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7222         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7223         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7225 2014-06-24  Wilco  <wdijkstr@arm.com>
7227         [BZ #16918]
7228         * sysdeps/arm/feupdateenv.c (feupdateenv):
7229         Rewrite to reduce FPSCR accesses and fix return value.
7231 2014-06-24  Wilco  <wdijkstr@arm.com>
7233         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7234         Optimize to avoid unnecessary FPSCR writes.
7235         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7236         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7237         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7238         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7240 2014-06-24  Wilco  <wdijkstr@arm.com>
7242         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7243         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7244         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7245         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7246         Call libc_fetestexcept_vfp.
7247         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7248         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7249         __SOFTFP__ ifdef so that they can be built for softfp.
7251 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7253         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7254         argument type signed char.
7256         * Makerules (check-abi): Dump diff of symlist if the test
7257         fails.
7259 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7261         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7262         using abort.
7264         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7265         Remove unused variable ST.
7267 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7269         [BZ #16354]
7270         [BZ #17061]
7271         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7272         small arguments before calling __expm1.
7273         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7274         small arguments before calling __expm1f.
7275         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7276         small arguments before calling __expm1l.
7277         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7278         Likewise.
7279         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7280         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7281         spurious underflow for some cosh tests.
7282         * math/auto-libm-test-out: Regenerated.
7283         * sysdeps/i386/fpu/libm-test-ulps: Update.
7285         [BZ #17050]
7286         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7287         (__ieee754_y1): Set errno if return value overflows.
7288         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7289         (__ieee754_y1f): Set errno if return value overflows.
7290         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7291         (__ieee754_y1l): Set errno if return value overflows.
7292         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7293         (__ieee754_y1l): Set errno if return value overflows.
7294         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7295         * math/auto-libm-test-out: Regenerated.
7297         * math/gen-auto-libm-tests.c: Document use of
7298         ignore-zero-inf-sign.
7299         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7300         (input_flags): Add ignore-zero-inf-sign.
7301         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7302         * math/gen-libm-test.pl (generate_testfile): Handle
7303         ignore-zero-inf-sign.
7304         * math/auto-libm-test-in: Mark some cpow tests with
7305         ignore-zero-inf-sign and some with xfail-rounding.
7306         * math/auto-libm-test-out: Regenerated.
7307         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7308         * sysdeps/i386/fpu/libm-test-ulps: Update.
7309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7311         [BZ #16315]
7312         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7313         overflowing or underflowing operations take place with sign of
7314         result.
7315         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7316         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7317         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7318         (__ieee754_pow): Recompute overflowing and underflowing results in
7319         original rounding mode.
7320         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7321         (__powl_helper): Allow negative argument X and scale negated value
7322         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7323         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7324         overflowing or underflowing operations take place with sign of
7325         result.
7326         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7327         Include <math.h>.
7328         * math/auto-libm-test-in: Add more tests of pow.
7329         * math/auto-libm-test-out: Regenerated.
7330         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7331         (pow_tonearest_test_data): Remove.
7332         (pow_test_tonearest): Likewise.
7333         (pow_towardzero_test_data): Likewise.
7334         (pow_test_towardzero): Likewise.
7335         (pow_downward_test_data): Likewise.
7336         (pow_test_downward): Likewise.
7337         (pow_upward_test_data): Likewise.
7338         (pow_test_upward): Likewise.
7339         (main): Don't call removed functions.
7340         * sysdeps/i386/fpu/libm-test-ulps: Update.
7341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7343 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7346         Moved ...
7347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7349         Moved ...
7350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7352         Moved ...
7353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7355         Moved ...
7356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7358         File removed.
7359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7360         File removed.
7361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7362         File removed.
7363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7364         File removed.
7365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7366         File removed.
7367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7368         File removed.
7369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7370         File removed.
7371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7372         File removed.
7373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7374         File removed.
7375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7376         File removed.
7377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7378         File removed.
7379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7380         File removed.
7381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7382         Moved ...
7383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7385         Moved ...
7386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7387         ... here.
7388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7389         Moved ...
7390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7392         Moved ...
7393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7395         Moved ...
7396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7398         Moved ...
7399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7401         Moved ...
7402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7404         Moved ...
7405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7407         Moved ...
7408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7411         ... here.
7412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7413         Moved ...
7414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7416         Moved ...
7417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7418         ... here.
7419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7420         Moved ...
7421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7422         ... here.
7423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7424         Moved ...
7425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7426         ... here.
7427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7428         Moved ...
7429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7431         Moved ...
7432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7436         Moved ...
7437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7438         ... here.
7439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7440         Moved ...
7441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7442         ... here.
7443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7444         Moved ...
7445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7447         Moved ...
7448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7450         Moved ...
7451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7453         Moved ...
7454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7456         Moved ...
7457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7458         ... here.
7459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7460         Moved ...
7461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7463         Moved ...
7464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7466         Moved ...
7467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7469         Moved ...
7470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7474         Moved ...
7475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7477         Moved ...
7478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7480         Moved ...
7481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7482         ... here.
7483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7484         Moved ...
7485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7486         ... here.
7487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7488         Moved ...
7489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7490         ... here.
7491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7492         Moved ...
7493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7495         Moved ...
7496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7498         Moved ...
7499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7501         Moved ...
7502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7503         ... here.
7504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7505         Moved ...
7506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7507         ... here.
7508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7509         Moved ...
7510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7511         ... here.
7512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7513         Moved ...
7514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7516         Moved ...
7517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7519 2014-06-23  Will Newton  <will.newton@linaro.org>
7520             Wilco  <wdijkstr@arm.com>
7522         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7523         implementation.  Include get-rounding-mode.h.
7524         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7525         [!libc_feholdsetround_noex_ctx]: Define
7526         libc_feholdsetround_noex_ctx.
7527         [!libc_feholdsetround_noexf_ctx]: Define
7528         libc_feholdsetround_noexf_ctx.
7529         [!libc_feholdsetround_noexl_ctx]: Define
7530         libc_feholdsetround_noexl_ctx.
7531         (libc_feholdsetround_ctx): New function.
7532         (libc_feresetround_ctx): New function.
7533         (libc_feholdsetround_noex_ctx): New function.
7534         (libc_feresetround_noex_ctx): New function.
7536 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7538         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7539         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7540         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7541         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7542         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7543         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7545         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7546         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7547         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7548         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7549         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7550         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7551         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7552         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7553         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7554         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7555         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7556         Moved ...
7557         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7558         ... here.
7559         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7560         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7561         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7562         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7563         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7564         Moved ...
7565         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7566         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7567         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7568         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7569         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7570         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7571         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7572         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7573         Moved ...
7574         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7575         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7576         Moved ...
7577         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7578         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7579         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7580         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7581         Moved ...
7582         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7583         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7584         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7585         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7586         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7587         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7588         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7589         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7590         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7591         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7592         Moved ...
7593         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7594         ... here.
7595         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7596         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7597         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7598         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7599         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7600         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7601         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7602         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7603         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7604         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7605         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7606         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7607         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7608         Moved ...
7609         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7610         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7611         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7612         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7613         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7614         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7615         Moved ...
7616         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7617         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7618         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7619         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7620         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7622         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7623         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7624         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7625         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7626         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7627         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7628         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7629         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7630         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7631         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7632         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7633         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7634         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7635         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7636         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7637         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7638         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7639         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7640         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7641         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7642         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7643         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7644         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7645         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7646         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7647         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7648         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7649         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7651 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7653         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7654         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7655         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7656         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7657         (IPV6_PMTUDISC_INTERFACE): Likewise.
7658         (IPV6_PMTUDISC_OMIT): Likewise.
7660 2014-06-23  Andreas Schwab  <schwab@suse.de>
7662         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7663         Remove unused errout label.
7665 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7667         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7668         macro: hardware supports Vector Crypto instructions.
7670 2014-06-23  Will Newton  <will.newton@linaro.org>
7672         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7673         rather than __builtin_expect.
7675         * elf/dl-lookup.c (undefined_msg): Remove variable.
7676         (_dl_lookup_symbol_x): Replace undefined_msg with string
7677         literal.
7679         * elf/dl-lookup.c (do_lookup_unique): New function.
7680         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7681         to a separate function.
7683 2014-06-23  Andreas Schwab  <schwab@suse.de>
7685         [BZ #17079]
7686         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7687         before reading the next line.
7689 2014-06-23  Will Newton  <will.newton@linaro.org>
7691         * test-skeleton.c (signal_handler): Use printf and %m
7692         rather than perror.  Use printf rather than fprintf to
7693         stderr.  Use puts rather than fputs to stderr.
7694         (main): Likewise.
7696 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7698         * nscd/nscd.c (thread_info_t): Remove typedef.
7699         (thread_info): Remove variable.
7701 2014-06-21  Allan McRae  <allan@archlinux.org>
7703         * NEWS: Mention CVE-2014-4043.
7705 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7707         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7708         * nptl/smp.h: ... here.
7710         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7712         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7713         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7714         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7715         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7717         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7718         * nptl/stack-aliasing.h: New file.
7719         * sysdeps/i386/i686/stack-aliasing.h: New file.
7720         * sysdeps/i386/i686/nptl/Makefile: File removed.
7721         * sysdeps/x86_64/stack-aliasing.h: New file.
7722         * sysdeps/x86_64/nptl/Makefile
7723         (CFLAGS-pthread_create.c): Variable removed.
7725         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7726         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7727         old file.
7728         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7729         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7730         old file.
7732 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7734         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7735         (__ASSUME_SIGFRAME_V2): Remove macro.
7736         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7737         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7738         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7739         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7740         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7741         Declare as function.  Remove conditional macro definitions.
7742         (__default_rt_sa_restorer): Likewise.
7743         (__default_sa_restorer_v1): Remove declaration.
7744         (__default_sa_restorer_v2): Likewise.
7745         (__default_rt_sa_restorer_v1): Likewise.
7746         (__default_rt_sa_restorer_v2): Likewise.
7747         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7748         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7749         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7751 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7753         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7754         (libpthread-routines): Add sysdep.
7755         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7756         * sysdeps/unix/sysv/linux/sparc/Versions
7757         (libpthread: GLIBC_2.3.3): New version set.
7758         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7759         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7760         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7761         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7762         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7763         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7764         Moved ...
7765         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7766         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7767         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7768         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7769         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7770         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7771         * sysdeps/sparc/nptl/sem_init.c: ... here.
7772         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7773         * sysdeps/sparc/nptl/sem_post.c: ... here.
7774         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7775         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7776         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7777         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7778         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7779         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7780         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7781         (libpthread-routines): Add cpu_relax.
7782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7783         File removed.
7784         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7785         (librt: GLIBC_2.3.3): New version set.
7786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7787         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7788         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7789         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7792         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7794         Moved ...
7795         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7797         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7799         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7801         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7803         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7805         Moved ...
7806         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7807         Update #include.
7808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7809         Moved ...
7810         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7811         Update #include.
7812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7813         Moved ...
7814         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7815         Update #include.
7816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7817         Moved ...
7818         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7819         Update #include.
7820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7821         Moved ...
7822         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7823         Update #include.
7824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7825         Moved ...
7826         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7827         Update #include.
7828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7829         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7831         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7833         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7835         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7837         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7839         Moved ...
7840         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7842         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7844         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7846 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7848         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7849         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7850         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7851         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7852         * nscd/nscd.c: Likewise.
7853         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7854         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7855         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7856         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7858         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7859         <kernel-features.h>.
7860         (init_mq_netlink): Remove conditional have_sock_cloexec
7861         definitions.  Remove code conditional on have_sock_cloexec < 0.
7862         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7863         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7864         * sysdeps/unix/sysv/linux/opensock.c: Do not include
7865         <kernel-features.h>.
7866         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7867         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7869 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7872         Add tests for memset_chk and memset.
7874         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7875         with AVX2_Usable.
7877 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7879         [BZ #16046]
7880         * elf/tst-dl-iter-static.c: New file.
7881         * elf/Makefile (tests-static): Add tst-dl-iter-static.
7883         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7884         error.
7886 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7888         * sysdeps/unix/sysv/linux/kernel-features.h
7889         (__ASSUME_F_GETOWN_EX): Remove macro.
7890         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7891         <kernel-features.h>.
7892         (miss_F_GETOWN_EX): Remove variable or macro.
7893         (do_fcntl): Do not check miss_F_GETOWN_EX.
7894         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7896         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7897         Remove macro.
7898         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7899         [!__ASSUME_AT_RANDOM]: Remove conditional code.
7900         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7902         * sysdeps/unix/sysv/linux/kernel-features.h
7903         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7904         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7905         [ADJ_OFFSET_SS_READ]: Make code unconditional.
7906         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7908 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7910         [BZ #17075]
7911         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7912         Fix calculation of the symbol's value.
7913         * sysdeps/arm/tst-armtlsdescloc.c: New file.
7914         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7915         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7916         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7917         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7918         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7919         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7920         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7921         (modules-names): Add `tst-armtlsdescmod',
7922         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7923         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7924         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7925         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7926         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7927         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7928         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7929         ($(objpfx)tst-armtlsdescloc): New dependency.
7930         ($(objpfx)tst-armtlsdescextnow): Likewise.
7931         ($(objpfx)tst-armtlsdescextlazy): Likewise.
7932         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7933         TLS scheme support.
7934         * sysdeps/arm/configure: Regenerate.
7936 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7938         * include/fcntl.h (__atfct_seterrno): Remove prototype.
7939         (__atfct_seterrno_2): Likewise.
7940         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7941         <kernel-features.h>.
7942         (__ASSUME_ATFCTS): Do not undefine and redefine.
7943         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7944         (__have_atfcts): Remove conditional definition.
7945         (__fxstatat([__NR_fstatat64]: Make code unconditional.
7946         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7947         unreachable if [__ASSUME_ATFCTS].
7948         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7949         not undefine and redefine.
7950         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7951         <kernel-features.h>.
7952         (faccessat) [__NR_faccessat]: Make code unconditional.
7953         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7954         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7955         <kernel-features.h>.
7956         (fchmodat) [__NR_fchmodat]: Make code unconditional.
7957         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7958         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7959         <kernel-features.h>.
7960         (fchownat) [__NR_fchownat]: Make code unconditional.
7961         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7962         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7963         <kernel-features.h>.
7964         (futimesat) [__NR_futimesat]: Make code unconditional.
7965         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7966         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7967         <kernel-features.h>.
7968         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7969         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7970         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7971         <kernel-features.h>.
7972         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7973         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7974         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7975         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7976         <kernel-features.h>.
7977         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7978         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7979         * sysdeps/unix/sysv/linux/linkat.c: Do not include
7980         <kernel-features.h>.
7981         (linkat) [__NR_linkat]: Make code unconditional.
7982         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7983         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7984         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7985         <kernel-features.h>.
7986         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7987         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7988         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7989         <kernel-features.h>.
7990         (mkdirat) [__NR_mkdirat]: Make code unconditional.
7991         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7992         * sysdeps/unix/sysv/linux/openat.c: Do not include
7993         <kernel-features.h>.
7994         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7995         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7996         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7997         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7998         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7999         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8000         <kernel-features.h>.
8001         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8002         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8003         result of INLINE_SYSCALL directly, not via int variable.
8004         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8005         <kernel-features.h>.
8006         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8007         (renameat) [__NR_renameat]: Make code unconditional.
8008         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8009         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8010         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8011         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8012         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8013         (__ASSUME_ATFCTS): Do not undefine and redefine.
8014         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8015         <kernel-features.h>.
8016         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8017         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8018         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8019         <kernel-features.h>.
8020         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8021         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8022         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8023         (__ASSUME_ATFCTS): Do not undefine and redefine.
8024         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8025         <kernel-features.h>.
8026         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8027         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8028         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8029         <kernel-features.h>.
8030         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8031         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8033 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8035         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8037 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8039         [BZ #17069]
8040         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8041         constructed tree before returning error.
8042         * posix/bug-regexp36.c: Expand test case.
8044 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8046         [BZ #6803]
8047         * math/libm-test.inc (scalbln_test_date):
8048         Add errno expectations.
8049         * math/w_scalblnf.c: New File.
8050         Add wrapper which checks for setting errno to ERANGE.
8051         Add weak_alias for corresponding scalbln function.
8052         * math/w_scalbln.c: Likewise.
8053         * math/w_scalblnl.c: Likewise.
8054         * math/Makefile (libm-calls): Add w_scalbln.
8055         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8056         Remove weak_alias for corresponding scalbln function.
8057         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8058         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8059         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8060         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8061         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8062         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8063         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8064         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8065         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8066         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8067         Remove long_double_symbol for scalblnl function in libm, libc.
8068         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8069         Add wrapper which checks for setting errno to ERANGE.
8070         Add long_double_symbol for scalblnl function in libm, libc.
8071         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8072         Remove long_double_symbol for scalblnl in libm.
8073         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8074         Add wrapper which checks for setting errno to ERANGE.
8075         Add long_double_symbol for scalblnl function in libm.
8076         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8077         Do not use wrapper because of own implementation.
8079 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8081         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8082         3 bytes for __pad1 for x32.
8083         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8085 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8086             H.J. Lu  <hongjiu.lu@intel.com>
8088         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8089         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8090         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8091         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8092         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8094 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8096         [BZ #17069]
8097         * posix/regcomp.c (parse_expression): Deallocate partially
8098         constructed tree before returning error.
8099         * posix/Makefile.c (tests): Add bug-regex36.
8100         (generated): Add bug-regex36.mtrace.
8101         (tests-special): Add $(objpfx)bug-regex36-mem.out
8102         (bug-regex36-ENV): New variable.
8103         ($(objpfx)bug-regex36-mem.out): New rule.
8104         * posix/bug-regex36.c: New file.
8106 2014-06-19  Will Newton  <will.newton@linaro.org>
8108         * malloc/malloc.c (systrim): If extra is zero then return
8109         early.
8111 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8113         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8115 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8117         * sysdeps/aarch64/strchr.S: New file.
8119 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8121         [BZ #17022]
8122         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8123         from arguments -2 or below.
8124         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8125         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8127 2014-06-18  Andreas Schwab  <schwab@suse.de>
8129         [BZ #17062]
8130         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8131         of a bracket expr not to run off the end of the string.
8132         * posix/Makefile (tests): Add tst-fnmatch3.
8133         * posix/tst-fnmatch3.c: New file.
8135 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8137         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8138         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8139         [$(cross-compiling) = no]: Likewise.
8140         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8141         [$(cross-compiling) = no]: Likewise.
8143 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8145         [BZ #17031]
8146         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8147         double, adjusted for any remainder from the high double.
8148         * math/libm-test.inc (nearbyint): Add tests.
8149         (rint): Likewise.
8151 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8153         * nptl/sysdeps/powerpc/Makefile: Moved ...
8154         * sysdeps/powerpc/nptl/Makefile: ... here.
8155         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8156         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8157         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8158         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8159         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8160         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8161         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8162         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8163         * nptl/sysdeps/powerpc/tls.h: Moved ...
8164         * sysdeps/powerpc/nptl/tls.h: ... here.
8166 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8168         [BZ #16681]
8169         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8170         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8171         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8172         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8173         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8174         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8175         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8176         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8177         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8179 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8181         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8183 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8185         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8186         defined operator.
8188         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8189         $TIMEOUTFACTOR.
8191 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8193         [BZ #17058]
8194         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8195         non-executed part of the test.
8197 2014-06-16  Andreas Schwab  <schwab@suse.de>
8199         * string/bits/string2.h (strdup, strndup): Update feature guard.
8201 2014-06-14  David S. Miller  <davem@davemloft.net>
8203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8205 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8207         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8208         that was previously under [RESET_PID].
8209         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8211         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8212         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8213         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8214         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8215         (__libc_vfork): New strong alias.
8216         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8218 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8220         * sysdeps/generic/elide.h: New file.
8222 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8224         * Makefile (installed-headers): Adjust path of pthread.h header.
8226 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8228         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8229         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8230         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8231         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8233         * nptl/sysdeps/s390/Makefile: Moved ...
8234         * sysdeps/s390/nptl/Makefile: ... here.
8235         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8236         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8237         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8238         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8239         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8240         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8241         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8242         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8243         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8244         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8245         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8246         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8247         * nptl/sysdeps/s390/tls.h: Moved ...
8248         * sysdeps/s390/nptl/tls.h: ... here.
8250         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8251         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8253 2014-06-13  David S. Miller  <davem@davemloft.net>
8255         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8258         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8262         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8263         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8264         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8265         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8266         Remove RESET_PID cpp guards.
8267         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8268         Remove RESET_PID cpp guards.
8269         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8271 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8273         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8274         __sp to uintptr_t.
8276 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8278         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8279         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8280         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8281         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8282         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8283         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8284         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8285         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8286         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8287         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8288         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8289         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8290         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8291         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8292         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8293         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8294         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8295         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8296         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8297         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8299         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8300         (pthread_rwlock_rdlock): Add elision.
8301         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8302         (pthread_rwlock_wrlock): Add elision.
8303         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8304         (pthread_rwlock_trywrlock): Add elision.
8305         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8306         (pthread_rwlock_tryrdlock): Add elision.
8307         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8308         (pthread_rwlock_tryrdlock): Add elision unlock.
8309         * nptl/sysdeps/pthread/pthread.h:
8310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8311         (PTHREAD_RWLOCK_INITIALIZER,
8312         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8313         Handle new elision field.
8314         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8315         * sysdeps/arm/nptl/bits/pthreadtypes.h
8316         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8317         * sysdeps/sh/nptl/bits/pthreadtypes.h
8318         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8319         * sysdeps/tile/nptl/bits/pthreadtypes.h
8320         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8321         * sysdeps/a/nptl/bits/pthreadtypes.h
8322         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8323         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8324         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8325         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8326         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8327         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8328         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8329         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8330         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8331         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8332         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8333         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8334         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8335         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8336         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8337         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8338         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8339         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8340         (elision_init): Set try_xbegin to zero when no RTM.
8341         * sysdeps/x86/nptl/bits/pthreadtypes.h
8342         (pthread_rwlock_t): Change __pad1 to __rwelision.
8343         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8345 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8347         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8348         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8349         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8350         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8352 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8354         [BZ #16996]
8355         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8356         that the cached result has been set before returning it.
8358 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8360         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8361         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8362         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8363         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8364         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8365         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8367         * nptl/sysdeps/sparc/Makefile: Moved ...
8368         * sysdeps/sparc/nptl/Makefile: ... here.
8369         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8370         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8371         * nptl/sysdeps/sparc/tls.h: Moved ...
8372         * sysdeps/sparc/nptl/tls.h: ... here.
8373         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8374         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8375         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8376         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8377         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8378         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8379         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8380         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8381         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8382         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8383         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8384         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8385         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8386         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8387         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8388         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8389         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8390         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8391         Update #include.
8392         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8393         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8394         Update #include.
8395         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8396         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8397         Update #include.
8398         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8399         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8400         Update #include.
8402         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8404         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8405         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8407         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8408         (struct list_links): Type removed.
8409         (struct thread_node, struct timer_node): Replace struct list_links
8410         with struct list_head.
8411         (list_unlink_ip): Likewise.
8412         * sysdeps/pthread/timer_routines.c
8413         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8414         (list_append, list_insbefore): Likewise.
8415         (list_init): Function removed.
8416         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8417         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8418         * sysdeps/pthread/Makefile: ... here, new file.
8420         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8421         * sysdeps/nptl/Implies: ... here.
8422         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8423         * nptl/sysdeps/pthread/list.h: Moved ...
8424         * include/list.h: ... here.
8425         * nptl/sysdeps/pthread/createthread.c: Moved ...
8426         * nptl/createthread.c: ... here.
8427         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8428         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8429         * nptl/pt-longjmp.c: ... here.
8430         * nptl/sysdeps/pthread/Makefile: Moved ...
8431         * sysdeps/nptl/Makefile: ... here.
8432         * nptl/sysdeps/pthread/Subdirs: Moved ...
8433         * sysdeps/nptl/Subdirs: ... here.
8434         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8435         * sysdeps/nptl/aio_misc.h: ... here.
8436         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8437         * sysdeps/nptl/bits/libc-lock.h: ... here.
8438         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8439         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8440         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8441         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8442         * nptl/sysdeps/pthread/configure: Moved ...
8443         * sysdeps/nptl/configure: ... here.
8444         * nptl/sysdeps/pthread/configure.ac: Moved ...
8445         * sysdeps/nptl/configure.ac: ... here.
8446         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8447         * sysdeps/nptl/gai_misc.h: ... here.
8448         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8449         * sysdeps/nptl/librt-cancellation.c: ... here.
8450         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8451         * sysdeps/nptl/malloc-machine.h: ... here.
8452         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8453         * sysdeps/nptl/pthread-functions.h: ... here.
8454         * nptl/sysdeps/pthread/pthread.h: Moved ...
8455         * sysdeps/nptl/pthread.h: ... here.
8456         * nptl/sysdeps/pthread/setxid.h: Moved ...
8457         * sysdeps/nptl/setxid.h: ... here.
8458         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8459         * sysdeps/nptl/sigfillset.c: ... here.
8460         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8461         * sysdeps/nptl/tcb-offsets.h: ... here.
8462         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8463         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8464         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8465         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8466         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8467         * sysdeps/pthread/allocalim.h: ... here.
8468         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8469         * sysdeps/pthread/bits/sigthread.h: ... here.
8470         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8471         * sysdeps/pthread/flockfile.c: ... here.
8472         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8473         * sysdeps/pthread/ftrylockfile.c: ... here.
8474         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8475         * sysdeps/pthread/funlockfile.c: ... here.
8476         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8477         * sysdeps/pthread/posix-timer.h: ... here.
8478         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8479         * sysdeps/pthread/timer_create.c: ... here.
8480         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8481         * sysdeps/pthread/timer_delete.c: ... here.
8482         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8483         * sysdeps/pthread/timer_getoverr.c: ... here.
8484         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8485         * sysdeps/pthread/timer_gettime.c: ... here.
8486         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8487         * sysdeps/pthread/timer_routines.c: ... here.
8488         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8489         * sysdeps/pthread/timer_settime.c: ... here.
8490         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8491         * sysdeps/pthread/tst-timer.c: ... here.
8492         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8493         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8495         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8496         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8498         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8499         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8500         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8501         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8502         Update #include target.
8503         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8504         * sysdeps/i386/i686/nptl/Makefile: ... here.
8505         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8506         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8507         Update #include target.
8508         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8509         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8510         * nptl/sysdeps/i386/Makefile: Moved ...
8511         * sysdeps/i386/nptl/Makefile: ... here.
8512         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8513         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8514         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8515         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8516         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8517         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8518         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8519         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8520         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8521         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8522         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8523         * nptl/sysdeps/i386/tls.h: Moved ...
8524         * sysdeps/i386/nptl/tls.h: ... here.
8526         * sysdeps/sh/Makefile [$(subdir) = csu]
8527         (gen-as-const-headers): Add tcb-offsets.sym.
8528         * nptl/sysdeps/sh/Makefile: File removed.
8529         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8530         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8531         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8532         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8533         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8534         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8535         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8536         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8537         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8538         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8539         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8540         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8541         * nptl/sysdeps/sh/tls.h: Moved ...
8542         * sysdeps/sh/nptl/tls.h: ... here.
8543         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8544         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8545         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8546         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8547         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8548         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8549         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8550         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8551         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8552         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8553         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8554         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8555         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8556         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8557         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8558         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8559         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8560         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8561         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8562         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8563         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8564         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8565         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8566         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8567         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8568         Moved ...
8569         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8570         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8571         Moved ...
8572         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8573         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8574         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8575         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8576         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8577         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8578         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8579         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8580         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8581         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8582         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8583         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8584         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8585         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8586         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8587         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8588         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8589         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8590         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8592 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8594         * posix/spawn_faction_addopen.c: Include string.h.
8596 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8598         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8599         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8600         * nptl/sysdeps/x86_64/Makefile: Moved ...
8601         * sysdeps/x86_64/nptl/Makefile: ... here.
8602         * nptl/sysdeps/x86_64/configure: Moved ...
8603         * sysdeps/x86_64/nptl/configure: ... here.
8604         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8605         * sysdeps/x86_64/nptl/configure.ac: ... here.
8606         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8607         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8608         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8609         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8610         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8611         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8612         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8613         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8614         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8615         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8616         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8617         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8618         * nptl/sysdeps/x86_64/tls.h: Moved ...
8619         * sysdeps/x86_64/nptl/tls.h: ... here.
8620         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8621         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8622         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8623         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8625         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8627 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8631 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8633         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8634         type.
8635         [POSIX] (off_t): Likewise.
8636         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8637         [POSIX] (S_ISBLK): Require macro.
8638         [POSIX] (S_ISCHR): Likewise.
8639         [POSIX] (S_ISDIR): Likewise.
8640         [POSIX] (S_ISFIFO): Likewise.
8641         [POSIX] (S_ISREG): Likewise.
8642         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8643         optional-macro.
8644         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8645         type.
8646         [POSIX] (time_t): Likewise.
8647         [POSIX] (timer_t): Likewise.
8649 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8651         [BZ #17048]
8652         * posix/spawn_int.h (struct __spawn_action): Make the path string
8653         non-const to support deallocation.
8654         * posix/spawn_faction_addopen.c
8655         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8656         * posix/spawn_faction_destroy.c
8657         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8658         path in all spawn_do_open actions.
8659         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8660         posix_spawn_file_actions_addopen.
8662 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8664         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8665         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8666         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8667         conditional code always true.
8668         (__libc_vfork): New alias.
8670 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8672         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8673         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8675         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8677         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8678         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8680         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8681         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8683         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8684         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8686 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8688         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8689         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8690         multiarch strcmp for PPC64.
8691         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8692         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8694         multiarch optimizations.
8695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8696         (__libc_ifunc_impl_list): Likewise.
8698 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8700         * benchtests/scripts/validate_benchout.py: New script.
8701         * benchtests/Makefile (bench-func): Call it.
8702         * benchtests/scripts/benchout.schema.json: New file.
8704 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8706         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8707         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8708         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8709         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8710         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8711         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8712         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8713         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8714         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8715         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8716         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8717         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8718         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8719         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8720         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8721         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8723         Moved ...
8724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8725         ... here.
8726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8727         Moved ...
8728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8730         Moved ...
8731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8732         ... here.
8733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8734         Moved ...
8735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8736         ... here.
8737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8738         Moved ...
8739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8741         Moved ...
8742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8743         ... here.
8744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8745         Moved ...
8746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8747         ... here.
8748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8749         Moved ...
8750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8752         Moved ...
8753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8754         ... here.
8755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8756         Moved ...
8757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8758         ... here.
8759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8760         Moved ...
8761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8762         ... here.
8763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8764         Moved ...
8765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8767         Moved ...
8768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8769         ... here.
8770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8771         Moved ...
8772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8773         ... here.
8774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8775         Moved ...
8776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8777         ... here.
8778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8779         Moved ...
8780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8782         Moved ...
8783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8784         ... here.
8785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8786         Moved ...
8787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8788         ... here.
8789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8790         Moved ...
8791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8793         Moved ...
8794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8795         ... here.
8796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8797         Moved ...
8798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8800         Moved ...
8801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8803         Moved ...
8804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8805         ... here.
8806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8807         Moved ...
8808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8809         ... here.
8810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8811         Moved ...
8812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8813         ... here.
8814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8815         Moved ...
8816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8818         Moved ...
8819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8820         ... here.
8821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8822         Moved ...
8823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8824         ... here.
8825         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8826         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8827         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8828         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8829         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8830         Moved ...
8831         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8832         ... here.
8833         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8834         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8835         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8836         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8837         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8838         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8839         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8840         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8841         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8842         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8844         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8845         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8846         Moved ...
8847         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8848         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8849         Moved ...
8850         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8851         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8852         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8853         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8854         Moved ...
8855         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8857         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8858         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8859         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8860         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8861         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8863 2014-06-10  Wilco  <wdijkstr@arm.com>
8865         * math/test-fenv-return.c: New file.
8866         * math/Makefile: Add new test test-fenv-return.
8868 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
8870         [BZ #17042]
8871         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8872         when x - 1 is zero.
8873         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8874         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8875         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8876         0.0L for an argument of 1.0L.
8877         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8878         Likewise.
8879         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8880         value when x - 1 is zero.
8881         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8882         * sysdeps/i386/fpu/libm-test-ulps: Update.
8883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8885 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
8887         [BZ #15119]
8888         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8890 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8892         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8893         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8895 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8897         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8898         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8900         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8901         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8903         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8904         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8906         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8907         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8909         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8910         if not already defined.
8911         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8912         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8913         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8914         (TLS_INIT_TP): Use it.
8915         (TLS_DEFINE_INIT_TP): New macro.
8916         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8918 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
8920         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8921         constant.
8922         [POSIX] (IXANY): Likewise.
8923         [POSIX] (OLCUC): Likewise.
8924         [POSIX || POSIX2008] (CBAUD): Do not allow.
8925         [POSIX || POSIX2008] (DEFECHO): Likewise.
8926         [POSIX || POSIX2008] (ECHOCTL): Likewise.
8927         [POSIX || POSIX2008] (ECHOKE): Likewise.
8928         [POSIX || POSIX2008] (ECHOPRT): Likewise.
8929         [POSIX || POSIX2008] (EXTA): Likewise.
8930         [POSIX || POSIX2008] (EXTB): Likewise.
8931         [POSIX || POSIX2008] (FLUSHO): Likewise.
8932         [POSIX || POSIX2008] (LOBLK): Likewise.
8933         [POSIX || POSIX2008] (PENDIN): Likewise.
8934         [POSIX || POSIX2008] (SWTCH): Likewise.
8935         [POSIX || POSIX2008] (VDISCARD): Likewise.
8936         [POSIX || POSIX2008] (VDSUSP): Likewise.
8937         [POSIX || POSIX2008] (VLNEXT): Likewise.
8938         [POSIX || POSIX2008] (VREPRINT): Likewise.
8939         [POSIX || POSIX2008] (VSTATUS): Likewise.
8940         [POSIX || POSIX2008] (VWERASE): Likewise.
8941         (B*): Change to B[0123456789]*.
8942         * conform/data/time.h-data [POSIX || UNIX98]
8943         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8944         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8945         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8946         [POSIX] (tm_*): Do not allow.
8948 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
8950         * Makefile (install): Don't set LANGUAGE.
8951         * Makefile.in (install): Likewise.
8952         * assert/Makefile (test-assert-ENV): Remove variable.
8953         (test-assert-perr-ENV): Likewise.
8954         * elf/Makefile (neededtest4-ENV): Likewise.
8955         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8956         [$(cross-compiling) = no]: Don't set LANGUAGE.
8957         * io/ftwtest-sh (LANG): Remove variable.
8958         * libio/Makefile (tst-widetext-ENV): Likewise.
8959         * manual/install.texi (Running make install): Don't refer to
8960         environment settings for make install.
8961         * INSTALL: Regenerated.
8962         * nptl/tst-tls6.sh: Don't set LANG.
8963         * posix/globtest.sh (LANG): Remove variable.
8964         * string/Makefile (tester-ENV): Likewise.
8965         (inl-tester-ENV): Likewise.
8966         (noinl-tester-ENV): Likewise.
8967         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8968         [$(cross-compiling) = no]: Don't set LANGUAGE.
8969         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8970         without explicit environment settings.
8972 2014-06-06  Roland McGrath  <roland@hack.frob.com>
8974         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8975         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8976         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8977         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8979 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
8981         * crypt/crypt-private.h [DOS]: Add some includes taken from the
8982         other files in the crypt directory.
8983         * crypt/crypt.c: Remove duplicate includes.
8984         * crypt/crypt-entry.c: Likewise.
8985         * crypt/crypt_util.c: Likewise.
8987 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
8989         * Makeconfig (run-program-env): New variable.
8990         (run-program-prefix-before-env): Likewise.
8991         (run-program-prefix-after-env): Likewise.
8992         (run-program-prefix): Define in terms of new variables.
8993         (built-program-cmd-before-env): New variable.
8994         (built-program-cmd-after-env): Likewise.
8995         (built-program-cmd): Define in terms of new variables.
8996         (test-program-prefix-before-env): New variable.
8997         (test-program-prefix-after-env): Likewise.
8998         (test-program-prefix): Define in terms of new variables.
8999         (test-program-cmd-before-env): New variable.
9000         (test-program-cmd-after-env): Likewise.
9001         (test-program-cmd): Define in terms of new variables.
9002         * Rules (make-test-out): Use $(run-program-env).
9003         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9004         (help): Do not mention environment variables.  Mention
9005         --timeoutfactor option.
9006         (timeoutfactor): New variable.
9007         (blacklist_exports): Remove function.
9008         (exports): Remove variable.
9009         (command): Do not include ${exports}.
9010         * manual/install.texi (Configuring and compiling): Do not mention
9011         test wrappers preserving environment variables.  Mention that last
9012         assignment to a variable must take precedence.
9013         * INSTALL: Regenerated.
9014         * benchtests/Makefile (run-bench): Use $(run-program-env).
9015         * catgets/Makefile ($(objpfx)test1.cat): Use
9016         $(built-program-cmd-before-env), $(run-program-env) and
9017         $(built-program-cmd-after-env).
9018         ($(objpfx)test2.cat): Do not specify environment variables
9019         explicitly.
9020         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9021         $(run-program-env) and $(built-program-cmd-after-env).
9022         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9023         $(run-program-env) and $(test-program-cmd-after-env).
9024         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9025         explicitly.
9026         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9027         run_program_env and test_program_cmd_after_env arguments.
9028         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9029         * elf/tst-pathopt.sh: Use run_program_env argument.
9030         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9031         $(test-wrapper-env) and $(run-program-env).
9032         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9033         run_program_env arguments.
9034         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9035         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9036         $(test-program-prefix-before-env), $(run-program-env) and
9037         $(test-program-prefix-after-env).
9038         ($(objpfx)tst-gettext2.out): Likewise.
9039         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9040         run_program_env and test_program_prefix_after_env arguments.
9041         * intl/tst-gettext2.sh: Likewise.
9042         * intl/tst-gettext4.sh: Do not set environment variables
9043         explicitly.
9044         * intl/tst-gettext6.sh: Likewise.
9045         * intl/tst-translit.sh: Likewise.
9046         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9047         $(test-program-prefix-before-env), $(run-program-env) and
9048         $(test-program-prefix-after-env).
9049         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9050         run_program_env and test_program_prefix_after_env arguments.
9051         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9052         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9053         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9054         explicitly with each use of ${test_wrapper_env}.
9055         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9056         $(test-program-prefix-before-env), $(run-program-env) and
9057         $(test-program-prefix-after-env).
9058         * posix/tst-getconf.sh: Do not set environment variables
9059         explicitly.
9060         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9061         run_program_env and test_program_prefix_after_env arguments.
9062         * stdio-common/tst-printf.sh: Do not set environment variables
9063         explicitly.
9064         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9065         $(test-program-prefix-before-env), $(run-program-env) and
9066         $(test-program-prefix-after-env).
9067         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9068         run_program_env and test_program_prefix_after_env arguments.
9069         Split $test calls into $test_pre and $test.
9070         * timezone/Makefile (build-testdata): Use
9071         $(built-program-cmd-before-env), $(run-program-env) and
9072         $(built-program-cmd-after-env).
9074 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9076         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9077         strlen for non SHARED builds.
9079 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9081         * nptl/allocatestack.c (check_list): Inlined function...
9082         (__reclaim_stacks): ... here.
9084 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9086         [BZ #15698]
9087         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9088         memory overrun.
9090 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9092         * Rules (make-test-out): Include
9093         LOCPATH=$(common-objpfx)localedata in default environment.
9094         * debug/Makefile (tst-chk1-ENV): Remove variable.
9095         (tst-chk2-ENV): Likewise.
9096         (tst-chk3-ENV): Likewise.
9097         (tst-chk4-ENV): Likewise.
9098         (tst-chk5-ENV): Likewise.
9099         (tst-chk6-ENV): Likewise.
9100         (tst-lfschk1-ENV): Likewise.
9101         (tst-lfschk2-ENV): Likewise.
9102         (tst-lfschk3-ENV): Likewise.
9103         (tst-lfschk4-ENV): Likewise.
9104         (tst-lfschk5-ENV): Likewise.
9105         (tst-lfschk6-ENV): Likewise.
9106         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9107         (tst-iconv7-ENV): Likewise.
9108         * intl/Makefile (LOCPATH-ENV): Likewise.
9109         (tst-codeset-ENV): Likewise.
9110         (tst-gettext3-ENV): Likewise.
9111         (tst-gettext5-ENV): Likewise.
9112         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9113         (tst-fopenloc-ENV): Likewise.
9114         (tst-fgetws-ENV): Remove variable.
9115         (tst-ungetwc1-ENV): Likewise.
9116         (tst-ungetwc2-ENV): Likewise.
9117         (bug-ungetwc2-ENV): Likewise.
9118         (tst-swscanf-ENV): Likewise.
9119         (bug-ftell-ENV): Likewise.
9120         (tst-fgetwc-ENV): Likewise.
9121         (tst-fseek-ENV): Likewise.
9122         (tst-ftell-partial-wide-ENV): Likewise.
9123         (tst-ftell-active-handler-ENV): Likewise.
9124         (tst-ftell-append-ENV): Likewise.
9125         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9126         (tst-regexloc-ENV): Likewise.
9127         (bug-regex1-ENV): Likewise.
9128         (tst-regex-ENV): Likewise.
9129         (tst-regex2-ENV): Likewise.
9130         (bug-regex5-ENV): Likewise.
9131         (bug-regex6-ENV): Likewise.
9132         (bug-regex17-ENV): Likewise.
9133         (bug-regex18-ENV): Likewise.
9134         (bug-regex19-ENV): Likewise.
9135         (bug-regex20-ENV): Likewise.
9136         (bug-regex22-ENV): Likewise.
9137         (bug-regex23-ENV): Likewise.
9138         (bug-regex25-ENV): Likewise.
9139         (bug-regex26-ENV): Likewise.
9140         (bug-regex30-ENV): Likewise.
9141         (bug-regex32-ENV): Likewise.
9142         (bug-regex33-ENV): Likewise.
9143         (bug-regex34-ENV): Likewise.
9144         (bug-regex35-ENV): Likewise.
9145         (tst-rxspencer-ENV): Likewise.
9146         (tst-rxspencer-no-utf8-ENV): Likewise.
9147         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9148         (tst-sscanf-ENV): Likewise.
9149         (tst-swprintf-ENV): Likewise.
9150         (tst-swscanf-ENV): Likewise.
9151         (test-vfprintf-ENV): Likewise.
9152         (scanf13-ENV): Likewise.
9153         (bug14-ENV): Likewise.
9154         (tst-grouping-ENV): Likewise.
9155         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9156         (tst-strtod3-ENV): Likewise.
9157         (tst-strtod4-ENV): Likewise.
9158         (tst-strtod5-ENV): Likewise.
9159         (testmb2-ENV): Likewise./
9160         * string/Makefile (tst-strxfrm-ENV): Likewise.
9161         (tst-strxfrm2-ENV): Likewise.
9162         (bug-strcoll1-ENV): Likewise.
9163         (test-strcasecmp-ENV): Likewise.
9164         (test-strncasecmp-ENV): Likewise.
9165         * time/Makefile (tst-strptime-ENV): Likewise.
9166         (tst-ftime_l-ENV): Likewise.
9167         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9168         (tst-mbrtowc-ENV): Likewise.
9169         (tst-wcrtomb-ENV): Likewise.
9170         (tst-mbrtowc2-ENV): Likewise.
9171         (tst-c16c32-1-ENV): Likewise.
9172         (tst-mbsnrtowcs-ENV): Likewise.
9174 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9176         * manual/resource.texi (How to get information about the memory
9177         subsystem?): Fix typo.
9178         Reported by Peon de la Parra Ivan <peon@keba.com>
9180 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9182         [BZ #16882]
9183         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9184         (pthread_spin_lock): Branch out of spin loop to proper location.
9185         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9186         (pthread_spin_lock): Likewise.
9188         * nptl/tst-spin4.c: New test.
9189         * nptl/Makefile (tests): Add tst-spin4.
9191 2014-06-03  Andreas Schwab  <schwab@suse.de>
9193         [BZ #15946]
9194         * resolv/res_send.c (send_dg): Reload file descriptor after
9195         calling reopen.
9197 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9199         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9201 2014-06-03  Richard Henderson  <rth@redhat.com>
9203         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9204         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9205         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9206         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9207         in the SAVE_PID block.
9208         (__libc_vfork): New alias.
9209         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9211         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9212         child in registers, not on the stack.  Remove RESET_PID conditionals.
9213         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9215 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9217         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9219 2014-06-03  Wilco  <wdijkstr@arm.com>
9221         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9222         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9223         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9224         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9225         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9226         Likewise.
9228 2014-06-03  Wilco  <wdijkstr@arm.com>
9230         * sysdeps/aarch64/fpu/math_private.h
9231         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9232         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9233         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9234         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9235         Fix declarations.
9237 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9239         * crypt/crypt-private.h: Include ufc-crypt.h.
9240         (__b64_from_24bit): Declare extern.
9241         * crypt/crypt_util.c(__b64_from_24bit): New function.
9242         (b64t): New static const variable.
9243         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9244         (b64t): Remove variable.
9245         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9246         * crypt/sha256-crypt.c: Include crypt-private.h.
9247         (b64t): Remove variable.
9248         (__sha256_crypt_r): Remove b64_from_24bit and replace
9249         with __b64_from_24bit.
9250         * crypt/sha512-crypt.c: Likewise.
9252 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9254         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9255         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9256         Label the code __libc_vfork rather than __vfork.
9257         [!NOT_IN_libc] (vfork): Define as weak alias.
9258         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9259         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9260         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9262 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9264         * malloc/malloc.c (malloc_info): Fix format specifier for
9265         n_mmaps.
9267 2014-06-02  Wilco  <wdijkstr@arm.com>
9269         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9270         FPCR write.
9272 2014-06-02  Wilco  <wdijkstr@arm.com>
9274         [BZ #17009]
9275         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9276         Rewrite to reduce FPCR/FPSR accesses.
9278 2014-06-01  David S. Miller  <davem@davemloft.net>
9280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9282 2014-05-31  David S. Miller  <davem@davemloft.net>
9284         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9285         to occur in round to nearest mode when |x| >= 2.0
9287 2014-05-30  Richard Henderson  <rth@twiddle.net>
9289         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9290         (PSEUDO_RET_NOERRNO): Remove.
9291         (ret): Don't redefine.
9292         (ret_NOERRNO): Define in terms of ret.
9293         (ret_ERRVAL): Likewise.
9295         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9296         use of PSEUDO_RET; perform the error check directly.
9298 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9300         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9301         with __int128_t.
9303 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9305         * malloc/malloc (malloc_info): Fix formatting.
9307 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9308             Roland McGrath  <roland@hack.frob.com>
9310         * malloc/malloc (malloc_info): Also print mmapped statistics.
9312 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9314         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9315         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9317 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9319         * malloc/malloc.c (malloc_info): Inline mi_arena.
9321 2014-05-29  Richard Henderson  <rth@twiddle.net>
9323         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9324         Remove comma before expanding ASM_ARGS_##nr.
9325         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9326         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9327         of ASM_ARGS_##nr.
9328         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9329         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9330         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9331         (ASM_ARGS_1): Add leading comma.
9333         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9334         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9335         to __errno_location.
9336         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9337         Remove the expected plt for __errno_location.
9339         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9340         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9341         call to __read_tp.
9343         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9344         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9345         it and break it down.
9346         (DOCARGS_0, DOCARGS_1): Do nothing.
9347         (DOCARGS_2): Update to store into the new stack frame.
9348         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9349         (UNDOCARGS_1): Update to restore from the new stack frame.
9350         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9351         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9353         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9354         (SINGLE_THREAD_P): New parameter for result regno.
9355         (PSEUDO): Update to match; use cbz instead of beq.
9357         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9358         Use ENTRY to define the _nocancel entry point.  Share the syscall
9359         and syscall error check paths with the cancel path.
9360         (PSEUDO_END): New.
9362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9363         whitespace; tabs before and after asm mnemonics.
9365 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9367         [BZ #15132]
9368         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9369         Call fstat64 or stat64 internally, depending on arguments passed.
9370         Replace stat buffer argument with file descriptor argument.
9371         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9372         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9373         Pass fd to __internal_statvfs instead of calling fstat64.
9374         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9375         Pass fd to __internal_statvfs64 instead of calling fstat64.
9376         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9377         Pass -1 to __internal_statvfs instead of calling stat64.
9378         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9379         Pass -1 to __internal_statvfs64 instead of calling stat64.
9381 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9383         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9384         that was previously under [RESET_PID].
9385         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9387         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9388         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9390 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9392         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9394         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9395         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9397 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9399         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9401 2014-05-27  Andreas Schwab  <schwab@suse.de>
9403         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9404         TLS_INIT_TP macro.
9405         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9406         * elf/rtld.c (init_tls, dl_main): Likewise.
9407         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9408         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9409         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9410         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9411         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9412         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9413         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9414         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9415         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9416         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9417         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9418         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9419         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9420         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9421         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9422         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9423         * sysdeps/generic/tls.h: Update description.
9425 2014-05-27  Will Newton  <will.newton@linaro.org>
9427         [BZ #16990]
9428         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9429         and restore r2 rather than just restoring.
9431 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9433         [BZ #16724]
9434         * libio/tst-ftell-append.c: New test case.
9435         * libio/Makefile (tests): Add test case.
9436         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9437         append mode.
9438         * libio/wfileops.c (do_ftell_wide): Likewise.
9440 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9444         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9445         ...
9446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9448         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9449         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9450         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9451         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9452         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9453         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9454         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9455         Moved ...
9456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9458         Moved ...
9459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9460         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9461         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9462         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9463         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9464         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9465         ...
9466         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9467         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9468         Moved ...
9469         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9470         here.
9471         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9472         ...
9473         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9474         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9475         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9477         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9478         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9479         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9480         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9483         merge into ...
9484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9486         ...
9487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9489         ...
9490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9491         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9492         Moved ...
9493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9494         here.
9495         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9496         Moved ...
9497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9498         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9499         Moved ...
9500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9503         conditional [RESET_PID].
9504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9505         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9506         removed.
9507         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9508         removed.
9510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9511         <tcb-offsets.h>.
9512         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9513         (__libc_vfork): New strong alias.
9514         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9515         removed.
9516         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9517         Removed.
9519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9520         <tcb-offsets.h>.
9521         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9522         (__libc_vfork): New strong alias.
9523         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9524         removed.
9525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9526         removed.
9528 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9530         * malloc/malloc.c (mi_arena): New function.
9531         (malloc_info): Remove nested function mi_arena. Call non-nosted
9532         function mi_arena.
9534 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9536         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9537         by insrwi.
9538         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9539         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9540         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9541         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9542         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9543         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9544         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9546 2014-05-26  Andreas Schwab  <schwab@suse.de>
9548         [BZ #16984]
9549         * locale/programs/repertoire.c (repertoire_read): Add slash
9550         between I18NPATH element and file name.
9551         * locale/programs/locfile.c (locfile_read): Likewise.
9553 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9555         * nptl/pthread_mutexattr_settype.c
9556         (__pthread_mutexattr_settype):
9557         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9559 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9561         * nptl/tst-mutex5 (do_test):
9562         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9564 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9566         * benchtests/README: Document 'init' directive.
9567         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9568         BENCH_INIT.
9569         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9570         (parse_file): Recognize 'init' directive.
9572 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9574         [BZ #16796]
9575         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9576         alignment of struct pthread.
9578 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9580         [BZ #16878]
9581         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9582         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9583         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9584         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9586 2014-05-25  Richard Henderson  <rth@twiddle.net>
9588         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9589         (SINGLE_THREAD_P_PIC): Remove.
9590         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9591         (SINGLE_THREAD_P_PIC): Remove.
9593         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9594         branch to syscall error ...
9595         (PSEUDO): ... here.
9596         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9597         from __local_syscall_error to .Lsyscall_error.
9598         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9599         (SYSCALL_ERROR): Update label name.
9601         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9602         Do not use DOARGS/UNDOARGS.
9603         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9604         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9605         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9606         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9607         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9610         block comment.
9612         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9613         define if !NOT_IN_libc.
9614         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9615         define with non-default symbol versions.
9617 2014-05-23  Richard Henderson  <rth@twiddle.net>
9619         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9620         (vfork, __vfork): Define via compat_symbol.
9622         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9623         [!HAVE_IFUNC] (vfork_compat): Remove.
9624         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9626 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9628         [BZ #16978]
9629         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9630         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9631         variable.
9633 2014-05-23  Richard Henderson  <rth@twiddle.net>
9635         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9636         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9637         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9638         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9640         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9641         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9642         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9643         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9644         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9645         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9646         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9647         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9648         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9649         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9650         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9651         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9652         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9653         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9654         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9655         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9656         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9657         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9658         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9659         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9660         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9661         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9662         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9663         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9664         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9665         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9666         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9667         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9668         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9669         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9670         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9671         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9672         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9673         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9674         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9675         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9676         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9677         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9678         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9679         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9680         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9681         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9682         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9683         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9684         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9685         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9686         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9687         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9688         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9689         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9690         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9691         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9692         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9693         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9694         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9695         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9697         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9698         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9699         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9700         before exiting on error.
9701         (__libc_vfork): New strong alias.
9702         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9703         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9705         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9706         that was previously under [RESET_PID].
9707         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9709         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9711 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9713         [BZ #16977]
9714         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9715         value when x - 1 is zero.
9716         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9717         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9718         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9719         0.0L for an argument of 1.0L.
9720         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9721         Likewise.
9722         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9723         value when x - 1 is zero.
9724         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9725         * sysdeps/i386/fpu/libm-test-ulps: Update.
9726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9728 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9730         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9731         alphasort and versionsort.
9733 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9735         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9736         macro.
9737         [copysignf]: Likewise.
9739 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9741         * crypt/md5-crypt.c: Fix formatting.
9743 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9745         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9746         (b64_from_24bit): New function.
9748 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9750         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9751         libc_hidden_builtin_def to ifunc.
9752         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9753         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9755 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9757         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9758         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9760 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9762         * nscd/Depend (linuxthreads): Remove.
9763         (nptl): Add.
9764         * resolv/Depend (linuxthreads): Remove.
9765         * rt/Depend (linuxthreads): Remove.
9767         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9768         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9769         $(common-objpfx)elf/.
9770         (link-libc-before-gnulib): Likewise.
9771         (elfobjdir): Remove variable.
9772         * Makefile (install): Use $(elf-objpfx) instead of
9773         $(common-objpfx)elf/.
9774         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9775         $(elfobjdir)/.
9776         (link-libc-deps): Likewise.
9777         ($(common-objpfx)libc.so): Likewise.
9778         ($(common-objpfx)linkobj/libc.so): Likewise.
9779         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9780         instead of $(common-objpfx)elf/.
9781         (symbolic-link-list): Likewise.
9782         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9783         [$(cross-compiling) = no]: Likewise.
9784         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9785         $(elfobjdir)/.
9786         (static-gnulib-arch): Likewise.
9787         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9788         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9789         $(common-objpfx)elf/.
9791 2014-05-21  Richard Henderson  <rth@redhat.com>
9793         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9794         (SINGLE_THREAD_P): Use the correct width load.  Fold
9795         into the ldr offset.
9797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9798         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9800 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9802         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9803         (libgcc_s_resume): Use __attribute_used__.
9804         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9805         Likewise.
9807 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9809         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9810         optimization when used with float constants.
9812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9814 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9816         [BZ #16915]
9817         * locale/nl_langinfo_l.c: Make direct reference to every
9818         _nl_current_CATEGORY symbol.
9819         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9820         (tests-static): Add tst-langinfo-static.
9821         (tests-special): Add tst-langinfo-static.out.
9822         ($(objpfx)tst-langinfo.out): Redirect output.
9823         ($(objpfx)tst-langinfo-static.out): New.
9824         * localedata/tst-langinfo.sh: Send output to stdout.
9825         * localedata/tst-langinfo-static.c: New file.
9827         [BZ #16965]
9828         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9829         when the shift amount is modulo the limb size.
9831 2014-05-20  Richard Henderson  <rth@redhat.com>
9833         [BZ #16967]
9834         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9835         Change type of sa_flags from unsigned int to int.
9837         [BZ #16966]
9838         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9840         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9842 2014-05-20  Will Newton  <will.newton@linaro.org>
9844         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9845         Test the return value of the system call in the nocancel case.
9847 2014-05-20  Will Newton  <will.newton@linaro.org>
9848             Yvan Roux  <yvan.roux@linaro.org>
9850         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9851         #include of asm/ptrace.h.
9852         (PTRACE_GET_THREAD_AREA): Remove #undef.
9853         (PTRACE_GETHBPREGS): Likewise.
9854         (PTRACE_SETHBPREGS): Likewise.
9855         (struct user_regs_struct): New structure.
9856         (struct user_fpsimd_struct): New structure.
9857         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9858         #include of asm/ptrace.h and second #include of sys/user.h.
9859         (PTRACE_GET_THREAD_AREA): Remove #undef.
9860         (PTRACE_GETHBPREGS): Likewise.
9861         (PTRACE_SETHBPREGS): Likewise.
9862         (ELF_NGREG): Use new struct user_regs_struct.
9863         (elf_fpregset_t): Use new struct user_fpsimd_struct.
9865 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9867         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9868         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9870 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9872         [BZ #16958]
9873         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9874         membar to avoid block loads/stores to overlap previous stores.
9876 2014-05-17  Richard Henderson  <rth@redhat.com>
9878         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9879         Create the __##syscall_name##_nocancel entry point.
9880         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9881         Remove; let the sysdep-cancel.h code create it.
9883 2014-05-17  David S. Miller  <davem@davemloft.net>
9885         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9886         Protect with __USE_GNU.
9887         (TIOCSET_TEMPT): Likewise.
9888         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9889         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9890         these are already provided in bits/ioctl-types.h
9892 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9894         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9895         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9897         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9898         Use wait4 regardless of [__NR_waitpid].
9900 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9902         PR libgcc/60166
9903         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9904         (_FP_NANSIGN_Q): Set the quiet bit.
9906 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
9908         * benchtests/Makefile
9909         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9910         not $(common-objpfx)math/libm.so.
9911         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9912         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9913         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9914         $(common-objpfx)dlfcn/libdl.so.
9915         ($(objpfx)tst-audit8): Depend on $(libm), not
9916         $(common-objpfx)math/libm.so.
9917         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9918         not $(common-objpfx)dlfcn/libdl.so.
9919         * math/Makefile
9920         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9921         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
9922         [$(build-shared) = yes].
9923         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9924         $(common-objpfx)nptl/libpthread.so.
9925         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9926         $(common-objpfx)math/libm.so$(libm.so-version) or
9927         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9928         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9929         $(common-objpfx)dlfcn/libdl.so.
9930         * setjmp/Makefile (link-libm): Remove variable.
9931         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9932         * stdio-common/Makefile (link-libm): Remove variable.
9933         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9934         * stdlib/Makefile (link-libm): Remove variable.
9935         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9936         ($(objpfx)tst-strtod-round): Likewise.
9937         ($(objpfx)tst-tininess): Likewise.
9938         ($(objpfx)tst-strtod-underflow): Likewise.
9939         ($(objpfx)tst-strtod6): Likewise.
9940         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9941         $(libdl), not $(common-objpfx)nptl/libpthread.so and
9942         $(common-objpfx)dlfcn/libdl.so.
9944 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9946         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9947         BSD terminal modes definitions.
9949 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9951         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9952         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9954         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9955         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9956         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9957         Don't do #include_next.
9958         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9959         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9960         Don't do #include_next.
9961         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9962         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9963         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9964         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9966 2014-05-16  Allan McRae  <allan@archlinux.org>
9968         * po/sv.po: Update Swedish translation from translation project.
9970         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9971         in sed expression.
9973 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
9975         [BZ #16917]
9976         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9977         errno if the TIOCGPTN ioctl fails with an error different than
9978         EINVAL.
9979         * login/tst-ptsname.c: New file.
9980         * login/Makefile (tests): Add tst-ptsname.
9982         [BZ #16943]
9983         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9984         and prlimit64.
9986 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9988         [BZ #16849]
9989         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9990         herrno to return EAI_AGAIN.
9992 2014-05-14  Roland McGrath  <roland@hack.frob.com>
9994         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9995         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9996         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9997         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9998         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9999         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10000         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10001         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10002         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10003         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10004         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10005         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10006         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10007         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10008         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10009         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10010         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10011         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10012         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10013         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10014         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10015         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10016         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10017         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10018         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10019         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10020         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10021         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10022         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10023         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10025         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10027         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10029         Moved ...
10030         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10032         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10034         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10036         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10038         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10040         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10042         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10044         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10046         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10048         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10050         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10052         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10054         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10056         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10058         Moved ...
10059         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10061         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10063         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10065         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10067         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10069         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10071         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10073         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10075         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10077         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10079         Moved ...
10080         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10082         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10084         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10085         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10086         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10087         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10088         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10089         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10090         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10091         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10092         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10093         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10094         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10095         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10096         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10097         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10098         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10099         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10100         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10101         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10102         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10103         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10104         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10105         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10106         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10107         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10108         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10109         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10110         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10111         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10112         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10113         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10114         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10116         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10117         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10119         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10120         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10121         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10122         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10123         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10124         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10125         Moved ...
10126         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10127         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10128         Moved ...
10129         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10130         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10131         Moved ...
10132         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10133         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10134         Moved ...
10135         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10136         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10137         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10138         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10139         Moved ...
10140         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10141         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10142         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10143         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10144         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10145         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10146         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10147         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10148         Moved ...
10149         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10150         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10151         Moved ...
10152         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10153         ... here.
10154         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10155         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10156         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10157         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10158         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10159         Moved ...
10160         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10161         ... here.
10162         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10163         Moved ...
10164         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10165         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10166         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10167         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10168         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10169         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10170         Moved ...
10171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10172         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10173         Moved ...
10174         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10175         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10176         Moved ...
10177         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10178         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10179         Moved ...
10180         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10181         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10182         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10183         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10184         Moved ...
10185         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10186         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10187         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10188         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10189         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10190         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10191         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10192         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10193         Moved ...
10194         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10195         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10196         Moved ...
10197         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10198         ... here.
10199         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10200         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10201         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10202         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10203         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10204         Moved ...
10205         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10206         ... here.
10207         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10208         Moved ...
10209         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10210         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10211         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10212         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10213         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10214         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10215         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10216         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10217         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10218         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10219         Moved ...
10220         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10221         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10222         Moved ...
10223         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10224         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10225         Moved ...
10226         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10227         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10228         Moved ...
10229         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10230         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10231         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10232         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10233         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10234         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10235         Moved ...
10236         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10237         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10238         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10239         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10240         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10241         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10242         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10243         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10244         Moved ...
10245         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10246         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10247         Moved ...
10248         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10249         ... here.
10250         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10251         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10252         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10253         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10254         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10255         Moved ...
10256         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10257         ... here.
10258         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10259         Moved ...
10260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10261         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10262         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10263         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10264         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10265         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10266         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10267         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10268         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10269         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10270         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10272         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10273         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10275         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10276         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10278         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10279         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10280         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10281         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10282         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10283         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10284         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10285         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10286         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10287         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10288         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10289         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10290         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10291         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10292         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10294         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10296         Moved ...
10297         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10298         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10299         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10300         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10301         Moved ...
10302         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10303         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10304         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10305         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10306         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10307         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10308         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10309         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10310         Moved ...
10311         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10313         Moved ...
10314         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10315         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10316         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10318         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10319         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10320         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10321         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10322         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10323         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10324         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10325         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10326         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10327         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10328         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10329         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10330         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10332         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10333         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10334         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10335         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10336         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10338         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10339         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10340         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10341         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10342         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10343         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10344         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10345         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10346         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10347         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10349         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10350         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10352         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10353         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10354         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10355         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10356         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10357         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10358         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10359         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10360         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10361         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10362         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10363         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10364         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10365         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10366         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10367         Update #include.
10368         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10369         Likewise.
10370         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10371         Likewise.
10372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10373         Likewise.
10374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10375         Likewise.
10376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10377         Likewise.
10378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10379         Likewise.
10380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10381         Likewise.
10382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10383         Likewise.
10384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10385         Likewise.
10386         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10387         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10389         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10391         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10392         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10393         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10394         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10395         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10396         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10397         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10398         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10399         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10400         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10402         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10403         that was previously under [RESET_PID].
10404         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10405         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10406         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10408         * sysdeps/i386/nptl/Implies: New file.
10409         * sysdeps/x86_64/nptl/Implies: New file.
10410         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10411         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10412         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10413         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10415         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10416         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10417         (__libc_vfork): New strong alias.
10418         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10419         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10421         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10422         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10423         (__libc_vfork): New strong alias.
10424         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10425         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10427         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10428         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10429         (__libc_vfork): New strong alias.
10430         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10431         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10432         * nptl/pt-vfork.c: New file.
10433         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10434         (libpthread: GLIBC_2.20): New version set (empty).
10436 2014-05-14  Will Newton  <will.newton@linaro.org>
10438         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10439         rather than #if.
10441 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10443         [BZ #16564]
10444         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10445         arguments with exponent 65 or above.
10446         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10447         arguments 0x1p113L or above.
10448         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10449         to arguments 0x1p107L or above.
10450         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10451         positive arguments with exponent 65 or above.
10452         * math/auto-libm-test-in: Add more tests of log1p.
10453         * math/auto-libm-test-out: Regenerated.
10455         [BZ #16928]
10456         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10457         non-finite arguments is +0.
10458         * math/s_cacosf.c (__cacosf): Likewise.
10459         * math/s_cacosl.c (__cacosl): Likewise.
10460         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10461         * sysdeps/i386/fpu/libm-test-ulps: Update.
10462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10464         [BZ #16927]
10465         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10466         value.
10467         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10468         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10469         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10470         for explicit high bit of mantissa when testing for argument equal
10471         to 1.
10472         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10473         * sysdeps/i386/fpu/libm-test-ulps: Update.
10474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10476         [BZ #16516]
10477         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10478         (__erf): Scale by 16 instead of 8 in potentially underflowing
10479         case.  Ensure exception if result actually underflows.
10480         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10481         (__erff): Scale by 16 instead of 8 in potentially underflowing
10482         case.  Ensure exception if result actually underflows.
10483         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10484         (efx8): Remove variable.
10485         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10486         case.  Ensure exception if result actually underflows.
10487         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10488         (efx8): Remove variable.
10489         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10490         case.  Ensure exception if result actually underflows.
10491         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10492         (efx8): Remove variable.
10493         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10494         case.  Ensure exception if result actually underflows.
10495         * math/auto-libm-test-in: Add more tests of erf.
10496         * math/auto-libm-test-out: Regenerated.
10498 2014-05-14  Andreas Schwab  <schwab@suse.de>
10500         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10501         Remove code conditionalized on USE___THREAD.
10503         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10504         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10505         not definedness.
10507 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10509         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10510         Define unconditionally.
10511         (__ASSUME_O_CLOEXEC): Likewise.
10512         (__ASSUME_SOCK_CLOEXEC): Likewise.
10513         (__ASSUME_IN_NONBLOCK): Likewise.
10514         (__ASSUME_PIPE2): Likewise.
10515         (__ASSUME_EVENTFD2): Likewise.
10516         (__ASSUME_SIGNALFD4): Likewise.
10517         (__ASSUME_DUP3): Likewise.
10518         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10519         (__ASSUME_DUP3): Do not define.
10520         (__ASSUME_EVENTFD2): Likewise.
10521         (__ASSUME_IN_NONBLOCK): Likewise.
10522         (__ASSUME_O_CLOEXEC): Likewise.
10523         (__ASSUME_PIPE2): Likewise.
10524         (__ASSUME_SIGNALFD4): Likewise.
10525         (__ASSUME_SOCK_CLOEXEC): Likewise.
10526         (__ASSUME_UTIMES): Undefine.
10527         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10528         (__ASSUME_UTIMES): Do not define.
10529         (__ASSUME_O_CLOEXEC): Likewise.
10530         (__ASSUME_SOCK_CLOEXEC): Likewise.
10531         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10532         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10533         0x020621].
10534         (__ASSUME_PIPE2): Likewise.
10535         (__ASSUME_EVENTFD2): Likewise.
10536         (__ASSUME_SIGNALFD4): Likewise.
10537         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10538         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10539         Do not define.
10540         (__ASSUME_EVENTFD2): Likewise.
10541         (__ASSUME_SIGNALFD4): Likewise.
10542         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10543         (__ASSUME_32BITUIDS): Likewise.
10544         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10545         (__ASSUME_IPC64): Likewise.
10546         (__ASSUME_ST_INO_64_BIT): Likewise.
10547         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10548         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10549         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10550         (__ASSUME_UTIMES): Do not define.
10551         (__ASSUME_PSELECT): Likewise.
10552         (__ASSUME_PPOLL): Likewise.
10553         (__ASSUME_O_CLOEXEC): Likewise.
10554         (__ASSUME_SOCK_CLOEXEC): Likewise.
10555         (__ASSUME_IN_NONBLOCK): Likewise.
10556         (__ASSUME_PIPE2): Likewise.
10557         (__ASSUME_EVENTFD2): Likewise.
10558         (__ASSUME_SIGNALFD4): Likewise.
10559         (__ASSUME_DUP3): Likewise.
10560         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10561         (__ASSUME_UTIMES): Likewise.
10562         (__ASSUME_O_CLOEXEC): Likewise.
10563         (__ASSUME_SOCK_CLOEXEC): Likewise.
10564         (__ASSUME_IN_NONBLOCK): Likewise.
10565         (__ASSUME_PIPE2): Likewise.
10566         (__ASSUME_EVENTFD2): Likewise.
10567         (__ASSUME_SIGNALFD4): Likewise.
10568         (__ASSUME_DUP3): Likewise.
10569         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10570         (__ASSUME_UTIMES): Likewise.
10571         (__ASSUME_O_CLOEXEC): Likewise.
10572         (__ASSUME_SOCK_CLOEXEC): Likewise.
10573         (__ASSUME_IN_NONBLOCK): Likewise.
10574         (__ASSUME_PIPE2): Likewise.
10575         (__ASSUME_EVENTFD2): Likewise.
10576         (__ASSUME_SIGNALFD4): Likewise.
10577         (__ASSUME_DUP3): Likewise.
10578         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10579         Likewise.
10580         (__ASSUME_UTIMES): Likewise.
10581         (__ASSUME_EVENTFD2): Likewise.
10582         (__ASSUME_SIGNALFD4): Likewise.
10583         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10584         (__ASSUME_O_CLOEXEC): Likewise.
10585         (__ASSUME_SOCK_CLOEXEC): Likewise.
10586         (__ASSUME_IN_NONBLOCK): Likewise.
10587         (__ASSUME_PIPE2): Likewise.
10588         (__ASSUME_EVENTFD2): Likewise.
10589         (__ASSUME_SIGNALFD4): Likewise.
10590         (__ASSUME_DUP3): Likewise.
10591         (__ASSUME_UTIMES): Undefine.
10593         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10594         feclearexcept.  Remove symbol versioning code.
10595         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10596         symbol versioning code.
10597         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10598         symbol versioning code.
10599         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10600         feupdateenv.  Remove symbol versioning code.
10601         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10602         fegetexceptflag.  Remove symbol versioning code.
10603         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10604         fesetexceptflag.  Remove symbol versioning code.
10605         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10606         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10607         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10608         (__posix_fadvise64_l32): Remove prototype.
10609         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10610         code.
10612 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10614         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10615         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10616         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10617         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10619 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10621         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10622         current working directory
10624 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10626         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10627         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10628         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10629         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10630         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10631         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10632         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10633         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10634         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10635         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10636         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10637         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10638         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10639         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10640         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10641         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10642         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10643         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10644         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10645         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10646         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10647         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10648         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10649         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10650         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10651         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10652         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10653         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10654         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10655         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10656         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10657         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10658         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10659         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10660         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10661         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10662         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10663         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10664         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10665         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10666         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10667         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10669         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10670         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10672         * sysdeps/unix/sysv/linux/arm/Makefile
10673         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10674         Add rt-aeabi_unwind_cpp_pr1.
10675         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10676         Add nptl-aeabi_unwind_cpp_pr1.
10677         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10678         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10679         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10680         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10681         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10682         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10684         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10685         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10686         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10687         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10689         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10690         Deconditionalize the code that was previously under [RESET_PID].
10691         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10693         * sysdeps/generic/exit-thread.h: New file.
10694         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10695         * include/unistd.h (__exit_thread): Remove declaration.
10696         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10697         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10698         * csu/libc-start.c: Include <exit-thread.h>.
10699         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10700         * nptl/pthread_create.c: Include <exit-thread.h>.
10701         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10702         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10703         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10704         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10705         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10706         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10707         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10708         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10709         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10710         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10711         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10712         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10713         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10714         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10715         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10716         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10717         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10719 2014-05-13  Andreas Schwab  <schwab@suse.de>
10721         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10723 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10725         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10726         (__ASSUME_UTIMES): Do not condition on kernel version.
10727         (__ASSUME_PSELECT): Define unconditionally.
10728         (__ASSUME_PPOLL): Likewise.
10729         (__ASSUME_ATFCTS): Likewise.
10730         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10731         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10732         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10733         (__ASSUME_UTIMENSAT): Define unconditionally.
10734         (__ASSUME_PRIVATE_FUTEX): Likewise.
10735         (__ASSUME_FALLOCATE): Likewise.
10736         (__ASSUME_O_CLOEXEC): Likewise.
10737         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10738         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10739         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10740         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10741         (__ASSUME_IN_NONBLOCK): Likewise.
10742         (__ASSUME_PIPE2): Likewise.
10743         (__ASSUME_EVENTFD2): Likewise.
10744         (__ASSUME_SIGNALFD4): Likewise.
10745         (__ASSUME_DUP3): Likewise.
10746         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10747         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10748         (__ASSUME_AT_RANDOM): Likewise.
10749         (__ASSUME_PREADV): Likewise.
10750         (__ASSUME_PWRITEV): Likewise.
10751         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10752         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10753         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10754         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10755         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10756         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10757         (__ASSUME_O_CLOEXEC): Define unconditionally.
10758         (__ASSUME_PSELECT): Do not undefine conditionally.
10759         (__ASSUME_PPOLL): Likewise.
10760         (__ASSUME_ATFCTS): Likewise.
10761         (__ASSUME_SET_ROBUST_LIST): Likewise.
10762         (__ASSUME_UTIMENSAT): Likewise.
10763         (__ASSUME_FDATASYNC): Define unconditionally.
10764         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10765         (__ASSUME_SIGFRAME_V2): Likewise.
10766         )__ASSUME_EVENTFD2): Likewise.
10767         (__ASSUME_SIGNALFD4): Likewise.
10768         (__ASSUME_PSELECT): Do not undefine conditionally.
10769         (__ASSUME_PPOLL): Likewise.
10770         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10771         (__ASSUME_PSELECT): Define unconditionally.
10772         (__ASSUME_PPOLL): Likewise.
10773         (__ASSUME_O_CLOEXEC): Likewise.
10774         (__ASSUME_SOCK_CLOEXEC): Likewise.
10775         (__ASSUME_IN_NONBLOCK): Likewise.
10776         (__ASSUME_PIPE2): Likewise.
10777         (__ASSUME_EVENTFD2): Likewise.
10778         (__ASSUME_SIGNALFD4): Likewise.
10779         (__ASSUME_DUP3): Likewise.
10780         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10781         (__ASSUME_O_CLOEXEC): Likewise.
10782         (__ASSUME_SOCK_CLOEXEC): Likewise.
10783         (__ASSUME_IN_NONBLOCK): Likewise.
10784         (__ASSUME_PIPE2): Likewise.
10785         (__ASSUME_EVENTFD2): Likewise.
10786         (__ASSUME_SIGNALFD4): Likewise.
10787         (__ASSUME_DUP3): Likewise.
10788         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10789         (__ASSUME_EVENTFD2): Likewise.
10790         (__ASSUME_SIGNALFD4): Likewise.
10791         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10793 2014-05-12  Andreas Schwab  <schwab@suse.de>
10795         [BZ #16932]
10796         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10797         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10798         than maximum RPC packet size.
10799         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10800         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10801         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10802         (_nss_nis_getservbyport_r): Likewise.
10804 2014-05-12  Will Newton  <will.newton@linaro.org>
10806         * malloc/Makefile (tests): Add tst-mallopt.
10807         * malloc/tst-mallopt.c: New file.
10809 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10811         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10812         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10814 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10816         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10817         (tst-tlsmod6.so): Likewise.
10819 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10821         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10823 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10825         [BZ #16064]
10826         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10827         and <dl-procinfo.h>.
10828         (__fegetenv): Save SSE state in envp->__eip if supported.
10829         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10830         envp->__eip if supported.
10831         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10832         and <dl-procinfo.h>.
10833         (__fesetenv): Always set __eip, __cs_selector, __opcode,
10834         __data_offset and __data_selector in environment to 0.  Set SSE
10835         state if supported.
10836         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10837         test-fenv-sse.
10838         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10839         -mfpmath=sse.
10840         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10842 2014-05-09  Will Newton  <will.newton@linaro.org>
10844         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10845         and libc_relro_required for ARM.
10846         * sysdeps/arm/preconfigure: Regenerate.
10848 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
10849             Stefan Liebler  <stli@linux.vnet.ibm.com>
10851         * config.make.in (enable-lock-elision): New Makefile variable.
10852         * configure.ac: Likewise.
10853         * configure: Regenerate.
10854         * sysdeps/s390/configure.ac:
10855         Add check for gcc transactions support.
10856         * sysdeps/s390/configure: Regenerate.
10857         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10858         Build elision files if enabled.
10859         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10860         Add lock elision support for s390.
10861         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10862         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10863         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10864         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10865         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10866         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10867         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10868         Likewise.
10869         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10870         Likewise.
10871         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10872         Likewise.
10873         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10874         Likewise.
10875         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10876         (__lll_timedlock_elision, __lll_lock_elision)
10877         (__lll_unlock_elision, __lll_trylock_elision)
10878         (lll_timedlock_elision, lll_lock_elision)
10879         (lll_unlock_elision, lll_trylock_elision): Add.
10880         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10881         (pthread_mutex_t): Add lock elision support for s390.
10883 2014-05-14  Wilco  <wdijkstr@arm.com>
10885         * sysdeps/arm/fclrexcpt.c: Cleanup.
10886         * sysdeps/arm/fedisblxcpt.c: Cleanup.
10887         * sysdeps/arm/feenablxcpt.c: Cleanup.
10888         * sysdeps/arm/fegetenv.c: Cleanup.
10889         * sysdeps/arm/fegetexcept.c: Cleanup.
10890         * sysdeps/arm/fegetround.c: Cleanup.
10891         * sysdeps/arm/feholdexcpt.c: Cleanup.
10892         * sysdeps/arm/fesetenv.c: Cleanup.
10893         * sysdeps/arm/fesetround.c: Cleanup.
10894         * sysdeps/arm/feupdateenv.c: Cleanup.
10895         * sysdeps/arm/fgetexcptflg.c: Cleanup.
10896         * sysdeps/arm/fraiseexcpt.c: Cleanup.
10897         * sysdeps/arm/fsetexcptflg.c: Cleanup.
10898         * sysdeps/arm/ftestexcept.c: Cleanup.
10899         * sysdeps/arm/get-rounding-mode.h: Cleanup.
10900         * sysdeps/arm/setfpucw.c: Cleanup.
10902 2014-05-09  Will Newton  <will.newton@linaro.org>
10904         * sysdeps/arm/armv7/strcmp.S: New file.
10905         * NEWS: Mention addition of ARMv7 optimized strcmp.
10907 2014-05-08  Roland McGrath  <roland@hack.frob.com>
10909         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10910         look for %.ac rather than %.in.
10912         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10913         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10914         * sysdeps/mach/hurd/configure: Regenerated.
10915         * sysdeps/unix/sysv/linux/configure: Regenerated.
10917         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10919 2014-05-07  Steve Ellcey  <sellcey@mips.com>
10921         [BZ# 16922]
10922         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10923         (LONG_SUB): Ditto.
10924         (PTR_SUB): Ditto.
10926 2014-05-07  Andreas Schwab  <schwab@suse.de>
10928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10929         when skipping over non-matching result from nscd.
10931 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
10933         [BZ #16876]
10934         * nptl/sockperf.c (client): Check socket return value.
10936         [BZ #16877]
10937         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10938         nscd security class.
10940 2014-05-06  Roland McGrath  <roland@hack.frob.com>
10942         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10943         * sysdeps/arm/unwind.h: ... here.
10945 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
10947         [BZ# 16916]
10948         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10949         Define.
10951 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10953         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10954         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10955         multiarch strncpy for PPC64.
10956         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10957         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10959         multiarch optimizations.
10960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10961         (__libc_ifunc_impl_list): Likewise.
10962         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10963         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10964         multiarch stpncpy for PPC64.
10965         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10966         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10968 2014-05-06  Andreas Schwab  <schwab@suse.de>
10970         [BZ #16912]
10971         * gmon/mcount.c (_MCOUNT_DECL): Use
10972         atomic_compare_and_exchange_bool_acq instead of
10973         catomic_compare_and_exchange_bool_acq.
10975 2014-05-05  Roland McGrath  <roland@hack.frob.com>
10977         * elf/Makefile (others, install-bin): Remove pldd.
10978         (pldd-modules): Variable removed.
10979         ($(objpfx)pldd): Target removed.
10980         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10981         (others, install-bin): Append pldd here.
10982         ($(objpfx)pldd): New target.
10984         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10985         to 0, so the first #if test emitted later doesn't see it undefined.
10986         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10987         * sysdeps/gnu/errlist.c: Regenerated.
10989 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10991         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10992         [libc_hidden_builtin_def]: Define to empty value.
10993         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10994         [libc_hidden_builtin_def]: Likewise.
10995         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10996         [libc_hidden_builtin_def]: Likewise.
10997         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10998         [libc_hidden_builtin_def]: Likewise.
10999         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11000         __redirect_memcpy and define ifunc as default hidden symbol.
11001         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11002         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11004 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11006         * locale/iso-4217.def: Reintroduce XDR currency.
11008 2014-05-04  Allan McRae  <allan@archlinux.org>
11010         * po/eo.po: Update Esperanto translation from translation project.
11012 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11014         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11015         and FEATURE_INDEX_MAX to 1.
11016         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11018 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11020         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11021         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11022         * iconvdata/big5.c (ONE_DIRECTION): Define.
11023         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11024         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11025         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11026         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11027         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11028         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11029         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11030         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11031         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11032         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11033         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11034         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11035         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11036         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11037         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11038         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11039         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11040         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11041         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11042         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11043         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11044         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11045         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11046         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11047         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11048         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11049         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11050         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11051         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11052         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11053         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11054         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11055         * iconvdata/johab.c (ONE_DIRECTION): Define.
11056         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11057         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11058         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11059         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11060         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11061         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11062         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11063         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11064         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11065         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11067 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11069         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11070         (_IO_JUMPS_OFFSET): Define to 0.
11072         * nptl/sysdeps/pthread/bits/libc-lock.h
11073         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11074         (__libc_lock_define_initialized_recursive): Always define using
11075         initializer.  Modern compilers treat uninitialized (implicit zero) and
11076         explicit zero initializers the same (i.e. put the datum in bss).
11078 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11080         * nscd/nscd-client.h: Include <string.h>.
11082 2014-05-01  David S. Miller  <davem@davemloft.net>
11084         [BZ #16885]
11085         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11086         multiple zero bytes exist at the end of a string.
11087         Reported by Aurelien Jarno <aurelien@aurel32.net>
11089         * string/test-strcmp.c (check): Add explicit test for situations where
11090         there are multiple zero bytes after the first.
11092 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11094         [BZ #16890]
11095         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11096         when compiling wprintf.
11097         * stdio-common/tstdiomisc.c (t3): New function.
11098         (main): Call it.
11100 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11102         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11103         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11104         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11105         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11107 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11109         * stdlib/longlong.h: Updated from GCC.
11111 2014-05-01  Will Newton  <will.newton@linaro.org>
11112             Bernard Ogden  <bernie.ogden@linaro.org>
11114         * NEWS: Update fixed bug list.
11116         [BZ #15119]
11117         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11119 2014-04-30  David S. Miller  <davem@davemloft.net>
11121         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11122         (libc_feholdexcept_setround_sparc_ctx): New function.
11123         (libc_fesetenv_sparc_ctx): Likewise.
11124         (libc_feupdateenv_sparc_ctx): Likewise.
11125         (libc_feholdsetround_sparc_ctx): Likewise.
11126         (libc_feholdexcept_setround_ctx): Define.
11127         (libc_feholdexcept_setroundf_ctx): Likewise.
11128         (libc_feholdexcept_setroundl_ctx): Likewise.
11129         (libc_fesetenv_ctx): Likewise.
11130         (libc_fesetenvf_ctx): Likewise.
11131         (libc_fesetenvl_ctx): Likewise.
11132         (libc_feupdateenv_ctx): Likewise.
11133         (libc_feupdateenvf_ctx): Likewise.
11134         (libc_feupdateenvl_ctx): Likewise.
11135         (libc_feresetround_ctx): Likewise.
11136         (libc_feresetroundf_ctx): Likewise.
11137         (libc_feresetroundl_ctx): Likewise.
11138         (libc_feholdsetround_ctx): Likewise.
11139         (libc_feholdsetroundf_ctx): Likewise.
11140         (libc_feholdsetroundl_ctx): Likewise.
11142         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11143         with __USE_GNU instead of XOPEN cpp guards.
11145         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11146         0.
11148         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11149         with XOPEN cpp guards.
11151 2014-04-30  Julian Brown  <julian@codesourcery.com>
11153         [BZ #16888]
11154         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11155         handling.
11157 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11159         [BZ #9894]
11160         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11161         Change to 2.6.32.
11162         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11163         * sysdeps/unix/sysv/linux/configure: Regenerated.
11164         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11165         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11166         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11167         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11168         * README: Update reference to required Linux kernel version.
11169         * manual/install.texi (Linux): Update reference to required Linux
11170         kernel headers version.
11171         * INSTALL: Regenerated.
11173         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11174         header inclusion.
11175         [POSIX] (limits.h): Likewise.
11176         [POSIX] (math.h): Likewise.
11177         [POSIX] (sys/wait.h): Likewise.
11178         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11179         function.
11180         [POSIX] (stddef.h): Do not allow header inclusion.
11182 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11184         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11186 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11188         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11189         Return immediately after lll_futex_wake.
11191 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11193         [BZ #16791]
11194         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11195         structure.
11196         (datahead_init_pos): Call datahead_init_common early.
11197         (datahead_init_neg): Likewise.
11199         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11200         datahead_init_neg): New functions.
11201         * nscd/aicache.c (addhstaiX): Use them.
11202         * nscd/grpcache.c (cache_addgr): Likewise.
11203         * nscd/hstcache.c (cache_addhst): Likewise.
11204         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11205         * nscd/netgroupcache.c (do_notfound): Likewise.
11206         (addgetnetgrentX): Likewise.
11207         (addinnetgrX): Likewise.
11208         * nscd/pwdcache.c (cache_addpw): Likewise.
11209         * nscd/servicescache.c (cache_addserv): Likewise.
11211 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11212             Atsushi Onoe  <atsushi@onoe.org>
11214         [BZ #14308]
11215         [BZ #12994]
11216         [BZ #13651]
11217         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11218         one response is valid.
11219         * resolv/res_send.c (send_dg): Check for validity of other
11220         response if the current response is a referral.
11222 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11224         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11226 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11228         [BZ #16823]
11229         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11230         Always divide by positive zero when computing -Inf result.
11231         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11232         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11234 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11236         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11237         FPSCR if value do not change.
11238         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11239         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11240         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11241         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11242         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11243         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11244         function.
11246 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11248         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11249         * sysdeps/unix/sysv/linux/hppa: Move directory from
11250         ports/systeps/unix/sysv/linux/hppa.
11251         * README: Update listing for hppa-*-linux-gnu.
11253 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11255         [BZ #16754]
11256         * manual/stdio.texi (Hook functions): Fix types of stream hook
11257         functions.
11258         [BZ #16854]
11259         * socket/sys/socket.h: Fix typo in comment.
11261 2014-04-28  Wilco  <wdijkstr@arm.com>
11263         * sysdeps/arm/fenv_private.h: New file.
11264         * sysdeps/arm/math_private.h: New file.
11265         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11267 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11269         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11270         with __int128_t.
11271         (La_x86_64_retval): Likewise.
11273 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11275         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11276         fpsr if value didn't change.
11277         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11278         to fpcr if value didn't change.
11279         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11280         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11281         fpsr or fpcr if value didn't change.
11282         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11283         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11284         fpcr if value didn't change.
11285         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11286         to fpsr if value didn't change.
11288 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11290         * nptl/tst-sem3.c: Use test-skeleton.c
11291         (main): Rename to do_test.  Use return instead of
11292         exit.
11293         * nptl/tst-sem4.c: Use test-skeleton.c
11294         (main): Rename to do_test.
11296 2014-04-22  David S. Miller  <davem@davemloft.net>
11298         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11299         (struct sigaction): New struct member __glibc_reserved0, change
11300         type of sa_flags to int.
11302 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11304         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11305         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11307 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11309         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11310         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11312 2014-04-22  Will Newton  <will.newton@linaro.org>
11313             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11315         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11316         (__longjmp): Add longjmp and longjmp_target SystemTap
11317         probes.
11318         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11319         (__sigsetjmp): Add setjmp SystemTap probe.
11321 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11323         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11324         match manual order.
11326 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11328         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11330         * sysdeps/powerpc/fpu/fenv_private.h
11331         (libc_feholdexcept_setroundl_ctx): Define to
11332         libc_feholdexcept_setround_ppc_ctx.
11333         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11334         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11335         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11336         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11338 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11340         * sysdeps/aarch64/math-tests.h: New file.
11342 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11344         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11345         New.
11346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11347         Check and set bit_AVX2_Usable.
11348         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11349         macro.
11350         (bit_AVX2): Likewise.
11351         (index_AVX2_Usable): Likewise.
11352         (CPUID_AVX2): Likewise.
11353         (HAS_AVX2): Likewise.
11355 2014-04-17  Will Newton  <will.newton@linaro.org>
11357         * manual/setjmp.texi (System V contexts): Add note that
11358         calling setcontext on a context created by a call to a
11359         signal handler is undefined.  Update text to note that
11360         setcontext from a signal handler is possible but not
11361         recommended.
11363         [BZ #16629]
11364         * stdlib/tst-setcontext.c: Include signal.h.
11365         (main): Check that the signal stack before and
11366         after swapcontext is the same.
11368         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11369         Re-implement to restore registers in user code and avoid
11370         rt_sigreturn system call.
11372 2014-04-17  Wilco  <wdijkstr@arm.com>
11374         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11375         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11376         * math/test-fenv.c: Skip exception trap tests on targets which only
11377         support non-stop mode.
11379 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11380             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11382         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11383         (libc_feholdsetround_aarch64_ctx)
11384         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11385         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11386         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11387         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11388         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11389         (libc_feresetround_noexl_ctx): Define.
11391 2014-04-16  Richard Henderson  <rth@redhat.com>
11393         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11395         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11396         unwind tables.
11398         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11399         const from the non-libc, non-ldso copy.
11401         * sysdeps/alpha/libm-test-ulps: Regenerate.
11403 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11404             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11406         * sysdeps/aarch64/fpu/math_private.h: New file.
11408 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11410         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11412 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11414         [BZ #16275]
11415         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11416         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11417         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11418         Intel MPX bound registers before _dl_profile_fixup.
11419         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11420         registers after _dl_profile_fixup.  Save and restore bound
11421         registers bnd0/bnd1 when calling _dl_call_pltexit.
11422         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11423         (LR_BND_OFFSET): Likewise.
11424         (LRV_BND0_OFFSET): Likewise.
11425         (LRV_BND1_OFFSET): Likewise.
11427 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11429         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11430         to...
11431         * sysdeps/mach/hurd/i386/tls.h: ... here.
11432         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11433         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11434         fields.
11436 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11438         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11440 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11442         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11444 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11446         [BZ #14770]
11447         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11448         * sysdeps/s390/configure: Regenerate.
11450         [BZ #16824]
11451         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11452         Set round-to-nearest internally to reduce error accumulation.
11454 2014-04-16  Alan Modra  <amodra@gmail.com>
11456         [BZ #16740]
11457         [BZ #16619]
11458         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11459         * math/libm-test.inc (frexp_test_data): Add tests.
11460         * NEWS: Update fixed bug list.
11462 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11464         * benchtests/Makefile: Depend on libraries in build directory.
11465         (bench-math): Separate out math tests.
11466         (bench-pthread): Separate out pthread tests.
11467         (bench): Include math and pthread tests.
11469 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11471         [BZ #16831]
11472         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11473         _dl_debug_initialize.
11475         * configure.ac: Remove SELinux header check.
11476         * configure: Regenerate.
11477         * nscd/selinux.c (perms): Array of const char* to permission names.
11478         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11479         default policy. Call string_to_security_class and string_to_av_perm to
11480         translate strings. Enforce default policy and call avs_has_perm with
11481         results of translated strings.
11483 2014-04-13  David S. Miller  <davem@davemloft.net>
11485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11487 2014-04-12  Allan McRae  <allan@archlinux.org>
11489         [BZ #16838]
11490         * manual/string.texi (Collation Functions): Fix qsort argument
11491         order in example.
11492         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11494 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11496         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11497         Make the test a no-op if there are no exceptions defined.
11499 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11501         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11502         enable-hardcoded-path-in-tests
11504 2014-04-11  Will Newton  <will.newton@linaro.org>
11506         * benchtests/Makefile (extra-objs): Add json-lib.o.
11507         (bench-func): Tidy up JSON output.
11508         * benchtests/bench-skeleton.c: Include json-lib.h.
11509         (main): Use JSON library functions to do output of
11510         benchmark results.
11511         * benchtests/bench-timing-type.c (main): Output the
11512         timing type simply, leaving formatting to the user.
11513         * benchtests/json-lib.c: New file.
11514         * benchtests/json-lib.h: Likewise.
11516 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11518         [BZ #15215]
11519         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11520         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11521         memory barriers.  Add comments.
11522         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11523         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11524         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11525         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11526         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11527         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11529 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11531         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11532         * sysdeps/s390/s390-64/configure.ac: ... this ...
11533         * sysdeps/s390/configure.ac: ... to here.
11534         * sysdeps/s390/s390-32/configure: Delete file.
11535         * sysdeps/s390/s390-64/configure: Delete file.
11536         * sysdeps/s390/configure: Regenerate.
11538 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11540         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11542 2014-04-11  Will Newton  <will.newton@linaro.org>
11544         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11545         to zero if it is not defined elsewhere.  (mtrim): Test
11546         the value of MALLOC_DEBUG with #if rather than #ifdef.
11548 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11550         * benchtests/pthread_once-inputs: New file.
11551         * benchtests/pthread_once-source.c: New file.
11552         * benchtests/README: Update documentation.
11554 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11555             H.J. Lu  <hongjiu.lu@intel.com>
11557         [BZ #16275]
11558         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11559         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11560         * sysdeps/x86_64/configure: Regenerated.
11561         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11562         macro.
11563         (REGISTER_SAVE_RAX): Likewise.
11564         (REGISTER_SAVE_RCX): Likewise.
11565         (REGISTER_SAVE_RDX): Likewise.
11566         (REGISTER_SAVE_RSI): Likewise.
11567         (REGISTER_SAVE_RDI): Likewise.
11568         (REGISTER_SAVE_R8): Likewise.
11569         (REGISTER_SAVE_R9): Likewise.
11570         (REGISTER_SAVE_BND0): Likewise.
11571         (REGISTER_SAVE_BND1): Likewise.
11572         (REGISTER_SAVE_BND2): Likewise.
11573         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11574         bound registers when calling _dl_fixup.
11576 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11578         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11579         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11580         of its definition.
11581         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11582         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11583         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11584         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11585         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11586         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11587         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11589 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11591         [BZ #15514]
11592         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11593         pathconf(_PC_NAME_MAX).
11595 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11597         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11598         Remove macro usage.
11599         (__PTHREAD_SPINS): Move definition to ...
11600         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11601         (__PTHREAD_SPINS): ... here.
11602         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11603         (__PTHREAD_SPIN): Likewise.
11604         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11605         (__PTHREAD_SPIN): Likewise.
11606         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11607         (__PTHREAD_SPIN): Likewise.
11608         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11609         (__PTHREAD_SPIN): Likewise.
11610         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11611         (__PTHREAD_SPIN): Likewise.
11612         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11613         (__PTHREAD_SPIN): Likewise.
11614         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11615         (__PTHREAD_SPIN): Likewise.
11616         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11617         (__PTHREAD_SPIN): Likewise.
11618         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11619         (__PTHREAD_SPIN): Likewise.
11620         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11621         (__PTHREAD_SPIN): Likewise.
11622         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11623         (__PTHREAD_SPIN): Likewise.
11624         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11625         (__PTHREAD_SPIN): Likewise.
11627         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11628         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11629         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11630         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11631         imply folder.
11632         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11633         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11634         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11635         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11636         correct imply path.
11637         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11638         strlen symbol for non multi-arch builds.
11639         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11640         missing hidden_def and weak_alias.
11642 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11644         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11646 2014-04-07  Will Newton  <will.newton@linaro.org>
11648         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11649         and contents.  [!_LIBC] Remove #ifndef and contents.
11650         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11651         * string/memccpy.c (__memccpy): Use ANSI prototype.
11652         * string/memfrob.c (memfrob): Likewise.
11653         * string/strcoll.c (STRCOLL): Likewise.
11654         * string/strlen.c (strlen): Likewise.
11655         * string/strtok.c (STRTOK): Likewise.
11656         * string/strcat.c: Remove unused #include of memcopy.h.
11657         (strcat): Use ANSI prototype.
11658         * string/strchr.c: Remove unused #include of memcopy.h.
11659         (strchr): Use ANSI prototype.
11660         * string/strcmp.c: Remove unused #include of memcopy.h.
11661         (strcmp): Use ANSI prototype.
11662         * string/strcpy.c: Remove unused #include of memcopy.h.
11663         (strcpy): Use ANSI prototype.
11665 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11667         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11668         * config.make.in (config-extra-cppflags): Set it from
11669         libc_extra_cppflags.
11670         * configure.ac (libc_extra_cflags): Make it accumulate over
11671         configure fragments.
11672         (libc_extra_cppflags): New flag.
11673         * configure. Regenerate.
11674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11675         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11676         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11679         [BZ #16815]
11680         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11681         result for FE_DOWNWARD rounding mode.
11682         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11683         Likewise.
11684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11686 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11688         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11689         in function argument name.
11691 2014-04-03  David Svoboda  <svoboda@cert.org>
11693         [BZ #5666]
11694         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11695         explicitly.
11697 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11699         * elf/dl-unmap-segments.h: New file.
11700         * sysdeps/generic/ldsodefs.h
11701         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11702         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11703         * elf/dl-fptr.c: Likewise.
11704         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11705         * sysdeps/aarch64/tlsdesc.c: Likewise.
11706         * sysdeps/arm/tlsdesc.c: Likewise.
11707         * sysdeps/i386/tlsdesc.c: Likewise.
11708         * sysdeps/tile/dl-runtime.c: Likewise.
11709         * sysdeps/x86_64/tlsdesc.c: Likewise.
11710         * elf/dl-load.h: New file.
11711         * elf/dl-load.c: Include it.
11712         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11713         Macros moved to dl-load.h.
11714         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11715         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11716         Use _dl_unmap_segments in place of __munmap.
11717         Break out segment-mapping loop into ...
11718         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11720 2014-04-03  Will Newton  <will.newton@linaro.org>
11722         * elf/dl-lookup.c (do_lookup_x): Remove comment
11723         referring to nested function and move variable
11724         declarations down to before first use.
11726 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11728         [BZ #16799]
11729         [BZ #16800]
11730         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11731         with 0 numerator.
11732         * math/s_catanf.c (__catanf): Likewise.
11733         * math/s_catanh.c (__catanh): Likewise.
11734         * math/s_catanhf.c (__catanhf): Likewise.
11735         * math/s_catanhl.c (__catanhl): Likewise.
11736         * math/s_catanl.c (__catanl): Likewise.
11737         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11738         by positive zero when computing -Inf result.
11739         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11740         (catanh_test): Likewise.
11741         * sysdeps/i386/fpu/libm-test-ulps: Update.
11742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11744         [BZ #16789]
11745         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11746         instead of using underflowing value in computing result.
11747         * math/s_clog10.c (__clog10): Likewise.
11748         * math/s_clog10f.c (__clog10f): Likewise.
11749         * math/s_clog10l.c (__clog10l): Likewise.
11750         * math/s_clogf.c (__clogf): Likewise.
11751         * math/s_clogl.c (__clogl): Likewise.
11752         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11753         (clog10_test): Likewise.
11754         * sysdeps/i386/fpu/libm-test-ulps: Update.
11755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11757 2014-04-02  Alan Modra  <amodra@gmail.com>
11759         [BZ #16739]
11760         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11761         output when value is near a power of two.  Use int64_t for lx and
11762         remove casts.  Use decimal rather than hex exponent constants.
11763         Don't use long double multiplication when double will suffice.
11764         * math/libm-test.inc (nextafter_test_data): Add tests.
11765         * NEWS: Add 16739 and 16786 to bug list.
11767         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11769         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11771 2014-04-01  Will Newton  <will.newton@linaro.org>
11773         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11774         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11776 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11778         [BZ #13347]
11779         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11780         * nptl/tst-setuid2.c: New file.
11781         * nptl/Makefile (xtests): Add tst-setuid2.
11783 2014-04-01  Alan Modra  <amodra@gmail.com>
11785         [BZ #16786]
11786         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11788 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11790         [BZ #6803]
11791         [BZ #6804]
11792         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11793         set errno as appropriate.
11794         * math/w_scalbf.c (__scalbf): Likewise.
11795         * math/w_scalbl.c (__scalbl): Likewise.
11796         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11797         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11798         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11799         Add more NaN tests.
11801         [BZ #16349]
11802         * math/w_atan2.c: Include <errno.h>.
11803         (__atan2): Set errno for result underflowing to zero.
11804         * math/w_atan2f.c: Include <errno.h>.
11805         (__atan2f): Set errno for result underflowing to zero.
11806         * math/w_atan2l.c: Include <errno.h>.
11807         (__atan2l): Set errno for result underflowing to zero.
11808         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11809         tests.
11810         * math/auto-libm-test-out: Regenerated.
11812 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11814         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11815         Encode instruction correctly in little endian.
11816         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11817         Likewise.
11818         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11819         Likewise.
11820         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11821         Likewise.
11822         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11823         Likewise.
11825 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11827         [BZ #9894]
11828         * sysdeps/unix/sysv/linux/kernel-features.h
11829         [__sparc__ && !__arch64__ && !__sparc_v9__]
11830         (__ASSUME_SET_ROBUST_LIST): Do not define.
11831         [__sparc__ && !__arch64__ && !__sparc_v9__]
11832         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11833         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11834         Likewise.
11835         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11836         (__ASSUME_FUTEX_LOCK_PI): Undefine.
11837         (__ASSUME_REQUEUE_PI): Likewise.
11838         (__ASSUME_SET_ROBUST_LIST): Likewise.
11839         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11840         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11841         Undefine.
11842         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11843         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11844         Likewise.
11845         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11846         Likewise.
11847         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11848         Likewise.
11849         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11850         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11851         Undefine.
11852         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11853         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11854         Likewise.
11856         [BZ #16648]
11857         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11858         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11859         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11861 2014-03-31  Will Newton  <will.newton@linaro.org>
11863         * benchtests/Makefile (bench): Add ffs and ffsll to list
11864         of tests.
11865         * benchtests/ffs-inputs: New file.
11866         * benchtests/ffsll-inputs: Likewise.
11868 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
11870         [BZ #16770]
11871         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11872         too large before casting to int.
11873         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11874         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11875         * math/libm-test.inc (scalb_test_data): Add more tests.
11877 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11879         * benchtests/Makefile (DETAILED_OPT): New make option.
11880         (bench-func): Run benchmark program with -d if DETAILED_OPT is
11881         set.
11882         * benchtests/bench-skeleton.c: Include stdbool.h.
11883         (main): Store and print timings per input.
11884         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11885         member to each argument value.
11886         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11887         (_print_arg_data): Initialize per-input timing to 0.
11889         * benchtests/Makefile (timing-type): New binary.
11890         (bench-clean): Also remove bench-timing-type.
11891         (bench): New target for timing-type.
11892         (bench-func): Print output in JSON format.
11893         * benchtests/bench-skeleton.c (main): Print output in JSON
11894         format.
11895         * benchtests/bench-timing-type.c: New file.
11896         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11897         (TIMING_PRINT_STATS): Remove.
11898         * benchtests/scripts/bench.py (_print_arg_data): Store variant
11899         name separately.
11901         * benchtests/bench-modf.c: Remove.
11902         * benchtests/modf-inputs: New inputs file.
11904 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
11906         [BZ #16362]
11907         * math/s_clog10.c (M_PI_LOG10E): New macro.
11908         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11909         imaginary parts are 0.
11910         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11911         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11912         imaginary parts are 0.
11913         * math/s_clog10l.c (M_PI_LOG10El): New macro.
11914         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11915         imaginary parts are 0.
11916         * math/libm-test.inc (clog10_test_data): Update expected results
11917         for when real and imaginary parts are 0.
11919 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
11921         * elf/dl-load.c: Finish conversion of __builtin_expect into
11922         __glibc_{un}likely.
11924 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
11926         [BZ #16348]
11927         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11928         1+x for argument with exponent below -67.
11929         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11930         Likewise.
11931         * math/auto-libm-test-in: Add more tests of exp.
11932         * math/auto-libm-test-out: Regenerated.
11934 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11936         [BZ #16759]
11937         * inet/getnetgrent_r.c (get_nonempty_val): New function.
11938         (nscd_getnetgrent): Use it.
11940         [BZ #16760]
11941         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11942         of stpcpy.
11944 2014-03-27  Andi Kleen  <ak@linux.intel.com>
11946         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11947         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11948         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11949         (lll_robust_unlock): Remove out of line section. Use cfi
11950         intrinsics.
11951         (LLL_STUB_UNWIND_INFO*): Remove.
11952         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11953         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11954         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11955         (lll_robust_unlock): Remove out of line section. Use cfi
11956         intrinsics.
11957         (LLL_STUB_UNWIND_INFO*): Remove.
11959 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11961         [BZ #16758]
11962         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11963         blank values.
11965 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11967         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11969 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
11971         [BZ #16198]
11972         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11973         fnstenv.
11974         * math/test-fenv-preserve.c: New file.
11975         * math/Makefile (tests): Add test-fenv-preserve.
11977 2014-03-26  Will Newton <will.newton@linaro.org>
11979         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11981 2014-03-25  Roland McGrath  <roland@hack.frob.com>
11983         * scripts/versionlist.awk: Partition the version sets and emit all
11984         GLIBC_* (sorted) before all others (sorted).
11986 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11988         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11989         GLIBC_2.2.5 version.
11991 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11993         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11994         calls.
11996         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11997         previous change.
11999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12001 2014-03-25  Andreas Schwab  <schwab@suse.de>
12003         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12004         label to be used after in6ailist is initialized.
12006 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12008         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12009         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12011 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12013         [BZ #16357]
12014         [BZ #16599]
12015         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12016         min_plus_half.
12017         (fp_formats): Update initializers.
12018         (init_fp_formats): Initialize new field.
12019         (output_for_one_input_case): Allow underflow for results up to
12020         min_plus_half.
12021         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12022         * math/auto-libm-test-in: Don't mark some underflows from asin and
12023         atanh as spurious.
12024         * math/auto-libm-test-out: Regenerated.
12025         * sysdeps/i386/fpu/libm-test-ulps: Update.
12026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12028 2014-03-25  Andreas Schwab  <schwab@suse.de>
12030         * libio/Makefile (tst-ftell-partial-wide-ENV)
12031         (tst-ftell-active-handler-ENV): Define.
12033 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12035         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12037 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12039         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12041 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12043         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12044         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12045         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12047 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12049         [BZ #16634]
12050         * elf/dl-load.c (open_verify): Add mode parameter.
12051         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12052         (open_path): Change from boolean 'secure' to complete flag 'mode'
12053         (_dl_map_object): Adjust.
12054         * elf/Makefile (tests): Add tst-dlopen-aout.
12055         * elf/tst-dlopen-aout.c: New test.
12057 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12059         [BZ #16714]
12060         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12061         (struct stat): Rename member pad0 to __glibc_reserved0.
12063         [BZ #16712]
12064         * sysdeps/s390/s390-32/bits/wordsize.h
12065         (__WORDSIZE32_SIZE_ULONG): New define.
12066         * sysdeps/s390/s390-64/bits/wordsize.h
12067         (__WORDSIZE32_SIZE_ULONG): Likewise.
12068         * sysdeps/generic/stdint.h (SIZE_MAX):
12069         Define as UL if __WORDSIZE32_SIZE_ULONG.
12071         [BZ #16713]
12072         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12073         (__glibc_reserved0): New variable.
12074         (sa_flags): Change type to int.
12076         * posix/Makefile (before-compile): Use += before-compile instead
12077         of a :=.
12079         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12080         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12082 2014-03-20  Andreas Schwab  <schwab@suse.de>
12084         [BZ #16743]
12085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12086         non-matching result from nscd.
12088 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12090         * scripts/bench.py: Moved to ...
12091         * benchtests/scripts/bench.py: ... here.
12092         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12094 2014-03-24  Andreas Schwab  <schwab@suse.de>
12096         [BZ #16002]
12097         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12098         alloca_account and account alloca use for struct in6ailist.
12100 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12102         [BZ #16284]
12103         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12104         rounding mode to recompute results that overflow to infinity or
12105         underflow to zero.
12106         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12107         bug 16284.
12108         * math/auto-libm-test-out: Regenerated.
12109         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12110         (ccosh_test): Likewise.
12111         (csin_test_data): Use plus_oflow.
12112         (csin_test): Use ALL_RM_TEST.
12113         (csinh_test_data): Use plus_oflow.
12114         (csinh_test): Use ALL_RM_TEST.
12115         * sysdeps/i386/fpu/libm-test-ulps: Update.
12116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12118 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12120         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12121         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12122         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12124         [BZ #16731]
12125         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12126         when x - 1 is zero.
12127         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12128         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12129         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12130         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12131         argument is 1.
12132         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12133         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12134         zero.
12135         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12136         * sysdeps/i386/fpu/libm-test-ulps: Update.
12137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12139 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12141         * scripts/bench.pl: Remove file.
12142         * scripts/bench.py: New benchmark script.
12143         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12144         * benchtests/README: Mention python dependency.
12145         * scripts/pylintrc: New file.
12146         * scripts/pylint: New file.
12148         * bits/mathdef.h: Use #ifdef instead of #if.
12149         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12150         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12151         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12152         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12153         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12154         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12156 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12157             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12159         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12161         and strpbrk-ppc64 objects.
12162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12163         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12164         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12165         multiarch strpbrk for POWER7.
12166         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12167         multiarch strpbrk for PPC64.
12168         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12169         ifunc selector.
12170         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12171         strpbrk for POWER7.
12173 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12175         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12176         (atan_test): Likewise.
12177         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12178         (atanh_test): Use ALL_RM_TEST.
12179         (atan2_test_data): Likewise.
12180         (cabs_test): Likewise.
12181         (cacosh_test): Likewise.
12182         (carg_test): Likewise.
12183         (casin_test): Likewise.
12184         (casinh_test): Likewise.
12185         (cbrt_test): Likewise.
12186         (csqrt_test): Likewise.
12187         (erf_test): Likewise.
12188         (erfc_test): Likewise.
12189         (pow10_test): Likewise.
12190         (exp2_test): Likewise.
12191         (hypot_test): Likewise.
12192         (j0_test): Likewise.
12193         (j1_test): Likewise.
12194         (lgamma_test): Likewise.
12195         (gamma_test): Likewise.
12196         (sincos_test): Likewise.
12197         (tanh_test): Likewise.
12198         (y0_test): Likewise.
12199         (y1_test): Likewise.
12200         * sysdeps/i386/fpu/libm-test-ulps: Update.
12201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12203 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12205         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12207         and strcspn-ppc64 objects.
12208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12209         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12210         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12211         multiarch strcspn for POWER7.
12212         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12213         multiarch strcspn for PPC64.
12214         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12215         ifunc selector.
12216         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12217         strcspn for POWER7.
12219 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12221         * math/gen-libm-test.pl (generate_testfile): Expect only function
12222         name as argument to AUTO_TESTS_* and pass results for all rounding
12223         modes to parse_args.
12224         (parse_auto_input): Separate inputs of automatic tests from
12225         outputs before storing in %auto_tests.
12226         * math/libm-test.inc (acos_test_data): Update call to
12227         AUTO_TESTS_f_f.
12228         (acos_test): Use ALL_RM_TEST.
12229         (acos_tonearest_test_data): Remove.
12230         (acos_test_tonearest): Likewise.
12231         (acos_towardzero_test_data): Likewise.
12232         (acos_test_towardzero): Likewise.
12233         (acos_downward_test_data): Likewise.
12234         (acos_test_downward): Likewise.
12235         (acos_upward_test_data): Likewise.
12236         (acos_test_upward): Likewise.
12237         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12238         (asin_test_data): Likewise.
12239         (asin_test): Use ALL_RM_TEST.
12240         (asin_tonearest_test_data): Remove.
12241         (asin_test_tonearest): Likewise.
12242         (asin_towardzero_test_data): Likewise.
12243         (asin_test_towardzero): Likewise.
12244         (asin_downward_test_data): Likewise.
12245         (asin_test_downward): Likewise.
12246         (asin_upward_test_data): Likewise.
12247         (asin_test_upward): Likewise.
12248         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12249         (atan_test_data): Likewise.
12250         (atanh_test_data): Likewise.
12251         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12252         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12253         (carg_test_data): Likewise.
12254         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12255         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12256         (ccosh_test_data): Likewise.
12257         (cexp_test_data): Likewise.
12258         (clog_test_data): Likewise.
12259         (clog10_test_data): Likewise.
12260         (cos_test_data): Update call to AUTO_TESTS_f_f.
12261         (cos_test): Use ALL_RM_TEST.
12262         (cos_tonearest_test_data): Remove.
12263         (cos_test_tonearest): Likewise.
12264         (cos_towardzero_test_data): Likewise.
12265         (cos_test_towardzero): Likewise.
12266         (cos_downward_test_data): Likewise.
12267         (cos_test_downward): Likewise.
12268         (cos_upward_test_data): Likewise.
12269         (cos_test_upward): Likewise.
12270         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12271         (cosh_test): Use ALL_RM_TEST.
12272         (cosh_tonearest_test_data): Remove.
12273         (cosh_test_tonearest): Likewise.
12274         (cosh_towardzero_test_data): Likewise.
12275         (cosh_test_towardzero): Likewise.
12276         (cosh_downward_test_data): Likewise.
12277         (cosh_test_downward): Likewise.
12278         (cosh_upward_test_data): Likewise.
12279         (cosh_test_upward): Likewise.
12280         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12281         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12282         (ctan_test_data): Likewise.
12283         (ctan_test): Use ALL_RM_TEST.
12284         (ctan_tonearest_test_data): Remove.
12285         (ctan_test_tonearest): Likewise.
12286         (ctan_towardzero_test_data): Likewise.
12287         (ctan_test_towardzero): Likewise.
12288         (ctan_downward_test_data): Likewise.
12289         (ctan_test_downward): Likewise.
12290         (ctan_upward_test_data): Likewise.
12291         (ctan_test_upward): Likewise.
12292         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12293         (ctanh_test): Use ALL_RM_TEST.
12294         (ctanh_tonearest_test_data): Remove.
12295         (ctanh_test_tonearest): Likewise.
12296         (ctanh_towardzero_test_data): Likewise.
12297         (ctanh_test_towardzero): Likewise.
12298         (ctanh_downward_test_data): Likewise.
12299         (ctanh_test_downward): Likewise.
12300         (ctanh_upward_test_data): Likewise.
12301         (ctanh_test_upward): Likewise.
12302         (erf_test_data): Update call to AUTO_TESTS_f_f.
12303         (erfc_test_data): Likewise.
12304         (exp_test_data): Likewise.
12305         (exp_test): Use ALL_RM_TEST.
12306         (exp_tonearest_test_data): Remove.
12307         (exp_test_tonearest): Likewise.
12308         (exp_towardzero_test_data): Likewise.
12309         (exp_test_towardzero): Likewise.
12310         (exp_downward_test_data): Likewise.
12311         (exp_test_downward): Likewise.
12312         (exp_upward_test_data): Likewise.
12313         (exp_test_upward): Likewise.
12314         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12315         (exp10_test): Use ALL_RM_TEST.
12316         (exp10_tonearest_test_data): Remove.
12317         (exp10_test_tonearest): Likewise.
12318         (exp10_towardzero_test_data): Likewise.
12319         (exp10_test_towardzero): Likewise.
12320         (exp10_downward_test_data): Likewise.
12321         (exp10_test_downward): Likewise.
12322         (exp10_upward_test_data): Likewise.
12323         (exp10_test_upward): Likewise.
12324         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12325         (expm1_test_data): Likewise.
12326         (expm1_test): Use ALL_RM_TEST.
12327         (expm1_tonearest_test_data): Remove.
12328         (expm1_test_tonearest): Likewise.
12329         (expm1_towardzero_test_data): Likewise.
12330         (expm1_test_towardzero): Likewise.
12331         (expm1_downward_test_data): Likewise.
12332         (expm1_test_downward): Likewise.
12333         (expm1_upward_test_data): Likewise.
12334         (expm1_test_upward): Likewise.
12335         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12336         (fma_test): Use ALL_RM_TEST.
12337         (fma_towardzero_test_data): Remove.
12338         (fma_test_towardzero): Likewise.
12339         (fma_downward_test_data): Likewise.
12340         (fma_test_downward): Likewise.
12341         (fma_upward_test_data): Likewise.
12342         (fma_test_upward): Likewise.
12343         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12344         (j0_test_data): Update call to AUTO_TESTS_f_f.
12345         (j1_test_data): Likewise.
12346         (jn_test_data): Update call to AUTO_TESTS_if_f.
12347         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12348         (log_test_data): Update call to AUTO_TESTS_f_f.
12349         (log10_test_data): Likewise.
12350         (log1p_test_data): Likewise.
12351         (log2_test_data): Likewise.
12352         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12353         (pow_tonearest_test_data): Likewise.
12354         (sin_test_data): Update call to AUTO_TESTS_f_f.
12355         (sin_test): Use ALL_RM_TEST.
12356         (sin_tonearest_test_data): Remove.
12357         (sin_test_tonearest): Likewise.
12358         (sin_towardzero_test_data): Likewise.
12359         (sin_test_towardzero): Likewise.
12360         (sin_downward_test_data): Likewise.
12361         (sin_test_downward): Likewise.
12362         (sin_upward_test_data): Likewise.
12363         (sin_test_upward): Likewise.
12364         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12365         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12366         (sinh_test): Use ALL_RM_TEST.
12367         (sinh_tonearest_test_data): Remove.
12368         (sinh_test_tonearest): Likewise.
12369         (sinh_towardzero_test_data): Likewise.
12370         (sinh_test_towardzero): Likewise.
12371         (sinh_downward_test_data): Likewise.
12372         (sinh_test_downward): Likewise.
12373         (sinh_upward_test_data): Likewise.
12374         (sinh_test_upward): Likewise.
12375         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12376         (sqrt_test): Use ALL_RM_TEST.
12377         (sqrt_tonearest_test_data): Remove.
12378         (sqrt_test_tonearest): Likewise.
12379         (sqrt_towardzero_test_data): Likewise.
12380         (sqrt_test_towardzero): Likewise.
12381         (sqrt_downward_test_data): Likewise.
12382         (sqrt_test_downward): Likewise.
12383         (sqrt_upward_test_data): Likewise.
12384         (sqrt_test_upward): Likewise.
12385         (tan_test_data): Update call to AUTO_TESTS_f_f.
12386         (tan_test): Use ALL_RM_TEST.
12387         (tan_tonearest_test_data): Remove.
12388         (tan_test_tonearest): Likewise.
12389         (tan_towardzero_test_data): Likewise.
12390         (tan_test_towardzero): Likewise.
12391         (tan_downward_test_data): Likewise.
12392         (tan_test_downward): Likewise.
12393         (tan_upward_test_data): Likewise.
12394         (tan_test_upward): Likewise.
12395         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12396         (tgamma_test_data): Likewise.
12397         (y0_test_data): Likewise.
12398         (y1_test_data): Likewise.
12399         (yn_test_data): Update call to AUTO_TESTS_if_f.
12400         (main): Do not call removed functions.
12402 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12404         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12405         (ldexp_test_data): Remove.
12406         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12407         scalbn_test_data.
12408         (scalb_test): Use ALL_RM_TEST.
12410 2014-03-19  Andreas Schwab  <schwab@suse.de>
12412         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12414 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12416         [BZ #16649]
12417         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12418         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12419         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12420         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12421         (__ASSUME_PREADV): Undefine.
12422         (__ASSUME_PWRITEV): Likewise.
12424 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12426         * bits/mman-linux.h: Add comment about non-Linux use.
12427         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12428         bits/mman-linux.h resting place.
12430         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12431         * bits/mman-linux.h: ... here.
12433 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12435         * conform/conformtest.pl: Add standard definition when calling C
12436         preprocessor on data files.
12437         (checknamespace): Remove unused variable.
12439 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12441         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12442         minus_oflow, plus_uflow and minus_uflow in expected results.
12443         * math/libm-test.inc (scalbn_test_data): Add more tests of
12444         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12445         minus_uflow.
12446         (scalbn_test): Use ALL_RM_TEST.
12447         (scalbln_test_data): Add more tests of negative arguments.  Use
12448         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12449         (scalbln_test): Use ALL_RM_TEST.
12451 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12453         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12455 2014-03-18  Will Newton  <will.newton@linaro.org>
12457         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12458         inaccurate comment.
12460 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12462         * Makerules [!subdir] (check-abi): Exit with error status if a
12463         test failed.
12465 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12467         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12468         for rint.  Include results for all rounding modes.
12469         (nearbyint_test): Use ALL_RM_TEST.
12470         (rint_test_data): Include all tests used for nearbyint.
12472 2014-03-17  Will Newton  <will.newton@linaro.org>
12474         * nptl/sysdeps/pthread/pthread.h: Revert previous
12475         change.
12477         * sysdeps/generic/ldsodefs.h: Revert previous
12478         change.
12480         * libio/genops.c: Revert previous change.
12481         * libio/libioP.h: Likewise.
12482         * stdio-common/vfprintf.c: Likewise.
12484         * sysdeps/generic/math_private.h: Revert previous
12485         change.
12487         * sysdeps/generic/math_private.h: Check whether
12488         HAVE_RM_CTX is defined with #ifdef rather
12489         than #if.
12491         * argp/argp-fmtstream.h: Check whether
12492         __STRICT_ANSI__ is defined with #ifdef rather
12493         than #if.
12494         * argp/argp.h: Likewise.
12496         * libio/genops.c: Check whether
12497         _IO_JUMPS_OFFSET is defined with #ifdef rather
12498         than #if.
12499         * libio/libioP.h: Likewise.
12500         * stdio-common/vfprintf.c: Likewise.
12502         * sysdeps/generic/ldsodefs.h: Check whether
12503         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12504         than #if.
12506         * nptl/sysdeps/pthread/pthread.h: Check
12507         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12508         its value.
12510 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12512         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12513         setting O_APPEND.
12514         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12515         test case.
12517         [BZ #16680]
12518         * libio/fileops.c (_IO_file_open): Seek to end of file but
12519         don't cache the offset.
12520         (get_file_offset): Remove function.
12521         (do_ftell): Use cached offset when available.
12522         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12523         don't cache the offset.
12524         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12525         case.
12526         (do_one_test): Call it.
12527         (do_ftell_test): Fix up expected old offset for a+ mode.
12528         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12529         available.
12531         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12532         up test status with function return status.
12533         (do_write_test): Likewise.
12534         (do_append_test): Likewise.
12536         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12537         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12538         Remove.
12540 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12542         * math/gen-libm-test.pl (parse_args): Handle results specified for
12543         each rounding mode separately.
12544         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12545         tests and results from lrint_tonearest_test_data,
12546         lrint_towardzero_test_data, lrint_downward_test_data and
12547         lrint_upward_test_data.
12548         (lrint_test): Use ALL_RM_TEST.
12549         (lrint_tonearest_test_data): Remove.
12550         (lrint_test_tonearest): Likewise.
12551         (lrint_towardzero_test_data): Likewise.
12552         (lrint_test_towardzero): Likewise.
12553         (lrint_downward_test_data): Likewise.
12554         (lrint_test_downward): Likewise.
12555         (lrint_upward_test_data): Likewise.
12556         (lrint_test_upward): Likewise.
12557         (llrint_test_data): Merge in per-rounding-mode tests and results
12558         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12559         llrint_downward_test_data and llrint_upward_test_data.
12560         (llrint_test): Use ALL_RM_TEST.
12561         (llrint_tonearest_test_data): Remove.
12562         (llrint_test_tonearest): Likewise.
12563         (llrint_towardzero_test_data): Likewise.
12564         (llrint_test_towardzero): Likewise.
12565         (llrint_downward_test_data): Likewise.
12566         (llrint_test_downward): Likewise.
12567         (llrint_upward_test_data): Likewise.
12568         (llrint_test_upward): Likewise.
12569         (rint_test_data): Merge in per-rounding-mode tests and results
12570         from rint_tonearest_test_data, rint_towardzero_test_data,
12571         rint_downward_test_data and rint_upward_test_data.  Add
12572         per-rounding-mode results for tests not in those arrays.
12573         (rint_test): Use ALL_RM_TEST.
12574         (rint_tonearest_test_data): Remove.
12575         (rint_test_tonearest): Likewise.
12576         (rint_towardzero_test_data): Likewise.
12577         (rint_test_towardzero): Likewise.
12578         (rint_downward_test_data): Likewise.
12579         (rint_test_downward): Likewise.
12580         (rint_upward_test_data): Likewise.
12581         (rint_test_upward): Likewise.
12582         (main): Don't call removed functions.
12584 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12586         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12587         "Compiled on ..." crapola.  It is anti-useful.
12589 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12591         * scripts/evaluate-test.sh: Handle fourth argument to determine
12592         whether test run should stop on failure.
12593         * Makeconfig (stop-on-test-failure): New variable.
12594         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12595         $(stop-on-test-failure).
12596         * Makefile (tests): Give a summary of results from testing and
12597         exit with failure status if they include an ERROR or FAIL.
12598         (xtests): Likewise.
12599         * manual/install.texi (Configuring and compiling): Mention
12600         stop-on-test-failure=y.
12601         * INSTALL: Regenerated.
12603 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12605         * scripts/versionlist.awk: New file.
12606         * Makerules [$(build-shared) = yes]
12607         (postclean-generated): Add Versions.def, not Versions.def.v and
12608         Versions.def.v.i.
12609         ($(common-objpfx)Versions.def.v.i): Target removed.
12610         ($(common-objpfx)Versions.def): New target.
12611         ($(common-objpfx)Versions.all): Depend on that rather that
12612         $(common-objpfx)Versions.def.v.
12613         * Versions.def: File removed.
12615         * Makeconfig (+gccwarn): Add -Wundef.
12616         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12617         a dl-sysdep.h breaking its contract.
12618         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12619         * include/stackinfo.h: New file.
12620         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12621         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12622         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12623         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12624         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12625         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12626         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12627         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12628         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12629         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12630         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12631         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12632         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12633         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12634         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12636 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12638         [BZ #16707]
12639         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12640         implementation.
12641         * math/libm-test.inc (round_test_data): Add more tests.
12643         [BZ #16706]
12644         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12645         implementation.
12646         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12648         [BZ #16701]
12649         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12650         implementation.
12651         * math/libm-test.inc (ceil_test_data): Add more tests.
12653         * math/libm-test.inc (trunc_test_data): Add more tests related to
12654         BZ#16414.
12656 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12658         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12659         with #if rather than #ifdef.
12660         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12662 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12664         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12665         first.  Disable AVX-512 GCC support if assembler doesn't support
12666         it.
12667         * sysdeps/x86_64/configure: Regenerated.
12669 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12671         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12672         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12673         (__old_pthread_attr_setstack): Likewise.
12674         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12675         [!_STACK_GROWS_DOWN]: Likewise.
12677 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12679         * config.make.in (have-bash2): Delete.
12680         * configure.ac (libc_cv_have_bash2): Delete.
12681         * configure: Regenerate.
12682         * elf/Makefile (common-ldd-rewrite): Rename to ...
12683         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12684         (sh-ldd-rewrite): Delete.
12685         (bash-ldd-rewrite): Delete.
12686         (have-bash2): Delete checks.
12687         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12688         ldd-rewrite.
12690         * config.make.in (have-ksh): Delete.
12691         (KSH): Delete.
12692         * configure.ac (libc_cv_have_ksh): Delete.
12693         * configure: Regenerate.
12695         * elf/Makefile: Delete $(have-ksh) check.
12696         ($(objpfx)sotruss): Change KSH to BASH.
12697         * elf/sotruss.ksh: Rename to ...
12698         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12699         function style to match POSIX.  Drop ksh vim mode setting.
12701         * manual/time.texi (Specifying the Time Zone with TZ): Change
12702         Tuesday to Thursday.
12704         * debug/tst-longjmp_chk2.c: Update header comment.
12705         (stackoverflow_handler): Add comment.  Call assert on pass value.
12707 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12709         [BZ #16194]
12710         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12711         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12712         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12713         (La_x86_64_vector): Add zmm.
12714         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12715         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12716         ($(objpfx)tst-audit10): New target.
12717         ($(objpfx)tst-audit10.out): Likewise.
12718         (tst-audit10-ENV): New.
12719         (AVX512-CFLAGS): Likewise.
12720         (CFLAGS-tst-audit10.c): Likewise.
12721         (CFLAGS-tst-auditmod10a.c): Likewise.
12722         (CFLAGS-tst-auditmod10b.c): Likewise.
12723         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12724         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12725         * sysdeps/x86_64/configure: Regenerated.
12726         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12727         AVX-512 zmm register support.
12728         (_dl_x86_64_save_sse): Likewise.
12729         (_dl_x86_64_restore_sse): Likewise.
12730         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12731         size vector registers.
12732         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12733         (ZMM_SIZE): Likewise.
12734         * sysdeps/x86_64/tst-audit10.c: New file.
12735         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12736         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12738 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12740         * configure.ac (HAVE_EHDR_START): New check.
12741         * configure: Regenerated.
12742         * config.h.in (HAVE_EHDR_START): New #undef.
12743         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12744         assuming the lowest-addressed segment maps the start of the file.
12746 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12748         * INSTALL: Regenerated.
12750 2014-03-13  Will Newton  <will.newton@linaro.org>
12752         * manual/setjmp.texi (System V contexts): Improve
12753         clarity and grammar of documentation.
12755 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12757         [BZ #16381]
12758         * elf/Makefile (tests): Add tst-pie2.
12759         (tests-pie): Add tst-pie2.
12760         * elf/tst-pie2.c: New file.
12761         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12762         for ET_EXEC.
12763         * elf/rtld.c (map_doit): Load executable as lt_executable.
12764         (dl_main): Likewise.
12766 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12768         [BZ #16642]
12769         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12770         (__ASSUME_PSELECT): Undefine.
12772 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12774         [BZ #16689]
12775         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12776         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12777         static build.
12778         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12779         selector for static builds.
12781 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12783         [BZ #16695]
12784         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12785         key in the buffer.
12787 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12789         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12790         IFUNC selector for static builds.
12792 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12794         * sysdeps/mips/math_private.h [__mips_hard_float]
12795         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12796         libc_feresetround_mips_ctx.
12797         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12798         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12799         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12801         [BZ #16677]
12802         * math/s_nextafter.c (__nextafter): Do not return value from
12803         overflowing computation.
12804         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12805         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12806         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12807         Likewise.
12808         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12809         Likewise.
12810         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12811         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12813 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12815         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12816         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12817         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12818         the new mov targetting sp.
12820 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12822         [BZ #16683]
12823         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12824         Define it for static builds as well.
12825         (NO_BZERO_IMPL): Likewise.
12827 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12829         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12830         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12831         multiarch strspn for PPC64.
12832         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12833         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12835         (__libc_ifunc_impl_list): Likewise.
12836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12837         multiarch optimizations
12838         * string/strspn.c (strspn): Using macro to redefine symbol name.
12840 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12841             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12843         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12844         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12845         multiarch strncat for PPC64.
12846         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12847         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12849         (__libc_ifunc_impl_list): Likewise.
12850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12851         multiarch optimizations
12853 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12855         [BZ #16639]
12856         * nscd/nscd.service: Make service type forking.
12858 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12860         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12861         sign in non default rounding modes.
12862         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12864 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
12866         * math/libm-test.inc (ALL_RM_TEST): New macro.
12867         (ceil_test): Use ALL_RM_TEST.
12868         (cimag_test): Likewise.
12869         (conj_test): Likewise.
12870         (copysign_test): Likewise.
12871         (cproj_test): Likewise.
12872         (creal_test): Likewise.
12873         (fabs_test): Likewise.
12874         (floor_test): Likewise.
12875         (fmax_test): Likewise.
12876         (fmin_test): Likewise.
12877         (fmod_test): Likewise.
12878         (fpclassify_test): Likewise.
12879         (frexp_test): Likewise.
12880         (ilogb_test): Likewise.
12881         (isfinite_test): Likewise.
12882         (finite_test): Likewise.
12883         (isgreater_test): Likewise.
12884         (isgreaterequal_test): Likewise.
12885         (isinf_test): Likewise.
12886         (isless_test): Likewise.
12887         (islessequal_test): Likewise.
12888         (islessgreater_test): Likewise.
12889         (isnan_test): Likewise.
12890         (isnormal_test): Likewise.
12891         (issignaling_test): Likewise.
12892         (isunordered_test): Likewise.
12893         (logb_test): Likewise.
12894         (logb_downward_test_data): Remove.
12895         (logb_test_downward): Likewise.
12896         (lround_test): Use ALL_RM_TEST.
12897         (llround_test): Likewise.
12898         (modf_test): Likewise.
12899         (nexttoward_test): Likewise.
12900         (remainder_test): Likewise.
12901         (drem_test): Likewise.
12902         (remainder_tonearest_test_data): Likewise.
12903         (remainder_test_tonearest): Likewise.
12904         (drem_test_tonearest): Likewise.
12905         (remainder_towardzero_test_data): Likewise.
12906         (remainder_test_towardzero): Likewise.
12907         (drem_test_towardzero): Likewise.
12908         (remainder_downward_test_data): Likewise.
12909         (remainder_test_downward): Likewise.
12910         (drem_test_downward): Likewise.
12911         (remainder_upward_test_data): Likewise.
12912         (remainder_test_upward): Likewise.
12913         (drem_test_upward): Likewise.
12914         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
12915         (round_test): Use ALL_RM_TEST.
12916         (signbit_test): Likewise.
12917         (trunc_test): Likewise.
12918         (significand_test): Likewise.
12919         (main): Don't call removed functions.
12921 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12923         [BZ #16674]
12924         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12925         || __USE_XOPEN2K8].
12926         (ILL_ILLOPN): Likewise.
12927         (ILL_ILLADR): Likewise.
12928         (ILL_ILLTRP): Likewise.
12929         (ILL_PRVOPC): Likewise.
12930         (ILL_PRVREG): Likewise.
12931         (ILL_COPROC): Likewise.
12932         (ILL_BADSTK): Likewise.
12933         (FPE_INTDIV): Likewise.
12934         (FPE_INTOVF): Likewise.
12935         (FPE_FLTDIV): Likewise.
12936         (FPE_FLTOVF): Likewise.
12937         (FPE_FLTUND): Likewise.
12938         (FPE_FLTRES): Likewise.
12939         (FPE_FLTINV): Likewise.
12940         (FPE_FLTSUB): Likewise.
12941         (SEGV_MAPERR): Likewise.
12942         (SEGV_ACCERR): Likewise.
12943         (BUS_ADRALN): Likewise.
12944         (BUS_ADRERR): Likewise.
12945         (BUS_OBJERR): Likewise.
12946         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12947         (TRAP_TRACE): Likewise.
12948         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12949         __USE_XOPEN2K8].
12950         (CLD_KILLED): Likewise.
12951         (CLD_DUMPED): Likewise.
12952         (CLD_TRAPPED): Likewise.
12953         (CLD_STOPPED): Likewise.
12954         (CLD_CONTINUED): Likewise.
12955         (POLL_IN): Likewise.
12956         (POLL_OUT): Likewise.
12957         (POLL_MSG): Likewise.
12958         (POLL_ERR): Likewise.
12959         (POLL_PRI): Likewise.
12960         (POLL_HUP): Likewise.
12961         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12962         Likewise.
12963         (ILL_ILLOPN): Likewise.
12964         (ILL_ILLADR): Likewise.
12965         (ILL_ILLTRP): Likewise.
12966         (ILL_PRVOPC): Likewise.
12967         (ILL_PRVREG): Likewise.
12968         (ILL_COPROC): Likewise.
12969         (ILL_BADSTK): Likewise.
12970         (FPE_INTDIV): Likewise.
12971         (FPE_INTOVF): Likewise.
12972         (FPE_FLTDIV): Likewise.
12973         (FPE_FLTOVF): Likewise.
12974         (FPE_FLTUND): Likewise.
12975         (FPE_FLTRES): Likewise.
12976         (FPE_FLTINV): Likewise.
12977         (FPE_FLTSUB): Likewise.
12978         (SEGV_MAPERR): Likewise.
12979         (SEGV_ACCERR): Likewise.
12980         (BUS_ADRALN): Likewise.
12981         (BUS_ADRERR): Likewise.
12982         (BUS_OBJERR): Likewise.
12983         (BUS_MCEERR_AR): Likewise.
12984         (BUS_MCEERR_AO): Likewise.
12985         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12986         (TRAP_TRACE): Likewise.
12987         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12988         __USE_XOPEN2K8].
12989         (CLD_KILLED): Likewise.
12990         (CLD_DUMPED): Likewise.
12991         (CLD_TRAPPED): Likewise.
12992         (CLD_STOPPED): Likewise.
12993         (CLD_CONTINUED): Likewise.
12994         (POLL_IN): Likewise.
12995         (POLL_OUT): Likewise.
12996         (POLL_MSG): Likewise.
12997         (POLL_ERR): Likewise.
12998         (POLL_PRI): Likewise.
12999         (POLL_HUP): Likewise.
13000         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13001         (ILL_ILLOPN): Likewise.
13002         (ILL_ILLADR): Likewise.
13003         (ILL_ILLTRP): Likewise.
13004         (ILL_PRVOPC): Likewise.
13005         (ILL_PRVREG): Likewise.
13006         (ILL_COPROC): Likewise.
13007         (ILL_BADSTK): Likewise.
13008         (FPE_INTDIV): Likewise.
13009         (FPE_INTOVF): Likewise.
13010         (FPE_FLTDIV): Likewise.
13011         (FPE_FLTOVF): Likewise.
13012         (FPE_FLTUND): Likewise.
13013         (FPE_FLTRES): Likewise.
13014         (FPE_FLTINV): Likewise.
13015         (FPE_FLTSUB): Likewise.
13016         (SEGV_MAPERR): Likewise.
13017         (SEGV_ACCERR): Likewise.
13018         (BUS_ADRALN): Likewise.
13019         (BUS_ADRERR): Likewise.
13020         (BUS_OBJERR): Likewise.
13021         (BUS_MCEERR_AR): Likewise.
13022         (BUS_MCEERR_AO): Likewise.
13023         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13024         (TRAP_TRACE): Likewise.
13025         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13026         __USE_XOPEN2K8].
13027         (CLD_KILLED): Likewise.
13028         (CLD_DUMPED): Likewise.
13029         (CLD_TRAPPED): Likewise.
13030         (CLD_STOPPED): Likewise.
13031         (CLD_CONTINUED): Likewise.
13032         (POLL_IN): Likewise.
13033         (POLL_OUT): Likewise.
13034         (POLL_MSG): Likewise.
13035         (POLL_ERR): Likewise.
13036         (POLL_PRI): Likewise.
13037         (POLL_HUP): Likewise.
13038         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13039         Likewise.
13040         (ILL_ILLOPN): Likewise.
13041         (ILL_ILLADR): Likewise.
13042         (ILL_ILLTRP): Likewise.
13043         (ILL_PRVOPC): Likewise.
13044         (ILL_PRVREG): Likewise.
13045         (ILL_COPROC): Likewise.
13046         (ILL_BADSTK): Likewise.
13047         (ILL_BADIADDR): Likewise.
13048         (ILL_BREAK): Likewise.
13049         (FPE_INTDIV): Likewise.
13050         (FPE_INTOVF): Likewise.
13051         (FPE_FLTDIV): Likewise.
13052         (FPE_FLTOVF): Likewise.
13053         (FPE_FLTUND): Likewise.
13054         (FPE_FLTRES): Likewise.
13055         (FPE_FLTINV): Likewise.
13056         (FPE_FLTSUB): Likewise.
13057         (FPE_DECOVF): Likewise.
13058         (FPE_DECDIV): Likewise.
13059         (FPE_DECERR): Likewise.
13060         (FPE_INVASC): Likewise.
13061         (FPE_INVDEC): Likewise.
13062         (SEGV_MAPERR): Likewise.
13063         (SEGV_ACCERR): Likewise.
13064         (SEGV_PSTKOVF): Likewise.
13065         (BUS_ADRALN): Likewise.
13066         (BUS_ADRERR): Likewise.
13067         (BUS_OBJERR): Likewise.
13068         (BUS_MCEERR_AR): Likewise.
13069         (BUS_MCEERR_AO): Likewise.
13070         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13071         (TRAP_TRACE): Likewise.
13072         (TRAP_BRANCH): Likewise.
13073         (TRAP_HWBKPT): Likewise.
13074         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13075         __USE_XOPEN2K8].
13076         (CLD_KILLED): Likewise.
13077         (CLD_DUMPED): Likewise.
13078         (CLD_TRAPPED): Likewise.
13079         (CLD_STOPPED): Likewise.
13080         (CLD_CONTINUED): Likewise.
13081         (POLL_IN): Likewise.
13082         (POLL_OUT): Likewise.
13083         (POLL_MSG): Likewise.
13084         (POLL_ERR): Likewise.
13085         (POLL_PRI): Likewise.
13086         (POLL_HUP): Likewise.
13087         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13088         (ILL_ILLOPN): Likewise.
13089         (ILL_ILLADR): Likewise.
13090         (ILL_ILLTRP): Likewise.
13091         (ILL_PRVOPC): Likewise.
13092         (ILL_PRVREG): Likewise.
13093         (ILL_COPROC): Likewise.
13094         (ILL_BADSTK): Likewise.
13095         (FPE_INTDIV): Likewise.
13096         (FPE_INTOVF): Likewise.
13097         (FPE_FLTDIV): Likewise.
13098         (FPE_FLTOVF): Likewise.
13099         (FPE_FLTUND): Likewise.
13100         (FPE_FLTRES): Likewise.
13101         (FPE_FLTINV): Likewise.
13102         (FPE_FLTSUB): Likewise.
13103         (SEGV_MAPERR): Likewise.
13104         (SEGV_ACCERR): Likewise.
13105         (BUS_ADRALN): Likewise.
13106         (BUS_ADRERR): Likewise.
13107         (BUS_OBJERR): Likewise.
13108         (BUS_MCEERR_AR): Likewise.
13109         (BUS_MCEERR_AO): Likewise.
13110         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13111         (TRAP_TRACE): Likewise.
13112         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13113         __USE_XOPEN2K8].
13114         (CLD_KILLED): Likewise.
13115         (CLD_DUMPED): Likewise.
13116         (CLD_TRAPPED): Likewise.
13117         (CLD_STOPPED): Likewise.
13118         (CLD_CONTINUED): Likewise.
13119         (POLL_IN): Likewise.
13120         (POLL_OUT): Likewise.
13121         (POLL_MSG): Likewise.
13122         (POLL_ERR): Likewise.
13123         (POLL_PRI): Likewise.
13124         (POLL_HUP): Likewise.
13125         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13126         (ILL_ILLOPN): Likewise.
13127         (ILL_ILLADR): Likewise.
13128         (ILL_ILLTRP): Likewise.
13129         (ILL_PRVOPC): Likewise.
13130         (ILL_PRVREG): Likewise.
13131         (ILL_COPROC): Likewise.
13132         (ILL_BADSTK): Likewise.
13133         (FPE_INTDIV): Likewise.
13134         (FPE_INTOVF): Likewise.
13135         (FPE_FLTDIV): Likewise.
13136         (FPE_FLTOVF): Likewise.
13137         (FPE_FLTUND): Likewise.
13138         (FPE_FLTRES): Likewise.
13139         (FPE_FLTINV): Likewise.
13140         (FPE_FLTSUB): Likewise.
13141         (SEGV_MAPERR): Likewise.
13142         (SEGV_ACCERR): Likewise.
13143         (BUS_ADRALN): Likewise.
13144         (BUS_ADRERR): Likewise.
13145         (BUS_OBJERR): Likewise.
13146         (BUS_MCEERR_AR): Likewise.
13147         (BUS_MCEERR_AO): Likewise.
13148         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13149         (TRAP_TRACE): Likewise.
13150         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13151         __USE_XOPEN2K8].
13152         (CLD_KILLED): Likewise.
13153         (CLD_DUMPED): Likewise.
13154         (CLD_TRAPPED): Likewise.
13155         (CLD_STOPPED): Likewise.
13156         (CLD_CONTINUED): Likewise.
13157         (POLL_IN): Likewise.
13158         (POLL_OUT): Likewise.
13159         (POLL_MSG): Likewise.
13160         (POLL_ERR): Likewise.
13161         (POLL_PRI): Likewise.
13162         (POLL_HUP): Likewise.
13163         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13164         (ILL_ILLOPN): Likewise.
13165         (ILL_ILLADR): Likewise.
13166         (ILL_ILLTRP): Likewise.
13167         (ILL_PRVOPC): Likewise.
13168         (ILL_PRVREG): Likewise.
13169         (ILL_COPROC): Likewise.
13170         (ILL_BADSTK): Likewise.
13171         (FPE_INTDIV): Likewise.
13172         (FPE_INTOVF): Likewise.
13173         (FPE_FLTDIV): Likewise.
13174         (FPE_FLTOVF): Likewise.
13175         (FPE_FLTUND): Likewise.
13176         (FPE_FLTRES): Likewise.
13177         (FPE_FLTINV): Likewise.
13178         (FPE_FLTSUB): Likewise.
13179         (SEGV_MAPERR): Likewise.
13180         (SEGV_ACCERR): Likewise.
13181         (BUS_ADRALN): Likewise.
13182         (BUS_ADRERR): Likewise.
13183         (BUS_OBJERR): Likewise.
13184         (BUS_MCEERR_AR): Likewise.
13185         (BUS_MCEERR_AO): Likewise.
13186         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13187         (TRAP_TRACE): Likewise.
13188         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13189         __USE_XOPEN2K8].
13190         (CLD_KILLED): Likewise.
13191         (CLD_DUMPED): Likewise.
13192         (CLD_TRAPPED): Likewise.
13193         (CLD_STOPPED): Likewise.
13194         (CLD_CONTINUED): Likewise.
13195         (POLL_IN): Likewise.
13196         (POLL_OUT): Likewise.
13197         (POLL_MSG): Likewise.
13198         (POLL_ERR): Likewise.
13199         (POLL_PRI): Likewise.
13200         (POLL_HUP): Likewise.
13201         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13202         (ILL_ILLOPN): Likewise.
13203         (ILL_ILLADR): Likewise.
13204         (ILL_ILLTRP): Likewise.
13205         (ILL_PRVOPC): Likewise.
13206         (ILL_PRVREG): Likewise.
13207         (ILL_COPROC): Likewise.
13208         (ILL_BADSTK): Likewise.
13209         (ILL_DBLFLT): Likewise.
13210         (ILL_HARDWALL): Likewise.
13211         (FPE_INTDIV): Likewise.
13212         (FPE_INTOVF): Likewise.
13213         (FPE_FLTDIV): Likewise.
13214         (FPE_FLTOVF): Likewise.
13215         (FPE_FLTUND): Likewise.
13216         (FPE_FLTRES): Likewise.
13217         (FPE_FLTINV): Likewise.
13218         (FPE_FLTSUB): Likewise.
13219         (SEGV_MAPERR): Likewise.
13220         (SEGV_ACCERR): Likewise.
13221         (BUS_ADRALN): Likewise.
13222         (BUS_ADRERR): Likewise.
13223         (BUS_OBJERR): Likewise.
13224         (BUS_MCEERR_AR): Likewise.
13225         (BUS_MCEERR_AO): Likewise.
13226         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13227         (TRAP_TRACE): Likewise.
13228         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13229         __USE_XOPEN2K8].
13230         (CLD_KILLED): Likewise.
13231         (CLD_DUMPED): Likewise.
13232         (CLD_TRAPPED): Likewise.
13233         (CLD_STOPPED): Likewise.
13234         (CLD_CONTINUED): Likewise.
13235         (POLL_IN): Likewise.
13236         (POLL_OUT): Likewise.
13237         (POLL_MSG): Likewise.
13238         (POLL_ERR): Likewise.
13239         (POLL_PRI): Likewise.
13240         (POLL_HUP): Likewise.
13241         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13242         (ILL_ILLOPN): Likewise.
13243         (ILL_ILLADR): Likewise.
13244         (ILL_ILLTRP): Likewise.
13245         (ILL_PRVOPC): Likewise.
13246         (ILL_PRVREG): Likewise.
13247         (ILL_COPROC): Likewise.
13248         (ILL_BADSTK): Likewise.
13249         (FPE_INTDIV): Likewise.
13250         (FPE_INTOVF): Likewise.
13251         (FPE_FLTDIV): Likewise.
13252         (FPE_FLTOVF): Likewise.
13253         (FPE_FLTUND): Likewise.
13254         (FPE_FLTRES): Likewise.
13255         (FPE_FLTINV): Likewise.
13256         (FPE_FLTSUB): Likewise.
13257         (SEGV_MAPERR): Likewise.
13258         (SEGV_ACCERR): Likewise.
13259         (BUS_ADRALN): Likewise.
13260         (BUS_ADRERR): Likewise.
13261         (BUS_OBJERR): Likewise.
13262         (BUS_MCEERR_AR): Likewise.
13263         (BUS_MCEERR_AO): Likewise.
13264         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13265         (TRAP_TRACE): Likewise.
13266         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13267         __USE_XOPEN2K8].
13268         (CLD_KILLED): Likewise.
13269         (CLD_DUMPED): Likewise.
13270         (CLD_TRAPPED): Likewise.
13271         (CLD_STOPPED): Likewise.
13272         (CLD_CONTINUED): Likewise.
13273         (POLL_IN): Likewise.
13274         (POLL_OUT): Likewise.
13275         (POLL_MSG): Likewise.
13276         (POLL_ERR): Likewise.
13277         (POLL_PRI): Likewise.
13278         (POLL_HUP): Likewise.
13279         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13280         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13282         [BZ #16670]
13283         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13284         before #include of <time.h>.
13285         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13286         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13287         (test-xfail-UNIX98/sched.h/conform): Likewise.
13289 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13291         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13292         error absence of trapping exception support.
13293         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13295 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13297         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13298         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13299         * timezone/Makefile (testdata): Move definition above include of
13300         Rules.
13301         (test-zones): New variable.
13302         (tests-special): Add zone files.
13303         (build-testdata): Use $(evaluate-test).
13305         * elf/Makefile (tests-special): Rename tests to end with .out.
13306         ($(objpfx)noload-mem): Likewise.
13307         ($(objpfx)tst-leaks1-mem): Likewise.
13308         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13309         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13310         $(objpfx)test-iconvconfig.out.
13311         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13312         set -e inside subshell and redirect output to file.
13313         * iconvdata/Makefile (generated): Rename tests to end with .out.
13314         Correct type.
13315         (tests-special): Rename tests to end with .out.
13316         ($(objpfx)mtrace-tst-loading): Likewise.
13317         * intl/Makefile (generated): Likewise.
13318         (tests-special): Likewise.
13319         ($(objpfx)mtrace-tst-gettext): Likewise.
13320         * misc/Makefile (generated): Likewise.
13321         (tests-special): Likewise.
13322         ($(objpfx)tst-error1-mem): Likewise.
13323         * nptl/Makefile (tests-special): Likewise.
13324         ($(objpfx)tst-stack3-mem): Likewise.
13325         (generated): Likewise.
13326         * posix/Makefile (generated): Likewise.
13327         (tests-special): Likewise.
13328         (xtests-special): Likewise.
13329         ($(objpfx)tst-fnmatch-mem): Likewise.
13330         ($(objpfx)bug-regex2-mem): Likewise.
13331         ($(objpfx)bug-regex14-mem): Likewise.
13332         ($(objpfx)bug-regex21-mem): Likewise.
13333         ($(objpfx)bug-regex31-mem): Likewise.
13334         ($(objpfx)tst-vfork3-mem): Likewise.
13335         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13336         ($(objpfx)tst-pcre-mem): Likewise.
13337         ($(objpfx)tst-boost-mem): Likewise.
13338         ($(objpfx)bug-ga2-mem): Likewise.
13339         ($(objpfx)bug-glob2-mem): Likewise.
13340         * resolv/Makefile (generate): Likewise.
13341         (tests-special): Likewise.
13342         (xtests-special): Likewise.
13343         (generated): Likewise.
13344         ($(objpfx)mtrace-tst-leaks): Likewise.
13345         ($(objpfx)mtrace-tst-leaks2): Likewise.
13347         * scripts/merge-test-results.sh: New file.
13348         * Makefile (tests-special-notdir): New variable.
13349         (tests): Run merge-test-results.sh.
13350         (xtests): Likewise.
13351         * Rules (tests-special-notdir): New variable.
13352         (xtests-special-notdir): Likewise.
13353         (tests): Run merge-test-results.sh
13354         (xtests): Likewise.
13356         * Makeconfig (test-xfail-name): New variable.
13357         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13358         compute variable name for expected failures.
13359         * conform/Makefile (conformtest-headers-data): New variable.
13360         (conformtest-standards): Likewise.
13361         (conformtest-headers-ISO): Likewise.
13362         (conformtest-headers-ISO99): Likewise.
13363         (conformtest-headers-ISO11): Likewise.
13364         (conformtest-headers-POSIX): Likewise.
13365         (conformtest-headers-XPG3): Likewise.
13366         (conformtest-headers-XPG4): Likewise.
13367         (conformtest-headers-UNIX98): Likewise.
13368         (conformtest-headers-XOPEN2K): Likewise.
13369         (conformtest-headers-POSIX2008): Likewise.
13370         (conformtest-headers-XOPEN2K8): Likewise.
13371         (conformtest-header-list-base): Likewise.
13372         (conformtest-header-list-tests): Likewise.
13373         (conformtest-header-base): Likewise.
13374         (conformtest-header-tests): Likewise.
13375         (tests-special): Add $(conformtest-header-list-tests).  If
13376         [$(fast-check) && !$(cross-compiling)], add
13377         $(conformtest-header-tests) instead of
13378         $(objpfx)run-conformtest.out.
13379         (generated): Add $(conformtest-header-list-base).  If
13380         [$(fast-check) && !$(cross-compiling)], add
13381         $(conformtest-header-base).  Remove previous setting.
13382         ($(conformtest-header-list-tests)): New target.
13383         (test-xfail-run-conformtest): Remove variable.
13384         ($(objpfx)run-conformtest.out): Remove target.
13385         (test-xfail-ISO11/complex.h/conform): New variable.
13386         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13387         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13388         (test-xfail-XPG3/varargs.h/conform): Likewise.
13389         (test-xfail-XPG4/varargs.h/conform): Likewise.
13390         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13391         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13392         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13393         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13394         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13395         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13396         (test-xfail-XPG3/ftw.h/conform): Likewise.
13397         (test-xfail-XPG3/grp.h/conform): Likewise.
13398         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13399         (test-xfail-XPG3/limits.h/conform): Likewise.
13400         (test-xfail-XPG3/pwd.h/conform): Likewise.
13401         (test-xfail-XPG3/search.h/conform): Likewise.
13402         (test-xfail-XPG3/signal.h/conform): Likewise.
13403         (test-xfail-XPG3/stdio.h/conform): Likewise.
13404         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13405         (test-xfail-XPG3/string.h/conform): Likewise.
13406         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13407         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13408         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13409         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13410         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13411         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13412         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13413         (test-xfail-XPG3/termios.h/conform): Likewise.
13414         (test-xfail-XPG3/time.h/conform): Likewise.
13415         (test-xfail-XPG3/unistd.h/conform): Likewise.
13416         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13417         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13418         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13419         (test-xfail-XPG4/netdb.h/conform): Likewise.
13420         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13421         (test-xfail-XPG4/signal.h/conform): Likewise.
13422         (test-xfail-XPG4/stdio.h/conform): Likewise.
13423         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13424         (test-xfail-XPG4/stropts.h/conform): Likewise.
13425         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13426         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13427         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13428         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13429         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13430         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13431         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13432         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13433         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13434         (test-xfail-XPG4/termios.h/conform): Likewise.
13435         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13436         (test-xfail-XPG4/unistd.h/conform): Likewise.
13437         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13438         (test-xfail-POSIX/sched.h/conform): Likewise.
13439         (test-xfail-POSIX/signal.h/conform): Likewise.
13440         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13441         (test-xfail-POSIX/tar.h/conform): Likewise.
13442         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13443         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13444         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13445         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13446         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13447         (test-xfail-UNIX98/sched.h/conform): Likewise.
13448         (test-xfail-UNIX98/signal.h/conform): Likewise.
13449         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13450         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13451         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13452         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13453         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13454         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13455         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13456         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13457         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13458         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13459         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13460         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13461         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13462         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13463         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13464         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13465         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13466         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13467         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13468         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13469         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13470         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13471         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13472         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13473         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13474         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13475         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13476         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13477         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13478         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13479         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13480         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13481         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13482         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13483         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13484         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13485         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13486         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13487         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13488         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13489         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13490         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13491         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13492         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13493         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13494         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13495         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13496         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13497         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13498         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13499         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13500         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13501         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13502         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13503         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13504         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13505         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13506         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13507         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13508         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13509         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13510         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13511         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13512         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13513         (conformtest-cc-flags): Likewise.
13514         ($(conformtest-header-tests): New target.
13515         * conform/check-header-lists.sh: New file.
13516         * conform/run-conformtest.sh: Remove.
13518         * conform/conformtest.pl: Allow ' and \ in values given for
13519         constants.
13520         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13521         inclusion.
13522         [POSIX] (sys/types.h): Likewise.
13523         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13524         inclusion.
13525         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13526         inclusion.
13527         * conform/data/signal.h-data (SIGIO): Remove expectation.
13528         [XPG3] (SIGBUS): Do not expect.
13529         [POSIX || XPG3] (SIGPOLL): Likewise.
13530         [POSIX || XPG3] (SIGPROF): Likewise.
13531         [POSIX || XPG3] (SIGSYS): Likewise.
13532         [XPG3] (SIGTRAP): Likewise.
13533         [POSIX || XPG3] (SIGURG): Likewise.
13534         [POSIX || XPG3] (SIGVTALRM): Likewise.
13535         [POSIX || XPG3] (SIGXCPU): Likewise.
13536         [POSIX || XPG3] (SIGXFSZ): Likewise.
13537         [POSIX] (SA_SIGINFO): Expect.
13538         [XPG3] (siginfo_t): Do not expect type or contents.
13539         [POSIX] (si_pid): Do not expect element.
13540         [POSIX] (si_uid): Likewise.
13541         [POSIX] (si_addr): Likewise.
13542         [POSIX] (si_status): Likewise.
13543         [POSIX] (si_band): Likewise.
13544         [XPG4] (si_value): Likewise.
13545         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13546         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13547         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13548         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13549         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13550         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13551         [POSIX || XPG3] (ILL_COPROC): Likewise.
13552         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13553         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13554         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13555         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13556         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13557         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13558         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13559         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13560         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13561         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13562         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13563         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13564         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13565         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13566         [POSIX || XPG3] (CLD_EXITED): Likewise.
13567         [POSIX || XPG3] (CLD_KILLED): Likewise.
13568         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13569         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13570         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13571         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13572         [POSIX || XPG3] (POLL_IN): Likewise.
13573         [POSIX || XPG3] (POLL_OUT): Likewise.
13574         [POSIX || XPG3] (POLL_MSG): Likewise.
13575         [POSIX || XPG3] (POLL_ERR): Likewise.
13576         [POSIX || XPG3] (POLL_PRI): Likewise.
13577         [POSIX || XPG3] (POLL_HUP): Likewise.
13578         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13579         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13580         (SIG*): Do not allow.
13581         [XPG3] (si_*): Likewise.
13582         [XPG3] (SI_*): Likewise.
13583         [XPG3 || XPG4] (sigev_*): Likewise.
13584         [XPG3 || XPG4] (SIGEV_*): Likewise.
13585         [XPG3 || XPG4] (sival_*): Likewise.
13586         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13587         [POSIX || XPG3] (BUS_*): Likewise.
13588         [POSIX || XPG3] (CLD_*): Likewise.
13589         [POSIX || XPG3] (FPE_*): Likewise.
13590         [POSIX || XPG3] (ILL_*): Likewise.
13591         [POSIX || XPG3] (POLL_*): Likewise.
13592         [POSIX || XPG3] (SEGV_*): Likewise.
13593         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13594         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13595         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13596         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13597         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13598         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13599         Specify type and value.
13600         (TVERSLEN): Likewise.
13601         (REGTYPE): Likewise.
13602         (AREGTYPE): Likewise.
13603         (LNKTYPE): Likewise.
13604         (SYMTYPE): Likewise.
13605         (CHRTYPE): Likewise.
13606         (BLKTYPE): Likewise.
13607         (DIRTYPE): Likewise.
13608         (FIFOTYPE): Likewise.
13609         (CONTTYPE): Likewise.
13610         (TSUID): Likewise.
13611         (TSGID): Likewise.
13612         (TSVTX): Likewise.
13613         (TUREAD): Likewise.
13614         (TUWRITE): Likewise.
13615         (TUEXEC): Likewise.
13616         (TGREAD): Likewise.
13617         (TGWRITE): Likewise.
13618         (TGEXEC): Likewise.
13619         (TOREAD): Likewise.
13620         (TOWRITE): Likewise.
13621         (TOEXEC): Likewise.
13622         [POSIX] (TSVTX): Expect constant.
13624 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13626         * Makefile (tests): Change dependencies to ....
13627         (tests-special): ... additions to this variable.
13628         (tests): Depend on $(tests-special).
13629         * Makerules (check-abi-list): New variable.
13630         (check-abi): Depend on $(check-abi-list).
13631         [$(subdir) = elf] (tests-special): Add
13632         $(objpfx)check-abi-libc.out.
13633         [$(build-shared) = yes && subdir] (tests-special): Add
13634         $(check-abi-list).
13635         [$(build-shared) = yes && subdir] (tests): Do not depend on
13636         check-abi.
13637         * Rules (tests): Depend on $(tests-special).
13638         (xtests): Depend on $(xtests-special).
13639         * catgets/Makefile (tests): Change dependencies to ....
13640         (tests-special): ... additions to this variable.
13641         * conform/Makefile (tests): Change dependencies to ....
13642         (tests-special): ... additions to this variable.
13643         * elf/Makefile (tests): Change dependencies to ....
13644         (tests-special): ... additions to this variable.
13645         * grp/Makefile (tests): Change dependencies to ....
13646         (tests-special): ... additions to this variable.
13647         * iconv/Makefile (xtests): Change dependencies to ....
13648         (xtests-special): ... additions to this variable.
13649         * iconvdata/Makefile (tests): Change dependencies to ....
13650         (tests-special): ... additions to this variable.
13651         * intl/Makefile (tests): Change dependencies to ....
13652         (tests-special): ... additions to this variable.  Also add
13653         $(objpfx)tst-gettext.out.
13654         * io/Makefile (tests): Change dependencies to ....
13655         (tests-special): ... additions to this variable.
13656         * libio/Makefile (tests): Change dependencies to ....
13657         (tests-special): ... additions to this variable.
13658         * malloc/Makefile (tests): Change dependencies to ....
13659         (tests-special): ... additions to this variable.
13660         * misc/Makefile (tests): Change dependencies to ....
13661         (tests-special): ... additions to this variable.
13662         * nptl/Makefile (tests): Change dependencies to ....
13663         (tests-special): ... additions to this variable.
13664         * nptl_db/Makefile (tests): Change dependencies to ....
13665         (tests-special): ... additions to this variable.
13666         * posix/Makefile (tests): Change dependencies to ....
13667         (tests-special): ... additions to this variable.
13668         (xtests): Change dependencies to ....
13669         (xtests-special): ... additions to this variable.
13670         * resolv/Makefile (tests): Change dependencies to ....
13671         (tests-special): ... additions to this variable.
13672         (xtests): Change dependencies to ....
13673         (xtests-special): ... additions to this variable.
13674         * stdio-common/Makefile (tests): Change dependencies to ....
13675         (tests-special): ... additions to this variable.
13676         (do-tst-unbputc): Remove target.
13677         (do-tst-printf): Likewise.
13678         * stdlib/Makefile (tests): Change dependencies to ....
13679         (tests-special): ... additions to this variable.
13680         * string/Makefile (tests): Change dependencies to ....
13681         (tests-special): ... additions to this variable.
13682         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13683         (tests-special): ... additions to this variable.
13685         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13686         whole file.
13687         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13688         whole file.
13689         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13690         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13692         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13693         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13694         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13695         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13696         * conform/data/libgen.h-data [XPG3]: Likewise.
13697         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13698         * conform/data/ndbm.h-data [XPG3]: Likewise.
13699         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13700         * conform/data/netdb.h-data [XPG3]: Likewise.
13701         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13702         * conform/data/poll.h-data [XPG3]: Likewise.
13703         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13704         * conform/data/strings.h-data [XPG3]: Likewise.
13705         * conform/data/stropts.h-data [XPG3]: Likewise.
13706         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13707         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13708         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13709         Likewise.
13710         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13711         * conform/data/sys/time.h-data [XPG3]: Likewise.
13712         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13713         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13714         * conform/data/sys/un.h-data [XPG3]: Likewise.
13715         * conform/data/syslog.h-data [XPG3]: Likewise.
13716         * conform/data/ucontext.h-data [XPG3]: Likewise.
13717         * conform/data/utmpx.h-data [XPG3]: Likewise.
13718         * conform/data/varargs.h-data [UNIX98]: Enable file.
13720         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13722         * math/libm-test.inc (struct test_f_f_data): Move expected results
13723         into structure for each rounding mode.
13724         (struct test_ff_f_data): Likewise.
13725         (struct test_ff_f_data_nexttoward): Likewise.
13726         (struct test_fi_f_data): Likewise.
13727         (struct test_fl_f_data): Likewise.
13728         (struct test_if_f_data): Likewise.
13729         (struct test_fff_f_data): Likewise.
13730         (struct test_c_f_data): Likewise.
13731         (struct test_f_f1_data): Likewise.
13732         (struct test_fF_f1_data): Likewise.
13733         (struct test_ffI_f1_data): Likewise.
13734         (struct test_c_c_data): Likewise.
13735         (struct test_cc_c_data): Likewise.
13736         (struct test_f_i_data): Likewise.
13737         (struct test_ff_i_data): Likewise.
13738         (struct test_f_l_data): Likewise.
13739         (struct test_f_L_data): Likewise.
13740         (struct test_fFF_11_data): Likewise.
13741         (RM_): New macro.
13742         (RM_FE_DOWNWARD): Likewise.
13743         (RM_FE_TONEAREST): Likewise.
13744         (RM_FE_TOWARDZERO): Likewise.
13745         (RM_FE_UPWARD): Likewise.
13746         (RUN_TEST_LOOP_f_f): Update references to expected results.
13747         (RUN_TEST_LOOP_2_f): Likewise.
13748         (RUN_TEST_LOOP_fff_f): Likewise.
13749         (RUN_TEST_LOOP_c_f): Likewise.
13750         (RUN_TEST_LOOP_f_f1): Likewise.
13751         (RUN_TEST_LOOP_fF_f1): Likewise.
13752         (RUN_TEST_LOOP_fI_f1): Likewise.
13753         (RUN_TEST_LOOP_ffI_f1): Likewise.
13754         (RUN_TEST_LOOP_c_c): Likewise.
13755         (RUN_TEST_LOOP_cc_c): Likewise.
13756         (RUN_TEST_LOOP_f_i): Likewise.
13757         (RUN_TEST_LOOP_f_i_tg): Likewise.
13758         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13759         (RUN_TEST_LOOP_f_b): Likewise.
13760         (RUN_TEST_LOOP_f_b_tg): Likewise.
13761         (RUN_TEST_LOOP_f_l): Likewise.
13762         (RUN_TEST_LOOP_f_L): Likewise.
13763         (RUN_TEST_LOOP_fFF_11): Likewise.
13764         * math/gen-libm-test.pl (parse_args): Output four copies of
13765         expected results for each test.
13767         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13768         (__ASSUME_UTIMES): Remove.
13769         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13770         (__ASSUME_UTIMES): Likewise.
13772         * math/gen-auto-libm-tests.c: Update comment on output format.
13773         (output_for_one_input_case): Generate before-rounding and
13774         after-rounding information as conditions on output flags not
13775         floating-point format.
13776         * math/auto-libm-test-out: Regenerated.
13777         * math/gen-libm-test.pl (cond_value): New function.
13778         (or_cond_value): Use cond_value.
13779         (generate_testfile): Handle conditional exceptions.
13781 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13783         * math/libm-test.inc (max_valid_error): New variable.
13784         (init_max_error): Take new argument specifying whether function
13785         results are exactly determined.  Set max_valid_error and bound
13786         other variables for errors based on this argument.
13787         (set_max_error): Do not record results above max_valid_error.
13788         (check_float_internal): Only accept errors of up to 0.5ulps if
13789         also at most max_valid_error.
13790         (START): Take new argument EXACT and pass it to init_max_error.
13791         (acos_test): Update call to START.
13792         (acos_test_tonearest): Likewise.
13793         (acos_test_towardzero): Likewise.
13794         (acos_test_downward): Likewise.
13795         (acos_test_upward): Likewise.
13796         (acosh_test): Likewise.
13797         (asin_test): Likewise.
13798         (asin_test_tonearest): Likewise.
13799         (asin_test_towardzero): Likewise.
13800         (asin_test_downward): Likewise.
13801         (asin_test_upward): Likewise.
13802         (asinh_test): Likewise.
13803         (atan_test): Likewise.
13804         (atanh_test): Likewise.
13805         (atan2_test): Likewise.
13806         (cabs_test): Likewise.
13807         (cacos_test): Likewise.
13808         (cacosh_test): Likewise.
13809         (carg_test): Likewise.
13810         (casin_test): Likewise.
13811         (casinh_test): Likewise.
13812         (catan_test): Likewise.
13813         (catanh_test): Likewise.
13814         (cbrt_test): Likewise.
13815         (ccos_test): Likewise.
13816         (ccosh_test): Likewise.
13817         (ceil_test): Likewise.
13818         (cexp_test): Likewise.
13819         (cimag_test): Likewise.
13820         (clog_test): Likewise.
13821         (clog10_test): Likewise.
13822         (conj_test): Likewise.
13823         (copysign_test): Likewise.
13824         (cos_test): Likewise.
13825         (cos_test_tonearest): Likewise.
13826         (cos_test_towardzero): Likewise.
13827         (cos_test_downward): Likewise.
13828         (cos_test_upward): Likewise.
13829         (cosh_test): Likewise.
13830         (cosh_test_tonearest): Likewise.
13831         (cosh_test_towardzero): Likewise.
13832         (cosh_test_downward): Likewise.
13833         (cosh_test_upward): Likewise.
13834         (cpow_test): Likewise.
13835         (cproj_test): Likewise.
13836         (creal_test): Likewise.
13837         (csin_test): Likewise.
13838         (csinh_test): Likewise.
13839         (csqrt_test): Likewise.
13840         (ctan_test): Likewise.
13841         (ctan_test_tonearest): Likewise.
13842         (ctan_test_towardzero): Likewise.
13843         (ctan_test_downward): Likewise.
13844         (ctan_test_upward): Likewise.
13845         (ctanh_test): Likewise.
13846         (ctanh_test_tonearest): Likewise.
13847         (ctanh_test_towardzero): Likewise.
13848         (ctanh_test_downward): Likewise.
13849         (ctanh_test_upward): Likewise.
13850         (erf_test): Likewise.
13851         (erfc_test): Likewise.
13852         (exp_test): Likewise.
13853         (exp_test_tonearest): Likewise.
13854         (exp_test_towardzero): Likewise.
13855         (exp_test_downward): Likewise.
13856         (exp_test_upward): Likewise.
13857         (exp10_test): Likewise.
13858         (exp10_test_tonearest): Likewise.
13859         (exp10_test_towardzero): Likewise.
13860         (exp10_test_downward): Likewise.
13861         (exp10_test_upward): Likewise.
13862         (pow10_test): Likewise.
13863         (exp2_test): Likewise.
13864         (expm1_test): Likewise.
13865         (expm1_test_tonearest): Likewise.
13866         (expm1_test_towardzero): Likewise.
13867         (expm1_test_downward): Likewise.
13868         (expm1_test_upward): Likewise.
13869         (fabs_test): Likewise.
13870         (fdim_test): Likewise.
13871         (floor_test): Likewise.
13872         (fma_test): Likewise.
13873         (fma_test_towardzero): Likewise.
13874         (fma_test_downward): Likewise.
13875         (fma_test_upward): Likewise.
13876         (fmax_test): Likewise.
13877         (fmin_test): Likewise.
13878         (fmod_test): Likewise.
13879         (fpclassify_test): Likewise.
13880         (frexp_test): Likewise.
13881         (hypot_test): Likewise.
13882         (ilogb_test): Likewise.
13883         (isfinite_test): Likewise.
13884         (finite_test): Likewise.
13885         (isgreater_test): Likewise.
13886         (isgreaterequal_test): Likewise.
13887         (isinf_test): Likewise.
13888         (isless_test): Likewise.
13889         (islessequal_test): Likewise.
13890         (islessgreater_test): Likewise.
13891         (isnan_test): Likewise.
13892         (isnormal_test): Likewise.
13893         (issignaling_test): Likewise.
13894         (isunordered_test): Likewise.
13895         (j0_test): Likewise.
13896         (j1_test): Likewise.
13897         (jn_test): Likewise.
13898         (ldexp_test): Likewise.
13899         (lgamma_test): Likewise.
13900         (gamma_test): Likewise.
13901         (lrint_test): Likewise.
13902         (lrint_test_tonearest): Likewise.
13903         (lrint_test_towardzero): Likewise.
13904         (lrint_test_downward): Likewise.
13905         (lrint_test_upward): Likewise.
13906         (llrint_test): Likewise.
13907         (llrint_test_tonearest): Likewise.
13908         (llrint_test_towardzero): Likewise.
13909         (llrint_test_downward): Likewise.
13910         (llrint_test_upward): Likewise.
13911         (log_test): Likewise.
13912         (log10_test): Likewise.
13913         (log1p_test): Likewise.
13914         (log2_test): Likewise.
13915         (logb_test): Likewise.
13916         (logb_test_downward): Likewise.
13917         (lround_test): Likewise.
13918         (llround_test): Likewise.
13919         (modf_test): Likewise.
13920         (nearbyint_test): Likewise.
13921         (nextafter_test): Likewise.
13922         (nexttoward_test): Likewise.
13923         (pow_test): Likewise.
13924         (pow_test_tonearest): Likewise.
13925         (pow_test_towardzero): Likewise.
13926         (pow_test_downward): Likewise.
13927         (pow_test_upward): Likewise.
13928         (remainder_test): Likewise.
13929         (drem_test): Likewise.
13930         (remainder_test_tonearest): Likewise.
13931         (drem_test_tonearest): Likewise.
13932         (remainder_test_towardzero): Likewise.
13933         (drem_test_towardzero): Likewise.
13934         (remainder_test_downward): Likewise.
13935         (drem_test_downward): Likewise.
13936         (remainder_test_upward): Likewise.
13937         (drem_test_upward): Likewise.
13938         (remquo_test): Likewise.
13939         (rint_test): Likewise.
13940         (rint_test_tonearest): Likewise.
13941         (rint_test_towardzero): Likewise.
13942         (rint_test_downward): Likewise.
13943         (rint_test_upward): Likewise.
13944         (round_test): Likewise.
13945         (scalb_test): Likewise.
13946         (scalbn_test): Likewise.
13947         (scalbln_test): Likewise.
13948         (signbit_test): Likewise.
13949         (sin_test): Likewise.
13950         (sin_test_tonearest): Likewise.
13951         (sin_test_towardzero): Likewise.
13952         (sin_test_downward): Likewise.
13953         (sin_test_upward): Likewise.
13954         (sincos_test): Likewise.
13955         (sinh_test): Likewise.
13956         (sinh_test_tonearest): Likewise.
13957         (sinh_test_towardzero): Likewise.
13958         (sinh_test_downward): Likewise.
13959         (sinh_test_upward): Likewise.
13960         (sqrt_test): Likewise.
13961         (sqrt_test_tonearest): Likewise.
13962         (sqrt_test_towardzero): Likewise.
13963         (sqrt_test_downward): Likewise.
13964         (sqrt_test_upward): Likewise.
13965         (tan_test): Likewise.
13966         (tan_test_tonearest): Likewise.
13967         (tan_test_towardzero): Likewise.
13968         (tan_test_downward): Likewise.
13969         (tan_test_upward): Likewise.
13970         (tanh_test): Likewise.
13971         (tgamma_test): Likewise.
13972         (trunc_test): Likewise.
13973         (y0_test): Likewise.
13974         (y1_test): Likewise.
13975         (yn_test): Likewise.
13976         (significand_test): Likewise.
13978         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13979         individual tests in comment.
13980         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13981         (prev_max_error): New variable.
13982         (prev_real_max_error): Likewise.
13983         (prev_imag_max_error): Likewise.
13984         (compare_ulp_data): Don't refer to test names in comment.
13985         (find_test_ulps): Remove function.
13986         (find_function_ulps): Likewise.
13987         (find_complex_function_ulps): Likewise.
13988         (init_max_error): Take function name as argument.  Look up ulps
13989         for that function.
13990         (print_ulps): Remove function.
13991         (print_max_error): Use prev_max_error instead of calling
13992         find_function_ulps.
13993         (print_complex_max_error): Use prev_real_max_error and
13994         prev_imag_max_error instead of calling find_complex_function_ulps.
13995         (check_float_internal): Take max_ulp parameter instead of calling
13996         find_test_ulps.  Don't call print_ulps.
13997         (check_float): Update call to check_float_internal.
13998         (check_complex): Update calls to check_float_internal.
13999         (START): Pass argument to init_max_error.
14000         * math/gen-libm-test.pl (%results): Don't include "kind"
14001         information.
14002         (parse_ulps): Don't handle ulps of individual tests.
14003         (print_ulps_file): Likewise.
14004         (output_ulps): Likewise.
14005         * math/README.libm-test: Update.
14006         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14007         individual tests.
14008         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14009         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14010         * sysdeps/arm/libm-test-ulps: Likewise.
14011         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14012         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14013         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14014         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14015         * sysdeps/microblaze/libm-test-ulps: Likewise.
14016         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14017         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14018         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14019         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14020         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14021         * sysdeps/sh/libm-test-ulps: Likewise.
14022         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14023         * sysdeps/tile/libm-test-ulps: Likewise.
14024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14026 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14028         * math/libm-test.inc (print_complex_max_error): Check separately
14029         whether real and imaginary errors are within allowed range and
14030         pass 0 to print_complex_function_ulps instead of value within
14031         allowed range.
14033 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14035         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14036         formatting.
14037         (get_handles_fopen): Likewise.
14038         (do_write_test): Likewise.
14040         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14042         * libio/fileops.c (do_ftell): Use cached offset when
14043         available.
14044         * libio/iofwide.c (do_ftell_wide): Likewise.
14045         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14046         _IO_file_attach.
14047         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14049         [BZ #16532]
14050         * libio/libioP.h (get_file_offset): New function.
14051         * libio/fileops.c (get_file_offset): Likewise.
14052         (do_ftell): Likewise.
14053         (_IO_new_file_seekoff): Split out ftell logic.
14054         * libio/wfileops.c (do_ftell_wide): Likewise.
14055         (_IO_wfile_seekoff): Split out ftell logic.
14056         * libio/tst-ftell-active-handler.c: New test case.
14057         * libio/Makefile (tests): Add it.
14059 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14061         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14062         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14064 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14066         [BZ #16639]
14067         * nscd/connections.c (nscd_init): Call do_exit.
14068         (start_threads): Call do_exit and notify_parent.
14069         (begin_drop_privileges): Call do_exit.
14070         (finish_drop_privileges): Likewise.
14071         * nscd/selinux.c (preserve_capabilities): Likewise.
14072         (install_real_capabilities): Likewise.
14073         (nscd_selinux_enabled): Likewise.
14074         (avc_create_thread): Likewise.
14075         (avc_alloc_lock): Likewise.
14076         (nscd_avc_init): Likewise.
14077         * nscd/nscd.c (parent_fd): New static variable.
14078         (main): Create a pipe between parent and child processes.
14079         Skip closing parent_fd.
14080         (monitor_child): New function.
14081         (do_exit): Likewise.
14082         (notify_parent): Likewise.
14083         * nscd/nscd.h (notify_parent): Likewise.
14084         (do_exit): Likewise.
14086 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14088         * malloc/malloc.c (__libc_calloc): Revert last change.
14090 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14094 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14096         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14098         implementation.
14099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14100         (__libc_ifunc_impl_list): Likewise.
14101         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14102         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14103         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14104         * string/strrchr.c: Define STRRCHR.
14106 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14108         * benchtest/bench-strtok.c (simple_strtok): Delete.
14109         (strtok_string): Use as benchmark.
14110         * string/strtok (STRTOK): New macro.
14112 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14114         * manual/threads.texi: Add header and standard comments to all
14115         functions.
14117         * elf/dl-lookup.c (check_match): New function.
14118         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14119         (do_lookup_x): Remove nested function check_match. Use non-nested
14120         function check_match.
14122 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14124         * csu/Makefile (generated, before-compile): Use += rather than =.
14125         * catgets/Makefile (generated, generated-dirs): Likewise.
14126         * debug/Makefile (generated): Likewise.
14127         * dlfcn/Makefile (generated): Likewise.
14128         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14129         * iconvdata/Makefile (before-compile, generated): Likewise.
14130         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14131         * libio/Makefile (generated): Likewise.
14132         * malloc/Makefile (generated): Likewise.
14133         * manual/Makefile (generated, generated-dirs): Likewise.
14134         * misc/Makefile (generated): Likewise.
14135         * posix/Makefile (generated): Likewise.
14136         * resolv/Makefile (generated): Likewise.
14137         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14138         * timezone/Makefile (generated, generated-dirs): Likewise.
14140         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14142 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14145         power8 implementation.
14146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14147         file: POWER8 llround ifunc implementation.
14148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14149         (__lllround): Add POWER8 implementation.
14150         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14151         POWER8 llround implementation.
14153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14154         power8 implementation.
14155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14156         file: POWER8 llrint ifunc implementation.
14157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14158         Add POWER8 implementation.
14159         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14160         POWER8 llrint implementation.
14162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14163         power8 implementation.
14164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14165         file: POWER8 finite ifunc implementation.
14166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14167         Add POWER8 implementation.
14168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14169         Likewise.
14170         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14171         POWER8 finite implementation.
14172         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14174         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14175         power8 implementation.
14176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14177         file: POWER8 isinf ifunc implementation.
14178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14179         POWER8 implementation.
14180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14181         Likewise.
14182         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14183         isinf implementation.
14184         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14186         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14187         (INIT_ARCH): Add hwcap2 initialization.
14188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14189         power8 implementation.
14190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14191         file: POWER8 isnan ifunc implementation.
14192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14193         POWER8 implementation.
14194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14195         Likewise.
14196         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14197         isnan implementation.
14198         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14200 2014-02-27  Joey Ye  <joey.ye@arm.com>
14202         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14203         (_FP_NANFRAC_Q): Set to zero.
14205 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14207         [BZ #16623]
14208         * math/auto-libm-test-in: New test inputs.
14209         * math/auto-libm-test-out: Regenerate.
14210         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14211         and DA.
14212         (__cos): Likewise.
14213         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14215 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14217         * scripts/evaluate-test.sh: Take new argument indicating whether
14218         failure is expected.
14219         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14220         indicating whether failure is expected.
14221         * conform/Makefile (test-xfail-run-conformtest): New variable.
14222         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14223         level.
14224         * posix/Makefile (test-xfail-annexc): New variable.
14225         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14227 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14229         * argp/Makefile: Include Makeconfig immediately after defining
14230         subdir.
14231         * assert/Makefile: Likewise.
14232         * benchtests/Makefile: Likewise.
14233         * catgets/Makefile: Likewise.
14234         * conform/Makefile: Likewise.
14235         * crypt/Makefile: Likewise.
14236         * csu/Makefile: Likewise.
14237         (all): Remove target.
14238         * ctype/Makefile: Include Makeconfig immediately after defining
14239         subdir.
14240         * debug/Makefile: Likewise.
14241         * dirent/Makefile: Likewise.
14242         * dlfcn/Makefile: Likewise.
14243         * gmon/Makefile: Likewise.
14244         * gnulib/Makefile: Likewise.
14245         * grp/Makefile: Likewise.
14246         * gshadow/Makefile: Likewise.
14247         * hesiod/Makefile: Likewise.
14248         * hurd/Makefile: Likewise.
14249         (all): Remove target.
14250         * iconvdata/Makefile: Include Makeconfig immediately after
14251         defining subdir.
14252         * inet/Makefile: Likewise.
14253         * intl/Makefile: Likewise.
14254         * io/Makefile: Likewise.
14255         * libio/Makefile: Likewise.
14256         (all): Remove target.
14257         * locale/Makefile: Include Makeconfig immediately after defining
14258         subdir.
14259         * login/Makefile: Likewise.
14260         * mach/Makefile: Likewise.
14261         (all): Remove target.
14262         * malloc/Makefile: Include Makeconfig immediately after defining
14263         subdir.
14264         (all): Remove target.
14265         * manual/Makefile: Include Makeconfig immediately after defining
14266         subdir.
14267         * math/Makefile: Likewise.
14268         * misc/Makefile: Likewise.
14269         * nis/Makefile: Likewise.
14270         * nss/Makefile: Likewise.
14271         * po/Makefile: Likewise.
14272         (all): Remove target.
14273         * posix/Makefile: Include Makeconfig immediately after defining
14274         subdir.
14275         * pwd/Makefile: Likewise.
14276         * resolv/Makefile: Likewise.
14277         * resource/Makefile: Likewise.
14278         * rt/Makefile: Likewise.
14279         * setjmp/Makefile: Likewise.
14280         * shadow/Makefile: Likewise.
14281         * signal/Makefile: Likewise.
14282         * socket/Makefile: Likewise.
14283         * soft-fp/Makefile: Likewise.
14284         * stdio-common/Makefile: Likewise.
14285         * stdlib/Makefile: Likewise.
14286         * streams/Makefile: Likewise.
14287         * string/Makefile: Likewise.
14288         * sunrpc/Makefile: Likewise.
14289         (all): Remove target.
14290         * sysvipc/Makefile: Include Makeconfig immediately after defining
14291         subdir.
14292         * termios/Makefile: Likewise.
14293         * time/Makefile: Likewise.
14294         * timezone/Makefile: Likewise.
14295         (all): Remove target.
14296         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14297         subdir.
14298         * wctype/Makefile: Likewise.
14300 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14302         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14303         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14304         (libc_feholdexcept_setround_mips): Ditto.
14305         (libc_feholdsetround): New.
14306         (libc_feholdsetroundf): New.
14307         (libc_feholdsetroundl): New.
14308         (libc_feupdateenv_test_mips): New.
14309         (libc_feupdateenv_test): New.
14310         (libc_feupdateenv_testf): New.
14311         (libc_feupdateenv_testl): New.
14312         (libc_feresetround): New.
14313         (libc_feresetroundf): New.
14314         (libc_feresetroundl): New.
14315         (libc_fetestexcept_mips): New.
14316         (libc_fetestexcept): New.
14317         (libc_fetestexceptf): New.
14318         (libc_fetestexceptl): New.
14319         (HAVE_RM_CTX): New.
14320         (libc_feholdexcept_setround_mips_ctx): New.
14321         (libc_feholdexcept_setround_ctx): New.
14322         (libc_feholdexcept_setroundf_ctx): New.
14323         (libc_feholdexcept_setroundl_ctx): New.
14324         (libc_fesetenv_mips_ctx): New.
14325         (libc_fesetenv_ctx): New.
14326         (libc_fesetenv_ctxf): New.
14327         (libc_fesetenv_ctxl): New.
14328         (libc_feupdateenv_mips_ctx): New.
14329         (libc_feupdateenv_ctx): New.
14330         (libc_feupdateenvf_ctx): New.
14331         (libc_feupdateenvl_ctx): New.
14332         (libc_feholdsetround_mips_ctx): New.
14333         (libc_feholdsetround_ctx): New.
14334         (libc_feholdsetroundf_ctx): New.
14335         (libc_feholdsetroundl_ctx): New.
14336         (libc_feresetround_mips_ctx): New.
14337         (libc_feresetround_ctx): New.
14338         (libc_feresetroundf_ctx): New.
14339         (libc_feresetroundl_ctx): New.
14341 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14343         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14345         * manual/ipc.texi: New file.
14346         * manual/Makefile (chapters): Add ipc.
14347         * manual/job.texi: Add "Inter-Process Communication" to next.
14348         * manual/process.texi: Add "Inter-Process Communication" to prev.
14350 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14354 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14356         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14358         * manual/arith.texi: Fix spaces after sentences.
14359         * manual/charset.texi: Likewise.
14360         * manual/errno.texi: Likewise.
14361         * manual/install.texi: Likewise.
14362         * manual/llio.texi: Likewise.
14363         * manual/locale.texi: Likewise.
14364         * manual/maint.texi: Likewise.
14365         * manual/math.texi: Likewise.
14366         * manual/memory.texi: Likewise.
14367         * manual/message.texi: Likewise.
14368         * manual/probes.texi: Likewise.
14369         * manual/resource.texi: Likewise.
14370         * manual/signal.texi: Likewise.
14371         * manual/socket.texi: Likewise.
14372         * manual/stdio.texi: Likewise.
14373         * manual/string.texi: Likewise.
14374         * manual/time.texi: Likewise.
14375         * manual/users.texi: Likewise.
14377 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14379         [BZ #16632]
14380         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14381         _DEFAULT_SOURCE is defined.
14383 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14384             Carlos O'Donell  <carlos@redhat.com>
14386         [BZ #16613]
14387         * elf/dl-tls.c (_dl_count_modids): New function.
14388         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14389         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14390         audit library and increment generation counter.
14391         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14392         * elf/tst-audit9.c: New file.
14393         * elf/tst-auditmod9a.c: New file.
14394         * elf/tst-auditmod9b.c: New file.
14395         * elf/Makefile: Add rules to build and run tst-audit9.
14397 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14399         [BZ #15347]
14400         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14402 2014-02-25  Will Newton  <will.newton@linaro.org>
14404         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14405         (__longjmp): Restore sp and lr before restoring callee
14406         saved registers.  Add longjmp and longjmp_target
14407         SystemTap probe point.
14408         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14409         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14410         Define to zero to match jmpbuf layout.
14411         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14412         (__sigsetjmp): Save sp and lr before saving callee
14413         saved registers.  Add setjmp SystemTap probe point.
14415 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14417         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14419 2014-02-24  Andreas Schwab  <schwab@suse.de>
14421         [BZ #15804]
14422         * elf/pldd.c (wait_for_ptrace_stop): New function.
14423         (main): Call it after attaching.
14425 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14427         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14428         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14429         Versions files is now verboten.
14430         * hurd/Versions (libc: GLIBC_2.0):
14431         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14432         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14433         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14434         * mach/Versions: Likewise.
14436         * csu/Versions: Remove unused %include.
14437         * resolv/Versions: Likewise.
14439 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14441         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14442         ($(objpfx)check-local-headers.out): Likewise.
14443         ($(objpfx)begin-end-check.out): Likewise.
14444         * Makerules (check-abi-%.out): Likewise.
14445         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14446         ($(objpfx)test2.cat): Likewise.
14447         ($(objpfx)de/libc.cat): Likewise.
14448         ($(objpfx)test-gencat.out): Likewise.
14449         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14450         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14451         ($(objpfx)noload-mem): Likewise.
14452         ($(objpfx)tst-pathopt.out): Likewise.
14453         ($(objpfx)tst-rtld-load-self.out): Likewise.
14454         ($(objpfx)tst-array1-cmp.out): Likewise.
14455         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14456         ($(objpfx)tst-array2-cmp.out): Likewise.
14457         ($(objpfx)tst-array3-cmp.out): Likewise.
14458         ($(objpfx)tst-array4-cmp.out): Likewise.
14459         ($(objpfx)tst-array5-cmp.out): Likewise.
14460         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14461         ($(objpfx)check-textrel.out): Likewise.
14462         ($(objpfx)check-execstack.out): Likewise.
14463         ($(objpfx)check-localplt.out): Likewise.
14464         ($(objpfx)order2-cmp.out): Likewise.
14465         ($(objpfx)tst-leaks1-mem): Likewise.
14466         ($(objpfx)tst-leaks1-static-mem): Likewise.
14467         ($(objpfx)tst-initorder-cmp.out): Likewise.
14468         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14469         ($(objpfx)tst-unused-dep.out): Likewise.
14470         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14471         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14472         * iconv/Makefile (test-iconvconfig): Likewise.
14473         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14474         ($(objpfx)iconv-test.out): Likewise.
14475         ($(objpfx)tst-tables.out): Likewise.
14476         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14477         ($(objpfx)tst-gettext.out): Likewise.
14478         ($(objpfx)tst-translit.out): Likewise.
14479         ($(objpfx)tst-gettext2.out): Likewise.
14480         ($(objpfx)tst-gettext4.out): Likewise.
14481         ($(objpfx)tst-gettext6.out): Likewise.
14482         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14483         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14484         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14485         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14486         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14487         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14488         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14489         ($(objpfx)wordexp-tst.out): Likewise.
14490         ($(objpfx)annexc.out): Likewise.
14491         ($(objpfx)tst-fnmatch-mem): Likewise.
14492         ($(objpfx)bug-regex2-mem): Likewise.
14493         ($(objpfx)bug-regex14-mem): Likewise.
14494         ($(objpfx)bug-regex21-mem): Likewise.
14495         ($(objpfx)bug-regex31-mem): Likewise.
14496         ($(objpfx)tst-vfork3-mem): Likewise.
14497         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14498         ($(objpfx)tst-pcre-mem): Likewise.
14499         ($(objpfx)tst-boost-mem): Likewise.
14500         ($(objpfx)tst-getconf.out): Likewise.
14501         ($(objpfx)bug-ga2-mem): Likewise.
14502         ($(objpfx)bug-glob2-mem): Likewise.
14503         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14504         ($(objpfx)mtrace-tst-leaks2): Likewise.
14505         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14506         ($(objpfx)tst-printf.out): Likewise.
14507         ($(objpfx)tst-setvbuf1.out): Likewise.
14508         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14509         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14510         ($(objpfx)tst-fmtmsg.out): Likewise.
14511         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14512         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14514         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14515         * bits/sigaction.h [__USE_MISC]: Likewise.
14516         * bits/waitstatus.h: Update #endif comments.
14517         * ctype/ctype.h: Likewise.
14518         * dirent/dirent.h: Likewise.
14519         [__USE_MISC]: Remove redundant conditionals.
14520         * grp/grp.h: Update #endif comments.
14521         [__USE_GNU]: Remove redundant conditionals.
14522         [__USE_MISC]: Likewise.
14523         * inet/netinet/in.h [__USE_GNU]: Likewise.
14524         * io/sys/stat.h [__USE_MISC]: Likewise.
14525         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14526         * libio/bits/stdio.h: Update #endif comments.
14527         [__USE_MISC]: Remove redundant conditionals.
14528         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14529         * libio/stdio.h: Update #endif comments.
14530         [__USE_MISC]: Remove redundant conditionals.
14531         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14532         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14533         * math/math.h: Update #else and #endif comments.
14534         [__USE_MISC]: Remove redundant conditionals.
14535         * misc/sys/uio.h: Update #endif comments.
14536         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14537         * posix/glob.h [__USE_MISC]: Likewise.
14538         * posix/sys/types.h: Update #endif comments.
14539         [__USE_MISC]: Remove redundant conditionals.
14540         * posix/sys/wait.h: Update #endif comments.
14541         [__USE_MISC]: Remove redundant conditionals.
14542         * posix/unistd.h: Update #endif comments.
14543         [__USE_MISC]: Remove redundant conditionals.
14544         * pwd/pwd.h [__USE_GNU]: Likewise.
14545         [__USE_MISC]: Likewise.
14546         * resolv/netdb.h [__USE_GNU]: Likewise.
14547         * signal/signal.h: Update #endif comments.
14548         [__USE_MISC]: Remove redundant conditionals.
14549         * stdlib/stdlib.h: Update #else and #endif comments.
14550         [__USE_MISC]: Remove redundant conditionals.
14551         [__USE_GNU]: Likewise.
14552         * string/bits/string2.h [__USE_MISC]: Likewise.
14553         * string/string.h: Update #endif comments.
14554         [__USE_MISC]: Remove redundant conditionals.
14555         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14556         Likewise.
14557         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14558         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14559         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14560         Likewise.
14561         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14562         Likewise.
14563         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14564         comments.
14565         [__USE_MISC]: Remove redundant conditionals.
14566         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14567         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14568         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14569         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14570         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14571         Likewise.
14572         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14573         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14574         Likewise.
14575         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14576         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14577         Likewise.
14578         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14579         Likewise.
14580         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14581         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14582         Likewise.
14583         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14584         Likewise.
14585         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14586         * sysdeps/x86/bits/string.h: Update #endif comments.
14587         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14588         conditionals.
14589         * time/sys/time.h: Update #endif comments.
14590         * time/time.h: Likewise.
14591         [__USE_MISC]: Remove redundant conditionals.
14593 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14595         [BZ #16600]
14596         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14598 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14600         * Versions.def (librt): Add GLIBC_2.17.
14602 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14604         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14605         synonym for _SYS_AUXV_H to allow direct inclusion.
14606         * sysdeps/sparc/bits/hwcap.h: Likewise.
14607         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14608         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14609         * sysdeps/sparc/sysdep.h: Likewise.
14611 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14613         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14615 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14617         * benchtests/bench-strrchr.c: Print length instead of position.
14619 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14621         [BZ #16611]
14622         * sysdeps/unix/sysv/linux/kernel-features.h
14623         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14624         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14625         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14626         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14627         Likewise.
14628         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14629         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14630         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14631         (__ASSUME_SENDMMSG): Define instead of using previous
14632         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14633         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14634         (__ASSUME_SENDMMSG_SYSCALL): Define.
14635         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14636         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14637         Likewise.
14638         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14639         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14640         Likewise.
14641         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14642         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14643         Likewise.
14644         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14645         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14646         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14647         [__ASSUME_SENDMMSG]: Change conditionals to
14648         [__ASSUME_SENDMMSG_SOCKETCALL].
14649         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14650         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14651         Define.
14652         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14653         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14654         Likewise.
14655         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14656         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14657         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14658         [!__ASSUME_SENDMMSG]: Change conditional to
14659         [!__ASSUME_SENDMMSG_SOCKETCALL].
14660         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14661         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14662         Define.
14664         [BZ #16610]
14665         * sysdeps/unix/sysv/linux/kernel-features.h
14666         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14667         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14668         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14669         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14670         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14671         [__i386__ || __sparc__]
14672         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14673         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14674         (__ASSUME_RECVMMSG): Define instead of using previous
14675         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14676         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14677         (__ASSUME_RECVMMSG_SYSCALL): Define.
14678         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14679         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14680         Likewise.
14681         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14682         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14683         Likewise.
14684         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14685         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14686         Likewise.
14687         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14688         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14689         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14690         [__ASSUME_RECVMMSG]: Change condition to
14691         [__ASSUME_RECVMMSG_SOCKETCALL].
14692         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14693         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14694         Define.
14695         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14696         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14697         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14698         Likewise.
14699         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14700         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14701         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14702         [!__ASSUME_RECVMMSG]: Change condition to
14703         [!__ASSUME_RECVMMSG_SOCKETCALL].
14704         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14705         (__ASSUME_RECVMMSG_SYSCALL): Define.
14707         [BZ #16609]
14708         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14709         __powerpc__ || __s390__ || __sh__ || __sparc__]
14710         (__ASSUME_SOCKETCALL): Define.
14711         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14712         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14713         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14714         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14715         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14716         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14717         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14718         (__ASSUME_ACCEPT4): Define instead of using previous
14719         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14720         __powerpc__ || __sparc__ || __s390__)] condition.
14721         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14722         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14723         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14724         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14725         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14726         [!__ASSUME_ACCEPT4]: Change condition to
14727         [!__ASSUME_ACCEPT4_SOCKETCALL].
14728         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14729         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14730         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14731         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14732         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14733         __ASSUME_ACCEPT4_SYSCALL.
14734         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14735         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14736         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14737         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14738         __ASSUME_ACCEPT4_SYSCALL.
14739         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14740         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14741         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14742         [__ASSUME_ACCEPT4]: Change condition to
14743         [__ASSUME_ACCEPT4_SOCKETCALL].
14744         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14745         (__ASSUME_SOCKETCALL): Define.
14746         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14747         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14748         (__ASSUME_SOCKETCALL): Define.
14749         (__ASSUME_ACCEPT4): Remove.
14750         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14751         Define.
14752         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14753         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14754         Likewise.
14755         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14756         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14758         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14759         macro.
14760         (HWCAP_ARM_LPAE): Likewise.
14761         (HWCAP_ARM_EVTSTRM): Likewise.
14762         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14763         Add vpfd32, lpae and evtstrm.
14764         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14765         Increase to 22.
14767 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14769         * math/auto-libm-test-in: Add tests of clog10.
14770         * math/auto-libm-test-out: Regenerated.
14771         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14772         * sysdeps/i386/fpu/libm-test-ulps: Update.
14773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14775 2014-02-18  Andreas Schwab  <schwab@suse.de>
14777         [BZ #16574]
14778         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14779         Store non-zero if the second buffer was newly allocated.
14780         (send_dg): Likewise.
14781         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14782         to send_vc and send_dg.
14783         (res_nsend): Pass NULL for ansp2_malloced.
14784         * resolv/res_query.c (__libc_res_nquery): Add parameter
14785         answerp2_malloced and pass it down to __libc_res_nsend.
14786         (res_nquery): Pass additional NULL to __libc_res_nquery.
14787         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14788         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14789         second answer buffer if answerp2_malloced was set.
14790         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14791         (__libc_res_nquerydomain): Add parameter
14792         answerp2_malloced and pass it down to __libc_res_nquery.
14793         (res_nquerydomain): Pass additional NULL to
14794         __libc_res_nquerydomain.
14795         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14796         additional NULL to __libc_res_nsend and __libc_res_nquery.
14797         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14798         additional NULL to __libc_res_nsearch.
14799         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14800         parameter of __libc_res_nsearch to check for separately allocated
14801         second buffer.
14802         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14803         __libc_res_nquery.
14804         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14805         additional NULL to __libc_res_nquery.
14806         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14807         __libc_res_nsearch.
14808         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14809         * include/resolv.h: Update prototypes of __libc_res_nquery,
14810         __libc_res_nsearch, __libc_res_nsend.
14812 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14814         * math/auto-libm-test-in: Add tests of fma.
14815         * math/auto-libm-test-out: Regenerated.
14816         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14817         (fma_towardzero_test_data): Likewise.
14818         (fma_downward_test_data): Likewise.
14819         (fma_upward_test_data): Likewise.
14820         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14821         mpc_mode.
14822         (rounding_modes): Add values for new field.
14823         (func_calc_method): Add value mpfr_fff_f.
14824         (func_calc_desc): Add mpfr_fff_f union field.
14825         (test_function): Add field exact_args.
14826         (FUNC): Add macro argument EXACT_ARGS.
14827         (FUNC_mpfr_f_f): Update call to FUNC.
14828         (FUNC_mpfr_f_f): Likewise.
14829         (FUNC_mpfr_ff_f): Likewise.
14830         (FUNC_mpfr_if_f): Likewise.
14831         (FUNC_mpc_c_f): Likewise.
14832         (FUNC_mpc_c_c): Likewise.
14833         (test_functions): Add fma.  Update calls to FUNC.
14834         (handle_input_arg): Add argument exact_args.
14835         (add_test): Update call to handle_input_arg.
14836         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
14837         (output_for_one_input_case): Update call to calc_generic_results.
14838         Recalculate exact zero results in each rounding mode.
14840         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14841         non-negative before setting low bit.
14842         * math/auto-libm-test-in: Mark one asin test possibly having
14843         spurious underflow.
14844         * math/auto-libm-test-out: Regenerated.
14845         * sysdeps/i386/fpu/libm-test-ulps: Update.
14846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14848 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
14850         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14851         * sysdeps/unix/sysv/linux/microblaze: Move directory from
14852         ports/sysdeps/unix/sysv/linux/microblaze.
14853         * README: Add missing listing for microblaze*-*-linux-gnu.
14855 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
14857         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14858         duplicate code
14860 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
14862         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14863         * sysdeps/unix/sysv/linux/ia64: Move directory from
14864         ports/sysdeps/unix/sysv/linux/ia64.
14865         * README: Update listing for ia64-*-linux-gnu.
14867 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
14868             Joseph Myers  <joseph@codesourcery.com>
14870         * Makeconfig (test-name): New variable.
14871         (evaluate-test): Likewise.
14872         * Makerules (do-test-clean): Remove .test-result files.
14873         (common-mostlyclean): Likewise.
14874         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14875         * scripts/evaluate-test.sh: New file.
14877 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
14879         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14880         separate $(objpfx)tst-fopenloc-cmp.out and
14881         $(objpfx)tst-fopenloc-mem.out targets.
14882         (tests): Update dependencies.
14883         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14884         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14885         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14886         (tst-rxspencer-no-utf8-ARGS): New variable.
14887         (tst-rxspencer-no-utf8-ENV): Likewise.
14888         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14889         instead of $(objpfx)tst-rxspencer-mem.
14890         ($(objpfx)tst-rxspencer-mem): Change target to
14891         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
14892         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14893         * posix/tst-rxspencer-no-utf8.c: New file.
14895         * elf/Makefile ($(objpfx)order.out): Remove rule.
14896         [$(run-built-tests) = yes] (tests): Depend on
14897         $(objpfx)order-cmp.out.
14898         ($(objpfx)order-cmp.out): New rule.
14899         [$(run-built-tests) = yes] (tests): Depend on
14900         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14901         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14902         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14903         $(objpfx)tst-array5-static-cmp.out.
14904         ($(objpfx)tst-array1.out): Remove rule.
14905         ($(objpfx)tst-array1-cmp.out): New rule.
14906         ($(objpfx)tst-array1-static.out): Remove rule.
14907         ($(objpfx)tst-array1-static-cmp.out): New rule.
14908         ($(objpfx)tst-array2.out): Remove rule.
14909         ($(objpfx)tst-array2-cmp.out): New rule.
14910         ($(objpfx)tst-array3.out): Remove rule.
14911         ($(objpfx)tst-array3-cmp.out): New rule.
14912         ($(objpfx)tst-array4.out): Remove rule.
14913         ($(objpfx)tst-array4-cmp.out): New rule.
14914         ($(objpfx)tst-array5.out): Remove rule.
14915         ($(objpfx)tst-array5-cmp.out): New rule.
14916         ($(objpfx)tst-array5-static.out): Remove rule.
14917         ($(objpfx)tst-array5-static-cmp.out): New rule.
14918         [$(run-built-tests) = yes] (tests): Depend on
14919         $(objpfx)order2-cmp.out.
14920         ($(objpfx)order2.out): Remove rule.
14921         ($(objpfx)order2-cmp.out): New rule.
14922         ($(objpfx)tst-initorder.out): Remove rule.
14923         [$(run-built-tests) = yes] (tests): Depend on
14924         $(objpfx)tst-initorder-cmp.out.
14925         ($(objpfx)tst-initorder-cmp.out): New rule.
14926         ($(objpfx)tst-initorder2.out): Remove rule.
14927         [$(run-built-tests) = yes] (tests): Depend on
14928         $(objpfx)tst-initorder2-cmp.out.
14929         ($(objpfx)tst-initorder2-cmp.out): New rule.
14930         [$(run-built-tests) = yes] (tests): Depend on
14931         $(objpfx)tst-unused-dep-cmp.out.
14932         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14933         ($(objpfx)tst-unused-dep-cmp.out): New rule.
14934         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14935         on $(objpfx)tst-setvbuf1-cmp.out.
14936         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14937         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14938         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14939         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14940         ($(objpfx)tst-svc.out): Remove rule.
14941         ($(objpfx)tst-svc-cmp.out): New rule.
14943 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
14945         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14946         * ctype/ctype.h [__USE_MISC]: Likewise.
14947         * dirent/dirent.h [__USE_MISC]: Likewise.
14948         * grp/grp.h [__USE_MISC]: Likewise.
14949         * io/fcntl.h [__USE_MISC]: Likewise.
14950         * io/sys/stat.h [__USE_MISC]: Likewise.
14951         * libio/stdio.h [__USE_MISC]: Likewise.
14952         * posix/unistd.h [__USE_MISC]: Likewise.
14953         * pwd/pwd.h [__USE_MISC]: Likewise.
14954         * stdlib.h [__USE_MISC]: Likewise.
14955         * string/bits/string2.h [__USE_MISC]: Likewise.
14956         * string/string.h [__USE_MISC]: Likewise.
14957         * time/time.h [__USE_MISC]: Likewise.
14959 2014-02-13  Andreas Schwab  <schwab@suse.de>
14961         [BZ #16574]
14962         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14963         second answer buffer if it was separately allocated.
14965 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
14967         * sysdeps/mips/math-tests.h: Include <features.h>.
14968         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14969         (ROUNDING_TESTS_long_double): Do not define.
14970         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14971         (EXCEPTION_TESTS_long_double): Likewise.
14972         * sysdeps/mips/mips64/libm-test-ulps: Update.
14974         * include/features.h (__USE_BSD): Remove macro definitions.
14975         (__USE_SVID): Likewise.
14976         (_BSD_SOURCE): Likewise.
14977         (_SVID_SOURCE): Likewise.
14978         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14979         from definition of _DEFAULT_SOURCE.
14980         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14981         [_DEFAULT_SOURCE].
14982         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14983         * bits/mman.h [__USE_BSD]: Likewise.
14984         * bits/termios.h [__USE_BSD]: Likewise.
14985         * bits/waitstatus.h [__USE_BSD]: Likewise.
14986         * ctype/ctype.h [__USE_SVID]: Likewise.
14987         * dirent/dirent.h [__USE_BSD]: Likewise.
14988         * grp/grp.h [__USE_SVID]: Likewise.
14989         [__USE_BSD]: Likewise.
14990         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14991         * io/fcntl.h [__USE_BSD]: Likewise.
14992         * io/ftw.h [__USE_BSD]: Likewise.
14993         * io/sys/stat.h [__USE_BSD]: Likewise.
14994         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14995         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14996         * libio/stdio.h [__USE_SVID]: Likewise.
14997         [__USE_BSD]: Likewise.
14998         * math/math.h [__USE_SVID]: Likewise.
14999         [__USE_BSD]: Likewise.
15000         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15001         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15002         * misc/search.h [__USE_SVID]: Likewise.
15003         * misc/sys/mman.h [__USE_BSD]: Likewise.
15004         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15005         * misc/sys/uio.h [__USE_BSD]: Likewise.
15006         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15007         * posix/glob.h [__USE_BSD]: Likewise.
15008         * posix/regex.h [__USE_BSD]: Likewise.
15009         * posix/sys/types.h [__USE_BSD]: Likewise.
15010         [__USE_SVID]: Likewise.
15011         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15012         * posix/sys/wait.h [__USE_BSD]: Likewise.
15013         [__USE_SVID]: Likewise.
15014         * posix/unistd.h [__USE_BSD]: Likewise.
15015         [__USE_SVID]: Likewise.
15016         * pwd/pwd.h [__USE_SVID]: Likewise.
15017         * resolv/netdb.h [__USE_BSD]: Likewise.
15018         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15019         * signal/signal.h [__USE_BSD]: Likewise.
15020         [__USE_SVID]: Likewise.
15021         * socket/sys/socket.h [__USE_BSD]: Likewise.
15022         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15023         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15024         [__USE_SVID]: Likewise.
15025         * string/bits/string2.h [__USE_BSD]: Likewise.
15026         [__USE_SVID]: Likewise.
15027         * string/bits/string3.h [__USE_BSD]: Likewise.
15028         * string/endian.h [__USE_BSD]: Likewise.
15029         * string/string.h [__USE_SVID]: Likewise.
15030         [__USE_BSD]: Likewise.
15031         * string/strings.h [__USE_BSD]: Likewise.
15032         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15033         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15034         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15035         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15036         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15037         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15038         Likewise.
15039         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15040         Likewise.
15041         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15042         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15043         Likewise.
15044         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15045         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15046         Likewise.
15047         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15048         Likewise.
15049         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15050         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15051         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15052         Likewise.
15053         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15054         Likewise.
15055         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15056         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15057         * termios/termios.h [__USE_BSD]: Likewise.
15058         * time/sys/time.h [__USE_BSD]: Likewise.
15059         * time/time.h [__USE_BSD]: Likewise.
15060         [__USE_SVID]: Likewise.
15062         * Makefile (subdir_targets): Remove subdir_lint.out.
15064         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15065         (do-tst-printf): Likewise.
15066         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15067         $(objpfx)tst-printf.out.
15069         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15071         * Makerules (check-abi-%): Change target to
15072         $(objpfx)check-abi-%.out.
15073         (check-abi target): Update dependencies.
15074         (check-abi-pattern variable): Redirect output of diff to $@.
15075         (check-abi variable): Likewise.
15076         * elf/Makefile (check-abi): Update dependencies.
15078         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15079         unused.
15080         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15081         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15082         subnormal range.
15083         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15084         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15085         value has largest subnormal exponent.
15086         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15087         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15088         * sysdeps/aarch64/soft-fp/sfp-machine.h
15089         (_FP_TININESS_AFTER_ROUNDING): New macro.
15090         * sysdeps/alpha/soft-fp/sfp-machine.h
15091         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15092         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15093         Likewise.
15094         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15095         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15096         * sysdeps/mips/soft-fp/sfp-machine.h
15097         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15098         * sysdeps/powerpc/soft-fp/sfp-machine.h
15099         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15100         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15101         Likewise.
15102         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15103         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15104         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15105         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15106         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15107         Likewise.
15109 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15111         [BZ #16545]
15112         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15113         model 1.
15115 2014-02-12  Richard Henderson  <rth@redhat.com>
15117         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15118         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15119         * sysdeps/unix/sysv/linux/alpha: Move directory from
15120         ports/sysdeps/unix/sysv/linux/alpha.
15121         * README: Update listing for alpha-*-linux-gnu.
15123 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15125         * include/features.h: Update comment documenting feature test
15126         macros.
15127         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15128         _DEFAULT_SOURCE.
15129         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15130         (_SVID_SOURCE): Likewise.
15131         (_DEFAULT_SOURCE): Update description of default features.
15132         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15133         with _GNU_SOURCE.
15134         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15135         (S_ISVTX): Likewise.
15136         * manual/math.texi (Mathematical Constants): Likewise.
15137         * manual/signal.texi (Interrupted Primitives): Likewise.
15138         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15139         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15140         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15141         Don't refer to _SVID_SOURCE in warning text.
15143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15145         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15146         already defined.
15147         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15148         * sysdeps/mips/dl-lookup.c: Remove.
15149         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15151 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15153         [BZ #16447]
15154         * math/auto-libm-test-in: Add testcase for expl.
15155         * math/auto-libm-test-out: Regenerate.
15156         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15157         calculation of unsafe.
15158         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15160 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15162         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15163         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15164         ports/sysdeps/unix/sysv/linux/aarch64.
15165         * README: Update listing for aarch64*-*-linux-gnu.
15167 2014-02-11  Will Newton  <will.newton@linaro.org>
15169         * manual/probes.texi (Mathematical Function Probes): Use
15170         "triggered" instead of "hit".
15172         * manual/probes.texi (Internal Probes): Add documentation
15173         of setjmp, longjmp and longjmp_target probes.
15175         * include/stap-probe.h: Add comment about probe argument
15176         format.
15178         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15179         definition.  (tr_where, tr_freehook, tr_mallochook,
15180         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15182 2014-02-11  David S. Miller  <davem@davemloft.net>
15184         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15185         processing int_tests.
15187 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15189         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15190         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15191         * sysdeps/unix/sysv/linux/mips: Move directory from
15192         ports/sysdeps/unix/sysv/linux/mips.
15193         * README: Update listing for mips-*-linux-gnu and
15194         mips64-*-linux-gnu.
15196 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15198         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15199         * sysdeps/unix/sysv/linux/m68k: Move directory from
15200         ports/sysdeps/unix/sysv/linux/m68k.
15201         * README: Update listing for m68k-*-linux-gnu.
15203 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15205         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15206         * sysdeps/unix/sysv/linux/generic: Move directory from
15207         ports/sysdeps/unix/sysv/linux/generic.
15208         * sysdeps/unix/sysv/linux/tile: Move directory from
15209         ports/sysdeps/unix/sysv/linux/tile.
15210         * README: Update listing for tile*-*-linux-gnu.
15212 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15214         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15215         __builtin_expect.
15216         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15217         * catgets/open_catalog.c (__open_catalog): Likewise.
15218         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15219         * debug/confstr_chk.c: Likewise.
15220         * debug/fread_chk.c (__fread_chk): Likewise.
15221         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15222         * debug/getgroups_chk.c: Likewise.
15223         * debug/mbsnrtowcs_chk.c: Likewise.
15224         * debug/mbsrtowcs_chk.c: Likewise.
15225         * debug/mbstowcs_chk.c: Likewise.
15226         * debug/memcpy_chk.c: Likewise.
15227         * debug/memmove_chk.c: Likewise.
15228         * debug/mempcpy_chk.c: Likewise.
15229         * debug/memset_chk.c: Likewise.
15230         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15231         * debug/strcat_chk.c (__strcat_chk): Likewise.
15232         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15233         * debug/strncat_chk.c (__strncat_chk): Likewise.
15234         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15235         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15236         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15237         * debug/wcpncpy_chk.c: Likewise.
15238         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15239         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15240         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15241         * debug/wcsncpy_chk.c: Likewise.
15242         * debug/wcsnrtombs_chk.c: Likewise.
15243         * debug/wcsrtombs_chk.c: Likewise.
15244         * debug/wcstombs_chk.c: Likewise.
15245         * debug/wmemcpy_chk.c: Likewise.
15246         * debug/wmemmove_chk.c: Likewise.
15247         * debug/wmempcpy_chk.c: Likewise.
15248         * debug/wmemset_chk.c: Likewise.
15249         * dirent/scandirat.c (SCANDIRAT): Likewise.
15250         * dlfcn/dladdr1.c (dladdr1): Likewise.
15251         * dlfcn/dladdr.c (dladdr): Likewise.
15252         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15253         * dlfcn/dlerror.c (__dlerror): Likewise.
15254         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15255         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15256         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15257         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15258         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15259         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15260         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15261         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15262         Likewise.
15263         * elf/dl-conflict.c: Likewise.
15264         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15265         * elf/dl-dst.h: Likewise.
15266         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15267         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15268         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15269         * elf/dl-init.c (call_init, _dl_init): Likewise.
15270         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15271         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15272         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15273         Likewise.
15274         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15275         Likewise.
15276         * elf/dl-minimal.c (__libc_memalign): Likewise.
15277         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15278         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15279         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15280         * elf/dl-sym.c (do_sym): Likewise.
15281         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15282         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15283         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15284         * elf/dl-writev.h (_dl_writev): Likewise.
15285         * elf/ldconfig.c (search_dir): Likewise.
15286         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15287         (dl_main): Likewise.
15288         * elf/setup-vdso.h (setup_vdso): Likewise.
15289         * grp/compat-initgroups.c (compat_call): Likewise.
15290         * grp/fgetgrent.c (fgetgrent): Likewise.
15291         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15292         * grp/putgrent.c (putgrent): Likewise.
15293         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15294         Likewise.
15295         * hurd/hurdinit.c: Likewise.
15296         * iconvdata/8bit-gap.c (struct): Likewise.
15297         * iconvdata/ansi_x3.110.c : Likewise.
15298         * iconvdata/big5.c : Likewise.
15299         * iconvdata/big5hkscs.c : Likewise.
15300         * iconvdata/cp1255.c: Likewise.
15301         * iconvdata/cp1258.c : Likewise.
15302         * iconvdata/cp932.c : Likewise.
15303         * iconvdata/euc-cn.c: Likewise.
15304         * iconvdata/euc-jisx0213.c : Likewise.
15305         * iconvdata/euc-jp.c: Likewise.
15306         * iconvdata/euc-jp-ms.c : Likewise.
15307         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15308         * iconvdata/gb18030.c : Likewise.
15309         * iconvdata/gbbig5.c (const): Likewise.
15310         * iconvdata/gbgbk.c: Likewise.
15311         * iconvdata/gbk.c : Likewise.
15312         * iconvdata/ibm1364.c : Likewise.
15313         * iconvdata/ibm930.c : Likewise.
15314         * iconvdata/ibm932.c: Likewise.
15315         * iconvdata/ibm933.c : Likewise.
15316         * iconvdata/ibm935.c : Likewise.
15317         * iconvdata/ibm937.c : Likewise.
15318         * iconvdata/ibm939.c : Likewise.
15319         * iconvdata/ibm943.c: Likewise.
15320         * iconvdata/iso_11548-1.c: Likewise.
15321         * iconvdata/iso-2022-cn.c : Likewise.
15322         * iconvdata/iso-2022-cn-ext.c : Likewise.
15323         * iconvdata/iso-2022-jp-3.c: Likewise.
15324         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15325         * iconvdata/iso-2022-kr.c : Likewise.
15326         * iconvdata/iso646.c (gconv_end): Likewise.
15327         * iconvdata/iso_6937-2.c : Likewise.
15328         * iconvdata/iso_6937.c : Likewise.
15329         * iconvdata/iso8859-1.c: Likewise.
15330         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15331         * iconvdata/shift_jisx0213.c : Likewise.
15332         * iconvdata/sjis.c : Likewise.
15333         * iconvdata/t.61.c : Likewise.
15334         * iconvdata/tcvn5712-1.c : Likewise.
15335         * iconvdata/tscii.c: Likewise.
15336         * iconvdata/uhc.c : Likewise.
15337         * iconvdata/unicode.c (gconv_end): Likewise.
15338         * iconvdata/utf-16.c (gconv_end): Likewise.
15339         * iconvdata/utf-32.c (gconv_end): Likewise.
15340         * iconvdata/utf-7.c (base64): Likewise.
15341         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15342         * iconv/gconv_close.c (__gconv_close): Likewise.
15343         * iconv/gconv_open.c (__gconv_open): Likewise.
15344         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15345         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15346         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15347         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15348         (ucs4le_internal_loop_single): Likewise.
15349         * iconv/iconv.c (iconv): Likewise.
15350         * iconv/iconv_close.c: Likewise.
15351         * iconv/loop.c (SINGLE): Likewise.
15352         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15353         * include/atomic.h: Likewise.
15354         * inet/inet6_option.c (option_alloc): Likewise.
15355         * intl/bindtextdom.c (set_binding_values): Likewise.
15356         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15357         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15358         * intl/localealias.c (read_alias_file): Likewise.
15359         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15360         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15361         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15362         * libio/fmemopen.c (fmemopen): Likewise.
15363         * libio/iofgets.c (_IO_fgets): Likewise.
15364         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15365         * libio/iofgetws.c (fgetws): Likewise.
15366         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15367         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15368         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15369         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15370         * locale/findlocale.c (_nl_find_locale): Likewise.
15371         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15372         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15373         Likewise.
15374         * locale/setlocale.c (setlocale): Likewise.
15375         * login/programs/pt_chown.c (main): Likewise.
15376         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15377         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15378         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15379         (mmap, mmap64, mremap, munmap): Likewise.
15380         * math/e_exp2l.c: Likewise.
15381         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15382         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15383         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15384         * math/s_catan.c (__catan): Likewise.
15385         * math/s_catanf.c (__catanf): Likewise.
15386         * math/s_catanh.c (__catanh): Likewise.
15387         * math/s_catanhf.c (__catanhf): Likewise.
15388         * math/s_catanhl.c (__catanhl): Likewise.
15389         * math/s_catanl.c (__catanl): Likewise.
15390         * math/s_ccosh.c (__ccosh): Likewise.
15391         * math/s_ccoshf.c (__ccoshf): Likewise.
15392         * math/s_ccoshl.c (__ccoshl): Likewise.
15393         * math/s_cexp.c (__cexp): Likewise.
15394         * math/s_cexpf.c (__cexpf): Likewise.
15395         * math/s_cexpl.c (__cexpl): Likewise.
15396         * math/s_clog10.c (__clog10): Likewise.
15397         * math/s_clog10f.c (__clog10f): Likewise.
15398         * math/s_clog10l.c (__clog10l): Likewise.
15399         * math/s_clog.c (__clog): Likewise.
15400         * math/s_clogf.c (__clogf): Likewise.
15401         * math/s_clogl.c (__clogl): Likewise.
15402         * math/s_csin.c (__csin): Likewise.
15403         * math/s_csinf.c (__csinf): Likewise.
15404         * math/s_csinh.c (__csinh): Likewise.
15405         * math/s_csinhf.c (__csinhf): Likewise.
15406         * math/s_csinhl.c (__csinhl): Likewise.
15407         * math/s_csinl.c (__csinl): Likewise.
15408         * math/s_csqrt.c (__csqrt): Likewise.
15409         * math/s_csqrtf.c (__csqrtf): Likewise.
15410         * math/s_csqrtl.c (__csqrtl): Likewise.
15411         * math/s_ctan.c (__ctan): Likewise.
15412         * math/s_ctanf.c (__ctanf): Likewise.
15413         * math/s_ctanh.c (__ctanh): Likewise.
15414         * math/s_ctanhf.c (__ctanhf): Likewise.
15415         * math/s_ctanhl.c (__ctanhl): Likewise.
15416         * math/s_ctanl.c (__ctanl): Likewise.
15417         * math/w_pow.c: Likewise.
15418         * math/w_powf.c: Likewise.
15419         * math/w_powl.c: Likewise.
15420         * math/w_scalb.c (sysv_scalb): Likewise.
15421         * math/w_scalbf.c (sysv_scalbf): Likewise.
15422         * math/w_scalbl.c (sysv_scalbl): Likewise.
15423         * misc/error.c (error_tail): Likewise.
15424         * misc/pselect.c (__pselect): Likewise.
15425         * nis/nis_callback.c (__nis_create_callback): Likewise.
15426         * nis/nis_call.c (__nisfind_server): Likewise.
15427         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15428         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15429         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15430         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15431         * nis/nis_lookup.c (nis_lookup): Likewise.
15432         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15433         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15434         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15435         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15436         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15437         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15438         * nis/nss_compat/compat-initgroups.c (add_group)
15439         (internal_getgrent_r): Likewise.
15440         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15441         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15442         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15443         (internal_getspnam_r): Likewise.
15444         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15445         (_nss_nis_getaliasbyname_r): Likewise.
15446         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15447         (_nss_nis_getntohost_r): Likewise.
15448         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15449         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15450         (_nss_nis_getgrgid_r): Likewise.
15451         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15452         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15453         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15454         (_nss_nis_gethostbyname4_r): Likewise.
15455         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15456         (initgroups_netid): Likewise.
15457         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15458         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15459         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15460         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15461         (_nss_nis_getprotobynumber_r): Likewise.
15462         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15463         (_nss_nis_getsecretkey): Likewise.
15464         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15465         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15466         (_nss_nis_getpwuid_r): Likewise.
15467         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15468         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15469         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15470         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15471         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15472         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15473         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15474         Likewise.
15475         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15476         (_nss_nisplus_getntohost_r): Likewise.
15477         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15478         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15479         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15480         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15481         Likewise.
15482         * nis/nss_nisplus/nisplus-initgroups.c
15483         (_nss_nisplus_initgroups_dyn): Likewise.
15484         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15485         (_nss_nisplus_getnetbyaddr_r): Likewise.
15486         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15487         (_nss_nisplus_getprotobynumber_r): Likewise.
15488         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15489         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15490         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15491         Likewise.
15492         * nis/nss_nisplus/nisplus-service.c
15493         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15494         (_nss_nisplus_getservbyport_r): Likewise.
15495         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15496         (_nss_nisplus_getspnam_r): Likewise.
15497         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15498         Likewise.
15499         * nscd/aicache.c (addhstaiX): Likewise.
15500         * nscd/cache.c (cache_search, prune_cache): Likewise.
15501         * nscd/connections.c (register_traced_file, send_ro_fd)
15502         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15503         (main_loop_epoll): Likewise.
15504         * nscd/grpcache.c (addgrbyX): Likewise.
15505         * nscd/hstcache.c (addhstbyX): Likewise.
15506         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15507         * nscd/mem.c (gc, mempool_alloc): Likewise.
15508         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15509         (addinnetgrX): Likewise.
15510         * nscd/nscd-client.h (__nscd_acquire_maplock)
15511         (__nscd_drop_map_ref): Likewise.
15512         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15513         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15514         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15515         Likewise.
15516         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15517         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15518         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15519         (__nscd_get_map_ref): Likewise.
15520         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15521         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15522         Likewise.
15523         * nscd/pwdcache.c (addpwbyX): Likewise.
15524         * nscd/selinux.c (preserve_capabilities): Likewise.
15525         * nscd/servicescache.c (addservbyX): Likewise.
15526         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15527         * posix/fnmatch.c (fnmatch): Likewise.
15528         * posix/getopt.c (_getopt_internal_r): Likewise.
15529         * posix/glob.c (glob, glob_in_dir): Likewise.
15530         * posix/wordexp.c (exec_comm_child): Likewise.
15531         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15532         (getanswer_r, gaih_getanswer_slice): Likewise.
15533         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15534         * resolv/res_init.c: Likewise.
15535         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15536         * resolv/res_query.c (__libc_res_nquery): Likewise.
15537         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15538         Likewise.
15539         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15540         * stdio-common/perror.c (perror): Likewise.
15541         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15542         * stdio-common/tmpnam.c (tmpnam): Likewise.
15543         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15544         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15545         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15546         Likewise.
15547         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15548         * stdlib/putenv.c (putenv): Likewise.
15549         * stdlib/setenv.c (__add_to_environ): Likewise.
15550         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15551         * stdlib/strtol_l.c (INTERNAL): Likewise.
15552         * string/memmem.c (memmem): Likewise.
15553         * string/strerror.c (strerror): Likewise.
15554         * string/strnlen.c (__strnlen): Likewise.
15555         * string/test-memmem.c (simple_memmem): Likewise.
15556         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15557         * sunrpc/pm_getport.c (__get_socket): Likewise.
15558         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15559         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15560         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15561         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15562         Likewise.
15563         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15564         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15565         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15566         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15567         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15568         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15569         Likewise.
15570         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15571         Likewise.
15572         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15573         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15574         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15575         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15576         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15577         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15578         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15579         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15580         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15581         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15582         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15583         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15584         Likewise.
15585         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15586         Likewise.
15587         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15588         Likewise.
15589         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15590         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15591         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15592         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15593         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15594         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15595         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15596         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15597         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15598         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15599         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15600         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15601         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15602         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15603         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15604         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15605         Likewise.
15606         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15607         Likewise.
15608         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15609         Likewise.
15610         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15611         Likewise.
15612         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15614         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15615         Likewise.
15616         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15617         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15618         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15619         * sysdeps/posix/sleep.c: Likewise.
15620         * sysdeps/posix/tempname.c: Likewise.
15621         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15622         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15623         Likewise.
15624         * sysdeps/powerpc/powerpc32/dl-machine.h
15625         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15626         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15627         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15628         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15629         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15630         Likewise.
15631         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15632         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15633         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15634         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15635         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15636         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15637         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15638         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15639         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15640         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15641         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15642         (elf_machine_lazy_rel): Likewise.
15643         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15644         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15645         (elf_machine_lazy_rel): Likewise.
15646         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15647         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15648         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15649         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15650         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15651         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15652         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15653         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15654         Likewise.
15655         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15656         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15657         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15658         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15659         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15660         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15661         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15662         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15663         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15664         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15665         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15666         Likewise.
15667         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15668         (__posix_fallocate64_l64): Likewise.
15669         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15670         (posix_fallocate): Likewise.
15671         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15672         Likewise.
15673         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15674         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15675         (getifaddrs_internal): Likewise.
15676         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15677         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15678         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15679         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15680         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15681         (__posix_fallocate64_l64): Likewise.
15682         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15683         Likewise.
15684         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15685         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15686         (__get_clockfreq): Likewise.
15687         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15688         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15689         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15691         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15692         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15693         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15694         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15695         Likewise.
15696         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15697         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15698         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15699         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15700         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15701         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15702         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15703         Likewise.
15704         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15705         (posix_fallocate): Likewise.
15706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15707         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15708         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15709         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15710         (elf_machine_rela, elf_machine_rela_relative)
15711         (elf_machine_lazy_rel): Likewise.
15712         * time/asctime.c (asctime_internal): Likewise.
15713         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15714         * time/tzset.c (__tzset_parse_tz): Likewise.
15715         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15716         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15717         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15718         * wcsmbs/wcsmbsload.h: Likewise.
15720         [BZ #15894]
15721         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15723         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15724         (arena_get2): Remove THREAD_STATS conditionals.
15725         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15726         (__malloc_stats, int): Likewise.
15728 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15730         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15731         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15733         * manual/setjmp.texi: Fix typos/grammar errors.
15735         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15736         Only return early when n is <= 0.  Delete unused return statement.
15738         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15739         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15740         * debug/tst-longjmp_chk3.c: New file.
15742         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15743         (test_main): Replace code with set_fortify_handler call.
15744         * debug/test-strcpy_chk.c: Likewise.
15745         * debug/tst-chk1.c: Likewise.
15746         * debug/tst-longjmp_chk.c: Likewise.
15747         * test-skeleton.c: Include fcntl.h & paths.h
15748         (set_fortify_handler): Define.
15750         * debug/tst-longjmp_chk.c: Add header comment and include
15751         ../test-skeleton.c.
15752         (do_test): Mark static.
15753         (TEST_FUNCTION): Define.
15755         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15756         (IP_PMTUDISC_INTERFACE): Likewise.
15757         (IP_MULTICAST_IF): Likewise.
15758         (IP_MULTICAST_TTL): Likewise.
15759         (IP_MULTICAST_LOOP): Likewise.
15760         (IP_ADD_MEMBERSHIP): Likewise.
15761         (IP_DROP_MEMBERSHIP): Likewise.
15762         (IP_UNBLOCK_SOURCE): Likewise.
15763         (IP_BLOCK_SOURCE): Likewise.
15764         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15765         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15766         (IP_MSFILTER): Likewise.
15767         (MCAST_JOIN_GROUP): Likewise.
15768         (MCAST_BLOCK_SOURCE): Likewise.
15769         (MCAST_UNBLOCK_SOURCE): Likewise.
15770         (MCAST_LEAVE_GROUP): Likewise.
15771         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15772         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15773         (MCAST_MSFILTER): Likewise.
15774         (IP_MULTICAST_ALL): Likewise.
15775         (IP_UNICAST_IF): Likewise.
15777         * timezone/Makefile: Delete $(have-ksh) check.
15778         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15779         * timezone/tzselect.ksh: Add +x mode bits.
15781         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15782         (ANON_INODE_FS_MAGIC): Likewise.
15783         (BDEVFS_MAGIC): Likewise.
15784         (BINFMTFS_MAGIC): Likewise.
15785         (BTRFS_TEST_MAGIC): Likewise.
15786         (CRAMFS_MAGIC_WEND): Likewise.
15787         (DEBUGFS_MAGIC): Likewise.
15788         (ECRYPTFS_SUPER_MAGIC): Likewise.
15789         (EXT3_SUPER_MAGIC): Likewise.
15790         (EXT4_SUPER_MAGIC): Likewise.
15791         (FUTEXFS_SUPER_MAGIC): Likewise.
15792         (HOSTFS_SUPER_MAGIC): Likewise.
15793         (HUGETLBFS_MAGIC): Likewise.
15794         (MINIX3_SUPER_MAGIC): Likewise.
15795         (MTD_INODE_FS_MAGIC): Likewise.
15796         (NILFS_SUPER_MAGIC): Likewise.
15797         (OPENPROM_SUPER_MAGIC): Likewise.
15798         (PIPEFS_MAGIC): Likewise.
15799         (PSTOREFS_MAGIC): Likewise.
15800         (QNX6_SUPER_MAGIC): Likewise.
15801         (RAMFS_MAGIC): Likewise.
15802         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15803         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15804         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15805         (SECURITYFS_MAGIC): Likewise.
15806         (SELINUX_MAGIC): Likewise.
15807         (SMACK_MAGIC): Likewise.
15808         (SOCKFS_MAGIC): Likewise.
15809         (SQUASHFS_MAGIC): Likewise.
15810         (STACK_END_MAGIC): Likewise.
15811         (TMPFS_MAGIC): Likewise.
15812         (USBDEVICE_SUPER_MAGIC): Likewise.
15813         (V9FS_MAGIC): Likewise.
15814         (XENFS_SUPER_MAGIC): Likewise.
15815         (CRAMFS_MAGIC): Fix typo in comment.
15816         (EXT2_SUPER_MAGIC): Update comment.
15817         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15819 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15821         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15822         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15823         * sysdeps/unix/sysv/linux/arm: Move directory from
15824         ports/sysdeps/unix/sysv/linux/arm.
15825         * README: Update listing for arm-*-linux-gnueabi.
15827         * README: Remove mention of am33.
15829 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15831         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15832         than the comma operator, to avoid "rhs of comma has no effect"
15833         compiler warnings.
15834         (__sigfillset, __sigandset, __sigorset): Likewise.
15835         * include/signal.h (__sigemptyset): Likewise.
15836         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15838 2014-02-07  Allan McRae  <allan@archlinux.org>
15840         * version.h (RELEASE): Set to "development".
15841         (VERSION): Set to "2.19.90"
15842         * NEWS: Add 2.20 section.
15844 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
15846         [BZ #16529]
15847         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15849 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15851         * manual/contrib.texi: Update entry for Carlos O'Donell,
15852         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15854 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
15856         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15858         * sysdeps/unix/sysv/linux/kernel-features.h
15859         [__LINUX_KERNEL_VERSION >= 0x020621]
15860         (__ASSUME_PROC_PID_TASK_COMM): Define.
15862 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15864         [BZ #16398]
15865         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15866         conversion when destination buffer does not have enough space.
15867         * libio/tst-ftell-partial-wide.c: New test case.
15868         * libio/Makefile (tests): Add tst-ftell-partial-wide.
15870         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15871         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
15872         Leonard and Allan McRae.
15874 2014-02-04  David S. Miller  <davem@davemloft.net>
15876         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15877         32-bit.
15879 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15882         New file
15883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15884         New file
15885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15886         New file.
15887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15888         New file.
15889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15890         New file.
15891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15892         New file.
15893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15894         New file.
15895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15896         New file.
15897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15898         New file.
15899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15900         New file.
15901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15902         New file.
15903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15904         New file.
15905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15906         New file.
15908 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15910         * nptl/shlib-versions: Change powerpc*le start to 2.17.
15911         * shlib-versions: Likewise.
15913 2014-02-04  Roland McGrath  <roland@hack.frob.com>
15914             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15916         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15917         (abilist-pattern): New variable, set to %-le.abilist.
15919         * Makerules (abilist-pattern): New variable.
15920         (vpath): Use $(abilist-pattern) in place of %.abilist.
15921         (check-abi-% pattern rule): Likewise.
15922         (check-abi, update-abi): Likewise.
15924 2014-02-04  Eric Wong  <normalperson@yhbt.net>
15926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15928 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
15930         * manual/startup.texi: Add next, previous, and top entries for
15931         the `Program Arguments' and `Environment Variables' nodes.
15933 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
15935         * manual/macros.texi: Add comments before MTASC-safety macros.
15937         * manual/users.texi: Document MTASC-safety properties.
15939         * manual/threads.texi (pthread_key_create, pthread_key_delete)
15940         (pthread_getspecific, pthread_setspecific): Format with
15941         @deftypefun, and add @safety note.
15942         * manual/signal.texi: Move comments that analyze the above
15943         functions to their home place.
15945 2014-02-03  Allan McRae  <allan@archlinux.org>
15947         * po/sl.po: Update Slovenian translation from translation project.
15949 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
15951         * manual/time.texi (timegm): Add missing blank after @c.
15952         Reported by Joseph Myers <joseph@codesourcery.com>.
15954 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
15956         * manual/check-safety.sh: New.
15957         * manual/Makefile ($(objpfx)stamp-summary): Run it.
15959         * manual/terminal.texi: Document MTASC-safety properties.
15961         * manual/filesys.texi: Document MTASC-safety properties.
15963         * manual/errno.texi: Document MTASC-safety properties.
15965         * manual/intro.texi: Document safety identifiers and
15966         conditionals.
15968         * manual/string.texi (wcstok): Fix prototype.
15969         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15971         * manual/time.texi: Document MTASC-safety properties.
15973         * manual/string.texi: Document MTASC-safety properties.
15975         * manual/threads.texi: Document MTASC-safety properties.
15977         * manual/stdio.texi: Document MTASC-safety properties.
15979         * manual/syslog.texi: Document MTASC-safety properties.
15981         * manual/sysinfo.texi: Document MTASC-safety properties.
15983         * manual/startup.texi: Document MTASC-safety properties.
15985         * manual/socket.texi: Document MTASC-safety properties.
15987         * manual/signal.texi: Document MTASC-safety properties.
15989 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
15991         * manual/setjmp.texi: Document MTASC-safety properties.
15993         * manual/search.texi: Document MTASC-safety properties.
15995         * manual/resource.texi: Document MTASC-safety properties.
15997         * manual/process.texi: Document MTASC-safety properties.
15999         * manual/platform.texi: Document MTASC-safety properties.
16001         * manual/pipe.texi: Document MTASC-safety properties.
16003         * manual/pattern.texi: Document MTASC-safety properties.
16005         * manual/message.texi: Document MTASC-safety properties.
16007         [BZ #12751]
16008         * manual/memory.texi: Document MTASC-safety properties.
16010         * manual/math.texi: Document MTASC-safety properties.
16012         * manual/locale.texi: Document MTASC-safety properties.
16014         * manual/llio.texi: Document MTASC-safety properties.
16016         * manual/libdl.texi: New.
16018         * manual/lang.texi: Document MTASC-safety properties.
16020         * manual/job.texi: Document MTASC-safety properties.
16022         * manual/getopt.texi: Document MTASC-safety properties.
16024         * manual/ctype.texi: Document MTASC-safety properties.
16026 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16028         [BZ #16046]
16029         * csu/libc-tls.c (static_map): Remove variable.
16030         (__libc_setup_tls): Use main executable's link map for TLS data.
16031         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16032         casing for LM_ID_BASE and GL(dl_nns).
16033         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16034         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16035         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16036         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16037         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16038         member.
16039         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16040         l_phnum members.
16042 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16044         * manual/debug.texi: Document MTASC-safety properties.
16046 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16048         [BZ #16510]
16049         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16050         of __x86_64__ when disabling x87 inline functions.
16052 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16054         * manual/charset.texi: Document MTASC-safety properties.
16056         * manual/crypt.texi: Document MTASC-safety properties.
16058         * manual/conf.texi: Document MTASC-safety properties.
16060         * manual/arith.texi: Document MTASC-safety properties.
16062         * manual/argp.texi: Document MTASC-safety properties.
16064         * manual/macros.texi: Introduce macros to document multi
16065         thread, asynchronous signal and asynchronous cancellation
16066         safety properties.
16067         * manual/intro.texi: Introduce the properties themselves.
16069 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16071         * sysdeps/sh/sh4/Makefile: New file.
16073 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16075         * math/gen-libm-test.pl ($srcdir): New variable.
16076         ($auto_input): Use it.
16078 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16080         [BZ #16506]
16081         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16082         access beyond array bounds when parsing netgroups file.
16084         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16085         the old buffer before realloc.
16087 2014-01-27  Allan McRae  <allan@archlinux.org>
16089         * po/fr.po: Update French translation from translation project.
16091 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16093         * sysdeps/sh/libm-test-ulps: Regenerate.
16095 2014-01-24  David S. Miller  <davem@davemloft.net>
16097         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16099 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16101         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16102         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16104 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16106         [BZ #16474]
16107         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16108         string pointers after reallocation.
16110 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16112         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16113         __SH4A__ instead of __SH_FPU_ANY__.
16115 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16117         * sysdeps/sh/fpu_control.h: New file.
16118         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16119         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16120         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16121         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16122         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16123         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16124         * sysdeps/sh/sys/ucontext.h: Remove.
16125         * sysdeps/sh/sys: Remove directory.
16127 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16129         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16130         s390/sys/ucontext.h.
16131         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16132         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16134 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16136         [BZ #15605]
16137         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16139 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16141         [BZ#16431]
16142         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16143         Adjust the vDSO correctly for internal calls.
16144         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16146 2014-01-20  Allan McRae  <allan@archlinux.org>
16148         * po/ca.po: Update Catalan translation from translation project.
16150 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16152         * sysdeps/s390/sotruss-lib.c: New file.
16154 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16156         [BZ#16430]
16157         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16158         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16159         local calls issues by not having a PLT stub required for IFUNC calls.
16160         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16162 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16164         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16165         * math/test-fpucw-static.c: Likewise.
16167 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16169         [BZ #16453]
16170         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16172 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16174         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16175         implementation for powerpc.
16177 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16179         [BZ #14782]
16180         * sysdeps/posix/system.c (__libc_system): Do not enable
16181         asynchronous cancellation.
16183 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16185         [BZ #16427]
16186         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16187         handling only for numbers special also in the IEEE case.
16189 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16191         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16193 2014-01-11  Allan McRae  <allan@archlinux.org>
16195         * po/bg.po: Update Bulgarian translation from translation project.
16197         * po/de.po: Update German translation from translation project.
16199 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16201         * sysdeps/generic/gcc-compat.h: New file.
16203 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16205         * benchtests/asin-inputs: Correct slow inputs.
16206         * benchtests/acos-inputs: Likewise.
16208 2014-01-10  Allan McRae  <allan@archlinux.org>
16210         * po:sv.po: Update Swedish translation from translation project.
16212         * po/vi.po: Update Vietnamese translation from translation project.
16214         * po/eo.po: Update Esperanto translation from translation project.
16216         * po/cs.po: Update Czech translation from translation project.
16218         * po/nl.po: Update Dutch translation from translation project.
16220         * po/pl.po: Update Polish translation from translation project.
16222         * po/ru.po: Update Russian translation from translation project.
16224         * po/uk.po: Update Ukrainian translation from translation project.
16226 2014-01-08  Brooks Moses  <bmoses@google.com>
16228         * elf/dl-load.c: Fix comment typo.
16230 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16232         * po/header.pot: Rename to...
16233         * po/pot.header: ... this.
16234         * po/Makefile: Use pot.header.
16236 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16237             Maxim Kuvyrkov  <maxim@kugelworks.com>
16239         [BZ #16394]
16240         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16241         SRC and DEST against LEN.
16243 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16245         [BZ #16414]
16246         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16247         implementation.
16248         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16250 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16254 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16256         [BZ #16408]
16257         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16258         for large positive arguments.
16260 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16262         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16264         * math/auto-libm-test-in: Mark various tests with
16265         xfail-rounding:ldbl-128ibm.
16266         * math/auto-libm-test-out: Regenerated.
16268         [BZ #16407]
16269         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16270         Increase overflow threshold.
16272 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16274         [BZ #14286]
16275         * stdio-common/vfprintf.c: Check for integer overflow.
16277 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16279         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16280         the first argument and return value of __tls_get_addr_internal.
16282 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16284         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16285         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16287 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16289         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16290         * sysdeps/s390/rtld-global-offsets.sym: New file.
16291         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16292         GLIBC_2.19 symbol.
16293         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16294         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16295         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16296         ... this.
16297         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16298         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16299         ... this.
16300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16301         Regenerate.
16302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16303         Regenerate.
16304         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16305         halfs of GPRs for high_gprs contexts.
16306         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16307         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16308         field.
16309         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16310         uc_flags field.
16311         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16312         64 bit versions:
16313         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16314         for high GPRs (uc_high_gprs) and for future extensions
16315         (__reserved).
16316         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16317         for future extensions (__reserved).
16318         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16319         64 bit versions:
16320         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16321         SC_HIGHGPRS offset definition.
16322         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16323         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16325         * Versions.def: Add GLIBC_2.19 for libpthread.
16326         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16327         siglongjmp for libpthread with GLIBC_2.19 symver.
16328         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16329         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16330         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16331         * sysdeps/s390/__longjmp.c: New file.
16332         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16333         * sysdeps/s390/longjmp.c: New file.
16334         * sysdeps/s390/setjmp.S: New file.
16335         * sysdeps/s390/sigjmp.S: New file.
16336         * sysdeps/s390/v1-longjmp.c: New file.
16337         * sysdeps/s390/v1-setjmp.h: New file.
16338         * sysdeps/s390/v1-sigjmp.c: New file.
16339         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16340         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16341         GLIBC_2.19 version.
16342         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16343         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16344         versioned symbols for ____longjmp_chk.
16345         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16346         Likewise.
16347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16348         Regenerate.
16349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16350         Regenerate.
16351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16352         Regenerate.
16353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16354         Regenerate.
16355         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16356         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16357         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16358         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16359         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16360         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16361         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16362         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16363         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16364         * sysdeps/s390/rtld-__longjmp.c: New file.
16365         * sysdeps/s390/rtld-setjmp.S: New file.
16367 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16369         [BZ #16400]
16370         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16371         Return -__logl (x) for small positive arguments without evaluating
16372         a polynomial.
16374 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16376         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16377         Rename to ...
16378         (__ptrace_peeksiginfo_args): ... this.
16379         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16380         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16381         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16383 2014-01-06  Allan McRae  <allan@archlinux.org>
16385         * inet/netinet/in.h: Fix typo in comment.
16387 2014-01-05  Andreas Jaeger  <aj@suse.de>
16389         * sysdeps/i386/fpu/libm-test-ulps: Update.
16391 2014-01-05  Allan McRae  <allan@archlinux.org>
16393         * po/libc.pot: Regenerated.
16395         * malloc/memusagestat.c: Fix gettext call formatting.
16397 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16399         * nscd/nscd.c: Improve usage() output.
16401 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16403         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16404         * sysdeps/unix/sysv/linux/configure: Regenerated.
16405         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16406         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16408 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16410         [BZ #16390]
16411         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16412         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16414 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16416         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16417         extra tokens at end of #undef directive.
16418         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16419         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16420         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16422 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16424         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16426         * math/auto-libm-test-in: Mark various tests with
16427         xfail-rounding:ldbl-128ibm.
16428         * math/auto-libm-test-out: Regenerated.
16430 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16432         [BZ #16386]
16433         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16434         numbers with subnormal high part when calculating exponent.
16436         [BZ #16385]
16437         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16438         fabs.
16440         [BZ #16384]
16441         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16442         M_LN2l.
16443         (__ieee754_acoshl): Use __log1pl not __log1p.
16445 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16447         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16448         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16449         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16450         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16451         (reused_arena, arena_get2): Convert to GNU style.
16452         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16453         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16454         (memalign_check, __malloc_set_state): Likewise.
16455         * malloc/mallocbug.c (main): Likewise.
16456         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16457         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16458         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16459         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16460         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16461         (__posix_memalign, malloc_info): Likewise.
16462         * malloc/malloc.h: Likewise.
16463         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16464         (mallochook, memalignhook, reallochook, mabort): Likewise.
16465         * malloc/mcheck.h: Likewise.
16466         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16467         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16468         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16469         * malloc/morecore.c (__default_morecore): Likewise.
16470         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16471         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16472         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16473         (print_and_abort): Likewise.
16474         * malloc/obstack.h: Likewise.
16475         * malloc/set-freeres.c (__libc_freeres): Likewise.
16476         * malloc/tst-mallocstate.c (main): Likewise.
16477         * malloc/tst-mtrace.c (main): Likewise.
16478         * malloc/tst-realloc.c (do_test): Likewise.
16480 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16482         [BZ #16366]
16483         * nscd/netgroupcache.c (do_notfound): New function.
16484         (addgetnetgrentX): Use it.
16486         [BZ # 16365]
16487         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16488         NSS_STATUS_NOTFOUND.
16490 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16492         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16495 2014-01-01  Allan McRae  <allan@archlinux.org>
16497         * scripts/update-copyrights: Update configure input file suffix.
16499         * NEWS: Update copyright year.
16500         * catgets/gencat.c: Likewise.
16501         * csu/version.c: Likewise.
16502         * debug/catchsegv.sh: Likewise.
16503         * debug/pcprofiledump.c: Likewise.
16504         * debug/xtrace.sh: Likewise.
16505         * elf/ldconfig.c: Likewise.
16506         * elf/ldd.bash.in: Likewise.
16507         * elf/pldd.c: Likewise.
16508         * elf/sotruss.ksh: Likewise.
16509         * elf/sprof.c: Likewise.
16510         * iconv/iconv_prog.c: Likewise.
16511         * iconv/iconvconfig.c: Likewise.
16512         * locale/programs/locale.c: Likewise.
16513         * locale/programs/localedef.c: Likewise.
16514         * login/programs/pt_chown.c: Likewise.
16515         * malloc/memusage.sh: Likewise.
16516         * malloc/memusagestat.c: Likewise.
16517         * malloc/mtrace.pl: Likewise.
16518         * manual/libc.texinfo: Likewise.
16519         * nscd/nscd.c: Likewise.
16520         * nss/getent.c: Likewise.
16521         * nss/makedb.c: Likewise.
16522         * posix/getconf.c: Likewise.
16523         * scripts/test-installation.pl: Likewise.
16525         * All files with FSF copyright notices: Update copyright dates
16526         using scripts/update-copyrights.
16527         * intl/plural.c: Regenerated.
16528         * locale/programs/charmap-kw.h: Likewise.
16529         * locale/programs/locfile-kw.h: Likewise.
16531 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16533         * sysdeps/unix/sysv/linux/configure: Regenerated.
16534         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16535         the linux/fanotify.h header.
16536         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16537         HAVE_LINUX_FANOTIFY_H is defined.
16539 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16541         * benchtests/cos-inputs: New inputs.
16542         * benchtests/sin-inputs: Likewise.
16544         * benchtests/atan-inputs: New inputs. Fix name of multiple
16545         precision fallback inputs.
16547         * benchtests/atanh-inputs: New inputs.
16548         * benchtests/tanh-inputs: Likewise.
16550         * benchtests/acosh-inputs: New inputs.
16551         * benchtests/asinh-inputs: Likewise.
16553         * benchtests/cosh-inputs: New inputs.
16554         * benchtests/sinh-inputs: Likewise.
16556         * benchtests/acos-inputs: Add more inputs.
16557         * benchtests/asin-inputs: Likewise.
16559 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16561         [BZ #16375]
16562         * manual/arith.texi: Fix spelling.
16563         * manual/charset.texi: Likewise.
16564         * manual/errno.texi: Likewise.
16565         * manual/filesys.texi: Likewise.
16566         * manual/lang.texi: Likewise.
16567         * manual/llio.texi: Likewise.
16568         * manual/locale.texi: Likewise.
16569         * manual/message.texi: Likewise.
16570         * manual/resource.texi: Likewise.
16571         * manual/search.texi: Likewise.
16572         * manual/setjmp.texi: Likewise.
16573         * manual/stdio.texi: Likewise.
16574         * manual/string.texi: Likewise.
16575         * manual/sysinfo.texi: Likewise.
16576         * manual/time.texi: Likewise.
16578 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16580         * po/sl.po: New file.
16582 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16584         * .gitignore: Add core/.gdbinit/.gdb_history.
16586 2013-12-27  Allan McRae  <allan@archlinux.org>
16588         [BZ #16369]
16589         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16590         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16592 2013-12-24  Brooks Moses  <bmoses@google.com>
16594         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16595         all compilers that claim C++98 compliance, not just GCC.
16596         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16597         Likewise.
16599 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16601         * NEWS: Restore accidentally deleted bug-fix entries.
16603 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16604             Ondřej Bílka  <neleai@seznam.cz>
16606         [BZ #15073]
16607         * malloc/malloc.c (_int_free): Perform sanity check only if we
16608         have_lock.
16610 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16612         [BZ #12986]
16613         * manual/stdio.texi (String Input Conversions): Clarify that character
16614         classes are not supported.
16616 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16620 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16622         [BZ #16337]
16623         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16624         Calculate results for small negative arguments directly rather
16625         than using reflection formula with special underflow handling.
16627         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16628         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16629         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16630         (fchflags): Likewise.
16631         (revoke): Likewise.
16632         (setlogin): Likewise.
16633         (sigaltstack): Likewise.
16634         (wait4): Likewise.
16635         (sigblock): Remove.
16636         (sigsetmask): Likewise.
16637         (wait3): Likewise.
16638         (waitpid): Likewise.
16639         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16640         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16641         file.
16642         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16643         * sysdeps/unix/bsd/Makefile: ... here.
16644         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16645         * sysdeps/unix/bsd/Versions: ... here.
16646         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16647         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16648         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16649         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16650         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16651         * sysdeps/unix/bsd/sigblock.c: ... here.
16652         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16653         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16654         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16655         * sysdeps/unix/bsd/sigvec.c: ... here.
16656         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16657         * sysdeps/unix/bsd/tcdrain.c: ... here.
16658         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16659         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16660         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16661         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16662         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16663         * sysdeps/unix/bsd/wait.c: ... here.
16664         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16665         * sysdeps/unix/bsd/wait3.c: ... here.
16666         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16667         * sysdeps/unix/bsd/waitpid.c: ... here.
16669 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16671         [BZ #16356]
16672         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16673         round-to-nearest for [!USE_AS_EXPM1L].
16674         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16675         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16676         more tests of exp and exp10.  Expect some exp10 tests to miss
16677         exceptions or fail in directed rounding modes.
16678         * math/auto-libm-test-out: Regenerated.
16679         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16680         (exp10_test_tonearest): New function.
16681         (exp10_towardzero_test_data): New array.
16682         (exp10_test_towardzero): New function.
16683         (exp10_downward_test_data): New array.
16684         (exp10_test_downward): New function.
16685         (exp10_upward_test_data): New array.
16686         (exp10_test_upward): New function.
16687         (main): Call the new functions.
16688         * sysdeps/i386/fpu/libm-test-ulps: Update.
16689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16691 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16693         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16694         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16695         * math/auto-libm-test-out: Regenerated.
16696         * math/libm-test.inc (acosh_test_data): Add more tests.
16697         (atanh_test_data): Likewise.
16698         (ceil_test_data): Likewise.
16699         (copysign_test_data): Likewise.
16700         * sysdeps/i386/fpu/libm-test-ulps: Update.
16701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16703         * timezone/checktab.awk: Update from tzcode 2013i.
16704         * timezone/private.h: Likewise.
16705         * timezone/scheck.c: Likewise.
16706         * timezone/tzfile.h: Likewise.
16707         * timezone/tzselect.ksh: Likewise.
16708         * timezone/zdump.c: Likewise.
16709         * timezone/zic.c: Likewise.
16711         * math/auto-libm-test-in: Add tests of cpow.
16712         * math/auto-libm-test-out: Regenerated.
16713         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16714         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16715         mpc_cc_c.
16716         (func_calc_desc): Add mpc_cc_c union field.
16717         (test_functions): Add cpow.
16718         (special_fill_2pi): New function.
16719         (special_real_inputs): Add 2pi.
16720         (calc_generic_results): Handle mpc_cc_c.
16721         * sysdeps/i386/fpu/libm-test-ulps: Update.
16722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16724         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16725         csqrt, ctan and ctanh.
16726         * math/auto-libm-test-out: Regenerated.
16727         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16728         (TEST_COND_x86): Likewise.
16729         (ccos_test_data): Use AUTO_TESTS_c_c.
16730         (ccosh_test_data): Likewise.
16731         (cexp_test_data): Likewise.
16732         (clog_test_data): Likewise.
16733         (csqrt_test_data): Likewise.
16734         (ctan_test_data): Likewise.
16735         (ctan_tonearest_test_data): Likewise.
16736         (ctan_towardzero_test_data): Likewise.
16737         (ctan_downward_test_data): Likewise.
16738         (ctan_upward_test_data): Likewise.
16739         (ctanh_test_data): Likewise.
16740         (ctanh_tonearest_test_data): Likewise.
16741         (ctanh_towardzero_test_data): Likewise.
16742         (ctanh_downward_test_data): Likewise.
16743         (ctanh_upward_test_data): Likewise.
16744         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16745         mpc_c_c.
16746         (func_calc_desc): Add mpc_c_c union field.
16747         (FUNC_mpc_c_c): New macro.
16748         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16749         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16750         ctanh.
16751         (special_fill_min_subnorm_p120): New function.
16752         (special_real_inputs): Add min_subnorm_p120.
16753         (calc_generic_results): Handle mpc_c_c.
16754         * sysdeps/i386/fpu/libm-test-ulps: Update.
16755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16757 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16759         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16760         (do_sin_slow): New functions.
16761         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16762         (cslow2, csloww1, csloww2): Use the new functions.
16764         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16765         Use M to change sign of result instead of X.  Assume X is
16766         positive.
16767         (csloww1): Likewise.
16768         (__sin): Adjust.
16769         (__cos): Adjust.
16771         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16772         arguments A and DA.
16773         (__sin): Adjust.
16774         (__cos): Likewise.
16776         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16777         (__cos): Likewise.
16778         (sloww1): Don't adjust sign of DX.
16779         (csloww1): Likewise.
16780         (sloww2): Use X directly and don't adjust sign of DX.
16781         (csloww2): Likewise.
16783 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16785         * math/auto-libm-test-in: Add tests of cabs and carg.
16786         * math/auto-libm-test-out: Regenerated.
16787         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16788         (carg_test_data): Likewise.
16789         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16790         mpc_c_f.
16791         (func_calc_desc): Add mpc_c_f union field.
16792         (test_functions): Add cabs and carg.
16793         (calc_generic_results): Handle mpc_c_f.
16795         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16796         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16797         as a macro and a compat symbol.
16798         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16799         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16800         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16801         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16802         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16803         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16804         not use .hidden.
16805         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16806         Likewise.
16807         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16808         Likewise.
16809         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16810         Likewise.
16811         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16812         Likewise.
16813         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16814         Likewise.
16815         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16816         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16817         from GLIBC_2.3.2.
16819 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16823 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16825         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16826         trailing whitespace removed.
16827         * scripts/config.guess: Update to version 2013-11-29.
16828         * scripts/config.sub: Update to version 2013-10-01.
16830         * math/auto-libm-test-in: Add tests of sincos.
16831         * math/auto-libm-test-out: Regenerated.
16832         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16833         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16834         mpfr_f_11.
16835         (func_calc_desc): Add mpfr_f_11 union field.
16836         (test_functions): Add sincos.
16837         (calc_generic_results): Handle mpfr_f_11.
16838         * sysdeps/i386/fpu/libm-test-ulps: Update.
16839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16841 2013-12-19  Andreas Schwab  <schwab@suse.de>
16843         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16844         CALL_MCOUNT.
16845         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16846         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16847         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16849 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16851         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16852         * sysdeps/i386/fpu/libm-test-ulps: Update.
16853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16855         [BZ #16293]
16856         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16857         round-to-nearest mode when using frndint.
16858         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16859         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16860         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16861         Likewise.
16862         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
16863         sinh test to fail.
16864         * math/auto-libm-test-out: Regenerated.
16865         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16866         (TEST_COND_x86): Likewise.
16867         (expm1_tonearest_test_data): New array.
16868         (expm1_test_tonearest): New function.
16869         (expm1_towardzero_test_data): New array.
16870         (expm1_test_towardzero): New function.
16871         (expm1_downward_test_data): New array.
16872         (expm1_test_downward): New function.
16873         (expm1_upward_test_data): New array.
16874         (expm1_test_upward): New function.
16875         (main): Run the new test functions.
16876         * sysdeps/i386/fpu/libm-test-ulps: Update.
16877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16879         * include/features.h: Update comment documenting feature test
16880         macros.  Mention _DEFAULT_SOURCE in comment.
16881         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16882         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16883         _BSD_SOURCE and _SVID_SOURCE.
16884         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16885         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16886         !_SVID_SOURCE]: Likewise.
16887         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16888         (__USE_POSIX_IMPLICITLY): Define.
16889         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16890         (_POSIX_SOURCE): Undefine and redefine.
16891         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16892         (_POSIX_C_SOURCE): Likewise.
16893         * manual/creature.texi (_DEFAULT_SOURCE): Document.
16894         (Feature Test Macros): Update documentation of default features.
16896 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16898         * benchtests/Makefile: Add bench-strtok.
16899         * benchtests/bench-strtok.c: New file: strtok benchtest.
16901 2013-12-19  Allan McRae  <allan@archlinux.org>
16903         * manual/install.texi: Suppress menu for plain text output.
16904         * INSTALL: Regenerated.
16906 2013-12-18  Brooks Moses  <bmoses@google.com>
16908         [BZ #15846]
16909         * misc/getauxval.c: Include errno.h.
16910         (__getauxval): Set errno to ENOENT if the requested type is not
16911         found.
16912         * misc/sys/auxv.h (getauxval): Document that it may set errno;
16913         don't declare with __attribute_const__.
16914         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16915         * manual/startup.texi: Document that getauxval sets errno.
16917 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16919         * math/auto-libm-test-in: Add tests of jn and yn.
16920         * math/auto-libm-test-out: Regenerated.
16921         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16922         (yn_test_data): Likewise.
16923         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16924         mpfr_if_f.
16925         (func_calc_desc): Add mpfr_if_f union field.
16926         (FUNC_mpfr_if_f): New macro.
16927         (test_functions): Add jn and yn.
16928         (calc_generic_results): Assert type of second input for
16929         mpfr_ff_f.  Handle mpfr_if_f.
16930         (output_for_one_input_case): Disable all checking for arguments
16931         fitting floating-point types in case of an integer argument.
16932         * sysdeps/i386/fpu/libm-test-ulps: Update.
16933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16936         Don't expect fegetround reference in libm.so.
16938 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16940         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16941         $(config-cflags-nofma).
16943 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16945         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16946         * math/auto-libm-test-out: Regenerated.
16948         [BZ #16338]
16949         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16950         to determine exponent and adjust argument to have exponent of -1.
16951         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16952         log2.
16953         * math/auto-libm-test-out: Regenerated.
16954         * sysdeps/i386/fpu/libm-test-ulps: Update.
16955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16957 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
16959         * manual/probes.texi: Remove cases when per-thread arenas are
16960         disabled.
16962 2013-12-18  Andreas Schwab  <schwab@suse.de>
16964         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16965         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16966         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16967         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16968         * sysdeps/i386/i686/multiarch/Makefile: Update.
16969         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16971 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16973         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16974         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16976 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
16978         [BZ #15968]
16979         Support TZ transition times < 00:00:00.
16980         This is needed for version-3 tz-format files; it supports time
16981         stamps past 2037 for America/Godthab (the only entry in the tz
16982         database for which this change is relevant).
16983         * manual/time.texi (TZ Variable): Document transition times
16984         from -167:59:59 through -00:00:01.
16985         * time/tzset.c (tz_rule): Time of day is now signed.
16986         (__tzset_parse_tz): Parse negative time of day.
16988         Document TZ transition times >= 25:00:00.
16989         * manual/time.texi (TZ Variable): Document transition times from
16990         25:00:00 through 167:59:59.  These are already supported, and this
16991         support will help with version-3 tz-format files.
16993         * manual/time.texi (TZ Variable): Modernize North America example
16994         to reflect current (i.e., 2007-and-later) daylight saving rules.
16996         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16998 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17000         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17001         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17002         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17003         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17004         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17005         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17006         * sysdeps/unix/bsd/clock.c: Likewise.
17007         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17008         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17009         * sysdeps/unix/bsd/init-posix.c: Likewise.
17010         * sysdeps/unix/bsd/poll.c: Likewise.
17011         * sysdeps/unix/bsd/ptsname.c: Likewise.
17012         * sysdeps/unix/bsd/seekdir.c: Likewise.
17013         * sysdeps/unix/bsd/setegid.c: Likewise.
17014         * sysdeps/unix/bsd/seteuid.c: Likewise.
17015         * sysdeps/unix/bsd/setgid.c: Likewise.
17016         * sysdeps/unix/bsd/setrgid.c: Likewise.
17017         * sysdeps/unix/bsd/setruid.c: Likewise.
17018         * sysdeps/unix/bsd/setsid.c: Likewise.
17019         * sysdeps/unix/bsd/setuid.c: Likewise.
17020         * sysdeps/unix/bsd/sigaction.c: Likewise.
17021         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17022         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17023         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17024         * sysdeps/unix/bsd/telldir.c: Likewise.
17025         * sysdeps/unix/bsd/times.c: Likewise.
17026         * sysdeps/unix/bsd/usleep.c: Likewise.
17028         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17029         ($(objpfx)libbsd-compat.a): Remove rule.
17031         * include/features.h (__FAVOR_BSD): Do not define.
17032         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17033         features conflicting with POSIX.
17034         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17035         (_BSD_SOURCE): Remove description of not being a subset of other
17036         feature test macros.
17037         * manual/job.texi (getpgrp): Do not document BSD version.
17038         (getpgid): Do not document by reference to BSD getpgrp.
17039         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17040         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17041         * signal/signal.h [__FAVOR_BSD]: Likewise.
17042         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17043         instead of making contents conditional on [__FAVOR_BSD].
17044         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17046 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17050 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17052         [BZ #16314]
17053         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17054         values below 2**-450, not 2**-500.
17055         * math/auto-libm-test-in: Don't allow spurious underflow from
17056         hypot.
17057         * math/auto-libm-test-out: Regenerated.
17059         [BZ #16316]
17060         [BZ #16330]
17061         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17062         values of ha and hb and sort them after adjusting subnormal
17063         arguments.
17064         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17065         Likewise.
17066         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17067         values of ea and eb and sort them after adjusting subnormal
17068         arguments.
17069         * math/auto-libm-test-in: Do not expect some hypot tests of
17070         subnormals to fail.  Add more hypot tests.
17071         * math/auto-libm-test-out: Regenerated.
17073 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17075         [BZ #13304]
17076         * sysdeps/sh/s_fma.c: New file.
17077         * sysdeps/sh/s_fmaf.c: New file.
17078         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17079         version.
17080         * sysdeps/sh/Implies: Add sh/soft-fp.
17082 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17084         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17085         level of indirection to members `objname', `errstring', `malloced'.
17086         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17087         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17088         it as the __longjmp argument (just pass 1 instead).
17089         (_dl_catch_error): Initialize C with argument pointers and address of
17090         volatile local ERRCODE rather than copying values out of C at return.
17092 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17094         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17095         * math/auto-libm-test-out: Regenerated.
17096         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17097         (hypot_test_data): Likewise.
17098         (pow_test_data): Likewise.
17099         (pow_tonearest_test_data): Likewise.
17100         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17101         mpfr_ff_f.
17102         (func_calc_desc): Add mpfr_ff_f union field.
17103         (FUNC_mpfr_ff_f): New macro.
17104         (test_functions): Add atan2, hypot and pow.
17105         (special_fill_min): New function.
17106         (special_fill_minus_min): Likewise.
17107         (special_fill_min_subnorm): Likewise.
17108         (special_fill_minus_min_subnorm): Likewise.
17109         (special_real_inputs): Add min, -min, min_subnorm and
17110         -min_subnorm.
17111         (calc_generic_results): Handle mpfr_ff_f.
17112         * sysdeps/i386/fpu/libm-test-ulps: Update.
17113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17115 2013-12-16  Will Newton  <will.newton@linaro.org>
17117         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17118         (Aligned Memory Blocks): Add documentation for aligned_alloc
17119         and suggest it as an alternative to posix_memalign.
17120         (Hooks for Malloc): Document __memalign_hook is also called
17121         for aligned_alloc.  (Summary of Malloc): Add summary for
17122         aligned alloc.  Document __memalign_hook is also called
17123         for aligned_alloc.
17125 2013-12-16  Will Newton  <will.newton@linaro.org>
17127         * manual/memory.texi (Malloc Examples): Clarify default
17128         alignment documentation.  Suggest posix_memalign rather
17129         than memalign or valloc.
17130         (Aligned Memory Blocks): Remove suggestion to use memalign
17131         or valloc.  Remove obsolete comment about BSD.
17132         Document memalign errno values and mark the function obsolete.
17133         Document posix_memalign returned error codes.  Mark valloc
17134         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17135         called for posix_memalign and valloc.
17136         (Summary of Malloc): Add posix_memalign to function summary.
17137         __memalign_hook is also called for posix_memalign and valloc.
17139 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17141         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17142         TAYLOR_SIN.
17143         (__sin): Adjust.
17144         (__cos): Likewise.
17145         (sloww): Use mynumber union.  Expand ternary operator into
17146         if-else statements.
17147         (cslow): use mynumber union.
17149 2013-12-16  Allan McRae  <allan@archlinux.org>
17151         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17152         * configure: Regenerated.
17154         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17156         [BZ #14120]
17157         * configure.ac: Added --enable-maintainer-mode. Check for
17158         autoconf when enabled.
17159         * configure: Regenerated.
17161         * nscd/nscd.service: New file.
17162         * nscd/nscd.tmpfiles: New file.
17164 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17166         [BZ #12100]
17167         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17168         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17169         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17170         (strstr): Add __strstr_sse2_unaligned ifunc.
17171         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17172         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17173         (strcasestr): Remove __strcasestr_sse42 ifunc.
17174         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17178 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17180         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17181         * sysdeps/sh/bits/fenv.h: ... here.
17182         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17184 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17186         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17189         hypotf multiarch implementations.
17190         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17191         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17192         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17193         multiarch hypot for PPC64.
17194         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17195         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17196         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17197         multiarch hypotf for PPC64.
17199         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17200         modff multiarch implementations.
17201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17204         multiarch modf for PPC64.
17205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17208         multiarch modff for PPC64.
17210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17211         and logl multiarch implementations.
17212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17215         multiarch logb for PPC64.
17216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17219         multiarch logb for PPC64.
17220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17223         multiarch logb for PPC64.
17225         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17226         isinff multiarch implementation.
17227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17228         file.
17229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17231         multiarch isinf for PPC64.
17232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17233         file.
17234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17235         multiarch isinff for PPC64.
17237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17238         finitef multiarch implementation.
17239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17240         file.
17241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17243         multiarch finite for PPC64.
17244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17245         file.
17246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17247         multiarch finitef for PPC64.
17249         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17250         lrint multiarch implementation.
17251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17252         file.
17253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17255         multiarch llrint for PPC64.
17256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17257         multiarch lrint for PPC64.
17259         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17260         copysignf multiarch implementation.
17261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17262         file.
17263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17264         file.
17265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17266         multiarch copysign for PPC64.
17267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17268         multiarch copysignf for PPC64.
17270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17271         multiarch implementation.
17272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17273         file.
17274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17275         file.
17276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17277         file.
17278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17279         file.
17280         multiarch llround for PPC64.
17281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17282         multiarch trunc for PPC64.
17283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17284         multiarch truncf for PPC64.
17286         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17287         multiarch implementation.
17288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17289         file.
17290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17291         file.
17292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17293         file.
17294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17295         file.
17296         multiarch llround for PPC64.
17297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17298         multiarch round for PPC64.
17299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17300         multiarch roundf for PPC64.
17302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17303         multiarch implementation.
17304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17305         file.
17306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17307         file.
17308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17309         file.
17310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17311         file.
17312         multiarch llround for PPC64.
17313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17314         multiarch floor for PPC64.
17315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17316         multiarch floorf for PPC64.
17318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17319         multiarch implementation.
17320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17321         file.
17322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17323         file.
17324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17325         file.
17326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17327         file.
17328         multiarch llround for PPC64.
17329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17330         multiarch ceil for PPC64.
17331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17332         multiarch ceilf for PPC64.
17334         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17335         multiarch implementation.
17336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17337         file.
17338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17339         file.
17340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17341         file.
17342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17343         multiarch llround for PPC64.
17344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17345         multiarch lround for PPC64.
17347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17348         multiarch implementation.
17349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17352         file.
17353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17356         multiarch isnan for PPC64.
17357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17358         multiarch isnanf for PPC64.
17360         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17361         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17362         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17363         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17364         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17367         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17368         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17370         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17373         multiarch implementations.
17374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17375         (__libc_ifunc_impl_list): Likewise.
17376         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17377         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17379         multiarch stpcpy for PPC64.
17381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17382         multiarch implementations.
17383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17384         (__libc_ifunc_impl_list): Likewise.
17385         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17386         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17387         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17388         multiarch strcpy for PPC64.
17390         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17391         redefine function name.
17392         (_wordcopy_fwd_dest_aligned): Likewise.
17393         (_wordcopy_bwd_aligned): Likewise.
17394         (_wordcopy_bwd_dest_aligned): Likewise.
17395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17396         multiarch implementations.
17397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17398         (__libc_ifunc_impl_list): Likewise.
17399         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17400         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17401         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17402         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17403         multiarch wcscpy for PPC64.
17405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17406         multiarch implementations.
17407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17408         (__libc_ifunc_impl_list): Likewise.
17409         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17410         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17411         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17412         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17413         multiarch wcscpy for PPC64.
17415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17416         multiarch implementations.
17417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17418         (__libc_ifunc_impl_list): Likewise.
17419         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17420         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17421         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17422         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17423         multiarch wcsrchr for PPC64.
17425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17426         multiarch implementations.
17427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17428         (__libc_ifunc_impl_list): Likewise.
17429         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17430         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17431         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17432         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17433         multiarch wcschr for PPC64.
17435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17436         multiarch implementations.
17437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17438         (__libc_ifunc_impl_list): Likewise.
17439         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17440         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17441         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17442         multiarch strchrnul for PPC64.
17444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17445         implementations.
17446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17447         (__libc_ifunc_impl_list): Likewise.
17448         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17449         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17450         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17451         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17452         strchr for PPC64.
17454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17455         implementations.
17456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17457         (__libc_ifunc_impl_list): Likewise.
17458         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17459         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17460         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17461         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17462         strncmp for PPC64.
17464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17465         multiarch implementations.
17466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17467         (__libc_ifunc_impl_list): Likewise.
17468         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17469         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17470         strncasecmp for PPC64.
17471         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17472         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17473         multiarch strncasecmp_l for PPC64.
17475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17476         multiarch implementations.
17477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17478         (__libc_ifunc_impl_list): Likewise.
17479         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17480         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17481         multiarch strcasecmp for PPC64.
17482         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17483         file.
17484         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17485         multiarch strcasecmp_l for PPC64.
17487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17488         implementations.
17489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17490         (__libc_ifunc_impl_list): Likewise.
17491         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17492         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17493         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17494         strnlen for PPC64.
17496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17497         implementations.
17498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17499         (__libc_ifunc_impl_list): Likewise.
17500         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17501         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17502         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17503         strlen for PPC64.
17505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17506         implementations.
17507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17508         (__libc_ifunc_impl_list): Likewise.
17509         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17510         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17511         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17512         rawmemrchr for PPC64.
17514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17515         implementation.
17516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17517         (__libc_ifunc_impl_list): Likewise.
17518         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17519         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17520         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17521         memrchr for PPC64.
17523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17524         implementation.
17525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17526         (__libc_ifunc_impl_list): Likewise.
17527         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17528         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17529         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17530         memchr for PPC64.
17532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17533         implementation.
17534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17535         (__libc_ifunc_impl_list): Likewise.
17536         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17537         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17538         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17539         mempcpy for PPC64.
17541         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17542         avoid cretion of __bzero symbol.
17543         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17544         Likewise.
17545         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17546         Likewise.
17547         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17548         Likewise.
17549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17550         multiarch implementations.
17551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17552         (__libc_ifunc_impl_list): Likewise.
17553         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17554         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17555         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17556         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17557         bzero for PPC32.
17558         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17559         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17560         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17561         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17562         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17563         memset for PPC64.
17564         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17566         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17568         implementations.
17569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17570         (__libc_ifunc_impl_list): Likewise.
17571         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17572         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17573         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17574         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17575         memcmp for PPC64.
17577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17578         multiarch for POWER/PPC64.
17579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17580         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17581         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17582         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17583         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17584         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17585         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17586         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17587         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17588         memcpy for PPC64.
17590         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17591         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17592         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17593         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17594         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17595         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17596         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17597         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17598         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17599         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17600         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17601         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17602         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17603         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17604         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17613 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17615         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17617 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17619         * benchtests/Makefile (bench): Add exp2 and log2.
17620         (LDLIBS-bench-exp2): Add -lm.
17621         (LDLIBS-bench-log2): Likewise.
17622         * benchtests/exp2-inputs: New inputs file.
17623         * benchtests/log2-inputs: New inputs file.
17624         * benchtests/log-inputs: Add new inputs.
17625         * benchtests/tan-inputs: Likewise.
17627 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17629         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17630         definition...
17631         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17632         (csloww2): ... from here.
17634         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17635         instead of structures.
17636         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17637         (POLYNOMIAL): Likewise.
17638         (TAYLOR_SLOW): Likewise.
17639         (__sin): Likewise.
17640         (__cos): Likewise.
17641         (slow1): Likewise.
17642         (slow2): Likewise.
17643         (sloww): Likewise.
17644         (sloww1); Likewise.
17645         (sloww2): Likewise.
17646         (bsloww1): Likewise.
17647         (bsloww2): Likewise.
17648         (cslow2): Likewise.
17649         (csloww): Likewise.
17650         (csloww1): Likewise.
17651         (csloww2): Likewise.
17653 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17655         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17656         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17657         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17658         * malloc/hooks.c (realloc_check): Likewise.
17660         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17661         * malloc/arena.c: Remove PER_THREAD conditional.
17662         [!PER_THREAD]: Remove code.
17663         (ptmalloc_unlock_all2): Likewise.
17664         (ptmalloc_init): Likewise.
17665         (_int_new_arena): Likewise.
17666         (arena_get2): Likewise.
17667         * malloc/hooks.c (__malloc_get_state): Likewise.
17668         (__malloc_set_state): Likewise.
17669         * malloc/malloc.c: Likewise.
17670         (struct malloc_state): Likewise.
17671         (struct malloc_par): Likewise.
17672         (__libc_realloc): Likewise.
17673         (__libc_mallopt): Likewise.
17675 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17677         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17679 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17681         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17682         macro to a function.  Check for zero perturb_byte.
17683         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17685         * malloc/malloc.c: (force_reg): Remove.
17686         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17687         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17688         force_reg by atomic_forced_read.
17689         * malloc/arena.c (ptmalloc_init): Likewise.
17690         * malloc/hooks.c (top_check): Likewise.
17692 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17696 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17700 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17702         * math/auto-libm-test-in: Add tests of lgamma.
17703         * math/auto-libm-test-out: Regenerated.
17704         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17705         (M_LOG_2_SQRT_PIl): Likewise.
17706         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17707         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17708         mpfr_f_f1.
17709         (func_calc_desc): Add mpfr_f_f1 union field.
17710         (ARGS1): New macro.
17711         (ARGS2): Likewise.
17712         (ARGS3): Likewise.
17713         (ARGS4): Likewise.
17714         (RET1): Likewise.
17715         (RET2): Likewise.
17716         (CALC): Likewise.
17717         (FUNC): Likewise.
17718         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17719         (test_functions): Add lgamma.
17720         (calc_generic_results): Handle mpfr_f_f1.
17721         * sysdeps/i386/fpu/libm-test-ulps: Update.
17722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17724 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17726         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17727         __mpn_add_n for PowerPC64/POWER7.
17728         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17729         __mpn_sub_n for PowerPC64/POWER7.
17731         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17732         __mpn_addmul_1 for PowerPC64.
17733         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17734         __mpn_submul_1 for PowerPC64.
17735         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17736         for PowerPC64.
17737         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17738         for PowerPC64.
17740 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17742         [BZ #15089]
17743         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17745 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17747         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17749         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17750         add multiarch folders.
17751         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17752         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17753         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17754         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17755         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17756         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17757         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17758         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17759         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17760         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17761         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17770         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17772         New file.
17773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17774         New file.
17775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17776         multiarch __ieee754_hypot for PowerPC32.
17777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17778         New file.
17779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17780         New file.
17781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17782         multiarch __ieee754_hypotf for PowerPC32.
17784         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17785         long_double_symbol only if __logbl is defined.
17786         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17787         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17788         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17789         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17790         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17791         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17792         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17793         path for implementation.
17794         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17795         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17797         logb, and logbl multiarch implementations for PowerPC32.
17798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17799         file.
17800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17801         file.
17802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17803         multiarch logb for PowerPC32.
17804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17805         file.
17806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17807         file.
17808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17809         multiarch logbf for PowerPC32.
17810         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17812         file.
17813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17814         multiarch logbl implementation for PowerPC32.
17816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17817         and modff multiarch implementations.
17818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17819         New file.
17820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17821         New file.
17822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17823         multiarch modf for PowerPC32.
17824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17825         New file.
17826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17827         New file.
17828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17829         multiarch modff for PowerPC32.
17831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17832         and lrintf multiarch implementations.
17833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17834         New file.
17835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17836         New file.
17837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17838         multiarch lrint for PowerPC32.
17839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17840         file: multiarch lrintf for PowerPC32.
17842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17843         and lroundf multiarch implementations.
17844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17845         New file.
17846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17847         New file.
17848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17849         New file.
17850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17851         multiarch lround for PowerPC32.
17852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17853         file: multiarch lroundf for PowerPC32.
17855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17856         copysign and copysignf multiarch implementations.
17857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17858         New file.
17859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17860         New file.
17861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17862         file: multiarch copysign for PowerPC32.
17863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17864         file: multiarch copysignf for PowerPC32.
17866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17867         and truncf multiarch implementations.
17868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17869         New file.
17870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17871         file.
17872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17873         multiarch trunc for PowerPC32.
17874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17875         New file.
17876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17877         New file.
17878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17879         multiarch truncf for PowerPC32.
17881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17882         and roundf multiarch implementations.
17883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17884         New file.
17885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17886         file.
17887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17888         multiarch round for PowerPC32.
17889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17890         New file.
17891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17892         New file.
17893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17894         multiarch roundf for PowerPC32.
17896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17897         and floorf multiarch implementations.
17898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17899         New file.
17900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17901         file.
17902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17903         multiarch floor for PowerPC32.
17904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17905         New file.
17906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17907         New file.
17908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17909         multiarch floorf for PowerPC32.
17911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17912         and ceilf multiarch implementations.
17913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17914         New file.
17915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17916         file.
17917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17918         multiarch ceil for PowerPC32.
17919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17920         New file.
17921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17922         file.
17923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17924         multiarch ceilf for PowerPC32.
17926         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17927         is defined.
17928         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17929         FINITEF is defined.
17930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17931         and finitef multiarch implementations.
17932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17933         New file.
17934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17935         file.
17936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17937         multiarch finite for PowerPC32.
17938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17939         New file.
17940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17941         file: multiarch finitef for PowerPC32.
17943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17944         and isinff multiarch implementations.
17945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17946         file.
17947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17948         file.
17949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17950         multiarch isinf for PowerPC32.
17951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17952         New file.
17953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17954         multiarch isinff for PowerPC32.
17956         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17957         alias when __isnan is defined.
17958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17959         and isnanf multiarch implementations.
17960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17961         file.
17962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17963         file.
17964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17965         file.
17966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17967         file.
17968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17969         multiarch isnan for PowerPC32.
17970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17971         New file.
17972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17973         New file.
17974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17975         multiarch isnanf for PowerPC32.
17977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17978         and sqrtf multiarch implementations.
17979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17980         file.
17981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17982         file.
17983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17984         multiarch sqrt for PowerPC32.
17985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17986         file.
17987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17988         file.
17989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17990         multiarch sqrtf for PowerPC32.
17992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17993         and llroundf multiarch implementations.
17994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17995         New file.
17996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17997         New file.
17998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17999         New file.
18000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18001         file: multiarch llround for PowerPC32.
18002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18003         file: multiarch llroundf for PowerPC32.
18005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18006         multiarch PowerPC32 fpu implementations.
18007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18008         New file.
18009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18010         New file.
18011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18012         multiarch llrint for PowerPC32.
18013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18014         New file.
18015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18016         New file.
18017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18018         file.
18020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18022         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18023         file.
18024         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18025         file.
18026         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18027         file.
18028         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18029         multiarch wordcopy for PPC32.
18030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18031         wordcopy objects.
18032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18033         (__libc_ifunc_impl_list): Likewise.
18034         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18035         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18036         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18037         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18038         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18039         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18041         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18043         file.
18044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18045         file.
18046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18047         file.
18048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18049         multiarch wcscpy for PPC32.
18050         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18051         multiarch objects.
18052         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18053         (__libc_ifunc_impl_list): Likewise.
18054         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18055         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18056         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18057         sysdeps/powerpc/power6/wcscpy.c.
18059         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18060         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18061         file.
18062         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18063         file.
18064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18065         file.
18066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18067         multiarch wcsrchr for PPC32.
18068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18069         multiarch objects.
18070         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18071         (__libc_ifunc_impl_list): Likewise.
18072         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18073         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18074         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18075         sysdeps/powerpc/power6/wcsrchr.c.
18077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18078         file.
18079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18080         file.
18081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18082         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18083         multiarch wcschr for PPc32.
18084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18085         multiarch objects.
18086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18087         (__libc_ifunc_impl_list): Likewise.
18088         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18089         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18090         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18091         sysdeps/powerpc/power6/wcschr.c.
18093         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18094         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18095         file.
18096         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18097         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18098         file: multiarch strchr for PPC32.
18099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18100         multiarch objects.
18101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18102         (__libc_ifunc_impl_list): Likewise.
18104         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18105         name.
18106         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18107         file.
18108         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18109         file.
18110         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18111         multiarch strchrnul for PPC32.
18112         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18113         multiarch objects.
18114         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18115         (__libc_ifunc_impl_list): Likewise.
18117         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18118         file.
18119         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18120         multiarch strncasecmp for PPC32.
18121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18122         file.
18123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18124         multiarch strncasecmp_l for PPC32.
18125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18126         strncasecmp multiarch objects.
18127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18128         (__libc_ifunc_impl_list): Likewise.
18130         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18131         file.
18132         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18133         multiarch strncasecmp for PPC32.
18134         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18135         New file.
18136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18137         multiarch strcasecmp_l for PPC32.
18138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18139         multiarch objects.
18140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18141         (__libc_ifunc_impl_list): Likewise.
18143         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18144         file.
18145         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18146         file.
18147         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18148         multiarch strncmp for PPC32.
18149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18150         multiarch objects.
18151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18152         (__libc_ifunc_impl_list): Likewise.
18154         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18155         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18156         file.
18157         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18158         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18160         multiarch objects.
18161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18162         (__libc_ifunc_impl_list): Likewise.
18164         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18165         file.
18166         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18167         file.
18168         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18170         multiarch objects.
18171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18172         (__libc_ifunc_impl_list): Likewise.
18174         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18175         file.
18176         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18177         file.
18178         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18179         multiarch rawmemchr for PPC32.
18180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18181         multiarch objects.
18182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18183         (__libc_ifunc_impl_list): Likewise.
18185         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18186         file.
18187         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18188         file.
18189         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18190         file: memrchr multiarch for PPC32.
18191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18192         multiarch objects.
18193         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18194         (__libc_ifunc_impl_list): Likewise.
18196         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18197         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18198         file.
18199         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18200         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18201         multiarch memchr for PPC32.
18202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18203         multiarch objects.
18204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18205         (__libc_ifunc_impl_list): Likewise.
18207         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18208         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18209         file.
18210         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18211         file.
18212         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18213         file: multiarch mempcpy for PPC32.
18214         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18215         multiarch objects.
18216         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18217         (__libc_ifunc_impl_list): Likewise.
18219         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18220         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18221         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18222         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18223         multiarch bzero for PPC32.
18224         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18225         file.
18226         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18227         file.
18228         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18229         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18230         file: multiarch memset for PPC32.
18231         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18232         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18233         memset multiarch objects.
18234         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18235         (__libc_ifunc_impl_list): Likewise.
18237         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18238         file.
18239         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18240         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18241         memcmp for PPC32.
18242         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18244         multiarch objects.
18245         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18246         (__libc_ifunc_impl_list): Likewise.
18248         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18250         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18251         file.
18252         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18253         file.
18254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18255         file.
18256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18257         multiarch memcpy for PPC32.
18258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18259         multiarch objects.
18260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18261         (__libc_ifunc_impl_list): Likewise.
18263         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18264         support multiarch for POWER/PPC32.
18265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18266         Likewise.
18267         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18269         Implies file to make multiarch folder appers before the fpu and
18270         default folder for power4 configuration.
18272 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18274         * scripts/bench.pl: Append volatile keyword to type.
18276 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18278         * sysdeps/sh/sotruss-lib.c: New file.
18279         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18281 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18285 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18287         [BZ #6810]
18288         * math/w_tgamma.c: Include <errno.h>.
18289         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18290         * math/w_tgammaf.c: Include <errno.h>.
18291         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18292         * math/w_tgammal.c: Include <errno.h>.
18293         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18294         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18295         underflow.  Add more tgamma tests.
18296         * math/auto-libm-test-out: Regenerated.
18297         * sysdeps/i386/fpu/libm-test-ulps: Update.
18298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18300         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18301         sin, sinh, tan, tanh, tgamma, y0 and y1.
18302         * math/auto-libm-test-out: Regenerated.
18303         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18304         (TEST_COND_x86): Likewise.
18305         (M_E2l): Remove macro.
18306         (M_E3l): Likewise.
18307         (M_2_SQRT_PIl): Likewise.
18308         (M_SQRT_PIl): Likewise.
18309         (M_1_DIV_El): Likewise.
18310         (log_test_data): Use AUTO_TESTS_f_f.
18311         (log10_test_data): Likewise.
18312         (log1p_test_data): Likewise.
18313         (log2_test_data): Likewise.
18314         (sin_test_data): Likewise.
18315         (sin_tonearest_test_data): Likewise.
18316         (sin_towardzero_test_data): Likewise.
18317         (sin_downward_test_data): Likewise.
18318         (sin_upward_test_data): Likewise.
18319         (sinh_test_data): Likewise.
18320         (sinh_tonearest_test_data): Likewise.
18321         (sinh_towardzero_test_data): Likewise.
18322         (sinh_downward_test_data): Likewise.
18323         (sinh_upward_test_data): Likewise.
18324         (tan_test_data): Likewise.
18325         (tan_tonearest_test_data): Likewise.
18326         (tan_towardzero_test_data): Likewise.
18327         (tan_downward_test_data): Likewise.
18328         (tan_upward_test_data): Likewise.
18329         (tanh_test_data): Likewise.
18330         (tgamma_test_data): Likewise.
18331         (y0_test_data): Likewise.
18332         (y1_test_data): Likewise.
18333         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18334         (special_real_inputs): Add pi/4.
18335         * sysdeps/i386/fpu/libm-test-ulps: Update.
18336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18338 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18340         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18341         "longjmp_target" static probes.
18342         (__longjmp): Rename to __longjmp_symbol.
18343         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18344         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18345         on which longjmp to generate.
18346         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18347         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18348         probe.
18349         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18350         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18351         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18352         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18353         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18354         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18356         __longjmp_symbol based on which __longjmp to generate.
18357         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18358         probe.
18359         (setjmp): Rename to setjmp_symbol.
18360         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18361         (_setjmp): Rename to _setjmp_symbol.
18362         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18363         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18364         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18365         which setjmp to generate.
18366         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18367         "longjmp_target" static probes.
18369 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18371         * benchtests/README: Add note about output arguments.
18372         * benchtests/bench-sincos.c: Remove file.
18373         * benchtests/sincos-inputs: New file.
18374         * scripts/bench.pl: Identify output arguments and define
18375         static variables for them.
18377         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18379         [BZ #15941]
18380         * Makefile (INSTALL): Add install-plain.texi as the primary
18381         dependency.
18382         * manual/install-plain.texi: New file.
18383         * manual/install.texi: Include node directive only for
18384         non-plaintext output.
18386 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18388         * stdlib/longlong.h: Update from GCC.
18390         [BZ #6807]
18391         [BZ #15901]
18392         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18393         * math/w_j0f.c (y0f): Likewise.
18394         * math/w_j0l.c (__y0l): Likewise.
18395         * math/w_j1.c (y1): Likewise.
18396         * math/w_j1f.c (y1f): Likewise.
18397         * math/w_j1l.c (__y1l): Likewise
18398         * math/w_jn.c (yn): Likewise.
18399         * math/w_jnf.c (ynf): Likewise.
18400         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18401         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18402         value for Bessel function domain errors outside _SVID_ mode.
18403         Adjust sign of return value for yn (negative integer, 0).
18404         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18405         by zero in return for negative x and set sign appropriately for
18406         negative n.
18407         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18408         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18409         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18410         expectations in error cases.
18411         (y1_test_data): Likewise.
18412         (yn_test_data): Likewise.
18413         * sysdeps/i386/fpu/libm-test-ulps: Update.
18414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18416 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18418         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18419         "64" to "64-v1".  Add "64-v2".
18420         (abi-64-options): Rename to ...
18421         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18422         (abi-64-condition): Rename to ...
18423         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18424         (abi-64-ld-soname): Rename to ...
18425         (abi-64-v1-ld-soname): ... this.
18426         (abi-64-v2-options): Define.
18427         (abi-64-v2-condition): Likewise.
18428         (abi-64-v2-ld-soname): Likewise.
18429         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18430         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18435 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18436             Alan Modra  <amodra@gmail.com>
18438         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18439         New versions for use with the ELFv2 ABI.
18440         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18441         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18442         declaration.
18443         (struct La_ppc64v2_retval): Likewise.
18444         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18445         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18446         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18447         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18448         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18449         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18450         Do not save or restore CR.
18451         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18452         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18453         return values for ELFv2 ABI.  Fix location of FPR return registers.
18454         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18455         updated values for _CALL_ELF == 2.
18456         (La_regs, La_retval, int_retval): Likewise.
18458 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18460         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18461         (FRAME_MIN_SIZE_PARM): Likewise.
18462         (FRAME_BACKCHAIN): Likewise.
18463         (FRAME_CR_SAVE): Likewise.
18464         (FRAME_LR_SAVE): Likewise.
18465         (FRAME_TOC_SAVE): Likewise.
18466         (FRAME_PARM_SAVE): Likewise.
18467         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18468         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18469         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18470         (call_mcount_parm_offset): New macro.
18471         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18472         (PROF): Use symbolic stack frame offsets.
18473         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18474         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18475         Redefine in terms of FRAME_MIN_SIZE.
18476         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18477         (_dl_profile_resolve): Likewise.  Update comment.
18478         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18479         symbols stack frame offsets.
18480         (__sigsetjmp): Likewise.
18481         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18482         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18483         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18484         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18487         (FRAME_BACKCHAIN): Remove.
18488         (FRAME_CR_SAVE): Likewise.
18489         (FRAME_LR_SAVE): Likewise.
18490         (FRAME_COMPILER_DW): Likewise.
18491         (FRAME_LINKER_DW): Likewise.
18492         (FRAME_TOC_SAVE): Likewise.
18493         (FRAME_PARM_SAVE): Likewise.
18494         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18495         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18496         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18498         (CHECK_SP): Use symbolic stack frame offsets.
18499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18500         zone" instead of caller's parameter save area for temp storage.
18501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18502         Likewise.  Also, use symbolic stack frame offsets.
18503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18504         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18505         our own stack frame instead of the caller's.
18506         (__socket): Use symbolic stack frame offsets.
18508 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18509             Alan Modra  <amodra@gmail.com>
18511         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18512         Define.
18513         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18514         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18515         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18516         New function.
18517         (elf_machine_fixup_plt): Call it.
18518         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18519         reloc arguments.
18520         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18521         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18522         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18523         r2 before calling target.
18525 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18526             Alan Modra  <amodra@gmail.com>
18528         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18529         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18530         versions of macros to support ELFv2 ABI.
18531         (LOCALENTRY): New macro.
18532         (ENTRY, EALIGN): Use it.
18533         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18534         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18535         fall through into ENTRY entry point.
18536         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18537         Only define if _CALL_ELF != 2.
18539         (elf_machine_matches_host): Verify ABI version matches.
18540         (RTLD_START): Use LOCALENTRY.
18541         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18542         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18543         (PLT_ENTRY_WORDS): New macro.
18544         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18545         (elf_machine_runtime_setup): Support ELFv2 ABI.
18546         (elf_machine_fixup_plt): Likewise.
18547         (elf_machine_plt_conflict): Likewise.
18548         (resolve_ifunc): Likewise.
18549         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18550         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18551         Likewise.
18552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18553         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18555         (makecontext): Support ELFv2 ABI.
18556         * elf/elf.h (EF_PPC64_ABI): Define.
18558 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18560         * sysdeps/powerpc/powerpc64/sysdep.h
18561         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18562         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18563         (ENTRY) [ASSEMBLER]: ... but instead here ...
18564         (EALIGN) [ASSEMBLER]: ... and here.
18565         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18566         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18567         (ENTRY_2) [!ASSEMBLER]: Use it.
18568         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18569         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18570         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18571         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18572         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18574         Use PPC64_LOAD_FUNCPTR.
18576         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18578 2013-12-04  Alan Modra  <amodra@gmail.com>
18580         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18581         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18582         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18583         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18585         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18586         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18587         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18588         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18589         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18590         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18592 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18595         (__makecontext): Fix incorrect CFI when backtracing out of
18596         context created via makecontext.
18597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18598         (__setcontext): Fix incorrect CFI during switch to new context.
18599         (__novec_setcontext): Likewise.
18601 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18603         [BZ #4772]
18604         * time/strptime_l.c (__strptime_internal): Allow modifiers
18605         in strptime.
18606         * time/tst-strptime.c (day_tests): Add testcase.
18608 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18610         * scripts/bench.pl: Skip over blank lines.
18612 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18614         [BZ #926]
18615         * manual/time.texi (Calendar Time): Clarify what timezone functions
18616         use.
18618 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18622 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18624         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18625         implementation.
18626         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18627         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18628         * debug/memset_chk.c (__memset_chk): Likewise.
18629         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18630         * debug/strncpy_chk.c: Likewise.
18632 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18634         [BZ #15268]
18635         [BZ #15425]
18636         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18637         (__ieee754_exp): For possibly underflowing results, check size of
18638         result and force underflow exception if required.
18639         * math/auto-libm-test-in: Add more tests of exp.
18640         * math/auto-libm-test-out: Regenerated.
18641         * sysdeps/i386/fpu/libm-test-ulps: Update.
18642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18644         [BZ #16283]
18645         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18646         * math/w_exp2f.c (__exp2f): Likewise.
18647         * math/w_exp2l.c (__exp2l): Likewise.
18648         * math/auto-libm-test-in: Do not allow missing errno on exp2
18649         underflow.
18650         * math/auto-libm-test-out: Regenerated.
18652 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18654         [BZ #16274]
18655         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18656         handle filename validation.
18657         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18658         (do_open): Delete.
18660 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18662         [BZ #6786]
18663         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18664         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18665         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18666         <float.h>.
18667         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18668         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18669         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18670         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18671         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18672         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18673         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18674         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18675         Add more erfc tests.
18676         * math/auto-libm-test-out: Regenerated.
18677         * sysdeps/i386/fpu/libm-test-ulps: Update.
18678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18680         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18681         exp2, expm1, j0 and j1.
18682         * math/auto-libm-test-out: Regenerated.
18683         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18684         (erfc_test_data): Likewise.
18685         (exp_test_data): Likewise.
18686         (exp_tonearest_test_data): Likewise.
18687         (exp_towardzero_test_data): Likewise.
18688         (exp_downward_test_data): Likewise.
18689         (exp_upward_test_data): Likewise.
18690         (exp10_test_data): Likewise.
18691         (exp2_test_data): Likewise.
18692         (expm1_test_data): Likewise.
18693         (j0_test_data): Likewise.
18694         (j1_test_data): Likewise.
18695         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18696         (input_flag_type): Add flag_xfail_rounding.
18697         (input_flags): Add xfail-rounding.
18698         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18699         (output_for_one_input_case): Handle flag_xfail_rounding.
18700         * sysdeps/i386/fpu/libm-test-ulps: Update.
18701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18703 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18705         [BZ #16289]
18706         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18707         division by 0.
18709 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18711         [BZ #16195]
18712         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18713         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18714         (STAP_PROBE0): New macro.
18715         (STAP_PROBE1): Likewise.
18716         (STAP_PROBE2): Likewise.
18717         (STAP_PROBE3): Likewise.
18718         (STAP_PROBE4): Likewise.
18720 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18722         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18724 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18726         * benchtests/Makefile (bench): Add sqrt.
18727         (LDLIBS-bench-sqrt): New.
18728         * benchtests/sqrt-input: New.
18730 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18732         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18733         (GAIH_EAI): Likewise.
18734         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18735         (gaih_inet): Likewise.
18736         (getaddrinfo): Don't use GAIH_EAI.
18738         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18739         (struct gaih): Remove definition.
18741 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18743         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18744         Use HERRNOP directly.
18746 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18750 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18752         * math/gen-auto-libm-tests.c (test_functions): Add more
18753         single-argument functions.
18754         (special_fill_pi_2): New function.
18755         (special_fill_minus_pi_2): Likewise.
18756         (special_fill_pi_6): Likewise.
18757         (special_fill_minus_pi_6): Likewise.
18758         (special_fill_pi_3): Likewise.
18759         (special_fill_2pi_3): Likewise.
18760         (special_fill_e): Likewise.
18761         (special_fill_1_e): Likewise.
18762         (special_fill_e_minus_1): Likewise.
18763         (special_real_inputs): Add more special inputs.
18764         (output_for_one_input_case): Do not require ERANGE on underflow to
18765         zero if round-to-nearest result does not underflow to zero, unless
18766         exact results required.
18767         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18768         atan, atanh, cbrt, cos and cosh.
18769         * math/auto-libm-test-out: Regenerated.
18770         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18771         (acos_tonearest_test_data): Likewise.
18772         (acos_towardzero_test_data): Likewise.
18773         (acos_downward_test_data): Likewise.
18774         (acos_upward_test_data): Likewise.
18775         (acosh_test_data): Likewise.
18776         (asin_test_data): Likewise.
18777         (asin_tonearest_test_data): Likewise.
18778         (asin_towardzero_test_data): Likewise.
18779         (asin_upward_test_data): Likewise.
18780         (asinh_test_data): Likewise.
18781         (atan_test_data): Likewise.
18782         (atanh_test_data): Likewise.
18783         (cbrt_test_data): Likewise.
18784         (cos_test_data): Likewise.
18785         (cos_tonearest_test_data): Likewise.
18786         (cos_towardzero_test_data): Likewise.
18787         (cos_downward_test_data): Likewise.
18788         (cos_upward_test_data): Likewise.
18789         (cosh_test_data): Likewise.
18790         (cosh_tonearest_test_data): Likewise.
18791         (cosh_towardzero_test_data): Likewise.
18792         (cosh_downward_test_data): Likewise.
18793         (cosh_upward_test_data): Likewise.
18794         * sysdeps/i386/fpu/libm-test-ulps: Update.
18795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18797 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18799         [BZ #6787]
18800         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18801         * math/w_exp10f.c (__exp10f): Likewise.
18802         * math/w_exp10l.c (__exp10l): Likewise.
18803         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18804         errno settings in existing tests.
18806         [BZ #14032]
18807         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18808         precision control set to double precision.
18809         * sysdeps/i386/fpu/w_sqrt.c: New file.
18810         * math/auto-libm-test-in: Add more tests.
18811         * math/auto-libm-test-out: Update.
18813         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18814         (sqrt_test_tonearest): New function.
18815         (sqrt_towardzero_test_data): New variable.
18816         (sqrt_test_towardzero): New function.
18817         (sqrt_downward_test_data): New variable.
18818         (sqrt_test_downward): New function.
18819         (sqrt_upward_test_data): New variable.
18820         (sqrt_test_upward): New function.
18821         (main): Call the new functions.
18823         * math/gen-auto-libm-tests.c: New file.
18824         * math/auto-libm-test-in: Likewise.
18825         * math/auto-libm-test-out: New generated file.
18826         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18827         variables.
18828         (%beautify): Add generated representations of zero.
18829         (top level): Set $auto_input and call parse_auto_input.
18830         (beautify): Remove trailing "f" from hex float constants.
18831         (parse_args): Handle XFAIL_TEST.
18832         (convert_condition): New function.
18833         (or_value): Likewise.
18834         (or_cond_value): Likewise.
18835         (generate_testfile): Handle AUTO_TESTS_* lines.
18836         (parse_auto_input): New function.
18837         * math/libm-test.inc (XFAIL_TEST): New macro.
18838         (ERRNO_UNCHANGED): Update value.
18839         (ERRNO_EDOM): Likewise.
18840         (ERRNO_ERANGE): Likewise.
18841         (IGNORE_RESULT): Likewise.
18842         (TEST_COND_flt_32): New macro.
18843         (TEST_COND_dbl_64): Likewise.
18844         (TEST_COND_ldbl_96_intel): Likewise.
18845         (TEST_COND_ldbl_96_m68k): Likewise.
18846         (TEST_COND_ldbl_128): Likewise.
18847         (TEST_COND_ldbl_128ibm): Likewise.
18848         (TEST_COND_long32): Likewise.
18849         (TEST_COND_long64): Likewise.
18850         (TEST_COND_before_rounding): Likewise.
18851         (TEST_COND_after_rounding): Likewise.
18852         (enable_test): Handle XFAIL_TEST flag.
18853         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18854         with finite results.
18855         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18856         auto-libm-test-out.
18858 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18859             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18861         [BZ #16214]
18862         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18863         __tls_get_addr_internal instead of __tls_get_offset in order to
18864         avoid GOT pointer dependency.  Make rtld export
18865         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18866         __tls_get_addr since we are a __tls_get_offset platform.
18867         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18868         GOT pointer being set up before.
18869         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18871 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
18873         * manual/math.texi (Errors in Math Functions): Document accuracy
18874         goals.
18876         [BZ #15004]
18877         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18878         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18879         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18880         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18881         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18882         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18883         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18884         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18885         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18886         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18887         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18888         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18889         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18890         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18891         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18892         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18894         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18895         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18896         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18897         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18898         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18899         Likewise.
18900         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18901         Likewise.
18902         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18903         Likewise.
18904         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18905         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18906         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18907         atomic-feupdateenv and flt-rounds.
18908         * sysdeps/powerpc/nofpu/Versions (libc): Add
18909         __atomic_feholdexcept, __atomic_feclearexcept,
18910         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18911         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18912         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18913         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18914         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18915         here.
18916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18917         Update.
18919         * manual/arith.texi (FP Exceptions): Document that exceptions may
18920         not be raised when matherr is used.
18921         (Math Error Reporting): Document overflow in directed rounding
18922         modes.  Document that errno may not be set when finite values are
18923         returned on overflow.  Document intent to set errno on underflow
18924         only for underflow to zero.
18926         [BZ #16271]
18927         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18928         round-to-nearest then adjust result for other rounding modes.
18929         * include/fenv.h (fegetround): Use libm_hidden_proto.
18930         * math/fegetround.c (fegetround): Use libm_hidden_def.
18931         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18932         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18933         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18934         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18935         Likewise.
18936         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18937         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18938         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18939         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18941 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18943         [BZ #16077]
18944         * nss/Versions (libnss_files): Add
18945         _nss_files_gethostbyname3_r.
18946         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18947         New function.
18948         (HOST_DB_LOOKUP): Remove macro.
18949         (_nss_files_gethostbyname_r): Implement function without the
18950         HOST_DB_LOOKUP macro.
18951         (_nss_files_gethostbyname2_r): Likewise.
18953 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
18955         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18957 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
18959         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18960         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18961         warning.
18963 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18965         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18966         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18967         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18968         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18969         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18970         __fe_nomask_env_priv and attribute_hidden.
18971         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18972         (libc_feupdateenv_test_ppc): Likewise.
18973         (libc_feresetround_ppc): Likewise.
18974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18975         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18976         compat_symbol macro.
18977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18978         (__fe_nomask_env): Likewise.
18979         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18981 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18983         * string/Makefile: Remove ifunc tests.
18984         * string/test-string.h: Define TEST_IFUNC.
18985         * string/test-bcopy-ifunc.c: Remove.
18986         * string/test-bzero-ifunc.c: Likewise.
18987         * string/test-memccpy-ifunc.c: Likewise.
18988         * string/test-memchr-ifunc.c: Likewise.
18989         * string/test-memcmp-ifunc.c: Likewise.
18990         * string/test-memcpy-ifunc.c: Likewise.
18991         * string/test-memmem-ifunc.c: Likewise.
18992         * string/test-memmove-ifunc.c: Likewise.
18993         * string/test-mempcpy-ifunc.c: Likewise.
18994         * string/test-memrchr-ifunc.c: Likewise.
18995         * string/test-memset-ifunc.c: Likewise.
18996         * string/test-rawmemchr-ifunc.c: Likewise.
18997         * string/test-stpcpy-ifunc.c: Likewise.
18998         * string/test-stpncpy-ifunc.c: Likewise.
18999         * string/test-strcasecmp-ifunc.c: Likewise.
19000         * string/test-strcasestr-ifunc.c: Likewise.
19001         * string/test-strcat-ifunc.c: Likewise.
19002         * string/test-strchr-ifunc.c: Likewise.
19003         * string/test-strchrnul-ifunc.c: Likewise.
19004         * string/test-strcmp-ifunc.c: Likewise.
19005         * string/test-strcpy-ifunc.c: Likewise.
19006         * string/test-strcspn-ifunc.c: Likewise.
19007         * string/test-strlen-ifunc.c: Likewise.
19008         * string/test-strncasecmp-ifunc.c: Likewise.
19009         * string/test-strncat-ifunc.c: Likewise.
19010         * string/test-strncmp-ifunc.c: Likewise.
19011         * string/test-strncpy-ifunc.c: Likewise.
19012         * string/test-strnlen-ifunc.c: Likewise.
19013         * string/test-strpbrk-ifunc.c: Likewise.
19014         * string/test-strrchr-ifunc.c: Likewise.
19015         * string/test-strspn-ifunc.c: Likewise.
19016         * string/test-strstr-ifunc.c: Likewise.
19018 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19020         * benchtests/Makefile: Remove ifunc tests.
19021         * benchtests/bench-string.h: Define TEST_IFUNC.
19022         * benchtests/bench-bcopy-ifunc.c: Remove.
19023         * benchtests/bench-bzero-ifunc.c: Likewise.
19024         * benchtests/bench-memccpy-ifunc.c: Likewise.
19025         * benchtests/bench-memchr-ifunc.c: Likewise.
19026         * benchtests/bench-memcmp-ifunc.c: Likewise.
19027         * benchtests/bench-memcpy-ifunc.c: Likewise.
19028         * benchtests/bench-memmem-ifunc.c: Likewise.
19029         * benchtests/bench-memmove-ifunc.c: Likewise.
19030         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19031         * benchtests/bench-memrchr-ifunc.c: Likewise.
19032         * benchtests/bench-memset-ifunc.c: Likewise.
19033         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19034         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19035         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19036         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19037         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19038         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19039         * benchtests/bench-strcat-ifunc.c: Likewise.
19040         * benchtests/bench-strchr-ifunc.c: Likewise.
19041         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19042         * benchtests/bench-strcmp-ifunc.c: Likewise.
19043         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19044         * benchtests/bench-strcpy-ifunc.c: Likewise.
19045         * benchtests/bench-strcspn-ifunc.c: Likewise.
19046         * benchtests/bench-strlen-ifunc.c: Likewise.
19047         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19048         * benchtests/bench-strncat-ifunc.c: Likewise.
19049         * benchtests/bench-strncmp-ifunc.c: Likewise.
19050         * benchtests/bench-strncpy-ifunc.c: Likewise.
19051         * benchtests/bench-strnlen-ifunc.c: Likewise.
19052         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19053         * benchtests/bench-strrchr-ifunc.c: Likewise.
19054         * benchtests/bench-strsep-ifunc.c: Likewise.
19055         * benchtests/bench-strspn-ifunc.c: Likewise.
19056         * benchtests/bench-strstr-ifunc.c: Likewise.
19058 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19060         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19062 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19064         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19065         * rt/aio.h: Likewise.
19066         * sysdeps/gnu/bits/utmp.h: Likewise.
19067         * sysdeps/gnu/bits/utmpx.h: Likewise.
19068         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19069         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19070         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19071         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19072         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19073         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19074         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19075         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19076         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19077         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19078         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19079         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19080         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19082         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19083         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19084         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19085         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19086         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19087         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19088         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19089         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19090         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19091         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19092         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19093         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19094         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19095         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19096         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19097         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19098         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19099         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19100         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19101         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19102         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19103         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19104         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19105         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19106         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19107         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19108         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19109         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19111 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19113         [BZ #16245]
19114         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19115         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19117 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19119         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19120         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19121         Likewise.
19123 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19125         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19126         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19127         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19128         (__fesetround): Remove define.
19129         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19130         rounding and exceptions handling.
19131         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19132         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19133         (__fe_nomask_env): Likewise.
19134         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19135         __fegetround instead of fegetround.
19136         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19137         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19139 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19141         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19142         it's there.
19144         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19146 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19148         [BZ #11157]
19149         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19150         (encrypt_r): Likewise.
19151         * malloc/obstack.h (obstack_free): Likewise.
19152         * posix/unistd.h (encrypt): Likewise.
19154 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19156         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19157         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19158         DL_CALL_DT_FINI() that call the functions directly.
19159         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19160         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19161         * elf/dl-fini.c: Likewise.
19163 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19165         * malloc/hooks.c (memalign_check): Add alignment rounding.
19166         * malloc/malloc.c (_mid_memalign): New function.
19167         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19168         Implement by calling _mid_memalign.
19169         * manual/probes.texi (Memory Allocation Probes): Remove
19170         memory_valloc_retry and memory_pvalloc_retry.
19172 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19174         * locale/programs/locarchive.c (open_archive): Add const
19175         qualifier to ARCHIVEFNAME and copy default fname to
19176         DEFAULT_FNAME.
19178         [BZ #15601]
19179         * libio/tst-widetext.input: Rename Oriya to Odia.
19180         * locale/iso-639.def: Likewise.
19182         * manual/probes.texi (Mathematical Function Probes): Add
19183         documentation for sin, cos, asin and acos probes.
19184         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19185         (__sin32): Add slowasin probe.
19186         (__cos32): Add slowacos probe.
19187         (__mpsin): Add slowsin probe.
19188         (__mpcos): Add slowcos probe.
19190 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19192         [BZ #15483]
19193         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19194         thread-local __sim_exceptions_thread and global
19195         __sim_exceptions_global.
19196         (__sim_disabled_exceptions): Change to thread-local
19197         __sim_disabled_exceptions_thread and global
19198         __sim_disabled_exceptions_global.
19199         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19200         and global __sim_round_mode_global.
19201         (__simulate_exceptions): Use thread-local floating-point state and
19202         set global state from it as needed.
19203         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19204         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19205         __sim_round_mode_thread.
19206         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19207         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19208         and global __sim_exceptions_global.
19209         (__sim_disabled_exceptions): Change to thread-local
19210         __sim_disabled_exceptions_thread and global
19211         __sim_disabled_exceptions_global.
19212         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19213         and global __sim_round_mode_global.
19214         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19215         (SIM_SET_GLOBAL): Likewise.
19216         * sysdeps/powerpc/soft-fp/sfp-machine.h
19217         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19218         __sim_round_mode_thread.
19219         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19220         __sim_disabled_exceptions_thread.
19221         (__sim_exceptions): Change to __sim_exceptions_thread.
19222         (__sim_disabled_exceptions): Change to
19223         __sim_disabled_exceptions_thread.
19224         (__sim_round_mode): Change to __sim_round_mode_thread.
19225         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19226         thread-local floating-point state and set global state from it as
19227         needed.
19228         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19229         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19230         (__sim_disabled_exceptions): Remove extern declaration.
19231         (feenableexcept): Use thread-local floating-point state and set
19232         global state from it as needed.
19233         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19234         extern declaration.
19235         (__sim_disabled_exceptions): Likewise.
19236         (__sim_round_mode): Likewise.
19237         (__fegetenv): Use thread-local floating-point state.
19238         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19239         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19240         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19241         floating-point state and set global state from it as needed.
19242         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19243         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19244         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19245         Likewise.
19246         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19247         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19248         Likewise.
19249         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19250         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19251         Use __sim_round_mode_thread.
19252         * math/test-fenv-tls.c: New file.
19253         * math/Makefile (tests): Add test-fenv-tls.
19254         ($(objpfx)test-fenv-tls): Depend on
19255         $(common-objpfx)nptl/libpthread.so.
19257 2013-11-19  Andreas Schwab  <schwab@suse.de>
19259         * locale/programs/locale.c (show_info): Decode wordarray elements.
19260         * locale/categories.def (LC_MONETARY): Add element for
19261         _NL_MONETARY_CRNCYSTR.
19262         * locale/C-monetary.c (conversion_rate): New variable.
19263         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19264         element.
19266 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19268         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19269         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19271 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19273         * elf/Makefile (tst-auxv): New test.
19274         * elf/tst-auxv.c: New
19275         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19277 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19279         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19280         (hidden_proto): Caller changed.
19281         (hidden_tls_proto): New macro.
19282         (libc_hidden_tls_proto): Likewise.
19283         (rtld_hidden_tls_proto): Likewise.
19284         (libm_hidden_tls_proto): Likewise.
19285         (libresolv_hidden_tls_proto): Likewise.
19286         (librt_hidden_tls_proto): Likewise.
19287         (libdl_hidden_tls_proto): Likewise.
19288         (libnss_files_hidden_tls_proto): Likewise.
19289         (libnsl_hidden_tls_proto): Likewise.
19290         (libnss_nisplus_hidden_tls_proto): Likewise.
19291         (libutil_hidden_tls_proto): Likewise.
19293 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19295         [BZ #10253]
19296         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19297         (decompose_rpath): Defer expansion to fillin_rpath.
19298         (_dl_init_paths): Pass linkmap to fillin_rpath.
19300 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19302         * benchtests/Makefile: Add strsep.
19303         * benchtests/bench-strsep.c: New file: strsep benchtest.
19304         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19306 2013-11-18  Andreas Schwab  <schwab@suse.de>
19308         * locale/programs/locale.c (show_info) [case byte]: Check for
19309         '\377' instead of '\177'.
19310         * locale/C-monetary.c (not_available): Always use "\377".
19311         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19312         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19313         detect unavailable sign_posn locale elements.
19314         * locale/localeconv.c (__localeconv): For grouping and
19315         mon_grouping handle "\177" and "\377" like no grouping.
19316         (INT_ELEM): New macro.  Use it to set all numeric members.
19317         * locale/programs/ld-monetary.c (monetary_read)
19318         <tok_mon_grouping>: Normalize single -1 to the empty string.
19319         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19320         Likewise.
19322 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19324         [BZ #16055]
19325         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19326         when we match (nil).
19327         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19329 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19331         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19332         (NO_TEST_INLINE): Update value.
19333         (ERRNO_UNCHANGED): Likewise.
19334         (ERRNO_EDOM): Likewise.
19335         (ERRNO_ERANGE): Likewise.
19336         (IGNORE_RESULT): Likewise.
19337         (check_float_internal): Check signs of NaN results if
19338         TEST_NAN_SIGN used.
19339         (check_complex): Pass TEST_NAN_SIGN flag through to second
19340         check_float_internal call.
19341         (copysign_test_data): Add tests with quiet NaNs as second
19342         argument.  Use TEST_NAN_SIGN.
19343         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19344         TEST_NAN_SIGN.
19345         (signbit_test_data): Add tests of quiet NaN argument.
19346         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19348         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19349         $ignore_result.
19350         (parse_args): Handle function results specified as IGNORE.
19351         * math/libm-test.inc (IGNORE_RESULT): New macro.
19352         (check_float_internal): Do not check numerical result if flag
19353         IGNORE_RESULT set.
19354         (check_complex): Pass through IGNORE_RESULT to second
19355         check_float_internal call.
19356         (check_int): Do not check numerical result if flag IGNORE_RESULT
19357         set.
19358         (check_long): Likewise.
19359         (check_bool): Likewise.
19360         (check_longlong): Likewise.
19361         (lrint_test_data): Add tests of infinite and NaN arguments.
19362         (lrint_tonearest_test_data): Likewise.
19363         (lrint_towardzero_test_data): Likewise.
19364         (lrint_downward_test_data): Likewise.
19365         (lrint_upward_test_data): Likewise.
19366         (llrint_test_data): Likewise.
19367         (llrint_tonearest_test_data): Likewise.
19368         (llrint_towardzero_test_data): Likewise.
19369         (llrint_downward_test_data): Likewise.
19370         (llrint_upward_test_data): Likewise.
19371         (lround_test_data): Likewise.
19372         (llround_test_data): Likewise.
19374         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19375         (ERRNO_UNCHANGED): Update value.
19376         (ERRNO_EDOM): Likewise.
19377         (ERRNO_ERANGE): Likewise.
19378         (NO_TEST_INLINE_FLOAT): New macro.
19379         (NO_TEST_INLINE_DOUBLE): Likewise.
19380         (enable_test): New function.
19381         (RUN_TEST_f_f): Check enable_test before running test.
19382         (RUN_TEST_2_f): Likewise.
19383         (RUN_TEST_fff_f): Likewise.
19384         (RUN_TEST_c_f): Likewise.
19385         (RUN_TEST_f_f1): Likewise.
19386         (RUN_TEST_fF_f1): Likewise.
19387         (RUN_TEST_fI_f1): Likewise.
19388         (RUN_TEST_ffI_f1): Likewise.
19389         (RUN_TEST_c_c): Likewise.
19390         (RUN_TEST_cc_c): Likewise.
19391         (RUN_TEST_f_i): Likewise.
19392         (RUN_TEST_f_i_tg): Likewise.
19393         (RUN_TEST_ff_i_tg): Likewise.
19394         (RUN_TEST_f_b): Likewise.
19395         (RUN_TEST_f_b_tg): Likewise.
19396         (RUN_TEST_f_l): Likewise.
19397         (RUN_TEST_f_L): Likewise.
19398         (RUN_TEST_fFF_11): Likewise.
19399         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19400         conditionals.
19401         (cosh_test_data): Likewise.
19402         (exp_test_data): Likewise.
19403         (expm1_test_data): Likewise.
19404         (hypot_test_data): Likewise.
19405         (pow_test_data): Likewise.
19406         (sinh_test_data): Likewise.
19407         (tanh_test_data): Likewise.
19408         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19409         flags argument.
19411         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19412         tests with quiet NaN input and output.
19413         (acosh_test_data): Likewise.
19414         (asin_test_data): Likewise.
19415         (asinh_test_data): Likewise.
19416         (atan_test_data): Likewise.
19417         (atanh_test_data): Likewise.
19418         (atan2_test_data): Likewise.
19419         (cbrt_test_data): Likewise.
19420         (cos_test_data): Likewise.
19421         (cosh_test_data): Likewise.
19422         (erf_test_data): Likewise.
19423         (erfc_test_data): Likewise.
19424         (exp_test_data): Likewise.
19425         (exp10_test_data): Likewise.
19426         (exp2_test_data): Likewise.
19427         (expm1_test_data): Likewise.
19428         (hypot_test_data): Likewise.
19429         (j0_test_data): Likewise.
19430         (j1_test_data): Likewise.
19431         (jn_test_data): Likewise.
19432         (lgamma_test_data): Likewise.
19433         (log_test_data): Likewise.
19434         (log10_test_data): Likewise.
19435         (log1p_test_data): Likewise.
19436         (log2_test_data): Likewise.
19437         (pow_test_data): Likewise.
19438         (scalb_test_data): Likewise.
19439         (sin_test_data): Likewise.
19440         (sincos_test_data): Likewise.
19441         (sinh_test_data): Likewise.
19442         (tan_test_data): Likewise.
19443         (tanh_test_data): Likewise.
19444         (tgamma_test_data): Likewise.
19445         (y0_test_data): Likewise.
19446         (y1_test_data): Likewise.
19447         (yn_test_data): Likewise.
19449         [BZ #16167]
19450         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19451         argument being NaN and avoid computations with second argument in
19452         that case.
19453         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19454         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19455         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19457 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19459         * locale/iso-639.def: Add Chitwani Tharu (the).
19461 2013-11-14  Andreas Schwab  <schwab@suse.de>
19463         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19464         word instead of empty string.
19466 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19469         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19471         (__fe_nomask_env): Likewise.
19473 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19475         * benchtests/bench-timing.h: Include time.h.
19477 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19479         [BZ #15997]
19480         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19481         to 3.4.0 for x32.
19482         * sysdeps/unix/sysv/linux/configure: Regenerated.
19484 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19486         [BZ #16151]
19487         * stdlib/strtod_l.c (round_and_return): Do not consider
19488         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19489         exponent one less than half the least subnormal exponent.
19490         * stdlib/test-strtod-round-data: Add more tests.
19491         * stdlib/tst-strtod-round.c (tests): Regenerated.
19493 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19495         [BZ #14143]
19496         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19497         (__fe_mask_env): Likewise.
19498         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19499         libm_hidden_proto and add function prototype.
19500         (__fe_mask_env): Add function prototype.
19501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19502         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19504         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19506         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19508 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19510         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19511         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19513 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19515         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19516         of htab_find_slot().
19518 2013-11-11  David S. Miller  <davem@davemloft.net>
19520         [BZ #16150]
19521         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19522         symbol in the non-vis3 case in static builds.
19523         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19524         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19525         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19526         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19528 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19530         [BZ #387]
19531         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19532         it is empty.
19534 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19536         * benchtests/Makefile: Add bench-strtod.
19537         * benchtests/bench-strtod.c: New file: strtod benchtest
19539 2013-11-11  Andreas Schwab  <schwab@suse.de>
19541         [BZ #16153]
19542         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19543         terminating NUL in key length.
19545 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19547         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19548         Add artificial ODP entry for vDSO symbol for PPC64.
19549         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19550         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19552 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19554         [BZ #15374]
19555         * nss/getent.c (services_keys): Recognize services starting with digit.
19557 2013-11-06  David S. Miller  <davem@davemloft.net>
19559         [BZ #15985]
19560         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19561         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19563 2013-11-06  Will Newton  <will.newton@linaro.org>
19565         * manual/memory.texi (Malloc Examples): Remove register
19566         keyword from examples.
19568 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19570         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19572 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19574         [BZ #6981]
19575         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19576         depending on [__GCC_IEC_559 > 0].
19577         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19578         depending on [__GCC_IEC_559_COMPLEX > 0].
19580 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19582         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19583         to iso-639.def.
19585 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19587         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19589 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19591         [BZ #16112]
19592         * malloc/malloc (malloc_info): Do not handle first bin as
19593         special case.
19595 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19597         * locale/iso-639.def: Add Central Nahuatl (nhn).
19599 2013-11-01  Bruno Haible  <bruno@clisp.org>
19601         [BZ #7003]
19602         * manual/math.texi (BSD Random): Specify range upper bound as
19603         in POSIX.
19605 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19607         * locale/iso-639.def: Add Meadow Mari (mhr).
19609 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19611         [BZ #14752], [BZ #15763]
19612         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19613         Validate name.
19614         * rt/tst_shm.c: Add test for escaping directory.
19616 2013-10-31  Andreas Schwab  <schwab@suse.de>
19618         [BZ #15917]
19619         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19620         followed by 'x' as part of digit sequence.
19621         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19623 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19625         [BZ #16037]
19626         * configure.ac: allow GNU Make 4.0 and greater.
19627         * configure: Regenerated.
19629 2013-10-30  Will Newton  <will.newton@linaro.org>
19631         [BZ #16038]
19632         * malloc/hooks.c (memalign_check): Limit alignment to the
19633         maximum representable power of two.
19634         * malloc/malloc.c (__libc_memalign): Likewise.
19635         * malloc/tst-memalign.c (do_test): Add test for very
19636         large alignment values.
19637         * malloc/tst-posix_memalign.c (do_test): Likewise.
19639 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19641         [BZ #11087]
19642         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19643         (munmap_chunk): Likewise.
19644         (mremap_chunk): Likewise.
19646 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19648         [BZ #15799]
19649         * stdlib/div.c (div): Remove obsolete code.
19650         * stdlib/ldiv.c (ldiv): Likewise.
19651         * stdlib/lldiv.c (lldiv): Likewise.
19653 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19655         [BZ #16071]
19656         * nss/nss_files/files-XXX.c (get_contents_ret): New
19657         enumerator.
19658         (get_contents): New function.
19659         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19661 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19663         * configure.in: Moved to ...
19664         * configure.ac: ... here. Change reference to configure.in
19665         to configure.ac.
19666         * sysdeps/arm/preconfigure.ac: ... here.
19667         configure.in to configure.ac.
19668         * sysdeps/gnu/configure.in: Moved to ...
19669         * sysdeps/gnu/configure.ac: ... here.
19670         * sysdeps/i386/configure.in: Moved to ...
19671         * sysdeps/i386/configure.ac: ... here.
19672         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19673         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19674         * sysdeps/mach/configure.in: Moved to ...
19675         * sysdeps/mach/configure.ac: ... here.
19676         * sysdeps/mach/hurd/configure.in: Moved to ...
19677         * sysdeps/mach/hurd/configure.ac: ... here.
19678         * sysdeps/powerpc/configure.in: Moved to ...
19679         * sysdeps/powerpc/configure.ac: ... here.
19680         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19681         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19682         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19683         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19684         * sysdeps/s390/s390-32/configure.in: Moved to ...
19685         * sysdeps/s390/s390-32/configure.ac: ... here.
19686         * sysdeps/s390/s390-64/configure.in: Moved to ...
19687         * sysdeps/s390/s390-64/configure.ac: ... here.
19688         * sysdeps/sh/configure.in: Moved to ...
19689         * sysdeps/sh/configure.ac: ... here.
19690         * sysdeps/sparc/configure.in: Moved to ...
19691         * sysdeps/sparc/configure.ac: ... here.
19692         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19693         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19694         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19695         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19696         * sysdeps/x86_64/configure.in: Moved to ...
19697         * sysdeps/x86_64/configure.ac: ... here.
19698         * sysdeps/x86_64/preconfigure.in: Moved to ...
19699         * sysdeps/x86_64/preconfigure.ac: ... here.
19700         * aclocal.m4: Change reference to configure.in to configure.ac.
19701         * config.h.in: Likewise.
19702         * manual/install.texi: Likewise.
19703         * manual/maint.texi: Likewise.
19704         * Makefile: Likewise.
19705         * malloc/Makefile: Likewise.
19706         * nscd/Makefile: Likewise.
19707         * Makeconfig: Change reference to configure.in and
19708         preconfigure.in to configure.ac and preconfigure.ac
19709         respectively.
19710         * INSTALL: Regenerated.
19711         * configure: Likewise.
19712         * sysdeps/gnu/configure: Likewise.
19713         * sysdeps/i386/configure: Likewise.
19714         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19715         * sysdeps/mach/configure: Likewise.
19716         * sysdeps/mach/hurd/configure: Likewise.
19717         * sysdeps/powerpc/configure: Likewise.
19718         * sysdeps/powerpc/powerpc32/configure: Likewise.
19719         * sysdeps/powerpc/powerpc64/configure: Likewise.
19720         * sysdeps/s390/s390-32/configure: Likewise.
19721         * sysdeps/s390/s390-64/configure: Likewise.
19722         * sysdeps/sh/configure: Likewise.
19723         * sysdeps/sparc/configure: Likewise.
19724         * sysdeps/unix/sysv/linux/configure: Likewise.
19725         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19726         * sysdeps/x86_64/configure: Likewise.
19727         * sysdeps/x86_64/preconfigure: Likewise.
19729 2013-10-29  Andreas Schwab  <schwab@suse.de>
19731         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19733 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19735         * benchtests/pow-inputs: Add new inputs.
19737         * benchtests/exp-inputs: Add new inputs.
19739         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19740         conditional check for return value.
19741         (__cos32): Likewise.
19743 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19745         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19746         to provide a boost for large inputs with word alignment.
19747         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19748         implementation based on optimized PPC64 strcpy.
19749         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19750         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19751         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19752         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19754 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19756         [BZ #2801]
19757         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19759 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19761         [BZ #14876]
19762         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19763         * time/tst-strptime.c (day_tests): Add testcase.
19765 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19767         [BZ #14029]
19768         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19770 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19772         [BZ #16074]
19773         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19774         MAP_FAILED on error.
19776 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19778         [BZ #16072]
19779         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19780         heap for large requests.
19782 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19784         [BZ #9954]
19785         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19786         result if the result has no associated interface.
19787         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19788         interface for all 127.X.Y.Z addresses.
19790 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19792         * locale/iso-639.def: Add Ligurian (lij)
19794 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19796         [BZ #15825]
19797         * sunrpc/rpc_main.c: Document rpcgen -5.
19799 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19801         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19803 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19805         [BZ #10278]
19806         * posix/glob.c: Match only directories when trailing slash is present.
19807         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19808         (main): Add testcase.
19810 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19812         [BZ #15670]
19813         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19815 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19817         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19818         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19819         AUTH_DES and cindex for FIPS 140-2.
19820         (DES Encryption): Add cindex FIPS 46-3.
19822         * locale/locarchive.h (struct locarhandle): Add fname.
19823         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19824         if an optional argument was specified to --list-archive,
19825         otherwise NULL.
19826         * locale/programs/locarchive.c (show_archive_content): Take new
19827         argument fname and pass it via ah.fname to open_archive.
19828         * locale/programs/localedef.h: Update decl.
19829         (open_archive): If AH->fname is non-null, open that file
19830         rather than the default file name, and don't ignore ENOENT.
19831         (create_archive): Set AH.fname to NULL.
19832         (delete_locales_from_archive): Likewise.
19833         (add_locales_to_archive): Likewise.
19834         * locale/programs/locfile.c (write_all_categories): Likewise.
19836 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
19837             Aldy Hernandez  <aldyh@redhat.com>
19839         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19840         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19841         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19842         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19843         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19844         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19845         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19846         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19847         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19848         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19849         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19850         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19851         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19852         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19853         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19854         Likewise.
19855         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19856         Likewise.
19857         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19858         Likewise.
19859         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19860         Likewise.
19861         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19862         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19863         Likewise.
19864         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19865         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19866         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19867         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19868         Likewise.
19869         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19870         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19871         * sysdeps/powerpc/preconfigure: Likewise.
19872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19873         Likewise.
19874         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19875         Replace contents of file by #include of <fenv_libc.h>.
19876         * sysdeps/powerpc/soft-fp/sfp-machine.h
19877         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19878         and <sys/prctl.h>.
19879         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19880         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19881         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19882         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19883         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19884         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19886         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19887         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19888         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19889         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19890         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19892         Allow copysignl PLT reference to be missing.
19894 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
19895             Joseph Myers  <joseph@codesourcery.com
19897         [BZ #15948]
19898         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19899         single character.
19900         (add_to_tablewc): Assert sequence of wide characters is nonempty.
19902 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19904         * elf/tst-tls-dlinfo.c: Don't include tls.h.
19905         * elf/tst-tls1.c: Likewise.
19906         * elf/tst-tls10.h: Likewise.
19907         * elf/tst-tls14.c: Likewise.
19908         * elf/tst-tls2.c: Likewise.
19909         * elf/tst-tls3.c: Likewise.
19910         * elf/tst-tls4.c: Likewise.
19911         * elf/tst-tls5.c: Likewise.
19912         * elf/tst-tls6.c: Likewise.
19913         * elf/tst-tls7.c: Likewise.
19914         * elf/tst-tls8.c: Likewise.
19915         * elf/tst-tls9.c: Likewise.
19916         * elf/tst-tlsmod1.c: Likewise.
19917         * elf/tst-tlsmod13.c: Likewise.
19918         * elf/tst-tlsmod13a.c: Likewise.
19919         * elf/tst-tlsmod14a.c: Likewise.
19920         * elf/tst-tlsmod16a.c: Likewise.
19921         * elf/tst-tlsmod16b.c: Likewise.
19922         * elf/tst-tlsmod2.c: Likewise.
19923         * elf/tst-tlsmod3.c: Likewise.
19924         * elf/tst-tlsmod4.c: Likewise.
19925         * elf/tst-tlsmod5.c: Likewise.
19926         * elf/tst-tlsmod6.c: Likewise.
19928 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
19930         [BZ #12486]
19931         * malloc/malloc.c: remove checks for statistics.
19933 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19935         [BZ #15277]
19936         * inet/inet_net.c (inet_network): Detect additional invalid strings.
19937         * inet/tst-network.c: Add testcase.
19939 2013-10-17  Andreas Schwab  <schwab@suse.de>
19941         [BZ #15218]
19942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19943         to determine canonical name.
19945 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19947         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19948         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19949         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19950         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19951         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19952         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19953         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19954         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19955         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19956         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19957         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19958         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19959         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19960         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19961         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19962         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19963         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19964         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19965         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19966         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19967         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19968         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19969         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19970         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19971         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19972         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19973         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19974         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19975         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19976         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19977         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19978         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19979         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19980         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19981         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19982         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19983         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19984         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19985         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19986         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19987         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19988         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19989         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19990         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19991         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19992         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19993         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19994         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19995         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19996         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19997         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19998         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19999         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20000         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20001         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20002         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20003         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20004         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20006 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20008         [BZ #16041]
20009         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20010         make result into a quiet NaN.
20012 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20014         * soft-fp/adddf3.c: Fix horizontal whitespace.
20015         * soft-fp/addsf3.c: Likewise.
20016         * soft-fp/addtf3.c: Likewise.
20017         * soft-fp/divdf3.c: Likewise.
20018         * soft-fp/divsf3.c: Likewise.
20019         * soft-fp/divtf3.c: Likewise.
20020         * soft-fp/double.h: Likewise.
20021         * soft-fp/eqdf2.c: Likewise.
20022         * soft-fp/eqsf2.c: Likewise.
20023         * soft-fp/eqtf2.c: Likewise.
20024         * soft-fp/extenddftf2.c: Likewise.
20025         * soft-fp/extended.h: Likewise.
20026         * soft-fp/extendsfdf2.c: Likewise.
20027         * soft-fp/extendsftf2.c: Likewise.
20028         * soft-fp/extendxftf2.c: Likewise.
20029         * soft-fp/fixdfdi.c: Likewise.
20030         * soft-fp/fixdfsi.c: Likewise.
20031         * soft-fp/fixdfti.c: Likewise.
20032         * soft-fp/fixsfdi.c: Likewise.
20033         * soft-fp/fixsfsi.c: Likewise.
20034         * soft-fp/fixsfti.c: Likewise.
20035         * soft-fp/fixtfdi.c: Likewise.
20036         * soft-fp/fixtfsi.c: Likewise.
20037         * soft-fp/fixtfti.c: Likewise.
20038         * soft-fp/fixunsdfdi.c: Likewise.
20039         * soft-fp/fixunsdfsi.c: Likewise.
20040         * soft-fp/fixunsdfti.c: Likewise.
20041         * soft-fp/fixunssfdi.c: Likewise.
20042         * soft-fp/fixunssfsi.c: Likewise.
20043         * soft-fp/fixunssfti.c: Likewise.
20044         * soft-fp/fixunstfdi.c: Likewise.
20045         * soft-fp/fixunstfsi.c: Likewise.
20046         * soft-fp/fixunstfti.c: Likewise.
20047         * soft-fp/floatdidf.c: Likewise.
20048         * soft-fp/floatdisf.c: Likewise.
20049         * soft-fp/floatditf.c: Likewise.
20050         * soft-fp/floatsidf.c: Likewise.
20051         * soft-fp/floatsisf.c: Likewise.
20052         * soft-fp/floatsitf.c: Likewise.
20053         * soft-fp/floattidf.c: Likewise.
20054         * soft-fp/floattisf.c: Likewise.
20055         * soft-fp/floattitf.c: Likewise.
20056         * soft-fp/floatundidf.c: Likewise.
20057         * soft-fp/floatundisf.c: Likewise.
20058         * soft-fp/floatunditf.c: Likewise.
20059         * soft-fp/floatunsidf.c: Likewise.
20060         * soft-fp/floatunsisf.c: Likewise.
20061         * soft-fp/floatunsitf.c: Likewise.
20062         * soft-fp/floatuntidf.c: Likewise.
20063         * soft-fp/floatuntisf.c: Likewise.
20064         * soft-fp/floatuntitf.c: Likewise.
20065         * soft-fp/fmadf4.c: Likewise.
20066         * soft-fp/fmasf4.c: Likewise.
20067         * soft-fp/fmatf4.c: Likewise.
20068         * soft-fp/gedf2.c: Likewise.
20069         * soft-fp/gesf2.c: Likewise.
20070         * soft-fp/getf2.c: Likewise.
20071         * soft-fp/ledf2.c: Likewise.
20072         * soft-fp/lesf2.c: Likewise.
20073         * soft-fp/letf2.c: Likewise.
20074         * soft-fp/muldf3.c: Likewise.
20075         * soft-fp/mulsf3.c: Likewise.
20076         * soft-fp/multf3.c: Likewise.
20077         * soft-fp/negdf2.c: Likewise.
20078         * soft-fp/negsf2.c: Likewise.
20079         * soft-fp/negtf2.c: Likewise.
20080         * soft-fp/op-1.h: Likewise.
20081         * soft-fp/op-2.h: Likewise.
20082         * soft-fp/op-4.h: Likewise.
20083         * soft-fp/op-8.h: Likewise.
20084         * soft-fp/op-common.h: Likewise.
20085         * soft-fp/quad.h: Likewise.
20086         * soft-fp/single.h: Likewise.
20087         * soft-fp/soft-fp.h: Likewise.
20088         * soft-fp/sqrtdf2.c: Likewise.
20089         * soft-fp/sqrtsf2.c: Likewise.
20090         * soft-fp/sqrttf2.c: Likewise.
20091         * soft-fp/subdf3.c: Likewise.
20092         * soft-fp/subsf3.c: Likewise.
20093         * soft-fp/subtf3.c: Likewise.
20094         * soft-fp/truncdfsf2.c: Likewise.
20095         * soft-fp/trunctfdf2.c: Likewise.
20096         * soft-fp/trunctfsf2.c: Likewise.
20097         * soft-fp/trunctfxf2.c: Likewise.
20098         * soft-fp/unorddf2.c: Likewise.
20099         * soft-fp/unordsf2.c: Likewise.
20100         * soft-fp/unordtf2.c: Likewise.
20102 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20104         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20105         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20107 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20109         * elf/dl-libc.c: Clear initfini list after freeing.
20111 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20113         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20114         * soft-fp/addsf3.c: Likewise.
20115         * soft-fp/addtf3.c: Likewise.
20116         * soft-fp/divdf3.c: Likewise.
20117         * soft-fp/divsf3.c: Likewise.
20118         * soft-fp/divtf3.c: Likewise.
20119         * soft-fp/double.h: Likewise.
20120         * soft-fp/eqdf2.c: Likewise.
20121         * soft-fp/eqsf2.c: Likewise.
20122         * soft-fp/eqtf2.c: Likewise.
20123         * soft-fp/extenddftf2.c: Likewise.
20124         * soft-fp/extended.h: Likewise.
20125         * soft-fp/extendsfdf2.c: Likewise.
20126         * soft-fp/extendsftf2.c: Likewise.
20127         * soft-fp/extendxftf2.c: Likewise.
20128         * soft-fp/fixdfdi.c: Likewise.
20129         * soft-fp/fixdfsi.c: Likewise.
20130         * soft-fp/fixdfti.c: Likewise.
20131         * soft-fp/fixsfdi.c: Likewise.
20132         * soft-fp/fixsfsi.c: Likewise.
20133         * soft-fp/fixsfti.c: Likewise.
20134         * soft-fp/fixtfdi.c: Likewise.
20135         * soft-fp/fixtfsi.c: Likewise.
20136         * soft-fp/fixtfti.c: Likewise.
20137         * soft-fp/fixunsdfdi.c: Likewise.
20138         * soft-fp/fixunsdfsi.c: Likewise.
20139         * soft-fp/fixunsdfti.c: Likewise.
20140         * soft-fp/fixunssfdi.c: Likewise.
20141         * soft-fp/fixunssfsi.c: Likewise.
20142         * soft-fp/fixunssfti.c: Likewise.
20143         * soft-fp/fixunstfdi.c: Likewise.
20144         * soft-fp/fixunstfsi.c: Likewise.
20145         * soft-fp/fixunstfti.c: Likewise.
20146         * soft-fp/floatdidf.c: Likewise.
20147         * soft-fp/floatdisf.c: Likewise.
20148         * soft-fp/floatditf.c: Likewise.
20149         * soft-fp/floatsidf.c: Likewise.
20150         * soft-fp/floatsisf.c: Likewise.
20151         * soft-fp/floatsitf.c: Likewise.
20152         * soft-fp/floattidf.c: Likewise.
20153         * soft-fp/floattisf.c: Likewise.
20154         * soft-fp/floattitf.c: Likewise.
20155         * soft-fp/floatundidf.c: Likewise.
20156         * soft-fp/floatundisf.c: Likewise.
20157         * soft-fp/floatunsidf.c: Likewise.
20158         * soft-fp/floatunsisf.c: Likewise.
20159         * soft-fp/floatuntidf.c: Likewise.
20160         * soft-fp/floatuntisf.c: Likewise.
20161         * soft-fp/floatuntitf.c: Likewise.
20162         * soft-fp/fmadf4.c: Likewise.
20163         * soft-fp/fmasf4.c: Likewise.
20164         * soft-fp/fmatf4.c: Likewise.
20165         * soft-fp/gedf2.c: Likewise.
20166         * soft-fp/gesf2.c: Likewise.
20167         * soft-fp/getf2.c: Likewise.
20168         * soft-fp/ledf2.c: Likewise.
20169         * soft-fp/lesf2.c: Likewise.
20170         * soft-fp/letf2.c: Likewise.
20171         * soft-fp/muldf3.c: Likewise.
20172         * soft-fp/mulsf3.c: Likewise.
20173         * soft-fp/multf3.c: Likewise.
20174         * soft-fp/negdf2.c: Likewise.
20175         * soft-fp/negsf2.c: Likewise.
20176         * soft-fp/negtf2.c: Likewise.
20177         * soft-fp/op-1.h: Likewise.
20178         * soft-fp/op-2.h: Likewise.
20179         * soft-fp/op-4.h: Likewise.
20180         * soft-fp/op-8.h: Likewise.
20181         * soft-fp/op-common.h: Likewise.
20182         * soft-fp/quad.h: Likewise.
20183         * soft-fp/single.h: Likewise.
20184         * soft-fp/soft-fp.h: Likewise.
20185         * soft-fp/sqrtdf2.c: Likewise.
20186         * soft-fp/sqrtsf2.c: Likewise.
20187         * soft-fp/sqrttf2.c: Likewise.
20188         * soft-fp/subdf3.c: Likewise.
20189         * soft-fp/subsf3.c: Likewise.
20190         * soft-fp/subtf3.c: Likewise.
20191         * soft-fp/truncdfsf2.c: Likewise.
20192         * soft-fp/trunctfdf2.c: Likewise.
20193         * soft-fp/trunctfsf2.c: Likewise.
20194         * soft-fp/trunctfxf2.c: Likewise.
20195         * soft-fp/unorddf2.c: Likewise.
20196         * soft-fp/unordsf2.c: Likewise.
20197         * soft-fp/unordtf2.c: Likewise.
20199 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20201         [BZ #15672]
20202         * misc/error.c (error_tail): Fix possible buffer overflow.
20204 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20206         [BZ #13028]
20207         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20208         address.
20210 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20212         [BZ #832]
20213         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20214         testing pipefail option.
20216 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20218         * soft-fp/double.h: Indent preprocessor directives inside #if.
20219         * soft-fp/extended.h: Likewise.
20220         * soft-fp/op-2.h: Likewise.
20221         * soft-fp/op-4.h: Likewise.
20222         * soft-fp/op-common.h: Likewise.
20223         * soft-fp/quad.h: Likewise.
20224         * soft-fp/single.h: Likewise.
20225         * soft-fp/soft-fp.h: Likewise.
20227 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20229         * iconv/iconv_prog.c: Fix typos.
20230         * stdio-common/psiginfo-data.h: Likewise.
20232 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20234         [BZ #15764]
20235         * locale/setlocale.c: Fix typo.
20237 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20239         [BZ #16036]
20240         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20241         signaling NaN arguments.
20242         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20243         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20245         [BZ #14910]
20246         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20247         unordered operands.
20248         * soft-fp/gesf2.c (__gesf2): Likewise.
20249         * soft-fp/getf2.c (__getf2): Likewise.
20250         * soft-fp/ledf2.c (__ledf2): Likewise.
20251         * soft-fp/lesf2.c (__lesf2): Likewise.
20252         * soft-fp/letf2.c (__letf2): Likewise.
20254         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20255         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20256         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20257         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20258         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20259         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20260         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20261         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20262         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20263         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20264         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20265         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20266         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20267         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20268         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20269         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20270         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20271         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20272         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20273         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20274         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20275         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20276         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20277         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20278         * soft-fp/floattidf.c (__floattidf): Likewise.
20279         * soft-fp/floattisf.c (__floattisf): Likewise.
20280         * soft-fp/floattitf.c (__floattitf): Likewise.
20281         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20282         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20283         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20284         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20285         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20286         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20287         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20288         * soft-fp/gesf2.c (__gesf2): Likewise.
20289         * soft-fp/getf2.c (__getf2): Likewise.
20290         * soft-fp/ledf2.c (__ledf2): Likewise.
20291         * soft-fp/lesf2.c (__lesf2): Likewise.
20292         * soft-fp/letf2.c (__letf2): Likewise.
20294         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20295         Undefine and redefine.
20296         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20297         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20298         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20299         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20300         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20301         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20302         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20303         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20304         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20305         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20306         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20307         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20308         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20309         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20310         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20312         [BZ #16032]
20313         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20314         without decrementing exponent if mantissa >= that for the
20315         denominator, not >.
20316         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20317         denominator, not >.  Decrement exponent in < case instead of
20318         incrementing in >= case.
20319         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20320         without decrementing exponent if mantissa >= that for the
20321         denominator, not >.
20323         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20324         computing saturated result for unsigned overflow.
20326 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20327             Jeff Law  <law@redhat.com>
20329         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20330         (atan2Mp): Add systemtap probe marker.
20331         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20332         (__ieee754_log): Add systemtap probe marker.
20333         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20334         (atanMp): Add systemtap probe marker.
20335         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20336         (tanMp): Add systemtap probe marker.
20337         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20338         (__slowexp): Add systemtap probe marker.
20339         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20340         (__slowpow): Add systemtap probe marker.
20341         * manual/probes.texi: Document probes.
20343 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20345         [BZ #15362]
20346         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20347         written.
20348         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20349         written.
20350         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20351         written to buffer but not flushed.
20352         * libio/iofwrite_u.c:  Likewise.
20353         * libio/iopadn.c:  Return bytes returned even if EOF was
20354         encountered.
20355         * libio/iowpadn.c:  Likewise.
20356         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20357         if _IO_padn does not write the whole buffer.
20358         [!COMPILE_WPRINTF] (PAD): Likewise.
20360 2013-10-10  David S. Miller  <davem@davemloft.net>
20362         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20363         directory block.
20365 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20367         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20368         instead of FSF address.
20369         * soft-fp/fixdfti.c: Likewise.
20370         * soft-fp/fixsfti.c: Likewise.
20371         * soft-fp/fixtfti.c: Likewise.
20372         * soft-fp/fixunsdfti.c: Likewise.
20373         * soft-fp/fixunssfti.c: Likewise.
20374         * soft-fp/fixunstfti.c: Likewise.
20375         * soft-fp/floattidf.c: Likewise.
20376         * soft-fp/floattisf.c: Likewise.
20377         * soft-fp/floattitf.c: Likewise.
20378         * soft-fp/floatuntidf.c: Likewise.
20379         * soft-fp/floatuntisf.c: Likewise.
20380         * soft-fp/floatuntitf.c: Likewise.
20381         * soft-fp/trunctfxf2.c: Likewise.
20383         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20384         * soft-fp/fixdfti.c: Likewise.
20385         * soft-fp/fixsfti.c: Likewise.
20386         * soft-fp/fixtfti.c: Likewise.
20387         * soft-fp/fixunsdfti.c: Likewise.
20388         * soft-fp/fixunssfti.c: Likewise.
20389         * soft-fp/fixunstfti.c: Likewise.
20390         * soft-fp/floattidf.c: Likewise.
20391         * soft-fp/floattisf.c: Likewise.
20392         * soft-fp/floattitf.c: Likewise.
20393         * soft-fp/floatuntidf.c: Likewise.
20394         * soft-fp/floatuntisf.c: Likewise.
20395         * soft-fp/floatuntitf.c: Likewise.
20396         * soft-fp/trunctfxf2.c: Likewise.
20398 2013-10-10  David S. Miller  <davem@davemloft.net>
20400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20402 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20404         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20405         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20406         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20407         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20408         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20409         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20410         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20412         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20413         for NaNs before doing comparisons on argument.
20414         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20415         Likewise.
20417 2013-10-10  Will Newton  <will.newton@linaro.org>
20419         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20420         passed to _int_memalign does not overflow.
20422 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20424         * scripts/bench.pl: Add include-sources directive.
20425         * benchtests/README: Update documentation.
20427 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20429         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20430         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20431         instead of FP_INIT_ROUNDMODE.
20432         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20433         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20435         [BZ #16034]
20436         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20437         copy class of input value.
20438         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20439         not handle exceptions.
20440         * soft-fp/negsf2.c (__negsf2): Likewise.
20441         * soft-fp/negtf2.c (__negtf2): Likewise.
20442         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20444 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20446         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20447         semicolon.  From Linux kernel.
20449 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20451         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20453 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20455         [BZ #156]
20456         * manual/socket.texi: Added statement about buffer
20457         for gethostbyname2_r.
20459 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20461         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20462         Use .p2align directive instead, throughout.
20463         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20464         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20465         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20466         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20467         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20468         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20469         * sysdeps/x86_64/strchr.S: Likewise.
20470         * sysdeps/x86_64/strrchr.S: Likewise.
20472 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20474         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20476         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20478         * sysdeps/generic/math_private.h (__mpsin1): Remove
20479         declaration.
20480         (__mpcos1): Likewise.
20481         (__mpsin): New argument __range_reduce.
20482         (__mpcos): Likewise.
20483         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20484         (slow): Use __mpsin and __mpcos.
20485         (slow1): Likewise.
20486         (slow2): Likewise.
20487         (sloww): Likewise.
20488         (sloww1): Likewise.
20489         (sloww2): Likewise.
20490         (bsloww): Likewise.
20491         (bsloww1): Likewise.
20492         (bsloww2): Likewise.
20493         (cslow2): Likewise.
20494         (csloww): Likewise.
20495         (csloww1): Likewise.
20496         (csloww2): Likewise.
20497         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20498         range_reduce.  Merge in __mpsin1.
20499         (__mpcos): Likewise.
20500         (__mpsin1): Remove.
20501         (__mpcos1): Likewise.
20503 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20505         * locale/loadlocale.c (_nl_intern_locale_data): Use
20506         LOCFILE_ALIGNED_P.
20507         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20508         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20509         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20510         obstack data is appropriately aligned.
20511         (obstack_int32_grow_fast): Likewise.
20512         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20513         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20514         (add_locale_uint32_array): Likewise.
20516 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20518         * benchtests/Makefile: Remove ARGLIST and RET variables.
20519         ($(objpfx)bench-%.c): Pass only function name to the script.
20520         * benchtests/README: Update documentation.
20521         * benchtests/acos-inputs: Add new directives.
20522         * benchtests/acosh-inputs: Likewise.
20523         * benchtests/asin-inputs: Likewise.
20524         * benchtests/asinh-inputs: Likewise.
20525         * benchtests/atan-inputs: Likewise.
20526         * benchtests/atanh-inputs: Likewise.
20527         * benchtests/cos-inputs: Likewise.
20528         * benchtests/cosh-inputs: Likewise.
20529         * benchtests/exp-inputs: Likewise.
20530         * benchtests/log-inputs: Likewise.
20531         * benchtests/pow-inputs: Likewise.
20532         * benchtests/rint-inputs: Likewise.
20533         * benchtests/sin-inputs: Likewise.
20534         * benchtests/sinh-inputs: Likewise.
20535         * benchtests/tan-inputs: Likewise.
20536         * benchtests/tanh-inputs: Likewise.
20537         * scripts/bench.pl: Add support for new directives.
20539 2013-10-07  Alan Modra  <amodra@gmail.com>
20541         * README: Fix careless merge.
20543 2013-10-05  Alan Modra  <amodra@gmail.com>
20545         * NEWS: Mention powerpc64le support and bugs fixed.
20546         * README: Both big-endian and little-endian powerpc64 supported.
20548 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20550         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20551         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20552         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20553         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20555 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20557         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20558         match prototype.
20560 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20562         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20563         Move -mhard-float appending from
20564         ports/sysdeps/powerpc/powerpc32/Makefile.
20565         [$(with-fp) = yes] (ASFLAGS): Likewise.
20566         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20567         * sysdeps/powerpc/nofpu: Move directory from
20568         ports/sysdeps/powerpc/nofpu.
20569         * sysdeps/powerpc/soft-fp: Move directory from
20570         ports/sysdeps/powerpc/soft-fp.
20571         * sysdeps/powerpc/powerpc32/405: Move directory from
20572         ports/sysdeps/powerpc/powerpc32/405.
20573         * sysdeps/powerpc/powerpc32/440: Move directory from
20574         ports/sysdeps/powerpc/powerpc32/440.
20575         * sysdeps/powerpc/powerpc32/464: Move directory from
20576         ports/sysdeps/powerpc/powerpc32/464.
20577         * sysdeps/powerpc/powerpc32/476: Move directory from
20578         ports/sysdeps/powerpc/powerpc32/476.
20579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20580         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20582         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20584         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20586         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20588         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20589         * README: Update for powerpc-*-linux-gnu software floating point
20590         support in libc.
20592         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20593         case to powerpc/powerpc32*.
20594         * sysdeps/unix/sysv/linux/configure: Regenerated.
20596         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20597         (_FPU_MASK_OM): Define as 0x04.
20598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20600         0x00c10080.
20601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20602         0x0000003c.
20603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20606         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20607         getcontext_e500.
20608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20609         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20610         setcontext_e500.
20611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20612         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20613         and setcontext_e500.
20615 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20617         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20619 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20621         * manual/threads.texi (Default Thread Attributes): Fix typo.
20623 2013-10-04  Will Newton  <will.newton@linaro.org>
20625         * malloc/Makefile: Add tst-memalign.
20626         * malloc/tst-memalign.c: New file.
20628         * malloc/tst-posix_memalign.c: Add comments.
20629         (do_test): Add comments and call free on all potentially
20630         allocated pointers. Add space after cast.
20632         * malloc/tst-pvalloc.c: Add comments.
20633         (do_test): Add comments and call free on all potentially
20634         allocated pointers. Remove duplicate check for NULL pointer.
20635         Add space after cast.
20637         * malloc/tst-valloc.c: Add comments.
20638         (do_test): Add comments and call free on all potentially
20639         allocated pointers. Remove duplicate check for NULL pointer.
20640         Add space after cast.
20642 2013-10-04  Alan Modra  <amodra@gmail.com>
20644         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20645         Use stdint types in rather than __attribute__((mode())).
20646         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20648 2013-10-04  Alan Modra  <amodra@gmail.com>
20650         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20651         Correct handling of unaligned relocs for little-endian.
20652         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20654 2013-10-04  Alan Modra  <amodra@gmail.com>
20656         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20657         * configure: Regenerate.
20658         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20659         * shlib-versions: Likewise.
20661 2013-10-04  Alan Modra  <amodra@gmail.com>
20663         * string/tester.c (test_memrchr): Increment reported test cycle.
20665 2013-10-04  Alan Modra  <amodra@gmail.com>
20667         * string/test-memcpy.c (do_one_test): When reporting errors, print
20668         string address and don't overrun end of string.
20670 2013-10-04  Alan Modra  <amodra@gmail.com>
20672         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20673         insrdi.  Make better use of reg selection to speed exit slightly.
20674         Schedule entry path a little better.  Remove useless "are we done"
20675         checks on entry to main loop.  Handle wrapping around zero address.
20676         Correct main loop count.  Handle single left-over word from main
20677         loop inline rather than by using loop_small.  Remove extra word
20678         case in loop_small caused by wrong loop count.  Add little-endian
20679         support.
20680         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20681         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20682         cache hint.
20683         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20684         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20685         support.  Avoid rlwimi.
20686         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20688 2013-10-04  Alan Modra  <amodra@gmail.com>
20690         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20691         insrdi.  Formatting.
20692         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20693         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20694         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20695         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20696         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20697         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20699 2013-10-04  Alan Modra  <amodra@gmail.com>
20701         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20702         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20703         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20704         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20705         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20706         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20707         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20708         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20709         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20710         use of regs.  Use power7 mtocrf.  Tidy function tails.
20712 2013-10-04  Alan Modra  <amodra@gmail.com>
20714         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20715         Formatting.  Consistently use rXXX register defines or rN defines.
20716         Use early exit labels that avoid restoring unused non-volatile regs.
20717         Make cr field use more consistent with rWORDn compares.  Rename
20718         regs used as shift registers for unaligned loop, using rN defines
20719         for short lifetime/multiple use regs.
20720         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20721         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20722         addi 1,1,64 to pop stack frame.  Simplify return value code.
20723         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20725 2013-10-04  Alan Modra  <amodra@gmail.com>
20727         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20728         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20729         rather than rlwimi.
20730         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20731         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20732         little-endian support.  Correct typos.
20733         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20734         rather than rlwimi.
20735         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20736         in loop and entry code to keep "and." results.
20737         (strchr): Add little-endian support.  Comment.  Move cntlzd
20738         earlier in tail.
20739         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20741 2013-10-04  Alan Modra  <amodra@gmail.com>
20743         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20744         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20745         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20746         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20748 2013-10-04  Alan Modra  <amodra@gmail.com>
20750         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20751         (rTMP): Define as r11.
20752         (strcmp): Add little-endian support.  Optimise tail.
20753         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20754         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20755         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20756         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20757         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20758         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20759         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20761 2013-10-04  Alan Modra  <amodra@gmail.com>
20763         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20764         little-endian support.  Remove unnecessary "are we done" tests.
20765         Handle "s" wrapping around zero and extremely large "size".
20766         Correct main loop count.  Handle single left-over word from main
20767         loop inline rather than by using small_loop.  Correct comments.
20768         Delete "zero" tail, use "end_max" instead.
20769         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20771 2013-10-04  Alan Modra  <amodra@gmail.com>
20773         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20774         support.  Don't branch over align.
20775         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20776         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20777         support.  Rearrange tmp reg use to suit.  Comment.
20778         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20780 2013-10-04  Alan Modra  <amodra@gmail.com>
20782         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20784 2013-10-04  Alan Modra  <amodra@gmail.com>
20786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20787         conditional form of branch and link when obtaining pc.
20788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20790 2013-10-04  Alan Modra  <amodra@gmail.com>
20792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20793         HIWORD/LOWORD.
20794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20797 2013-10-04  Alan Modra  <amodra@gmail.com>
20799         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20800         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20801         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20802         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20803         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20804         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20805         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20806         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20807         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20808         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20810 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20811             Alistair Popple <alistair@ozlabs.au.ibm.com>
20812             Alan Modra <amodra@gmail.com>
20814         [BZ #15723]
20815         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20816         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20817         _dl_hwcap access for little-endian.
20818         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20819         destroy vmx regs when saving unaligned.
20820         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20821         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20822         destroy vmx regs when saving unaligned.
20824 2013-10-04  Alan Modra  <amodra@gmail.com>
20826         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20827         Don't use a union to pack hi/low value.
20829 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20831         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20832         for little-endian.
20833         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20834         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20835         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20836         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20837         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20839 2013-10-04  Alan Modra  <amodra@gmail.com>
20841         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20842         constants to usual value for .cst8 section, and remove redundant
20843         high address load.
20844         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20845         constant for 0x1p52.  Load little-endian words of double from
20846         correct stack offsets.
20848 2013-10-04  Alan Modra  <amodra@gmail.com>
20850         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20851         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20852         words of double from correct stack offsets.
20853         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20854         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20855         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20856         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20857         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20858         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20859         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20860         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20861         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20862         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20863         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20864         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20865         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20866         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20867         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20868         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20869         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20871 2013-10-04  Alan Modra  <amodra@gmail.com>
20873         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20874         64-bit int/double union.
20875         (_FPU_SETCW): Likewise.
20876         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20877         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20879 2013-10-04  Alan Modra  <amodra@gmail.com>
20881         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20882         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20884 2013-10-04  Alan Modra  <amodra@gmail.com>
20886         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20887         use vector int constants.
20888         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20890 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20892         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20893         array with long long.
20894         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20895         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20896         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20897         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20898         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20899         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20900         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20901         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20902         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20903         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20904         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20905         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20906         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20908 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20910         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20911         (__signbit): Likewise.  Correct for little-endian.
20912         (__signbitl): Call __signbit.
20913         (lrint): Correct for little-endian.
20914         (lrintf): Call lrint.
20916 2013-10-04  Alan Modra  <amodra@gmail.com>
20918         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20919         union 32-bit int array member with 64-bit int array.
20920         (t515, tm256): Double rather than long double.
20921         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20923 2013-10-04  Alan Modra  <amodra@gmail.com>
20925         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20926         Delete.
20927         (IEEE854_LONG_DOUBLE_BIAS): Delete.
20928         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20929         version of math_ldbl.h.
20931 2013-10-04  Alan Modra  <amodra@gmail.com>
20933         [BZ #15734], [BZ #15735]
20934         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20935         all uses of ieee875 long double macros and unions.  Simplify test
20936         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
20937         ldbl_extract_mantissa value for ix,iy exponents.  Properly
20938         normalize after ldbl_extract_mantissa, and don't add hidden bit
20939         already handled.  Don't treat low word of ieee854 mantissa like
20940         low word of IBM long double and mask off bit when testing for
20941         zero.
20942         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20943         all uses of ieee875 long double macros and unions.  Simplify tests
20944         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
20945         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
20946         two1022, instead use their values.  Recognise that tests for large
20947         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
20948         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20949         Rewrite all uses of ieee875 long double macros and unions.  Simplify
20950         test for 0.0L and nan.  Correct negation.
20951         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20952         ieee875 long double macros and unions.  Correct output for large
20953         magnitude x.  Correct absolute value calculation.
20954         (__erfcl): Likewise.
20955         * math/libm-test.inc: Add tests for errors discovered in IBM long
20956         double versions of fmodl, remainderl, erfl and erfcl.
20958 2013-10-04  Alan Modra  <amodra@gmail.com>
20960         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20961         all uses of ieee854 long double macros and unions.  Simplify tests
20962         for long doubles that are fully specified by the high double.
20963         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20964         Likewise.
20965         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20966         Remove dead code too.
20967         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20968         (__ieee754_ynl): Likewise.
20969         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20970         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20971         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20972         Remove dead code too.
20973         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20974         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20975         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20976         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20977         Simplify.
20978         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20979         Simplify.
20980         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20981         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20982         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20983         Comment on variable precision.
20984         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20985         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20986         Likewise.
20987         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20988         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20989         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20990         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20991         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20993 2013-10-04  Alan Modra  <amodra@gmail.com>
20995         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20996         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20997         all uses of ieee854 long double macros and unions.
20998         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20999         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21000         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21001         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21002         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21003         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21004         Likewise.
21005         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21006         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21007         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21008         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21009         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21010         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21011         Simplify sign and nan test too.
21012         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21013         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21014         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21015         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21016         Likewise.
21017         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21018         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21019         Likewise.
21020         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21021         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21022         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21023         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21024         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21027 2013-10-04  Alan Modra  <amodra@gmail.com>
21029         * stdio-common/printf_size.c (__printf_size): Don't use
21030         union ieee854_long_double in fpnum union.
21031         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21032         signbit macro to retrieve sign from long double.
21033         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21034         retrieve sign from long double.
21035         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21036         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21037         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21038         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21039         * math/test-misc.c (main): Don't use union ieee854_long_double.
21041 2013-10-04  Alan Modra  <amodra@gmail.com>
21043         [BZ #15680]
21044         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21045         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21046         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21047         calculation.  Remove unnecessary test for denormal exponent.
21048         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21049         Correct handling of denormals.  Avoid undefined shift behaviour.
21050         Correct normalisation of low mantissa when low double is denormal.
21051         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21052         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21053         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21054         Correct normalisation of low mantissa.  Test for overflow of high
21055         mantissa and normalise.
21056         (ldbl_nearbyint): Use more readable constant for two52.
21057         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21058         (__mpn_construct_long_double): Fix test for overflow of high
21059         mantissa and correct normalisation.  Avoid undefined shift.
21061 2013-10-04  Alan Modra  <amodra@gmail.com>
21063         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21064         (union ibm_extended_long_double): Define as an array of ieee754_double.
21065         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21066         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21067         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21068         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21069         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21070         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21071         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21072         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21073         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21074         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21075         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21077 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21079         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21080         page size instead of calling getpagesize.
21082         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21083         (LOCFILE_ALIGN_MASK): Likewise.
21084         (LOCFILE_ALIGN_UP): Likewise.
21085         (LOCFILE_ALIGNED_P): Likewise.
21086         * locale/programs/ld-collate.c (collate_output): Use the new
21087         macros instead of __alignof__ (int32_t).
21088         * locale/weight.h (findidx): Likewise.
21090 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21092         [BZ #431]
21093         * manual/string.texi: Fix strncat and wcsncat.
21095 2013-10-03  Brooks Moses  <bmoses@google.com>
21097         [BZ #15915]
21098         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21099         * Makerules: ...here, and adjust associated comments.
21101 2013-10-02  Will Newton  <will.newton@linaro.org>
21103         * malloc/Makefile: Add tst-pvalloc.
21104         * malloc/tst-pvalloc.c: New file.
21106 2013-10-02  Will Newton  <will.newton@linaro.org>
21108         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21109         improve test coverage.
21111 2013-10-02  Will Newton  <will.newton@linaro.org>
21113         * malloc/Makefile: Add tst-posix_memalign.
21114         * malloc/tst-posix_memalign.c: New file.
21116 2013-10-01  Eric Blake  <eblake@redhat.com>
21118         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21119         Use __THROWNL rather than __THROW on static functions.
21121 2013-09-30  Petr Machata  <pmachata@redhat.com>
21123         * elf/elf.h (R_AARCH64_ABS16): New macro.
21124         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21125         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21126         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21127         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21128         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21129         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21130         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21131         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21132         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21133         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21134         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21135         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21136         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21137         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21138         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21139         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21140         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21141         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21142         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21143         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21144         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21145         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21146         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21147         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21148         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21149         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21150         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21151         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21152         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21153         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21154         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21155         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21156         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21157         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21158         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21159         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21160         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21161         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21162         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21163         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21164         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21165         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21166         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21167         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21168         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21169         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21170         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21171         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21172         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21173         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21174         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21175         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21176         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21177         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21178         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21179         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21180         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21181         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21182         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21183         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21184         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21185         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21186         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21187         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21188         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21189         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21190         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21191         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21192         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21193         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21194         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21195         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21196         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21197         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21198         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21199         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21200         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21201         (R_AARCH64_TLSDESC_LDR): Likewise.
21202         (R_AARCH64_TLSDESC_ADD): Likewise.
21203         (R_AARCH64_TLSDESC_CALL): Likewise.
21205 2013-09-30  Andreas Schwab  <schwab@suse.de>
21207         [BZ #15048]
21208         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21209         the nss database lookup.
21210         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21213 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21215         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21217 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21219         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21220         ${Bash-specific parameter/pattern/string} parameter expansion.
21221         * sysdeps/unix/make-syscalls.sh: Likewise.
21223 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21225         * sysdeps/sh/stackguard-macros.h: New file.
21227 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21230         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21231         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21232         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21233         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21234         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21236 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21238         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21239         Fix thread ID register.
21241 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21243         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21244         [POSIX || UNIX98]: Require rather than permitting all symbols from
21245         <time.h>.
21246         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21247         element of struct sched_param.
21248         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21249         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21250         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21251         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21252         constant.
21254 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21256         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21257         argument calculation.
21259 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21261         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21262         Expect macro.
21263         [POSIX] (pthread_attr_t): Do not require type.
21264         [POSIX] (pthread_cond_t): Likewise.
21265         [POSIX] (pthread_condattr_t): Likewise.
21266         [POSIX] (pthread_key_t): Likewise.
21267         [POSIX] (pthread_mutex_t): Likewise.
21268         [POSIX] (pthread_mutexattr_t): Likewise.
21269         [POSIX] (pthread_once_t): Likewise.
21270         [POSIX] (pthread_t): Likewise.
21271         [POSIX-based standards] (pthread_atfork): Expect function.
21273 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21274             Richard Sandiford  <richard@codesourcery.com>
21276         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21277         (swap_endianness_p): New extern variable.
21278         (set_big_endian): New inline function.
21279         (maybe_swap_uint32): Likewise.
21280         (maybe_swap_uint32_array): Likewise.
21281         (maybe_swap_uint32_obstack): Likewise.
21282         * locale/programs/locfile.c: Include <stdbool.h>.
21283         (swap_endianness_p): New variable.
21284         (add_locale_uint32): Call maybe_swap_uint32.
21285         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21286         (write_locale_data): Call maybe_swap_uint32_array.
21287         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21288         maybe_swap_uint32.
21289         (obstack_int32_grow_fast): Likewise.
21290         (output_weightwc): Call maybe_swap_uint32_obstack.
21291         (collate_output): Likewise.
21292         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21293         (OPT_LITTLE_ENDIAN): Likewise.
21294         (options): Add --little-endian and --big-endian options.
21295         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21296         * locale/programs/locarchive.c: Include "locfile.h".
21297         (GET): New macro.
21298         (SET): Likewise.
21299         (INC): Likewise.
21300         (create_archive): Use the new macros to access fields of
21301         structures directly mapped from or written to locale archives.
21302         (oldlocrecentcmp): Likewise.
21303         (enlarge_archive): Likewise.
21304         (insert_name): Likewise.
21305         (add_alias): Likewise.
21306         (add_locale): Likewise.
21307         (delete_locales_from_archive): Likewise.
21308         (show_archive_content): Likewise.
21309         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21310         locale data.
21312 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21314         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21315         http://www.gnu.org/doc/freemanuals.texi.
21316         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21318 2013-09-24  Will Newton  <will.newton@linaro.org>
21320         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21321         macro.
21323 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21325         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21326         unsigned char.
21328 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21330         * manual/threads.texi (POSIX Threads): Fix a typo.
21332 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21334         [BZ #14547]
21335         * string/tst-strcoll-overflow.c: New test case.
21336         * string/Makefile (xtests): Add tst-strcoll-overflow.
21337         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21338         cache if string sizes may cause integer overflow.
21340         [BZ #14547]
21341         * string/strcoll_l.c (coll_seq): New members rule, idx,
21342         save_idx and back_us.
21343         (get_next_seq_nocache): New function.
21344         (do_compare_nocache): New function.
21345         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21346         when malloc fails.
21348 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21350         [BZ #15754]
21351         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21352         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21353         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21355         [BZ #15754]
21356         * elf/Makefile (tests): Add tst-ptrguard1.
21357         (tests-static): Add tst-ptrguard1-static.
21358         (tst-ptrguard1-ARGS): Define.
21359         (tst-ptrguard1-static-ARGS): Define.
21360         * elf/tst-ptrguard1.c: New file.
21361         * elf/tst-ptrguard1-static.c: New file.
21362         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21363         * sysdeps/i386/stackguard-macros.h: Likewise.
21364         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21365         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21366         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21367         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21368         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21369         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21371 2013-09-23  Hector Marco  <hecmargi@upv.es>
21372             Ismael Ripoll  <iripoll@disca.upv.es>
21373             Carlos O'Donell  <carlos@redhat.com>
21375         [BZ #15754]
21376         * sysdeps/generic/stackguard-macros.h: Define
21377         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21378         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21379         Define __pointer_chk_guard_local.
21380         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21381         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21383 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21385         [BZ #15859]
21386         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21388 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21390         * include/string.h (__ffs): Declare as hidden.
21391         * string/ffs.c (__ffs): Define as hidden.
21392         * sysdeps/i386/ffs.c (__ffs): Likewise.
21393         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21394         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21395         * sysdeps/s390/ffs.c (__ffs): Likewise.
21396         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21398 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21400         * NEWS: Mention malloc probes.
21402         * malloc/arena.c (new_heap): New memory_heap_new probe.
21403         (grow_heap): New memory_heap_more probe.
21404         (shrink_heap): New memory_heap_less probe.
21405         (heap_trim): New memory_heap_free probe.
21406         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21407         (systrim): New memory_sbrk_less probe.
21408         * manual/probes.texi: Document them.
21410         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21411         * manual/probes.texi: Document it.
21413         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21414         (__libc_realloc): Add memory_realloc_retry probe.
21415         (__libc_memalign): Add memory_memalign_retry probe.
21416         (__libc_valloc): Add memory_valloc_retry probe.
21417         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21418         (__libc_calloc): Add memory_calloc_retry probe.
21419         * manual/probes.texi: Document them.
21421         * malloc/arena.c (get_free_list): Add probe
21422         memory_arena_reuse_free_list.
21423         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21424         and memory_arena_reuse.
21425         (arena_get2) [!PER_THREAD]: Likewise.
21426         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21427         memory_arena_reuse_realloc.
21428         * manual/probes.texi: Document them.
21430         * malloc/malloc.c (__libc_free): Add
21431         memory_mallopt_free_dyn_thresholds probe.
21432         (__libc_mallopt): Add multiple memory_mallopt probes.
21433         * manual/probes.texi: Document them.
21435         * malloc/malloc.c: Include stap-probe.h.
21436         (__libc_mallopt): Add memory_mallopt probe.
21437         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21438         * manual/probes.texi: New.
21439         * manual/Makefile (chapters): Add probes.
21440         * manual/threads.texi: Set next node.
21442 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21444         [BZ #15963, #13985]
21445         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21446         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21447         Add `Chinese' to `nan' entry name.
21449 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21451         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21452         (POLYNOMIAL): Likewise.
21453         (TAYLOR_SINCOS): Likewise.
21454         (TAYLOR_SLOW): Likewise.
21455         (__sin): Use TAYLOR_SINCOS.
21456         (__cos): Likewise.
21457         (slow): Use TAYLOR_SLOW.
21458         (sloww): Likewise.
21459         (bsloww): Likewise.
21460         (csloww): Likewise.
21462 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21464         * stdlib/strtod_l.c: Fix buffer overrun.
21466 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21468         * benchtests/Makefile (bench): Add sincos.
21469         * benchtests/bench-sincos.c: New file.
21471         * math/libm-test.inc (cos_test_data): New test inputs.
21472         (sin_test_data): Likewise.
21474         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21475         macro.
21476         (__sin): Use it.
21477         (__cos): Likewise.
21478         (slow1): Likewise.
21479         (slow2): Likewise.
21480         (sloww1): Likewise.
21481         (sloww2): Likewise.
21482         (bsloww1): Likewise.
21483         (bsloww2): Likewise.
21484         (cslow2): Likewise.
21485         (csloww1): Likewise.
21486         (csloww2): Likewise.
21488         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21489         function.
21490         (__sin): Use it.
21491         (__cos): Likewise.
21493         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21494         gotos.
21495         (__cos): Likewise.
21497 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21499         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21500         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21501         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21502         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21503         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21504         * elf/cache.c (print_entry): Handle the new cache flags.
21506 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21507             Aldy Hernandez  <aldyh@redhat.com>
21509         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21510         Change condition to [_SOFT_FLOAT].
21511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21523         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21526         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21527         declaration.
21529 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21531         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21532         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21533         (__longjmp): Use LOAD_GP to load saved GPRs.
21534         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21535         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21536         (__sigsetjmp): Use SAVE_GP to save GPRs.
21538         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21539         Do not append -msoft-float.
21540         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21542 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21544         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21546 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21548         [BZ #15966]
21549         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21550         (_FPU_GETCW): Use initial "__" on variable and field names but not
21551         on macro parameter name.
21552         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21553         parentheses around reference to macro parameter.
21555 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21557         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21558         prototype.
21559         (ctype_startup): Use uint32_t in cast and sizeof for
21560         ctype->charnames.
21562 2013-09-11  Jia Liu  <proljc@gmail.com>
21564         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21565         __daddr_t_defined.
21566         [__FreeBSD__]: Likewise.
21568 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21571         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21572         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21573         (strchr): Remove __strchr_sse42 ifunc selection.
21574         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21575         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21577 2013-09-11  Will Newton  <will.newton@linaro.org>
21579         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21580         parameter to RES. Remove hardcoded 1000 value.
21581         * benchtests/bench-skeleton.c (main): Pass RES parameter
21582         to TIMING_INIT and multiply result by 1000.
21584 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21588 2013-09-11  Andreas Schwab  <schwab@suse.de>
21590         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21591         if not defined.
21592         (O_TMPFILE) [__USE_GNU]: Define.
21593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21594         Define.
21596 2013-09-11  Will Newton  <will.newton@linaro.org>
21598         [BZ #15857]
21599         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21600         does not overflow.
21602 2013-09-11  Will Newton  <will.newton@linaro.org>
21604         [BZ #15856]
21605         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21606         does not overflow.
21608 2013-09-11  Will Newton  <will.newton@linaro.org>
21610         [BZ #15855]
21611         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21612         does not overflow.
21614 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21616         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21617         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21618         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21619         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21620         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21622 2013-09-10  Allan McRae  <allan@archlinux.org>
21624         [BZ #15748]
21625         * manual/arith.texi (Parsing of Floats): Clarify
21626         cross-reference.
21628         [BZ #15849]
21629         * manual/install.texi (Running make install): Mention
21630         --enable-pt-chown.
21631         * INSTALL: Regenerated.
21633 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21635         * csu/init-first.c (_init): Remove the !SHARED condition around
21636         FPU control word initialization.
21637         * elf/dl-support.c (_dl_fpu_control): New variable.
21638         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21639         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21640         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21641         * math/test-fpucw-static.c: New file.
21642         * math/test-fpucw-ieee.c: New file.
21643         * math/test-fpucw-ieee-static.c: New file.
21644         * math/Makefile (tests): Add `test-fpucw-ieee' and
21645         `$(tests-static)'.
21646         (tests-static): New variable.
21647         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21648         dependency to...
21649         [($(build-shared),yes)]
21650         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21651         ... this.
21652         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21653         New dependency.
21655 2013-09-09  Allan McRae  <allan@archlinux.org>
21657         [BZ #15939]
21658         * manual/string.texi (Collation Functions): Fix typo in
21659         strcoll example.
21660         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21662         [BZ #15893]
21663         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21665         [BZ #15892]
21666         * libio/memstream.c (open_memstream): Fix memory leak.
21667         * libio/wmemstream.c (open_wmemstream): Likewise.
21669         [BZ #15895]
21670         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21672 2013-09-09  Will Newton  <will.newton@linaro.org>
21674         * malloc/Makefile: Add tst-realloc to tests.
21675         * malloc/tst-realloc.c: New file.
21677 2013-09-09  Allan McRae  <allan@archlinux.org>
21679         [BZ #15844]
21680         * COPYING: Update from GNU website to fix FSF address.
21681         * COPYING.LIB: Likewise.
21683 2013-09-06  David S. Miller  <davem@davemloft.net>
21685         * po/zh_TW.po: Update Chinese (traditional) translation from
21686         translation project.
21688 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21689             Joseph Myers  <joseph@codesourcery.com>
21691         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21692         "localeinfo.h".
21693         (obstack_chunk_alloc): New macro.
21694         (obstack_chunk_free): Likewise.
21695         (record_offset): New function.
21696         (init_locale_data): Likewise.
21697         (align_locale_data): Likewise.
21698         (add_locale_empty): Likewise.
21699         (add_locale_raw_data): Likewise.
21700         (add_locale_raw_obstack): Likewise.
21701         (add_locale_string): Likewise.
21702         (add_locale_wstring): Likewise.
21703         (add_locale_uint32): Likewise.
21704         (add_locale_uint32_array): Likewise.
21705         (add_locale_char): Likewise.
21706         (start_locale_structure): Likewise.
21707         (end_locale_structure): Likewise.
21708         (start_locale_prelude): Likewise.
21709         (end_locale_prelude): Likewise.
21710         (write_locale_data): Take locale_file structure rather than an
21711         iovec.
21712         * locale/programs/locfile.h: Include "obstack.h".
21713         (struct locale_file): Change to store locale file contents instead
21714         of header.
21715         (init_locale_data): New prototype.
21716         (align_locale_data): Likewise.
21717         (add_locale_empty): Likewise.
21718         (add_locale_raw_data): Likewise.
21719         (add_locale_raw_obstack): Likewise.
21720         (add_locale_string): Likewise.
21721         (add_locale_wstring): Likewise.
21722         (add_locale_uint32): Likewise.
21723         (add_locale_uint32_array): Likewise.
21724         (add_locale_char): Likewise.
21725         (start_locale_structure): Likewise.
21726         (end_locale_structure): Likewise.
21727         (start_locale_prelude): Likewise.
21728         (end_locale_prelude): Likewise.
21729         (write_locale_data): Update prototype.
21730         * locale/programs/3level.h (struct TABLE): Remove result field.
21731         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21732         Use new locale_file interface.
21733         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21734         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21735         * locale/programs/ld-address.c (address_output): Use new
21736         locale_file interface.
21737         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21738         NO_ADD_LOCALE.
21739         (collate_finish): Don't call collseq_table_finalize.
21740         (collate_output): Use new locale_file interface.
21741         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21742         in file.
21743         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21744         (TABLE): Move defines earlier in file.
21745         (ELEMENT): Likewise.
21746         (DEFAULT): Likewise.
21747         (wctrans_table_add): Move macro and inline function earlier in
21748         file.
21749         (struct wctype_table): Move type earlier in file.
21750         (add_locale_wctype_table): New static prototype.
21751         (struct locale_ctype_t): Use logical types instead of struct iovec
21752         pointers for members.
21753         (ctype_output): Use new locale_file interface.
21754         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21755         new locale_file interface.
21756         (allocate_arrays): Update for use of new locale_file interface.
21757         * locale/programs/ld-identification.c (identification_output): Use
21758         new locale_file interface.
21759         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21760         * locale/programs/ld-messages.c (messages_output): Likewise.
21761         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21762         * locale/programs/ld-name.c (name_output): Likewise.
21763         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21764         * locale/programs/ld-paper.c (paper_output): Likewise.
21765         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21766         * locale/programs/ld-time.c (time_output): Likewise.
21768 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21770         * benchtests/Makefile: Add memrchr benchmark.
21771         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21772         benchmark as memrchr.
21773         * benchtests/bench-memrchr-ifunc.c: New file.
21774         * benchtests/bench-memrchr.c: New file.
21776 2013-09-06   Will Newton  <will.newton@linaro.org>
21778         * benchtests/Makefile (string-bench): Add memcpy.
21780 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21781             Cong Wang  <amwang@redhat.com>
21783         [BZ #15850]
21784         * sysdeps/unix/sysv/linux/bits/in.h
21785         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21786         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21787         before __USE_KERNEL_IPV6_DEFS uses.
21788         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21789         IPPROTO_BEETPH.
21790         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21791         sockaddr_in6, or ipv6_mreq.
21793 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21795         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21796         memory access for final bytes in some large inputs.
21797         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21799 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21801         * string/test-memrchr.c: New file.
21802         * string/test-memrchr-ifunc.c: New file.
21803         * string/Makefile: Add new memrchr testcase.
21805 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21807         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21808         fanotify_init returns EPERM.
21810 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21812         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21813         errors.
21814         (top level): Treat second token from macro or constant entries for
21815         allowed headers as allowed.
21816         * include/complex.h: Condition internal declarations on
21817         [!_ISOMAC].
21818         * include/fenv.h: Condition include of <stdbool.h> and internal
21819         declarations on [!_ISOMAC].
21821 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21823         [BZ #15923]
21824         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21826 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21828         * configure.in (--enable-versioning): Remove configure option.
21829         (libc_cv_asm_symver_directive): Remove configure test.
21830         (libc_cv_ld_version_script_option): Likewise.
21831         (VERSIONING): Remove variable and AC_SUBST.
21832         (DO_VERSIONING): Remove AC_DEFINE.
21833         * configure: Regenerated.
21834         * config.h.in (DO_VERSIONING): Remove macro.
21835         * Makerules [$(versioning) = yes]: Change conditionals to
21836         [$(build-shared) = yes].
21837         * config.make.in (versioning): Remove variable.
21838         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21839         [$(build-shared) = yes].
21840         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21841         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21842         * elf/Makefile [$(versioning) = yes]: Change conditionals to
21843         [$(build-shared) = yes].
21844         * extra-lib.mk [$(versioning) = yes]: Likewise.
21845         * hurd/Makefile [$(versioning) = yes]: Likewise.
21846         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21847         [SHARED].
21848         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21849         [SHARED].
21850         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21851         [SHARED && !NO_HIDDEN].
21852         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21853         [SHARED].
21854         [SHARED && DO_VERSIONING]: Likewise..
21855         * libio/Makefile [$(versioning) = yes]: Change conditionals to
21856         [$(build-shared) = yes].
21857         * manual/install.texi (--disable-versioning): Remove
21858         documentation.
21859         * INSTALL: Regenerated.
21860         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21861         to [SHARED].
21862         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21863         [$(build-shared) = yes].
21864         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21865         * sysdeps/i386/i686/multiarch/strstr-c.c
21866         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21867         [SHARED && !NO_HIDDEN].
21868         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21869         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21870         * sysdeps/powerpc/powerpc32/dl-machine.c
21871         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21872         * sysdeps/powerpc/powerpc32/sysdep.h
21873         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21874         to [SHARED && PIC && !NO_HIDDEN].
21875         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21876         conditional to [SHARED].
21878 2013-09-04   Will Newton  <will.newton@linaro.org>
21880         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21881         * benchtests/bench-string.h: Include bench-timing.h instead
21882         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21883         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21884         call to HP_TIMING_DIFF_INIT.
21885         * benchtests/bench-memccpy.c: Use bench-timing.h macros
21886         instead of hp-timing.h macros.
21887         * benchtests/bench-memchr.c: Likewise.
21888         * benchtests/bench-memcmp.c: Likewise.
21889         * benchtests/bench-memcpy.c: Likewise.
21890         * benchtests/bench-memmem.c: Likewise.
21891         * benchtests/bench-memmove.c: Likewise.
21892         * benchtests/bench-memset.c: Likewise.
21893         * benchtests/bench-rawmemchr.c: Likewise.
21894         * benchtests/bench-strcasecmp.c: Likewise.
21895         * benchtests/bench-strcasestr.c: Likewise.
21896         * benchtests/bench-strcat.c: Likewise.
21897         * benchtests/bench-strchr.c: Likewise.
21898         * benchtests/bench-strcmp.c: Likewise.
21899         * benchtests/bench-strcpy.c: Likewise.
21900         * benchtests/bench-strcpy_chk.c: Likewise.
21901         * benchtests/bench-strlen.c: Likewise.
21902         * benchtests/bench-strncasecmp.c: Likewise.
21903         * benchtests/bench-strncat.c: Likewise.
21904         * benchtests/bench-strncmp.c: Likewise.
21905         * benchtests/bench-strncpy.c: Likewise.
21906         * benchtests/bench-strnlen.c: Likewise.
21907         * benchtests/bench-strpbrk.c: Likewise.
21908         * benchtests/bench-strrchr.c: Likewise.
21909         * benchtests/bench-strspn.c: Likewise.
21910         * benchtests/bench-strstr.c: Likewise.
21912 2013-09-04  Will Newton  <will.newton@linaro.org>
21914         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21916 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
21918         [BZ #15427]
21919         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21920         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21921         * math/libm-test.inc (lgamma_test_data): Add more tests.
21922         * sysdeps/i386/fpu/libm-test-ulps: Update.
21923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21925 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
21927         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21929         Add ifunc.
21930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21931         Add strcmp-sse2-unaligned
21932         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21934 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21936         * Versions.def (libc): Add GLIBC_2.19.
21938 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21940         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21941         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21943 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
21945         [BZ #14155]
21946         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21947         intermediate calculations in recurrence.
21948         (__ieee754_ynf): Likewise.
21949         * math/libm-test.inc (jn_test_data): Do not allow spurious
21950         underflow exception.  Add more tests.
21951         (yn_test_data): Add more tests.
21952         * sysdeps/i386/fpu/libm-test-ulps: Update.
21953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21955 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
21957         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21959 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21961         * csu/init-first.c: Fix then/than typos.
21962         * locale/programs/ld-collate.c: Likewise.
21963         * locale/programs/linereader.h: Likewise.
21964         * manual/charset.texi: Likewise.
21965         * manual/filesys.texi: Likewise.
21966         * manual/stdio.texi: Likewise.
21967         * manual/string.texi: Likewise.
21968         * stdlib/fmtmsg.c: Likewise.
21969         * sysdeps/i386/stpncpy.S: Likewise.
21970         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21971         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21972         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21973         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21975 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21977         * elf/dl-open.c: Fix typos.
21978         * iconvdata/gbbig5.c: Likewise.
21979         * iconvdata/iso-2022-jp.c: Likewise.
21980         * iconv/gconv_int.h: Likewise.
21981         * iconv/loop.c: Likewise.
21982         * nis/rpcsvc/nis.h: Likewise.
21983         * resolv/ns_name.c: Likewise.
21984         * stdio-common/vfscanf.c: Likewise.
21985         * streams/stropts.h: Likewise.
21986         * sunrpc/rpc_thread.c: Likewise.
21987         * sysdeps/i386/strpbrk.S: Likewise.
21988         * sysdeps/ieee754/k_standard.c: Likewise.
21989         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21990         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21991         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21992         * sysdeps/mach/hurd/profil.c: Likewise.
21993         * sysdeps/s390/dl-procinfo.h: Likewise.
21994         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21995         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21996         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21997         * sysdeps/x86_64/dl-trampoline.S: Likewise.
21998         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22000 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22002         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22003         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22005 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22007         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22008         aix specific files.
22009         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22010         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22011         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22012         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22013         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22014         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22015         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22016         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22018 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22019             Roland McGrath  <roland@hack.frob.com>
22021         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22022         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22024 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22026         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22027         __executable_start symbol instead of _start.
22029 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22031         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22032         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22033         Move macros to...
22034         * sysdeps/gnu/ldsodefs.h: ... this new file.
22036         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22037         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22038         instead of ELFOSABI_LINUX.
22040         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22041         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22042         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22043         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22044         Likewise.
22045         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22046         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22047         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22048         Likewise.
22049         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22050         (ibm_extended_long_double): Add ieee_nan member.
22051         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22052         (do_test): New function.
22054         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22055         TEST_TRUNC.
22056         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22057         functions, renamed from truncdfsf_test, trunctfsf_test,
22058         trunctfdf_test.
22059         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22060         functions.
22061         (do_test): Run all these.
22063 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22065         * argp/argp-help.c: Fix typos.
22066         * argp/argp-parse.c: Likewise.
22067         * debug/backtracesyms.c: Likewise.
22068         * elf/elf.h: Likewise.
22069         * malloc/malloc.c: Likewise.
22070         * nis/nis_print.c: Likewise.
22071         * resolv/res_comp.c: Likewise.
22072         * stdlib/stdlib.h: Likewise.
22073         * sunrpc/clnt_tcp.c: Likewise.
22074         * sunrpc/clnt_udp.c: Likewise.
22075         * sunrpc/clnt_unix.c: Likewise.
22076         * sysdeps/unix/bsd/ptsname.c: Likewise.
22077         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22078         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22080         Likewise.
22081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22082         Likewise.
22083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22084         Likewise.
22085         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22087 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22089         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22090         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22092 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22094         [BZ #15897]
22095         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22096         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22097         ($(objpfx)bug-dl-leaf): New rule.
22098         ($(objpfx)bug-dl-leaf.so): Likewise.
22099         ($(objpfx)bug-dl-leaf.out): Likewise.
22100         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22101         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22102         * dlfcn/bug-dl-leaf.c: New test.
22103         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22104         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22105         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22106         (dlclose): Likewise.
22107         (dlmopen): Likewise.
22109 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22111         * include/netdb.h [!_ISOMAC]:
22112         Don't include <tls.h>.
22113         (h_errno, __libc_h_errno): Move declaration and macros out of
22114         [_LIBC_REENTRANT].
22116         * include/resolv.h [_RESOLV_H_]:
22117         Don't include <tls.h>.
22118         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22119         * resolv/res_libc.c: Don't include <tls.h>.
22120         (_res): Use __attribute__ ((nocommon)) in place of
22121         __attribute__ ((section (".bss"))).
22123         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22124         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22126         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22128         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22129         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22131         * resolv/res_mkquery.c: Include <sys/time.h>.
22133         * inet/ifreq.c: Moved to ...
22134         * sysdeps/unix/ifreq.c: ... here.
22135         * inet/ifreq.c: New file, true stub version.
22137         * socket/sa_len.c: New file.
22138         * socket/Makefile (aux): Add it.
22139         * sysdeps/unix/sysv/linux/Makefile
22140         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22141         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22142         and #include <socket/sa_len.c>.
22143         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22144         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22146         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22147         * bits/socket.h: ... here.
22149         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22150         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22151         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22153 2013-08-27  Andreas Schwab  <schwab@suse.de>
22155         [BZ #15736]
22156         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22157         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22158         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22159         * string/test-strcasecmp.c (test_main): Run tests in several
22160         locales.
22161         * string/test-strncasecmp.c (test_main): Likewise.
22163         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22164         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22165         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22166         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22167         (__strncasecmp_ssse3) [PIC]: Likewise.
22169 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22171         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22173         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22174         instead of explicitly declaring xdecrypt.
22175         * nis/nss_nis/nis-publickey.c: Likewise.
22177 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22179         [BZ #15890]
22180         * nscd/aicache.c: Include res_hconf.h.
22181         (addhstaiX): Initialize res_hconf.
22183 2013-08-26  Andreas Schwab  <schwab@suse.de>
22185         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22186         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22188 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22190         * nscd/aicache.c (addhstaiX): Fix indentation.
22192 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22194         * configure.ac: Quote $build_pt_chown test.
22195         * configure: Regenerated.
22197 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22199         [BZ #15532]
22200         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22201         * math/s_cexpf.c (__cexpf): Likewise.
22202         * math/s_cexpl.c (__cexpl): Likewise.
22203         * math/libm-test.inc (cexp_test_data): Correct expected return
22204         value for NaN + i0.  Add another test.
22206 2013-08-22  David S. Miller  <davem@davemloft.net>
22208         * po/ca.po: Update Catalan translation from translation project.
22209         * po/uk.po: Add Ukrainian translations from translation project.
22211 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22213         [BZ #15797]
22214         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22215         is infinite, not alongside NaN test.
22216         * math/s_fdimf.c (__fdimf): Likewise.
22217         * math/s_fdiml.c (__fdiml): Likewise.
22218         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22219         errno is unchanged.
22221 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22223         * argp/argp-help.c: Fix typos.
22224         * crypt/speeds.c: Likewise.
22225         * csu/check_fds.c: Likewise.
22226         * elf/dl-load.c: Likewise.
22227         * elf/dl-open.c: Likewise.
22228         * elf/reldep3.c: Likewise.
22229         * elf/reldep.c: Likewise.
22230         * elf/sprof.c: Likewise.
22231         * iconv/iconv_charmap.c: Likewise.
22232         * iconv/skeleton.c: Likewise.
22233         * iconv/strtab.c: Likewise.
22234         * io/lockf64.c: Likewise.
22235         * libio/libioP.h: Likewise.
22236         * resolv/gai_notify.c: Likewise.
22237         * resolv/ns_name.c: Likewise.
22238         * resolv/ns_samedomain.c: Likewise.
22239         * resolv/res_send.c: Likewise.
22240         * stdlib/random.c: Likewise.
22241         * sunrpc/rpc/xdr.h: Likewise.
22242         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22243         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22244         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22245         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22246         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22247         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22249         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22250         * sysdeps/mach/hurd/check_fds.c: Likewise.
22251         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22252         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22253         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22254         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22255         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22256         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22257         * sysdeps/pthread/aio_notify.c: Likewise.
22258         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22259         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22260         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22261         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22262         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22264 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22266         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22267         version if bit_Slow_SSE4_2 is set.
22268         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22269         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22271 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22273         [BZ #15867]
22274         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22275         trampoline stack frame information.
22276         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22277         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22278         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22279         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22280         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22281         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22282         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22283         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22284         sa_flags value.
22285         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22286         interrupting a syscall and set with option SA_SIGINFO.
22288 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22290         [BZ #15531]
22291         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22292         argument is infinite.
22293         * math/s_cprojf.c (__cprojf): Likewise.
22294         * math/s_cprojl.c (__cprojl): Likewise.
22295         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22296         * math/libm-test.inc (cproj_test_data): Add more tests.
22298         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22300         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22301         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22302         size.  Use __ffs to determine corresponding shift.
22304 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22305             Roland McGrath  <roland@hack.frob.com>
22307         * Makefile (INSTALL): Remove trailing blank lines from output of
22308         makeinfo.
22310 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22312         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22313         Align 32 bit compat elf_greg to 8 bytes.
22315 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22317         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22319 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22321         * string/strcoll_l.c (coll_seq): New structure.
22322         (get_next_seq_cached): New function.
22323         (get_next_seq): New function.
22324         (do_compare): New function.
22325         (STRCOLL): Use GNU style definition.  Simplify implementation
22326         by using get_next_seq, get_next_seq_cached and do_compare.
22328 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22330         [BZ #14699]
22331         CVE-2013-4237
22332         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22333         member.
22334         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22335         member.
22336         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22337         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22338         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22339         conditional.
22340         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22341         GETDENTS_64BIT_ALIGNED.
22342         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22343         * manual/filesys.texi (Reading/Closing Directory): Document
22344         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22345         strongly.
22346         * manual/conf.texi (Limits for Files): Add portability note to
22347         NAME_MAX, PATH_MAX.
22348         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22350 2013-08-13  Andreas Schwab  <schwab@suse.de>
22352         [BZ #15749]
22353         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22354         of fabs.
22355         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22356         LDBL_MAX_EXP >= 16384]: Add tests for it.
22358 2013-08-12  David S. Miller  <davem@davemloft.net>
22360         * version.h (RELEASE): Set to "development".
22361         (VERSION): Set to "2.18.90".
22362         * NEWS: Add 2.19 section.
22364 2013-08-03  David S. Miller  <davem@davemloft.net>
22366         * po/ko.po: Update Korean translation from translation project.
22368 2013-08-01  David S. Miller  <davem@davemloft.net>
22370         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22371         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22372         Bilka.
22374 2013-07-30  David S. Miller  <davem@davemloft.net>
22376         * po/fr.po: Update French translation from translation project.
22378 2013-07-28  David S. Miller  <davem@davemloft.net>
22380         * po/cs.po: Update Czech translation from translation project.
22382         * po/sv.po: Update Swedish translation from translation project.
22384 2013-07-27  David S. Miller  <davem@davemloft.net>
22386         * po/eo.po: Update Esperanto translation from translation project.
22388         * po/vi.po: Update Vietnamese translation from translation project.
22390         * po/de.po: Update German translation from translation project.
22392 2013-07-26  David S. Miller  <davem@davemloft.net>
22394         * po/bg.po: Update Bulgarian translation from translation project.
22396         * po/nl.po: Update Dutch translation from translation project.
22397         * po/pl.po: Update Polish translation from translation project.
22398         * po/ru.po: Update Russian translation from translation project.
22400 2013-07-24  David S. Miller  <davem@davemloft.net>
22402         * po/libc.pot: Update.
22404 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22406         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22407         variable page size.
22408         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22409         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22410         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22412 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22414         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22416 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22417             Andreas Schwab  <schwab@suse.de>
22418             Roland McGrath  <roland@hack.frob.com>
22419             Joseph Myers  <joseph@codesourcery.com>
22420             Carlos O'Donell  <carlos@redhat.com>
22422         [BZ #15755]
22423         * config.h.in: Define HAVE_PT_CHOWN.
22424         * config.make.in (build-pt-chown): New variable.
22425         * configure.in (--enable-pt_chown): New configure option.
22426         * configure: Regenerate.
22427         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22428         build-pt-chown is enabled.
22429         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22430         pt_chown to fix pty ownership.
22431         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22432         CLOSE_ALL_FDS.
22433         * manual/install.texi (Configuring and compiling): Mention
22434         --enable-pt_chown. Add @findex for grantpt.
22435         * INSTALL: Regenerate.
22437 2013-07-20  David S. Miller  <davem@davemloft.net>
22439         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22440         difference between 32-bit and 64-bit.
22442 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22444         [BZ #15711]
22445         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22446         Avoid system header dependency with -ffreestanding.
22447         ($(objpfx)bits/syscall%d): Likewise.
22449 2013-07-13  David S. Miller  <davem@davemloft.net>
22451         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22452         underflows from atanl/atan2l due to bug 15319.
22453         (casinh_test_data): Likewise.
22455 2013-07-07  David S. Miller  <davem@davemloft.net>
22457         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22459 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22461         * sysdeps/i386/fpu/libm-test-ulps: Update.
22462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22464 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22466         * configure.in (--enable-lock-elision): Fix message text.
22467         * INSTALL: Regenerate.
22468         * configure: Regenerate.
22470 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22474 2013-07-03  Andreas Jaeger  <aj@suse.de>
22476         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22477         define.
22478         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22479         (ptrace_peeksiginfo_args): Add.
22480         (__ptrace_peeksiginfo_flags): Add.
22481         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22482         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22483         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22485 2013-07-03  Allan McRae  <allan@archlinux.org>
22487         * sysdeps/i386/fpu/libm-test-ulps: Update.
22489 2013-07-02  David S. Miller  <davem@davemloft.net>
22491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22493 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22497 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22499         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22502 2013-07-02  Andi Kleen <ak@linux.intel.com>
22504         * config.h.in (ENABLE_LOCK_ELISION): Add.
22505         * configure.in (--enable-lock-elision): Add option.
22506         * manual/install.texi: Document --enable lock elision.
22507         * configure: Regenerate
22508         * INSTALL: Regenerate.
22510 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22512         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22513         SSE4.2 strcasecmp for libc.a.
22514         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22516 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22518         [BZ #13304]
22519         * soft-fp/op-common.h (_FP_FMA): New macro.
22520         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22521         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22522         (_FP_MUL_MEAT_1_imm): ... here.
22523         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22524         (_FP_MUL_MEAT_1_wide): ... here.
22525         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22526         (_FP_MUL_MEAT_1_hard): ... here.
22527         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22528         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22529         (_FP_MUL_MEAT_2_wide): ... here.
22530         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22531         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22532         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22533         (_FP_MUL_MEAT_2_gmp): ... here.
22534         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22535         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22536         (_FP_MUL_MEAT_4_wide): ... here.
22537         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22538         (_FP_MUL_MEAT_4_gmp): ... here.
22539         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22540         (_FP_WFRACBITS_DW_S): Likewise.
22541         (_FP_WFRACXBITS_DW_S): Likewise.
22542         (_FP_HIGHBIT_DW_S): Likewise.
22543         (FP_FMA_S): Likewise.
22544         (_FP_FRAC_HIGH_DW_S): Likewise.
22545         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22546         (_FP_WFRACBITS_DW_D): Likewise.
22547         (_FP_WFRACXBITS_DW_D): Likewise.
22548         (_FP_HIGHBIT_DW_D): Likewise.
22549         (FP_FMA_D): Likewise.
22550         (_FP_FRAC_HIGH_DW_D): Likewise.
22551         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22552         (_FP_WFRACBITS_DW_E): Likewise.
22553         (_FP_WFRACXBITS_DW_E): Likewise.
22554         (_FP_HIGHBIT_DW_E): Likewise.
22555         (FP_FMA_E): Likewise.
22556         (_FP_FRAC_HIGH_DW_E): Likewise.
22557         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22558         (_FP_WFRACBITS_DW_Q): Likewise.
22559         (_FP_WFRACXBITS_DW_Q): Likewise.
22560         (_FP_HIGHBIT_DW_Q): Likewise.
22561         (FP_FMA_Q): Likewise.
22562         (_FP_FRAC_HIGH_DW_Q): Likewise.
22563         * soft-fp/fmasf4.c: New file.
22564         * soft-fp/fmadf4.c: Likewise.
22565         * soft-fp/fmatf4.c: Likewise.
22567 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22570         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22571         Silvermont.
22572         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22573         macro.
22574         (index_Slow_SSE4_2): Likewise.
22575         (index_Prefer_PMINUB_for_stringop): Likewise.
22576         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22577         bit_Slow_SSE4_2 is set.
22578         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22579         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22581 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22583         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22584         rtld_global._dl_hwcap2.
22585         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22586         POWER8.
22587         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22588         POWER8 feature descriptions defined in _dl_hwcap2.
22589         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22590         string handling for POWER8 feature bits.
22591         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22592         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22593         _dl_powerpc_cap_flags.
22594         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22595         * sysdeps/powerpc/rtld-global-offsets.sym
22596         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22597         _dl_hwcap2 in the rtld_global_ro structure.
22599 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22601         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22602         hardware capabilities in support of AT_HWCAP2.
22603         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22604         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22605         GLRO(dl_hwcap2).
22606         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22607         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22608         explicitly the unknown a_type display mechanism is used.
22609         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22610         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22611         struct member.
22612         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22613         to macro prototype for AT_HWCAP2 support.
22614         * sysdeps/i386/dl-procinfo.h: Likewise.
22615         * sysdeps/s390/dl-procinfo.h: Likewise.
22616         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22617         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22618         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22619         return -1 for unknown a_type display fallback.
22620         * sysdeps/sparc/dl-procinfo.h: Likewise.
22621         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22622         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22624 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22626         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22627         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22629 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22631         [BZ #12492]
22632         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22633         mprotect making __stack_prot writable.
22635 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22636             Joseph Myers  <joseph@codesourcery.com>
22638         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22639         as being properly aligned.
22641 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22643         * dlfcn/modstatic5.c: New file.
22644         * dlfcn/tststatic5.c: New file.
22645         * dlfcn/Makefile (tests): Add tststatic5.
22646         (tests-static): Likewise.
22647         (modules-names): Add modstatic5.
22648         (tststatic5-ENV): New variable.
22649         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22651         [BZ #15022]
22652         * elf/dl-support.c (_dl_main_map): New variable.
22653         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22654         (_dl_nns, _dl_load_adds): Set to 1.
22655         (_dl_initial_searchlist): Refer to _dl_main_map.
22656         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22657         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22658         call to _dl_get_origin.
22659         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22660         around call_map.
22661         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22662         * dlfcn/modstatic3.c: New file.
22663         * dlfcn/tststatic3.c: New file.
22664         * dlfcn/tststatic4.c: New file.
22665         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22666         (tests-static): Likewise.
22667         (modules-names): Add modstatic3.
22668         (tststatic3-ENV, tststatic4-ENV): New variables.
22669         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22670         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22672 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22674         * configure.in (CC): Require GCC version 4.4 or later.
22675         * configure: Regenerated.
22676         * manual/install.texi (Tools for Compilation): Update GCC version
22677         requirement.
22678         * INSTALL: Regenerated.
22680 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22682         [BZ #15674]
22683         * string/test-memcmp.c (check2): New.
22684         (main): Call check2.
22686         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22688 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22690         [BZ #15022]
22691         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22692         over to...
22693         (dl_open_worker) [!SHARED]: ... here.
22695 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22697         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22699 2013-06-25  Richard Henderson  <rth@redhat.com>
22701         * locale/programs/locarchive.c: Include <libc-internal.h>
22703 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22705         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22706         trailing whitespace removed.
22708 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22710         [BZ #10283]
22711         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22712         * locale/programs/locarchive.c: Include libc-mmap.h.
22713         (prepare_address_space): Take two new outputs (the mmap base and len).
22714         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22715         values.
22716         (create_archive): Declare new mmap base and len values for
22717         prepare_address_space, and store the result in ah.
22718         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22719         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22720         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22721         Declare new mmap base and len values for
22722         prepare_address_space, and store the result in new_ah.
22723         (open_archive): Declare new mmap base and len values for
22724         prepare_address_space, and store the result in ah.
22725         (close_archive): If ah->mmap_base is not NULL, use that and
22726         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22727         * sysdeps/generic/libc-mmap.h: New file.
22729 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22731         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22732         (ALIGN_UP): Likewise.
22733         (PTR_ALIGN_DOWN): Likewise.
22734         (PTR_ALIGN_UP): Likewise.
22736 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22738         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22739         entry mapped to PPC_PLATFORM_POWER8.
22740         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22741         POWER8.
22742         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22743         (_dl_string_platform): Add case for exporting platform position for
22744         POWER8.
22745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22746         search path to sysdeps/powerpc/powerpc32/power8 directory.
22747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22748         search path to sysdeps/powerpc/powerpc64/power8 directory.
22749         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22750         power7 directories.
22751         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22752         power7 directories.
22754 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22756         * INSTALL: Regenerate.
22758         * nscd/connections.c (nscd_init): Fix comment.
22760 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22762         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22764         [BZ #15667]
22765         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22766         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22768 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22770         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22771         DL_DST_REQ_STATIC.
22772         (DL_DST_REQ_STATIC): Remove macro.
22774 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22776         [BZ #7006]
22777         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22778         with a shift of 0 bits.
22780 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22782         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22783         $(tststatic-ENV).
22785 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22787         [BZ #15655]
22788         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22790 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22792         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22793         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22794         accepts -fno-tree-loop-distribute-patterns.
22795         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22796         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22797         recursive call.
22798         * string/memset.c (memset): Likewise.
22799         * string/test-memmove.c (simple_memmove): Disable loop transformation
22800         to library calls.
22801         * string/test-memset.c (simple_memset): Likewise.
22802         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22803         * benchtests/bench-memset.c (simple_memset): Likewise.
22804         * configure: Regenerated.
22806 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22808         * math/test-misc.c (main): Ignore fesetround failure when failures
22809         of subsequent rounding tests would be ignored.
22811         [BZ #15654]
22812         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22813         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22814         * math/fegetenv.c (__fegetenv): Return 0.
22815         * math/fegetexcept.c (fegetexcept): Return 0.
22816         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22817         FE_TONEAREST.
22818         * math/feholdexcpt.c (feholdexcept): Return 0.
22819         * math/fesetenv.c (__fesetenv): Return 0.
22820         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22821         argument FE_TONEAREST.
22822         * math/feupdateenv.c (__feupdateenv): Return 0.
22823         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22825 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22827         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22828         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22829         ($(objpfx)rtld-%.os rules): Use them.
22831 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22833         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22834         fields.
22836 2013-06-17  Roland McGrath  <roland@hack.frob.com>
22838         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22839         length of target pattern, then descending length of dependency pattern.
22840         * configure.in (AWK): Require gawk 3.1.2 or newer.
22841         * manual/install.texi (Tools for Compilation): Say that we do.
22842         * configure: Regenerated.
22844         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22845         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22846         * scripts/sysd-rules.awk: ... this new script.
22847         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22848         than a glob-style pattern.
22850 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
22852         * math/test-misc.c (main): Do not treat incorrectly rounded
22853         conversions as failure unless ROUNDING_TESTS passes.
22855 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
22857         [BZ #15631]
22858         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22859         restore exception state around main square root computation, then
22860         check for inexactness explicitly.
22862         * math/libm-test.inc (fma_test_data): Add another test.
22864 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22866         * manual/threads.texi (Non-POSIX Extensions): New document
22867         node.  Document pthread_getattr_default_np and
22868         pthread_setattr_default_np.
22870         * Versions.def (libpthread): Add GLIBC_2.18.
22871         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22873         Likewise.
22874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22875         Likewise.
22876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22877         Likewise.
22878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22879         Likewise.
22880         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22881         Likewise.
22882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22883         Likewise.
22884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22885         Likewise.
22886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22887         Likewise.
22888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22889         Likewise.
22891 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22894         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22896 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22897             H.J. Lu  <hjl.tools@gmail.com>
22899         [BZ #15627]
22900         * sysdeps/x86_64/rtld-memset.c: Remove file.
22901         * sysdeps/x86_64/rtld-memset.S: New file.
22903 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
22905         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22906         (test_in_one_mode): Take arguments for whether the rounding mode
22907         is supported for each floating-point type.
22908         (do_test): Pass new arguments to test_in_one_mode using
22909         ROUNDING_TESTS.
22911 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22913         * posix/tst-waitid.c (do_test): Distinguish different instances of
22914         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
22915         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22916         before entering the kernel for waitpid.
22918 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22920         * NEWS: Fix note on clock function precision.  Text by Roland
22921         McGrath.
22923 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22925         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22926         it into place only when and if the sanity check passes.
22928 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
22930         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22931         output for whether conversion result is exact.  Take argument
22932         indicating whether type is IBM long double.
22933         (round_for_all): Change need_exact field to ibm_ld.
22934         * stdlib/tst-strtod-round.c (struct exactness): New type.
22935         (struct test): Change bool ld_ok field to struct exactness exact.
22936         (TEST): Update all definitions for change to field.
22937         (tests): Regenerate array contents.
22938         (test_in_one_mode): Take pointer to new field instead of old ld_ok
22939         field value.  Check for IBM long double here.
22940         (do_test): Update calls to test_in_one_mode.
22942 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22944         [BZ #12515]
22945         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22946         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22948 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22950         [BZ #15605]
22951         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22952         generated by the compiler on loop optimizations.
22953         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22954         general definitions.
22956 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
22958         * math/bug-nextafter.c: Include <math-tests.h>.
22959         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22960         the relevant type.
22961         * math/bug-nexttoward.c: Include <math-tests.h>.
22962         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22963         the relevant type.
22964         * math/test-misc.c: Include <math-tests.h>.
22965         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22966         the relevant type.
22968 2013-06-12  Andreas Jaeger  <aj@suse.de>
22970         * po/ia.po: Update Interlingua translation from translation
22971         project.
22973 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22975         * include/fenv.h: Include stdbool.h.
22976         (struct rm_ctx): New structure.
22977         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22978         Define macro.
22979         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22980         (SET_RESTORE_ROUNDF): Likewise.
22981         (SET_RESTORE_ROUNDL): Likewise.
22982         (SET_RESTORE_ROUND_NOEX): Likewise.
22983         (SET_RESTORE_ROUND_NOEXF): Likewise.
22984         (SET_RESTORE_ROUND_NOEXL): Likewise.
22985         (SET_RESTORE_ROUND_53BIT): Likewise.
22986         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22987         (libc_feresetround_noexf_ctx): Likewise.
22988         (libc_feresetround_noexl_ctx): Likewise.
22989         (libc_feholdsetround_53bit_ctx): Likewise.
22990         (libc_feresetround_53bit_ctx): Likewise.
22991         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22992         (libc_feholdexcept_setround_sse_ctx): New function.
22993         (libc_fesetenv_sse_ctx): Likewise.
22994         (libc_feupdateenv_sse_ctx): Likewise.
22995         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22996         (libc_feholdexcept_setround_387_ctx): Likewise.
22997         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22998         (libc_feholdsetround_387_prec_ctx): Likewise.
22999         (libc_feholdsetround_387_ctx): Likewise.
23000         (libc_feholdsetround_387_53bit_ctx): Likewise.
23001         (libc_feholdsetround_sse_ctx): Likewise.
23002         (libc_feresetround_sse_ctx): Likewise.
23003         (libc_feresetround_387_ctx): Likewise.
23004         (libc_feupdateenv_387_ctx): Likewise.
23005         (libc_feholdexcept_setroundf_ctx): Define macro.
23006         (libc_fesetenvf_ctx): Likewise.
23007         (libc_feupdateenvf_ctx): Likewise.
23008         (libc_feholdsetroundf_ctx): Likewise.
23009         (libc_feresetroundf_ctx): Likewise.
23010         (libc_feholdexcept_setround_ctx): Likewise.
23011         (libc_fesetenv_ctx): Likewise.
23012         (libc_feupdateenv_ctx): Likewise.
23013         (libc_feholdsetround_ctx): Likewise.
23014         (libc_feresetround_ctx): Likewise.
23015         (libc_feholdexcept_setroundl_ctx): Likewise.
23016         (libc_feupdateenvl_ctx): Likewise.
23017         (libc_feholdsetroundl_ctx): Likewise.
23018         (libc_feresetroundl_ctx): Likewise.
23019         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23020         (libc_feresetround_53bit_ctx): Likewise.
23022 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23024         * locale/iso-639.def: Convert to UTF-8.
23026 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23028         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23029         (EXCEPTION_TESTS_double): Likewise.
23030         (EXCEPTION_TESTS_long_double): Likewise.
23031         (EXCEPTION_TESTS): Likewise.
23032         * math/libm-test.inc (test_exceptions): Only test exceptions if
23033         EXCEPTION_TESTS (FLOAT).
23035 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23037         * benchtests/Makefile (string-bench): Add strcpy_chk and
23038         stpcpy_chk.
23039         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23040         * benchtests/bench-stpcpy_chk.c: New file.
23041         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23042         * benchtests/bench-strcpy_chk.c: New file.
23043         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23044         code.
23045         (do_test): Likewise.
23047 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23049         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23050         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23051         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23052         with tabs where appropriate.
23053         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23054         dl-procinfo.h.
23055         [PPC_PLATFORM_PPC440]: Likewise.
23056         [PPC_PLATFORM_PPC464]: Likewise.
23057         [PPC_PLATFORM_PPC476]: Likewise.
23058         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23059         ppc464, and ppc476 platform strings merging from ports/
23060         dl-procinfo.h.
23062 2013-06-11  Andreas Schwab  <schwab@suse.de>
23064         [BZ #14991]
23065         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23066         (from_ucs4_idx): Regenerate.
23067         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23068         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23069         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23070         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23071         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23072         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23073         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23074         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23075         from FROM_LOOP and TO_LOOP specific macros.
23076         (BODY): Handle combining characters.
23077         * iconvdata/BIG5HKSCS.irreversible: Update.
23078         * iconvdata/BIG5HKSCS.precomposed: New file.
23079         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23080         characters.
23081         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23083 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23085         * include/sys/time.h: Fix indentation and add copyright header.
23087         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23088         (do_test): Likewise.
23089         * string/test-memchr.c (do_one_test): Likewise.
23090         (do_test): Likewise.
23091         * string/test-memcmp.c (do_one_test): Likewise.
23092         (do_test): Likewise.
23093         * string/test-memcpy.c (do_one_test): Likewise.
23094         (do_test): Likewise.
23095         * string/test-memmem.c (do_one_test): Likewise.
23096         (do_test): Likewise.
23097         (do_random_tests): Likewise.
23098         * string/test-memmove.c (do_one_test): Likewise.
23099         (do_test): Likewise.
23100         * string/test-memset.c (do_one_test): Likewise.
23101         (do_test): Likewise.
23102         * string/test-rawmemchr.c (do_one_test): Likewise.
23103         (do_test): Likewise.
23104         * string/test-strcasecmp.c (do_one_test): Likewise.
23105         (do_test): Likewise.
23106         * string/test-strcasestr.c (do_one_test): Likewise.
23107         (do_test): Likewise.
23108         * string/test-strcat.c (do_one_test): Likewise.
23109         (do_test): Likewise.
23110         * string/test-strchr.c (do_one_test): Likewise.
23111         (do_test): Likewise.
23112         * string/test-strcmp.c (do_one_test): Likewise.
23113         (do_test): Likewise.
23114         * string/test-strcpy.c (do_one_test): Likewise.
23115         (do_test): Likewise.
23116         * string/test-string.h: Likewise.
23117         (test_init): Likewise.
23118         * string/test-strlen.c (do_one_test): Likewise.
23119         (do_test): Likewise.
23120         * string/test-strncasecmp.c (do_one_test): Likewise.
23121         (do_test): Likewise.
23122         * string/test-strncat.c (do_one_test): Likewise.
23123         (do_test): Likewise.
23124         * string/test-strncmp.c (do_one_test): Likewise.
23125         (do_test_limit): Likewise.
23126         (do_test): Likewise.
23127         * string/test-strncpy.c (do_one_test): Likewise.
23128         (do_test): Likewise.
23129         * string/test-strnlen.c (do_one_test): Likewise.
23130         (do_test): Likewise.
23131         * string/test-strpbrk.c (do_one_test): Likewise.
23132         (do_test): Likewise.
23133         * string/test-strrchr.c (do_one_test): Likewise.
23134         (do_test): Likewise.
23135         * string/test-strspn.c (do_one_test): Likewise.
23136         (do_test): Likewise.
23137         * string/test-strstr.c (do_one_test): Likewise.
23138         (do_test): Likewise.
23140         * benchtests/Makefile (string-bench): Add string benchmarks.
23141         * benchtests/bench-bcopy-ifunc.c: New file.
23142         * benchtests/bench-bcopy.c: New file.
23143         * benchtests/bench-bzero-ifunc.c: New file.
23144         * benchtests/bench-bzero.c: New file.
23145         * benchtests/bench-memccpy-ifunc.c: New file.
23146         * benchtests/bench-memccpy.c: New file.
23147         * benchtests/bench-memchr-ifunc.c: New file.
23148         * benchtests/bench-memchr.c: New file.
23149         * benchtests/bench-memcmp-ifunc.c: New file.
23150         * benchtests/bench-memcmp.c: New file.
23151         * benchtests/bench-memmem-ifunc.c: New file.
23152         * benchtests/bench-memmem.c: New file.
23153         * benchtests/bench-memmove-ifunc.c: New file.
23154         * benchtests/bench-memmove.c: New file.
23155         * benchtests/bench-mempcpy-ifunc.c: New file.
23156         * benchtests/bench-mempcpy.c: New file.
23157         * benchtests/bench-memset-ifunc.c: New file.
23158         * benchtests/bench-memset.c: New file.
23159         * benchtests/bench-rawmemchr-ifunc.c: New file.
23160         * benchtests/bench-rawmemchr.c: New file.
23161         * benchtests/bench-stpcpy-ifunc.c: New file.
23162         * benchtests/bench-stpcpy.c: New file.
23163         * benchtests/bench-stpncpy-ifunc.c: New file.
23164         * benchtests/bench-stpncpy.c: New file.
23165         * benchtests/bench-strcasecmp-ifunc.c: New file.
23166         * benchtests/bench-strcasecmp.c: New file.
23167         * benchtests/bench-strcasestr-ifunc.c: New file.
23168         * benchtests/bench-strcasestr.c: New file.
23169         * benchtests/bench-strcat-ifunc.c: New file.
23170         * benchtests/bench-strcat.c: New file.
23171         * benchtests/bench-strchr-ifunc.c: New file.
23172         * benchtests/bench-strchr.c: New file.
23173         * benchtests/bench-strchrnul-ifunc.c: New file.
23174         * benchtests/bench-strchrnul.c: New file.
23175         * benchtests/bench-strcmp-ifunc.c: New file.
23176         * benchtests/bench-strcmp.c: New file.
23177         * benchtests/bench-strcpy-ifunc.c: New file.
23178         * benchtests/bench-strcpy.c: New file.
23179         * benchtests/bench-strcspn-ifunc.c: New file.
23180         * benchtests/bench-strcspn.c: New file.
23181         * benchtests/bench-strlen-ifunc.c: New file.
23182         * benchtests/bench-strlen.c: New file.
23183         * benchtests/bench-strncasecmp-ifunc.c: New file.
23184         * benchtests/bench-strncasecmp.c: New file.
23185         * benchtests/bench-strncat-ifunc.c: New file.
23186         * benchtests/bench-strncat.c: New file.
23187         * benchtests/bench-strncmp-ifunc.c: New file.
23188         * benchtests/bench-strncmp.c: New file.
23189         * benchtests/bench-strncpy-ifunc.c: New file.
23190         * benchtests/bench-strncpy.c: New file.
23191         * benchtests/bench-strnlen-ifunc.c: New file.
23192         * benchtests/bench-strnlen.c: New file.
23193         * benchtests/bench-strpbrk-ifunc.c: New file.
23194         * benchtests/bench-strpbrk.c: New file.
23195         * benchtests/bench-strrchr-ifunc.c: New file.
23196         * benchtests/bench-strrchr.c: New file.
23197         * benchtests/bench-strspn-ifunc.c: New file.
23198         * benchtests/bench-strspn.c: New file.
23199         * benchtests/bench-strstr-ifunc.c: New file.
23200         * benchtests/bench-strstr.c: New file.
23202         * benchtests/Makefile: Disable parallel execution of targets.
23203         (string-bench): Add memcpy.
23204         (benchset): New variable to store a list of benchmark sets.
23205         (bench-func): Renamed from bench.
23206         (bench-set): New target.
23207         (bench): Depend on bench-func and bench-set.
23208         * benchtests/README: Add section on benchmark sets.
23209         * benchtests/bench-memcpy-ifunc.c: New file.
23210         * benchtests/bench-memcpy.c: New file.
23211         * benchtests/bench-string.h: New file.
23213 2013-06-11  Andreas Schwab  <schwab@suse.de>
23215         [BZ #15577]
23216         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23217         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23218         values in the triple.
23219         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23220         terminator in the group key.
23222 2013-06-11  Andreas Jaeger  <aj@suse.de>
23224         * po/zh_TW.po: Update Chinese (traditional) translation from
23225         translation project.
23227 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23229         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23230         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23231         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23232         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23233         (clock_getcpuclockid): Likewise.
23234         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23235         Add weak_alias and libc_hidden_def.
23236         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23237         * rt/clock_gettime.c (clock_gettime): Rename to
23238         __clock_gettime.  Add weak_alias and libc_hidden_def.
23239         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23240         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23241         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23242         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23243         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23244         Likewise.
23245         * rt/clock_settime.c (clock_settime): Rename to
23246         __clock_settime.  Add weak_alias and libc_hidden_def.
23247         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23249 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23251         * mach/err_boot.sub: Remove trailing whitespace.
23252         * mach/err_ipc.sub: Likewise.
23253         * mach/err_mach.sub: Likewise.
23255         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23256         (ROUNDING_TESTS_double): Likewise.
23257         (ROUNDING_TESTS_long_double): Likewise.
23258         (ROUNDING_TESTS): Likewise.
23259         * math/libm-test.inc: Include <math-tests.h>.
23260         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23261         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23262         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23263         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23265 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23267         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23268         of assigning.
23270 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23272         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23273         otherwise empty TRANS lines.
23274         * sysdeps/gnu/errlist.c: Regenerated.
23276         * catgets/gencat.c (error_print): Use (void) in function
23277         definition.
23278         * crypt/crypt_util.c (__init_des): Likewise.
23279         * crypt/speeds.c (Stop): Likewise.
23280         (main): Likewise.
23281         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23282         * inet/ruserpass.c (token): Likewise.
23283         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23284         * intl/localealias.c (extend_alias_table): Likewise.
23285         * intl/plural-exp.c (init_germanic_plural): Likewise.
23286         * libio/fcloseall.c (__fcloseall): Likewise.
23287         * libio/genops.c (_IO_flush_all): Likewise.
23288         (_IO_flush_all_linebuffered): Likewise.
23289         (_IO_cleanup): Likewise.
23290         (_IO_iter_begin): Likewise.
23291         (_IO_iter_end): Likewise.
23292         (_IO_list_lock): Likewise.
23293         (_IO_list_unlock): Likewise.
23294         (_IO_list_resetlock): Likewise.
23295         * libio/getchar.c (getchar): Likewise.
23296         * libio/getchar_u.c (getchar_unlocked): Likewise.
23297         * libio/getwchar.c (getwchar): Likewise.
23298         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23299         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23300         * login/getpt.c (__getpt): Likewise.
23301         * login/tst-utmp.c (main): Likewise.
23302         * malloc/hooks.c (__malloc_check_init): Likewise.
23303         * malloc/malloc.c (__malloc_stats): Likewise.
23304         * malloc/mtrace.c (tr_break): Likewise.
23305         (mtrace): Likewise.
23306         (muntrace): Likewise.
23307         * misc/fstab.c (endfsent): Likewise.
23308         * misc/getclktck.c (__getclktck): Likewise.
23309         * misc/getdtsz.c (__getdtablesize): Likewise.
23310         * misc/gethostid.c (gethostid): Likewise.
23311         * misc/getpagesize.c (__getpagesize): Likewise.
23312         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23313         (__get_nprocs): Likewise.
23314         (__get_phys_pages): Likewise.
23315         (__get_avphys_pages): Likewise.
23316         * misc/getttyent.c (getttyent): Likewise.
23317         (setttyent): Likewise.
23318         (endttyent): Likewise.
23319         * misc/getusershell.c (getusershell): Likewise.
23320         (endusershell): Likewise.
23321         (setusershell): Likewise.
23322         (initshells): Likewise.
23323         * misc/hsearch.c (__hdestroy): Likewise.
23324         * misc/sync.c (sync): Likewise.
23325         * misc/syslog.c (closelog_internal): Likewise.
23326         (closelog): Likewise.
23327         * misc/ttyslot.c (ttyslot): Likewise.
23328         * misc/vhangup.c (vhangup): Likewise.
23329         * posix/fork.c (__fork): Likewise.
23330         * posix/getegid.c (__getegid): Likewise.
23331         * posix/geteuid.c (__geteuid): Likewise.
23332         * posix/getgid.c (__getgid): Likewise.
23333         * posix/getpid.c (__getpid): Likewise.
23334         * posix/getppid.c (__getppid): Likewise.
23335         * posix/getuid.c (__getuid): Likewise.
23336         * posix/pause.c (pause): Likewise.
23337         * posix/setpgrp.c (setpgrp): Likewise.
23338         * posix/setsid.c (__setsid): Likewise.
23339         * posix/test-vfork.c (noop): Likewise.
23340         * resolv/gethnamaddr.c (_endhtent): Likewise.
23341         (_gethtent): Likewise.
23342         (ht_endhostent): Likewise.
23343         (gethostent): Likewise.
23344         (dns_service): Likewise.
23345         * stdlib/drand48.c (drand48): Likewise.
23346         * stdlib/lrand48.c (lrand48): Likewise.
23347         * stdlib/mrand48.c (mrand48): Likewise.
23348         * stdlib/rand.c (rand): Likewise.
23349         * stdlib/random.c (__random): Likewise.
23350         * stdlib/setenv.c (clearenv): Likewise.
23351         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23352         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23353         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23354         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23355         (__get_nprocs): Likewise.
23356         (__get_phys_pages): Likewise.
23357         (__get_avphys_pages): Likewise.
23358         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23359         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23360         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23361         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23362         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23363         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23364         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23365         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23366         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23367         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23368         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23369         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23370         * sysdeps/posix/clock.c (clock): Likewise.
23371         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23372         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23373         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23374         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23375         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23376         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23377         (__get_nprocs_conf): Likewise.
23378         (__get_phys_pages): Likewise.
23379         (__get_avphys_pages): Likewise.
23380         * time/clock.c (clock): Likewise.
23381         * time/tzset.c (__tzname_max): Likewise.
23383 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23385         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23386         (__bswap_32): Do not use "register".
23387         * crypt/crypt.c (_ufc_doit_r): Likewise.
23388         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23389         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23390         * gmon/gmon.c (__monstartup): Likewise.
23391         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23392         * hurd/hurdmalloc.c (more_memory): Likewise.
23393         (malloc): Likewise.
23394         (free): Likewise.
23395         (realloc): Likewise.
23396         (malloc_fork_prepare): Likewise.
23397         (malloc_fork_parent): Likewise.
23398         (malloc_fork_child): Likewise.
23399         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23400         (_svcauth_des): Likewise.
23401         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23402         * inet/inet_net.c (inet_network): Likewise.
23403         * inet/inet_netof.c (inet_netof): Likewise.
23404         * inet/rcmd.c (__validuser2_sa): Likewise.
23405         * io/fts.c (fts_open): Likewise.
23406         (fts_load): Likewise.
23407         (fts_close): Likewise.
23408         (fts_read): Likewise.
23409         (fts_children): Likewise.
23410         (fts_build): Likewise.
23411         (fts_stat): Likewise.
23412         (fts_sort): Likewise.
23413         (fts_alloc): Likewise.
23414         (fts_lfree): Likewise.
23415         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23416         (_IO_file_xsgetn): Likewise.
23417         (_IO_file_xsgetn_mmap): Likewise.
23418         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23419         (_IO_cookie_write): Likewise.
23420         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23421         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23422         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23423         * malloc/obstack.c (_obstack_begin): Likewise.
23424         (_obstack_begin_1): Likewise.
23425         (_obstack_newchunk): Likewise.
23426         (_obstack_allocated_p): Likewise.
23427         (obstack_free): Likewise.
23428         (_obstack_memory_used): Likewise.
23429         * misc/getttyent.c (getttynam): Likewise.
23430         (getttyent): Likewise.
23431         (skip): Likewise.
23432         (value): Likewise.
23433         * misc/getusershell.c (initshells): Likewise.
23434         * misc/syslog.c (__vsyslog_chk): Likewise.
23435         * misc/ttyslot.c (ttyslot): Likewise.
23436         * nis/nis_hash.c (__nis_hash): Likewise.
23437         * posix/fnmatch_loop.c (FCT): Likewise.
23438         * posix/getconf.c (print_all): Likewise.
23439         (main): Likewise.
23440         * posix/getopt.c (exchange): Likewise.
23441         * posix/glob.c (globfree): Likewise.
23442         (prefix_array): Likewise.
23443         (__glob_pattern_type): Likewise.
23444         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23445         (NS_GET32): Likewise.
23446         (NS_PUT16): Likewise.
23447         (NS_PUT32): Likewise.
23448         * resolv/gethnamaddr.c (getanswer): Likewise.
23449         (gethostbyname2): Likewise.
23450         (gethostbyaddr): Likewise.
23451         (_gethtent): Likewise.
23452         (_gethtbyname2): Likewise.
23453         (_gethtbyaddr): Likewise.
23454         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23455         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23456         * resolv/res_init.c (__res_vinit): Likewise.
23457         (net_mask): Likewise.
23458         * resolv/res_mkquery.c (outchar): Likewise.
23459         (PRINT): Likewise.
23460         * stdio-common/printf_fp.c (outchar): Likewise.
23461         (PRINT): Likewise.
23462         * stdio-common/printf_fphex.c (outchar): Likewise.
23463         (PRINT): Likewise.
23464         * stdio-common/printf_size.c (outchar): Likewise.
23465         (PRINT): Likewise.
23466         * stdio-common/test_rdwr.c (main): Likewise.
23467         * stdio-common/tfformat.c (matches): Likewise.
23468         * stdio-common/vfprintf.c (outchar): Likewise.
23469         (printf_unknown): Likewise.
23470         (buffered_vfprintf): Likewise.
23471         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23472         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23473         (ReadFile): Likewise.
23474         * stdlib/qsort.c (SWAP): Likewise.
23475         (_quicksort): Likewise.
23476         * stdlib/setenv.c (__add_to_environ): Likewise.
23477         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23478         * stdlib/strtol_l.c (__strtol_l): Likewise.
23479         * stdlib/tst-strtod.c (main): Likewise.
23480         * stdlib/tst-strtol.c (main): Likewise.
23481         * stdlib/tst-strtoll.c (main): Likewise.
23482         * string/bits/string2.h (__strcmp_cc): Likewise.
23483         (__strcmp_cg): Likewise.
23484         (__strcspn_c1): Likewise.
23485         (__strcspn_c2): Likewise.
23486         (__strcspn_c3): Likewise.
23487         (__strspn_c1): Likewise.
23488         (__strspn_c2): Likewise.
23489         (__strspn_c3): Likewise.
23490         (__strsep_1c): Likewise.
23491         (__strsep_2c): Likewise.
23492         (__strsep_3c): Likewise.
23493         * string/memccpy.c (__memccpy): Likewise.
23494         * string/stpcpy.c (__stpcpy): Likewise.
23495         * string/strcmp.c (strcmp): Likewise.
23496         * string/strrchr.c (strrchr): Likewise.
23497         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23498         Likewise.
23499         * sysdeps/mach/hurd/getcwd.c
23500         (_hurd_canonicalize_directory_name_internal): Likewise.
23501         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23502         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23503         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23504         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23505         Likewise, in both definitions.
23506         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23507         definitions.
23508         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23509         64] (__bswap_64): Likewise.
23510         * time/test_time.c (main): Likewise.
23511         * time/tzfile.c (__tzfile_read): Likewise.
23512         (__tzfile_compute): Likewise.
23513         * time/tzset.c (__tzset_parse_tz): Likewise.
23514         (tzset_internal): Likewise.
23515         (compute_change): Likewise.
23516         * wcsmbs/wcscat.c (__wcscat): Likewise.
23517         * wcsmbs/wcschr.c (wcschr): Likewise.
23518         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23519         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23520         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23521         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23522         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23523         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23524         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23525         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23526         * wcsmbs/wmemset.c (wmemset): Likewise.
23528 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23530         * scripts/config.guess: Update to version 2013-05-16.
23531         * scripts/config.sub: Update to version 2013-04-24.
23532         * scripts/install-sh: Update to version 2011-11-20.07.
23533         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23534         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23536 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23538         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23539         * elf/sln.c: Likewise.
23540         * hurd/hurd/ioctl.h: Likewise.
23541         * hurd/hurdmalloc.c: Likewise.
23542         * hurd/xattr.c: Likewise.
23543         * include/shlib-compat.h: Likewise.
23544         * inet/ruserpass.c: Likewise.
23545         * libio/iofgets_u.c: Likewise.
23546         * libio/iofgetws_u.c: Likewise.
23547         * locale/programs/ld-identification.c: Likewise.
23548         * locale/programs/ld-time.c: Likewise.
23549         * mach/msg-destroy.c: Likewise.
23550         * nss/nss_files/files-netgrp.c: Likewise.
23551         * resolv/res_data.c: Likewise.
23552         * soft-fp/op-1.h: Likewise.
23553         * soft-fp/op-2.h: Likewise.
23554         * soft-fp/op-4.h: Likewise.
23555         * soft-fp/op-common.h: Likewise.
23556         * stdio-common/printf_fphex.c: Likewise.
23557         * stdlib/strtod_l.c: Likewise.
23558         * sunrpc/rpc/clnt.h: Likewise.
23559         * sysdeps/generic/framestate.c: Likewise.
23560         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23561         * sysdeps/i386/bsd-setjmp.S: Likewise.
23562         * sysdeps/i386/__longjmp.S: Likewise.
23563         * sysdeps/i386/setjmp.S: Likewise.
23564         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23565         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23566         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23567         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23568         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23569         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23570         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23571         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23572         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23573         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23574         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23575         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23576         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23577         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23578         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23579         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23580         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23581         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23582         * sysdeps/ieee754/support.c: Likewise.
23583         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23584         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23585         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23586         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23587         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23588         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23589         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23590         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23591         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23592         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23593         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23594         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23595         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23596         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23597         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23598         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23599         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23602 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23604         * posix/transbug.c: Remove executable mode.
23606 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23608         * crypt/speeds.c: Remove trailing whitespace.
23609         * dlfcn/default.c: Likewise.
23610         * elf/ifuncdep2.c: Likewise.
23611         * elf/ifuncmain1.c: Likewise.
23612         * elf/ifuncmain1vis.c: Likewise.
23613         * elf/testobj.h: Likewise.
23614         * elf/tst-stackguard1.c: Likewise.
23615         * gmon/sys/gmon.h: Likewise.
23616         * hurd/hurdmsg.c: Likewise.
23617         * hurd/new-fd.c: Likewise.
23618         * hurd/ports-get.c: Likewise.
23619         * iconvdata/ibm1008_420.c: Likewise.
23620         * inet/tst-getni1.c: Likewise.
23621         * inet/tst-getni2.c: Likewise.
23622         * libio/ioungetc.c: Likewise.
23623         * libio/wfiledoalloc.c: Likewise.
23624         * manual/libm-err-tab.pl: Likewise.
23625         * math/w_dremf.c: Likewise.
23626         * misc/ftruncate.c: Likewise.
23627         * posix/bug-glob2.c: Likewise.
23628         * posix/tst-pcre.c: Likewise.
23629         * posix/wait4.c: Likewise.
23630         * resolv/README: Likewise.
23631         * resolv/res_debug.h: Likewise.
23632         * resolv/tst-inet_ntop.c: Likewise.
23633         * setjmp/bug269-setjmp.c: Likewise.
23634         * soft-fp/extended.h: Likewise.
23635         * soft-fp/op-1.h: Likewise.
23636         * soft-fp/op-2.h: Likewise.
23637         * soft-fp/op-4.h: Likewise.
23638         * soft-fp/op-8.h: Likewise.
23639         * soft-fp/testit.c: Likewise.
23640         * stdio-common/bug16.c: Likewise.
23641         * stdlib/random.c: Likewise.
23642         * sunrpc/rpcsvc/rquota.x: Likewise.
23643         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23644         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23645         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23646         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23647         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23648         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23649         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23650         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23651         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23652         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23653         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23654         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23655         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23656         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23657         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23658         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23659         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23660         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23661         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23662         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23663         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23664         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23665         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23666         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23667         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23668         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23669         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23670         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23671         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23672         * sysdeps/ieee754/s_lib_version.c: Likewise.
23673         * sysdeps/mach/hurd/check_fds.c: Likewise.
23674         * sysdeps/mach/hurd/getsockname.c: Likewise.
23675         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23676         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23677         * sysdeps/powerpc/bits/link.h: Likewise.
23678         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23679         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23680         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23681         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23682         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23683         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23684         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23685         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23686         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23687         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23688         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23689         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23690         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23691         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23692         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23693         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23694         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23695         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23696         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23697         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23698         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23699         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23700         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23701         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23702         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23703         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23704         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23705         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23706         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23707         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23708         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23709         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23710         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23711         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23712         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23713         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23714         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23715         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23716         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23717         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23718         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23719         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23720         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23721         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23722         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23723         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23724         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23725         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23726         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23727         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23728         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23729         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23730         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23731         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23732         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23733         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23734         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23735         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23736         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23737         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23738         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23739         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23740         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23741         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23742         * sysdeps/powerpc/sysdep.h: Likewise.
23743         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23744         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23745         * sysdeps/sh/dl-trampoline.S: Likewise.
23746         * sysdeps/sh/memset.S: Likewise.
23747         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23748         * sysdeps/sh/strlen.S: Likewise.
23749         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23750         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23751         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23752         * sysdeps/sparc/sparc32/rem.S: Likewise.
23753         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23754         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23755         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23756         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23757         * sysdeps/sparc/sparc32/urem.S: Likewise.
23758         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23759         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23760         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23761         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23762         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23763         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23764         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23765         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23766         * sysdeps/unix/bsd/times.c: Likewise.
23767         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23768         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23772         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23773         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23774         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23775         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23776         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23777         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23778         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23779         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23780         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23781         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23782         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23783         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23784         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23785         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23786         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23787         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23788         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23789         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23790         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23791         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23792         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23793         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23794         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23795         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23796         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23797         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23798         * sysdeps/x86_64/strcspn.S: Likewise.
23800 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23802         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23803         generated file.  Regenerate properly from gen-translit.pl.
23804         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23805         locale/C-translit.h.
23807 2013-06-05  Andreas Schwab  <schwab@suse.de>
23809         [BZ #15100]
23810         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23811         week as 6 instead of -1.
23812         * time/tst-strptime.c (day_tests): Add test case.
23814 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23816         * sysdeps/generic/math_private.h
23817         (libc_feholdexcept_setround_53bit): Replace with
23818         libc_feholdsetround_53bit.
23819         (libc_feupdateenv_53bit): Replace with
23820         libc_feresetround_53bit.
23821         (SET_RESTORE_ROUND_53BIT): Adjust.
23823 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23825         * string/test-strchrnul.c: Add copyright header.
23827         * posix/tst-getaddrinfo4.c: Increase test timeout.
23829 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23831         [BZ #15536]
23832         * math/libm-test.inc (MAX_EXP): Remove
23833         (MIN_EXP): Define.
23834         (ulp): Use MIN_EXP - MANT_DIG.
23835         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23837 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
23839         * po/be.po: Revert last change.
23840         * po/zh_CN.po: Likewise.
23841         * po/header.pot: Likewise.
23843 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
23845         * Makefile ($(common-objpfx)linkobj/libc.so): Define
23846         link-libc-deps to empty as target-specific variable.
23847         * Makerules (link-libc-args): New variable.
23848         (libc-for-link): Likewise.
23849         (link-libc-deps): Likewise.
23850         (lib%.so): Depend on $(link-libc-deps).  Link with
23851         $(link-libc-args).
23852         (build-module): Link with $(link-libc-args).
23853         (build-module-asneeded): Likewise.
23854         (build-module-helper-objlist): Filter out $(link-libc-deps) from
23855         list of objects.
23856         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23857         target-specific variable.
23858         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23859         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23860         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23861         libc.
23862         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23863         libc and ld.so.
23864         ($(objpfx)libpcprofile.so): Likewise.
23865         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23866         libc_nonshared.a.
23867         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23868         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23869         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23870         $(link-libc-deps).
23871         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23872         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23873         * login/Makefile ($(objpfx)libutil.so): Likewise.
23874         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23875         * math/Makefile ($(objpfx)libm.so): Likewise.
23876         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23877         $(objpfx)libnsl.so): Define libc-for-link as target-specific
23878         variable instead of depending directly on libc.
23879         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23880         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23881         $(link-libc-deps).
23882         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23883         libc.
23884         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23885         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23886         ($(objpfx)libanl.so): Likewise.
23887         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23888         ld.so.
23889         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23890         $(link-libc-deps).
23891         * sysdeps/i386/fpu/Makefile: Remove file.
23892         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23893         ($(objpfx)libm.so): Remove dependency on ld.so.
23895 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
23897         [BZ # 15553]
23898         * nis/yp_xdr.c (XDRMAXNAME): Define.
23899         (XDRMAXRECORD): Define.
23900         (xdr_domainname): Use XDRMAXNAME.
23901         (xdr_mapname): Likewise.
23902         (xdr_peername): Likewise.
23903         (xdr_keydat): Use XDRMAXRECORD.
23904         (xdr_valdat): Likewise.
23906 2013-05-30  Jeff Law  <law@redhat.com>
23908         [BZ #14256]
23909         * manual/errno.texi (ESTALE): Update to account for more than
23910         just NFS file systems.
23911         * sysdeps/gnu/errlist.c: Regenerated.
23913 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23915         [BZ #15465]
23916         * elf/Makefile (tests): Add tst-null-argv.
23917         (modules-names):  Add tst-null-argv-lib.
23918         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23919         (tst-null-argv-ENV): Set environment for tst-null-argv.
23920         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23921         (RTLD_PROGNAME): New macro.
23922         * elf/tst-null-argv.c: New test case.
23923         * elf/tst-null-argv-lib.c: Library for test case.
23924         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23925         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23926         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23927         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23928         * elf/dl-init.c (call_init): Likewise.
23929         (_dl_init): Likewise.
23930         * elf/dl-load.c (print_search_path): Likewise.
23931         (_dl_map_object): Likewise.
23932         * elf/dl-lookup.c (do_lookup_x): Likewise.
23933         (add_dependency): Likewise.
23934         (_dl_lookup_symbol_x): Likewise.
23935         (_dl_debug_bindings): Likewise.
23936         * elf/dl-open.c (_dl_show_scope): Likewise.
23937         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23938         * elf/dl-version.c (match_symbol): Likewise.
23939         (_dl_check_map_versions): Likewise.
23940         * elf/rtld.c (dl_main): Likewise.
23941         (print_unresolved): Use RTLD_PROGNAME.
23942         (print_missing_version): Likewise.
23943         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23944         (elf_machine_rela): Likewise.
23945         * sysdeps/powerpc/powerpc32/dl-machine.c
23946         (__process_machine_rela): Likewise.
23947         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23948         Likewise.
23949         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23950         Likewise.
23951         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23952         Likewise.
23953         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23954         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23955         Likewise.
23956         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23957         Likewise.
23958         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23960 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
23962         * po/be.po: Add descriptive title.
23963         * po/zh_CN.po: Likewise.
23964         * po/header.pot: Likewise.
23966 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
23968         * locale/programs/locarchive.c (create_archive): Inlucde fname in
23969         error message.
23970         (enlarge_archive): Likewise.
23972 2013-05-28  Ben North  <ben@redfrontdoor.org>
23974         * manual/arith.texi (frexp): It is the magnitude of the return
23975         value which lies in [0.5, 1), not the return value itself.
23977 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23981 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
23983         * stdio-common/bug26.c (main): Correct fscanf template.
23985         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23986         declare _dl_skip_args.
23988         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23989         Don't declare.
23991         * manual/platform.texi: Add missing @end deftypefun.
23993 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23995         [BZ #15529]
23996         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23997         bit of mantissa of 2^16382.
23998         * math/libm-test.inc (hypot_test_data): Add more tests.
24000         * math/libm-test.inc: Add drem and pow10 to list of tested
24001         functions.
24002         (pow10_test): New function.
24003         (drem_test): Likewise.
24004         (drem_test_tonearest): Likewise.
24005         (drem_test_towardzero): Likewise.
24006         (drem_test_downward): Likewise.
24007         (drem_test_upward): Likewise.
24008         (main): Call the new functions.
24010         * math/libm-test.inc (finite_test_data): Remove.
24011         (finite_test): Run tests from isfinite_test_data.
24012         (gamma_test_data): Remove.
24013         (gamma_test): Run tests from lgamma_test_data.
24014         * sysdeps/i386/fpu/libm-test-ulps: Update.
24015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24017 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24019         * manual/platform.texi: Add PowerPC PPR function set documentation.
24020         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24021         implementation.
24023 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24025         * math/libm-test.inc (MAX_EXP): Define.
24026         (ULPDIFF): Define.
24027         (ulp): New function.
24028         (check_float_internal): Use ULPDIFF.
24029         (cpow_test): Disable failing test.
24030         (check_ulp): Test ulp() implemetnation.
24031         (main): Call check_ulp before starting tests.
24033 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24035         * math/gen-libm-test.pl (generate_testfile): Do not handle
24036         START_DATA and END_DATA.
24037         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24038         END_DATA.
24039         (acos_tonearest_test_data): Likewise.
24040         (acos_towardzero_test_data): Likewise.
24041         (acos_downward_test_data): Likewise.
24042         (acos_upward_test_data): Likewise.
24043         (acosh_test_data): Likewise.
24044         (asin_test_data): Likewise.
24045         (asin_tonearest_test_data): Likewise.
24046         (asin_towardzero_test_data): Likewise.
24047         (asin_downward_test_data): Likewise.
24048         (asin_upward_test_data): Likewise.
24049         (asinh_test_data): Likewise.
24050         (atan_test_data): Likewise.
24051         (atanh_test_data): Likewise.
24052         (atan2_test_data): Likewise.
24053         (cabs_test_data): Likewise.
24054         (cacos_test_data): Likewise.
24055         (cacosh_test_data): Likewise.
24056         (carg_test_data): Likewise.
24057         (casin_test_data): Likewise.
24058         (casinh_test_data): Likewise.
24059         (catan_test_data): Likewise.
24060         (catanh_test_data): Likewise.
24061         (cbrt_test_data): Likewise.
24062         (ccos_test_data): Likewise.
24063         (ccosh_test_data): Likewise.
24064         (ceil_test_data): Likewise.
24065         (cexp_test_data): Likewise.
24066         (cimag_test_data): Likewise.
24067         (clog_test_data): Likewise.
24068         (clog10_test_data): Likewise.
24069         (conj_test_data): Likewise.
24070         (copysign_test_data): Likewise.
24071         (cos_test_data): Likewise.
24072         (cos_tonearest_test_data): Likewise.
24073         (cos_towardzero_test_data): Likewise.
24074         (cos_downward_test_data): Likewise.
24075         (cos_upward_test_data): Likewise.
24076         (cosh_test_data): Likewise.
24077         (cosh_tonearest_test_data): Likewise.
24078         (cosh_towardzero_test_data): Likewise.
24079         (cosh_downward_test_data): Likewise.
24080         (cosh_upward_test_data): Likewise.
24081         (cpow_test_data): Likewise.
24082         (cproj_test_data): Likewise.
24083         (creal_test_data): Likewise.
24084         (csin_test_data): Likewise.
24085         (csinh_test_data): Likewise.
24086         (csqrt_test_data): Likewise.
24087         (ctan_test_data): Likewise.
24088         (ctan_tonearest_test_data): Likewise.
24089         (ctan_towardzero_test_data): Likewise.
24090         (ctan_downward_test_data): Likewise.
24091         (ctan_upward_test_data): Likewise.
24092         (ctanh_test_data): Likewise.
24093         (ctanh_tonearest_test_data): Likewise.
24094         (ctanh_towardzero_test_data): Likewise.
24095         (ctanh_downward_test_data): Likewise.
24096         (ctanh_upward_test_data): Likewise.
24097         (erf_test_data): Likewise.
24098         (erfc_test_data): Likewise.
24099         (exp_test_data): Likewise.
24100         (exp_tonearest_test_data): Likewise.
24101         (exp_towardzero_test_data): Likewise.
24102         (exp_downward_test_data): Likewise.
24103         (exp_upward_test_data): Likewise.
24104         (exp10_test_data): Likewise.
24105         (exp2_test_data): Likewise.
24106         (expm1_test_data): Likewise.
24107         (fabs_test_data): Likewise.
24108         (fdim_test_data): Likewise.
24109         (finite_test_data): Likewise.
24110         (floor_test_data): Likewise.
24111         (fma_test_data): Likewise.
24112         (fma_towardzero_test_data): Likewise.
24113         (fma_downward_test_data): Likewise.
24114         (fma_upward_test_data): Likewise.
24115         (fmax_test_data): Likewise.
24116         (fmin_test_data): Likewise.
24117         (fmod_test_data): Likewise.
24118         (fpclassify_test_data): Likewise.
24119         (frexp_test_data): Likewise.
24120         (gamma_test_data): Likewise.
24121         (hypot_test_data): Likewise.
24122         (ilogb_test_data): Likewise.
24123         (isfinite_test_data): Likewise.
24124         (isgreater_test_data): Likewise.
24125         (isgreaterequal_test_data): Likewise.
24126         (isinf_test_data): Likewise.
24127         (isless_test_data): Likewise.
24128         (islessequal_test_data): Likewise.
24129         (islessgreater_test_data): Likewise.
24130         (isnan_test_data): Likewise.
24131         (isnormal_test_data): Likewise.
24132         (issignaling_test_data): Likewise.
24133         (isunordered_test_data): Likewise.
24134         (j0_test_data): Likewise.
24135         (j1_test_data): Likewise.
24136         (jn_test_data): Likewise.
24137         (ldexp_test_data): Likewise.
24138         (lgamma_test_data): Likewise.
24139         (lrint_test_data): Likewise.
24140         (lrint_tonearest_test_data): Likewise.
24141         (lrint_towardzero_test_data): Likewise.
24142         (lrint_downward_test_data): Likewise.
24143         (lrint_upward_test_data): Likewise.
24144         (llrint_test_data): Likewise.
24145         (llrint_tonearest_test_data): Likewise.
24146         (llrint_towardzero_test_data): Likewise.
24147         (llrint_downward_test_data): Likewise.
24148         (llrint_upward_test_data): Likewise.
24149         (log_test_data): Likewise.
24150         (log10_test_data): Likewise.
24151         (log1p_test_data): Likewise.
24152         (log2_test_data): Likewise.
24153         (logb_test_data): Likewise.
24154         (logb_downward_test_data): Likewise.
24155         (lround_test_data): Likewise.
24156         (llround_test_data): Likewise.
24157         (modf_test_data): Likewise.
24158         (nearbyint_test_data): Likewise.
24159         (nextafter_test_data): Likewise.
24160         (nexttoward_test_data): Likewise.
24161         (pow_test_data): Likewise.
24162         (pow_tonearest_test_data): Likewise.
24163         (pow_towardzero_test_data): Likewise.
24164         (pow_downward_test_data): Likewise.
24165         (pow_upward_test_data): Likewise.
24166         (remainder_test_data): Likewise.
24167         (remainder_tonearest_test_data): Likewise.
24168         (remainder_towardzero_test_data): Likewise.
24169         (remainder_downward_test_data): Likewise.
24170         (remainder_upward_test_data): Likewise.
24171         (remquo_test_data): Likewise.
24172         (rint_test_data): Likewise.
24173         (rint_tonearest_test_data): Likewise.
24174         (rint_towardzero_test_data): Likewise.
24175         (rint_downward_test_data): Likewise.
24176         (rint_upward_test_data): Likewise.
24177         (round_test_data): Likewise.
24178         (scalb_test_data): Likewise.
24179         (scalbn_test_data): Likewise.
24180         (scalbln_test_data): Likewise.
24181         (signbit_test_data): Likewise.
24182         (sin_test_data): Likewise.
24183         (sin_tonearest_test_data): Likewise.
24184         (sin_towardzero_test_data): Likewise.
24185         (sin_downward_test_data): Likewise.
24186         (sin_upward_test_data): Likewise.
24187         (sincos_test_data): Likewise.
24188         (sinh_test_data): Likewise.
24189         (sinh_tonearest_test_data): Likewise.
24190         (sinh_towardzero_test_data): Likewise.
24191         (sinh_downward_test_data): Likewise.
24192         (sinh_upward_test_data): Likewise.
24193         (sqrt_test_data): Likewise.
24194         (tan_test_data): Likewise.
24195         (tan_tonearest_test_data): Likewise.
24196         (tan_towardzero_test_data): Likewise.
24197         (tan_downward_test_data): Likewise.
24198         (tan_upward_test_data): Likewise.
24199         (tanh_test_data): Likewise.
24200         (tgamma_test_data): Likewise.
24201         (trunc_test_data): Likewise.
24202         (y0_test_data): Likewise.
24203         (y1_test_data): Likewise.
24204         (yn_test_data): Likewise.
24205         (significand_test_data): Likewise.
24207         * math/gen-libm-test.pl (@functions): Remove variable.
24208         (generate_testfile): Don't handle START and END lines.
24209         * math/libm-test.inc (START): New macro.
24210         (END): Likewise.
24211         (END_COMPLEX): Likewise.
24212         (acos_test): Use END macro without arguments.
24213         (acos_test_tonearest): Likewise.
24214         (acos_test_towardzero): Likewise.
24215         (acos_test_downward): Likewise.
24216         (acos_test_upward): Likewise.
24217         (acosh_test): Likewise.
24218         (asin_test): Likewise.
24219         (asin_test_tonearest): Likewise.
24220         (asin_test_towardzero): Likewise.
24221         (asin_test_downward): Likewise.
24222         (asin_test_upward): Likewise.
24223         (asinh_test): Likewise.
24224         (atan_test): Likewise.
24225         (atanh_test): Likewise.
24226         (atan2_test): Likewise.
24227         (cabs_test): Likewise.
24228         (cacos_test): Use END_COMPLEX macro without arguments.
24229         (cacosh_test): Likewise.
24230         (carg_test): Use END macro without arguments.
24231         (casin_test): Use END_COMPLEX macro without arguments.
24232         (casinh_test): Likewise.
24233         (catan_test): Likewise.
24234         (catanh_test): Likewise.
24235         (cbrt_test): Use END macro without arguments.
24236         (ccos_test): Use END_COMPLEX macro without arguments.
24237         (ccosh_test): Likewise.
24238         (ceil_test): Use END macro without arguments.
24239         (cexp_test): Use END_COMPLEX macro without arguments.
24240         (cimag_test): Use END macro without arguments.
24241         (clog_test): Use END_COMPLEX macro without arguments.
24242         (clog10_test): Likewise.
24243         (conj_test): Likewise.
24244         (copysign_test): Use END macro without arguments.
24245         (cos_test): Likewise.
24246         (cos_test_tonearest): Likewise.
24247         (cos_test_towardzero): Likewise.
24248         (cos_test_downward): Likewise.
24249         (cos_test_upward): Likewise.
24250         (cosh_test): Likewise.
24251         (cosh_test_tonearest): Likewise.
24252         (cosh_test_towardzero): Likewise.
24253         (cosh_test_downward): Likewise.
24254         (cosh_test_upward): Likewise.
24255         (cpow_test): Use END_COMPLEX macro without arguments.
24256         (cproj_test): Likewise.
24257         (creal_test): Use END macro without arguments.
24258         (csin_test): Use END_COMPLEX macro without arguments.
24259         (csinh_test): Likewise.
24260         (csqrt_test): Likewise.
24261         (ctan_test): Likewise.
24262         (ctan_test_tonearest): Likewise.
24263         (ctan_test_towardzero): Likewise.
24264         (ctan_test_downward): Likewise.
24265         (ctan_test_upward): Likewise.
24266         (ctanh_test): Likewise.
24267         (ctanh_test_tonearest): Likewise.
24268         (ctanh_test_towardzero): Likewise.
24269         (ctanh_test_downward): Likewise.
24270         (ctanh_test_upward): Likewise.
24271         (erf_test): Use END macro without arguments.
24272         (erfc_test): Likewise.
24273         (exp_test): Likewise.
24274         (exp_test_tonearest): Likewise.
24275         (exp_test_towardzero): Likewise.
24276         (exp_test_downward): Likewise.
24277         (exp_test_upward): Likewise.
24278         (exp10_test): Likewise.
24279         (exp2_test): Likewise.
24280         (expm1_test): Likewise.
24281         (fabs_test): Likewise.
24282         (fdim_test): Likewise.
24283         (finite_test): Likewise.
24284         (floor_test): Likewise.
24285         (fma_test): Likewise.
24286         (fma_test_towardzero): Likewise.
24287         (fma_test_downward): Likewise.
24288         (fma_test_upward): Likewise.
24289         (fmax_test): Likewise.
24290         (fmin_test): Likewise.
24291         (fmod_test): Likewise.
24292         (fpclassify_test): Likewise.
24293         (frexp_test): Likewise.
24294         (gamma_test): Likewise.
24295         (hypot_test): Likewise.
24296         (ilogb_test): Likewise.
24297         (isfinite_test): Likewise.
24298         (isgreater_test): Likewise.
24299         (isgreaterequal_test): Likewise.
24300         (isinf_test): Likewise.
24301         (isless_test): Likewise.
24302         (islessequal_test): Likewise.
24303         (islessgreater_test): Likewise.
24304         (isnan_test): Likewise.
24305         (isnormal_test): Likewise.
24306         (issignaling_test): Likewise.
24307         (isunordered_test): Likewise.
24308         (j0_test): Likewise.
24309         (j1_test): Likewise.
24310         (jn_test): Likewise.
24311         (ldexp_test): Likewise.
24312         (lgamma_test): Likewise.
24313         (lrint_test): Likewise.
24314         (lrint_test_tonearest): Likewise.
24315         (lrint_test_towardzero): Likewise.
24316         (lrint_test_downward): Likewise.
24317         (lrint_test_upward): Likewise.
24318         (llrint_test): Likewise.
24319         (llrint_test_tonearest): Likewise.
24320         (llrint_test_towardzero): Likewise.
24321         (llrint_test_downward): Likewise.
24322         (llrint_test_upward): Likewise.
24323         (log_test): Likewise.
24324         (log10_test): Likewise.
24325         (log1p_test): Likewise.
24326         (log2_test): Likewise.
24327         (logb_test): Likewise.
24328         (logb_test_downward): Likewise.
24329         (lround_test): Likewise.
24330         (llround_test): Likewise.
24331         (modf_test): Likewise.
24332         (nearbyint_test): Likewise.
24333         (nextafter_test): Likewise.
24334         (nexttoward_test): Likewise.
24335         (pow_test): Likewise.
24336         (pow_test_tonearest): Likewise.
24337         (pow_test_towardzero): Likewise.
24338         (pow_test_downward): Likewise.
24339         (pow_test_upward): Likewise.
24340         (remainder_test): Likewise.
24341         (remainder_test_tonearest): Likewise.
24342         (remainder_test_towardzero): Likewise.
24343         (remainder_test_downward): Likewise.
24344         (remainder_test_upward): Likewise.
24345         (remquo_test): Likewise.
24346         (rint_test): Likewise.
24347         (rint_test_tonearest): Likewise.
24348         (rint_test_towardzero): Likewise.
24349         (rint_test_downward): Likewise.
24350         (rint_test_upward): Likewise.
24351         (round_test): Likewise.
24352         (scalb_test): Likewise.
24353         (scalbn_test): Likewise.
24354         (scalbln_test): Likewise.
24355         (signbit_test): Likewise.
24356         (sin_test): Likewise.
24357         (sin_test_tonearest): Likewise.
24358         (sin_test_towardzero): Likewise.
24359         (sin_test_downward): Likewise.
24360         (sin_test_upward): Likewise.
24361         (sincos_test): Likewise.
24362         (sinh_test): Likewise.
24363         (sinh_test_tonearest): Likewise.
24364         (sinh_test_towardzero): Likewise.
24365         (sinh_test_downward): Likewise.
24366         (sinh_test_upward): Likewise.
24367         (sqrt_test): Likewise.
24368         (tan_test): Likewise.
24369         (tan_test_tonearest): Likewise.
24370         (tan_test_towardzero): Likewise.
24371         (tan_test_downward): Likewise.
24372         (tan_test_upward): Likewise.
24373         (tanh_test): Likewise.
24374         (tgamma_test): Likewise.
24375         (trunc_test): Likewise.
24376         (y0_test): Likewise.
24377         (y1_test): Likewise.
24378         (yn_test): Likewise.
24379         (significand_test): Likewise.
24381 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24383         [BZ #15381]
24384         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24386 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24388         [BZ #14894]
24389         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24390         __ppc_mdoio and __ppc_mdoom.
24391         * manual/platform.texi: Document new functions __ppc_yield,
24392         __ppc_mdoio and __ppc_mdoom.
24394 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24396         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24397         (main): Mention "tls" pseudo-hwcap is legacy.
24398         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24400 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24402         * math/gen-libm-test.pl (parse_args): Output only string of
24403         arguments as text for test name, not full call or descriptions of
24404         tests for extra outputs.
24405         (generate_testfile): Do not pass function name to parse_args.
24406         Generate this_func variable from START.
24407         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24408         field to arg_str.
24409         (struct test_ff_f_data): Likewise.
24410         (test_ff_f_data_nexttoward): Likewise.
24411         (struct test_fi_f_data): Likewise.
24412         (struct test_fl_f_data): Likewise.
24413         (struct test_if_f_data): Likewise.
24414         (struct test_fff_f_data): Likewise.
24415         (struct test_c_f_data): Likewise.
24416         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24417         (struct test_fF_f1_data): Likewise.
24418         (struct test_ffI_f1_data): Likewise.
24419         (struct test_c_c_data): Rename test_name field to arg_str.
24420         (struct test_cc_c_data): Likewise.
24421         (struct test_f_i_data): Likewise.
24422         (struct test_ff_i_data): Likewise.
24423         (struct test_f_l_data): Likewise.
24424         (struct test_f_L_data): Likewise.
24425         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24426         and extra2_name.
24427         (COMMON_TEST_SETUP): New macro.
24428         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24429         (COMMON_TEST_CLEANUP): Likewise.
24430         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24431         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24432         macros.
24433         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24434         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24435         macros.
24436         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24437         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24438         cleanup macros.
24439         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24440         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24441         macros.
24442         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24443         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24444         macros.
24445         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24446         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24447         cleanup macros.
24448         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24449         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24450         cleanup macros.
24451         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24452         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24453         cleanup macros.
24454         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24455         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24456         macros.
24457         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24458         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24459         macros.
24460         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24461         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24462         macros.
24463         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24464         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24465         cleanup macros.
24466         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24467         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24468         cleanup macros.
24469         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24470         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24471         macros.
24472         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24473         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24474         cleanup macros.
24475         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24476         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24477         macros.
24478         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24479         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24480         macros.
24481         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24482         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24483         cleanup macros.
24484         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24486 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24488         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24489         to _sifields.sigfault.
24490         (si_addr_lsb): Define new macro.
24491         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24492         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24493         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24495 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24497         [BZ #15441]
24498         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24499         returns -1.
24500         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24501         null return -1.
24502         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24503         loading the domain.
24505 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24507         * math/gen-libm-test.pl (parse_args): Do not include expected
24508         result in test name.
24509         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24510         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24511         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24512         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24513         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24516 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24518         * benchtests/Makefile: Sort function entries.
24520         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24521         tanh, asinh, acosh, atanh.
24522         * benchtests/acos-inputs: New file.
24523         * benchtests/acosh-inputs: New file.
24524         * benchtests/asin-inputs: New file.
24525         * benchtests/asinh-inputs: New file.
24526         * benchtests/atanh-inputs: New file.
24527         * benchtests/cosh-inputs: New file.
24528         * benchtests/log-inputs: New file.
24529         * benchtests/sinh-inputs: New file.
24530         * benchtests/tanh-inputs: New file.
24532 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24534         [BZ #15339]
24535         * posix/tst-getaddrinfo4.c: New test.
24536         * posix/Makefile (tests): Add it.
24538 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24540         [BZ #15339]
24541         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24542         when no services were used.
24543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24544         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24546 2013-05-21  Andreas Schwab  <schwab@suse.de>
24548         [BZ #15014]
24549         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24550         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24551         successful.
24552         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24553         redundant variable declarations and reallocation of buffer when
24554         parsing as IPv6 address.  Always set NSS status when called from
24555         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24556         buffer too small.  Correct computation of needed size.
24557         * nss/Makefile (tests): Add test-digits-dots.
24558         * nss/test-digits-dots.c: New test.
24560 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24562         * benchtests/Makefile: Remove instructions for adding
24563         benchmark tests.
24564         * benchtests/README: New file to explain how to execute and
24565         enhance the benchmark tests.
24567 2013-05-21  Andreas Schwab  <schwab@suse.de>
24569         [BZ #15493]
24570         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24571         * setjmp/tst-sigsetjmp.c: New test.
24573 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24575         * sysdeps/x86_64/memset.S (memset): New implementation.
24576         (__bzero): Likewise.
24577         (__memset_tail): New function.
24579 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24581         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24582         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24583         __memcpy_sse2_unaligned ifunc selection.
24584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24585         Add memcpy-sse2-unaligned.S.
24586         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24587         Add: __memcpy_sse2_unaligned.
24589 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24591         [BZ #15490]
24592         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24593         math_force_eval before restoring floating-point envrionment.
24594         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24595         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24596         Likewise.
24597         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24598         <math_private.h>.
24599         (__nearbyintl): Use math_force_eval before restoring
24600         floating-point environment.
24601         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24603         * math/gen-libm-test.pl (special_functions): Remove.
24604         (parse_args): Don't handle TEST_extra.  Handle functions with no
24605         return value.
24606         * math/libm-test.inc (struct test_sincos_data): Replace with
24607         struct test_fFF_11_data.
24608         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24609         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24610         (sincos_test_data): Change element type to struct
24611         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24612         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24613         RUN_TEST_LOOP_sincos.
24614         * math/README.libm-test: Don't mention special handling of
24615         individual functions.
24616         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24617         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24618         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24619         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24620         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24623         * math/gen-libm-test.pl (get_variable): Remove function.
24624         (parse_args): Don't show pointer parameters to call in test
24625         names.  Use "extra output N" in test names for extra outputs
24626         rather than naming variables.
24628 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24630         [BZ #15488]
24631         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24632         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24633         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24634         double tests.
24635         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24636         disable.
24637         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24638         check_long_double.
24640         * math/gen-libm-test.pl (@tests): Remove variable.
24641         ($count): Likewise.
24642         (new_test): Remove function.
24643         (show_exceptions): New function.
24644         (special_functions): Use show_exceptions instead of new_test.
24645         (parse_args): Likewise.
24646         (generate_testfile): Pass only function name in generated call to
24647         print_max_error or print_complex_max_error.
24648         (get_ulps): Do not handle complex tests specially.
24649         (output_test): Rename to ...
24650         (get_all_ulps_for_test): ... this.  Return a string rather than
24651         printing to a file.  Require ulps to be present.
24652         (output_ulps): Generate arrays rather than #defines.
24653         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24654         (struct ulp_data): New type.
24655         (BUILD_COMPLEX_ULP): Remove macro.
24656         (compare_ulp_data): New function.
24657         (find_ulps): Likewise.
24658         (find_test_ulps): Likewise.
24659         (find_function_ulps): Likewise.
24660         (find_complex_function_ulps): Likewise.
24661         (print_max_error): Determine allowed ulps using
24662         find_function_ulps.
24663         (print_complex_max_error): Determine allowed ulps using
24664         find_complex_function_ulps.
24665         (check_float_internal): Determine max ulps using find_test_ulps.
24666         (check_float): Do not take max_ulp parameter.  Update call to
24667         check_float_internal.
24668         (check_complex): Likewise.
24669         (check_int): Do not take max_ulp parameter.
24670         (check_long): Likewise.
24671         (check_bool): Likewise.
24672         (check_longlong): Likewise.
24673         (struct test_f_f_data): Remove max_ulp field.
24674         (struct test_ff_f_data): Likewise.
24675         (struct test_ff_f_data_nexttoward): Likewise.
24676         (struct test_fi_f_data): Likewise.
24677         (struct test_fl_f_data): Likewise.
24678         (struct test_if_f_data): Likewise.
24679         (struct test_fff_f_data): Likewise.
24680         (struct test_c_f_data): Likewise.
24681         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24682         (struct test_fF_f1_data): Likewise.
24683         (struct test_ffI_f1_data): Likewise.
24684         (struct test_c_c_data): Remove max_ulp field.
24685         (struct test_cc_c_data): Likewise.
24686         (struct test_f_i_data): Likewise.
24687         (struct test_ff_i_data): Likewise.
24688         (struct test_f_l_data): Likewise.
24689         (struct test_f_L_data): Likewise.
24690         (struct test_sincos_data): Likewise.
24691         (RUN_TEST_f_f): Do not handle ulps.
24692         (RUN_TEST_LOOP_f_f): Likewise.
24693         (RUN_TEST_2_f): Likewise.
24694         (RUN_TEST_LOOP_2_f): Likewise.
24695         (RUN_TEST_fff_f): Likewise.
24696         (RUN_TEST_LOOP_fff_f): Likewise.
24697         (RUN_TEST_c_f): Likewise.
24698         (RUN_TEST_LOOP_c_f): Likewise.
24699         (RUN_TEST_f_f1): Likewise.
24700         (RUN_TEST_LOOP_f_f1): Likewise.
24701         (RUN_TEST_fF_f1): Likewise.
24702         (RUN_TEST_LOOP_fF_f1): Likewise.
24703         (RUN_TEST_fI_f1): Likewise.
24704         (RUN_TEST_LOOP_fI_f1): Likewise.
24705         (RUN_TEST_ffI_f1): Likewise.
24706         (RUN_TEST_LOOP_ffI_f1): Likewise.
24707         (RUN_TEST_c_c): Likewise.
24708         (RUN_TEST_LOOP_c_c): Likewise.
24709         (RUN_TEST_cc_c): Likewise.
24710         (RUN_TEST_LOOP_cc_c): Likewise.
24711         (RUN_TEST_f_i): Likewise.
24712         (RUN_TEST_LOOP_f_i): Likewise.
24713         (RUN_TEST_f_i_tg): Likewise.
24714         (RUN_TEST_LOOP_f_i_tg): Likewise.
24715         (RUN_TEST_ff_i_tg): Likewise.
24716         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24717         (RUN_TEST_f_b): Likewise.
24718         (RUN_TEST_LOOP_f_b): Likewise.
24719         (RUN_TEST_f_b_tg): Likewise.
24720         (RUN_TEST_LOOP_f_b_tg): Likewise.
24721         (RUN_TEST_f_l): Likewise.
24722         (RUN_TEST_LOOP_f_l): Likewise.
24723         (RUN_TEST_f_L): Likewise.
24724         (RUN_TEST_LOOP_f_L): Likewise.
24725         (RUN_TEST_sincos): Likewise.
24726         (RUN_TEST_LOOP_sincos): Likewise.
24728 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24730         [BZ #15480]
24731         [BZ #15485]
24732         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24733         main case of finite arguments, set rounding mode to FE_TONEAREST
24734         and discard exceptions.
24735         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24736         exceptions.
24737         (remainder_tonearest_test_data): New variable.
24738         (remainder_test_tonearest): New function.
24739         (remainder_towardzero_test_data): New variable.
24740         (remainder_test_towardzero): New function.
24741         (remainder_downward_test_data): New variable.
24742         (remainder_test_downward): New function.
24743         (remainder_upward_test_data): New variable.
24744         (remainder_test_upward): New function.
24745         (main): Call the new test functions.
24747         * math/libm-test.inc (struct test_f_f1_data): Remove field
24748         extra_init.
24749         (struct test_fF_f1_data): Likewise.
24750         (struct test_ffI_f1_data): Likewise.
24751         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24752         based on value of EXTRA_EXPECTED.
24753         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24754         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24755         EXTRA_VAR based on value of EXTRA_EXPECTED.
24756         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24757         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24758         EXTRA_VAR based on value of EXTRA_EXPECTED.
24759         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24760         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24761         EXTRA_VAR based on value of EXTRA_EXPECTED.
24762         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24763         * math/gen-libm-test.pl (parse_args): Don't output initializers
24764         for extra output values.
24766         * math/libm-test.inc (check_int): Expect result to be exactly
24767         equal to expected value and do not handle ulps.
24768         (check_long): Likewise.
24769         (check_longlong): Likewise.
24771         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24772         exceptions.
24773         (cimag_test_data): Likewise.
24774         (conj_test_data): Likewise.
24775         (copysign_test_data): Likewise.
24776         (cproj_test_data): Likewise.
24777         (creal_test_data): Likewise.
24778         (fabs_test_data): Likewise.
24779         (fdim_test_data): Likewise.
24780         (finite_test_data): Likewise.
24781         (floor_test_data): Likewise.
24782         (fmax_test_data): Likewise.
24783         (fmin_test_data): Likewise.
24784         (fmod_test_data): Likewise.
24785         (fpclassify_test_data): Likewise.
24786         (frexp_test_data): Likewise.
24787         (ilogb_test_data): Likewise.
24788         (isfinite_test_data): Likewise.
24789         (isgreater_test_data): Likewise.
24790         (isgreaterequal_test_data): Likewise.
24791         (isinf_test_data): Likewise.
24792         (isless_test_data): Likewise.
24793         (islessequal_test_data): Likewise.
24794         (islessgreater_test_data): Likewise.
24795         (isnan_test_data): Likewise.
24796         (isnormal_test_data): Likewise.
24797         (issignaling_test_data): Likewise.
24798         (isunordered_test_data): Likewise.
24799         (ldexp_test_data): Likewise.
24800         (lrint_test_data): Likewise.
24801         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24802         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24803         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24804         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24805         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24806         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24807         test input.
24808         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24809         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24810         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24811         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24812         that test input.
24813         (lrint_downward_test_data): Test for "inexact" exceptions.
24814         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24815         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24816         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24817         test input.
24818         (lrint_upward_test_data): Test for "inexact" exceptions.
24819         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24820         test input.
24821         (llrint_test_data): Test for "inexact" exceptions.
24822         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24823         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24824         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24825         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24826         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24827         (llrint_downward_test_data): Test for "inexact" exceptions.
24828         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24829         (llrint_upward_test_data): Test for "inexact" exceptions.
24830         (logb_test_data): Likewise.
24831         (logb_downward_test_data): Likewise.
24832         (nextafter_test_data): Likewise.
24833         (nexttoward_test_data): Likewise.
24834         (remainder_test_data): Likewise.
24835         (remquo_test_data): Likewise.
24836         (scalbn_test_data): Likewise.
24837         (scalbln_test_data): Likewise.
24838         (signbit_test_data): Likewise.
24839         (sqrt_test_data): Likewise.
24840         (significand_test_data): Likewise.
24842 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24844         [BZ #15424]
24845         * benchtests/bench-modf.c (struct args): Mark arg0 as
24846         volatile.
24847         * scripts/bench.pl: Mark members of struct args as volatile.
24849 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24851         [BZ # 15497]
24852         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24853         negative infinity on POWER6 or lower.
24854         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24856 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24858         [BZ #15442]
24859         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24860         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24861         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24862         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24863         (_FP_SETQNAN): New macro.
24864         (_FP_SETQNAN_SEMIRAW): Likewise.
24865         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24866         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24867         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24868         (FP_EXTEND): Use _FP_FRAC_SNANP.
24869         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24870         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24871         into account.
24872         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24873         New macro.
24874         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24875         Likewise.
24877 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24879         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24880         with DIVIDE_BY_ZERO_EXCEPTION.
24881         (gamma_test_data): Likewise.
24882         (lgamma_test_data): Likewise.
24883         (log_test_data): Likewise.
24884         (log10_test_data): Likewise.
24885         (log2_test_data): Likewise.
24886         (tgamma_test_data): Likewise.
24888         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24889         (acos_test_tonearest): Likewise.
24890         (acos_test_towardzero): Likewise.
24891         (acos_test_downward): Likewise.
24892         (acos_test_upward): Likewise.
24893         (acosh_test): Likewise.
24894         (asin_test): Likewise.
24895         (asin_test_tonearest): Likewise.
24896         (asin_test_towardzero): Likewise.
24897         (asin_test_downward): Likewise.
24898         (asin_test_upward): Likewise.
24899         (asinh_test): Likewise.
24900         (atan_test): Likewise.
24901         (atanh_test): Likewise.
24902         (atan2_test): Likewise.
24903         (cabs_test): Likewise.
24904         (cacos_test): Likewise.
24905         (cacosh_test): Likewise.
24906         (casin_test): Likewise.
24907         (casinh_test): Likewise.
24908         (catan_test): Likewise.
24909         (catanh_test): Likewise.
24910         (cbrt_test): Likewise.
24911         (ccos_test): Likewise.
24912         (ccosh_test): Likewise.
24913         (cexp_test): Likewise.
24914         (clog_test): Likewise.
24915         (clog10_test): Likewise.
24916         (cos_test): Likewise.
24917         (cos_test_tonearest): Likewise.
24918         (cos_test_towardzero): Likewise.
24919         (cos_test_downward): Likewise.
24920         (cos_test_upward): Likewise.
24921         (cosh_test): Likewise.
24922         (cosh_test_tonearest): Likewise.
24923         (cosh_test_towardzero): Likewise.
24924         (cosh_test_downward): Likewise.
24925         (cosh_test_upward): Likewise.
24926         (cpow_test): Likewise.
24927         (csin_test): Likewise.
24928         (csinh_test): Likewise.
24929         (csqrt_test): Likewise.
24930         (ctan_test): Likewise.
24931         (ctan_test_tonearest): Likewise.
24932         (ctan_test_towardzero): Likewise.
24933         (ctan_test_downward): Likewise.
24934         (ctan_test_upward): Likewise.
24935         (ctanh_test): Likewise.
24936         (ctanh_test_tonearest): Likewise.
24937         (ctanh_test_towardzero): Likewise.
24938         (ctanh_test_downward): Likewise.
24939         (ctanh_test_upward): Likewise.
24940         (erf_test): Likewise.
24941         (erfc_test): Likewise.
24942         (exp_test): Likewise.
24943         (exp_test_tonearest): Likewise.
24944         (exp_test_towardzero): Likewise.
24945         (exp_test_downward): Likewise.
24946         (exp_test_upward): Likewise.
24947         (exp10_test): Likewise.
24948         (exp2_test): Likewise.
24949         (expm1_test): Likewise.
24950         (fmod_test): Likewise.
24951         (gamma_test): Likewise.
24952         (hypot_test): Likewise.
24953         (j0_test): Likewise.
24954         (j1_test): Likewise.
24955         (jn_test): Likewise.
24956         (lgamma_test): Likewise.
24957         (log_test): Likewise.
24958         (log10_test): Likewise.
24959         (log1p_test): Likewise.
24960         (log2_test): Likewise.
24961         (logb_test_downward): Likewise.
24962         (pow_test): Likewise.
24963         (pow_test_tonearest): Likewise.
24964         (pow_test_towardzero): Likewise.
24965         (pow_test_downward): Likewise.
24966         (pow_test_upward): Likewise.
24967         (remainder_test): Likewise.
24968         (remquo_test): Likewise.
24969         (sin_test): Likewise.
24970         (sin_test_tonearest): Likewise.
24971         (sin_test_towardzero): Likewise.
24972         (sin_test_downward): Likewise.
24973         (sin_test_upward): Likewise.
24974         (sincos_test): Likewise.
24975         (sinh_test): Likewise.
24976         (sinh_test_tonearest): Likewise.
24977         (sinh_test_towardzero): Likewise.
24978         (sinh_test_downward): Likewise.
24979         (sinh_test_upward): Likewise.
24980         (sqrt_test): Likewise.
24981         (tan_test): Likewise.
24982         (tan_test_tonearest): Likewise.
24983         (tan_test_towardzero): Likewise.
24984         (tan_test_downward): Likewise.
24985         (tan_test_upward): Likewise.
24986         (tanh_test): Likewise.
24987         (tgamma_test): Likewise.
24988         (y0_test): Likewise.
24989         (y1_test): Likewise.
24990         (yn_test): Likewise.
24992         * math/gen-libm-test.pl (adjust_arg): Remove function.
24993         (special_function): Remove argument $in_func.  Only handle
24994         generating output for tables of tests, not inside functions.
24995         (parse_args): Likewise.
24996         (generate_testfile): Remove variable $in_func.  Update call to
24997         parse_args.
24998         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24999         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25000         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25001         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25002         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25003         (MAX_VALUE_INIT): Rename macro to max_value.
25004         (MIN_VALUE_INIT): Rename macro to min_value.
25005         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25006         (plus_zero): Remove variable.
25007         (minus_zero): Likewise.
25008         (plus_infty): Likewise.
25009         (minus_infty): Likewise.
25010         (qnan_value): Likewise.
25011         (max_value): Likewise.
25012         (min_value): Likewise.
25013         (min_subnorm_value): Likewise.
25015 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25017         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25018         uint64_t or uint32_t usage.
25019         * crypt/sha256-block.c: Likewise.
25020         * crypt/sha256-crypt.c: Likewise.
25021         * crypt/sha256.c: Likewise.
25022         * crypt/sha512-block.c: Likewise.
25023         * crypt/sha512-crypt.c: Likewise.
25024         * crypt/sha512.c: Likewise.
25025         * debug/backtrace-tst.c: Likewise.
25026         * debug/pcprofiledump.c: Likewise.
25027         * elf/cache.c: Likewise.
25028         * elf/dl-cache.c: Likewise.
25029         * elf/dl-misc.c: Likewise.
25030         * elf/dl-profile.c: Likewise.
25031         * elf/dl-support.c: Likewise.
25032         * elf/ldconfig.c: Likewise.
25033         * elf/sprof.c: Likewise.
25034         * iconv/dummy-repertoire.c: Likewise.
25035         * iconv/iconv_charmap.c: Likewise.
25036         * iconv/skeleton.c: Likewise.
25037         * iconvdata/8bit-generic.c: Likewise.
25038         * iconvdata/cp737.h: Likewise.
25039         * iconvdata/cp775.h: Likewise.
25040         * iconvdata/ibm1008.h: Likewise.
25041         * iconvdata/ibm1025.h: Likewise.
25042         * iconvdata/ibm1046.h: Likewise.
25043         * iconvdata/ibm1097.h: Likewise.
25044         * iconvdata/ibm1112.h: Likewise.
25045         * iconvdata/ibm1122.h: Likewise.
25046         * iconvdata/ibm1123.h: Likewise.
25047         * iconvdata/ibm1124.h: Likewise.
25048         * iconvdata/ibm1129.h: Likewise.
25049         * iconvdata/ibm1130.h: Likewise.
25050         * iconvdata/ibm1132.h: Likewise.
25051         * iconvdata/ibm1133.h: Likewise.
25052         * iconvdata/ibm1137.h: Likewise.
25053         * iconvdata/ibm1140.h: Likewise.
25054         * iconvdata/ibm1141.h: Likewise.
25055         * iconvdata/ibm1142.h: Likewise.
25056         * iconvdata/ibm1143.h: Likewise.
25057         * iconvdata/ibm1144.h: Likewise.
25058         * iconvdata/ibm1145.h: Likewise.
25059         * iconvdata/ibm1146.h: Likewise.
25060         * iconvdata/ibm1147.h: Likewise.
25061         * iconvdata/ibm1148.h: Likewise.
25062         * iconvdata/ibm1149.h: Likewise.
25063         * iconvdata/ibm1153.h: Likewise.
25064         * iconvdata/ibm1154.h: Likewise.
25065         * iconvdata/ibm1155.h: Likewise.
25066         * iconvdata/ibm1156.h: Likewise.
25067         * iconvdata/ibm1157.h: Likewise.
25068         * iconvdata/ibm1158.h: Likewise.
25069         * iconvdata/ibm1160.h: Likewise.
25070         * iconvdata/ibm1161.h: Likewise.
25071         * iconvdata/ibm1162.h: Likewise.
25072         * iconvdata/ibm1163.h: Likewise.
25073         * iconvdata/ibm1164.h: Likewise.
25074         * iconvdata/ibm1166.h: Likewise.
25075         * iconvdata/ibm1167.h: Likewise.
25076         * iconvdata/ibm12712.h: Likewise.
25077         * iconvdata/ibm1390.h: Likewise.
25078         * iconvdata/ibm1399.h: Likewise.
25079         * iconvdata/ibm16804.h: Likewise.
25080         * iconvdata/ibm4517.h: Likewise.
25081         * iconvdata/ibm4899.h: Likewise.
25082         * iconvdata/ibm4909.h: Likewise.
25083         * iconvdata/ibm4971.h: Likewise.
25084         * iconvdata/ibm5347.h: Likewise.
25085         * iconvdata/ibm803.h: Likewise.
25086         * iconvdata/ibm856.h: Likewise.
25087         * iconvdata/ibm901.h: Likewise.
25088         * iconvdata/ibm902.h: Likewise.
25089         * iconvdata/ibm9030.h: Likewise.
25090         * iconvdata/ibm9066.h: Likewise.
25091         * iconvdata/ibm921.h: Likewise.
25092         * iconvdata/ibm922.h: Likewise.
25093         * iconvdata/ibm9448.h: Likewise.
25094         * iconvdata/isiri-3342.h: Likewise.
25095         * iconvdata/jis0201.h: Likewise.
25096         * include/link.h: Likewise.
25097         * include/netdb.h: Likewise.
25098         * inet/check_native.c: Likewise.
25099         * inet/check_pf.c: Likewise.
25100         * inet/getipv4sourcefilter.c: Likewise.
25101         * inet/getnameinfo.c: Likewise.
25102         * inet/getsourcefilter.c: Likewise.
25103         * inet/htonl.c: Likewise.
25104         * inet/setipv4sourcefilter.c: Likewise.
25105         * inet/setsourcefilter.c: Likewise.
25106         * inet/test-inet6_opt.c: Likewise.
25107         * inet/tst-network.c: Likewise.
25108         * locale/C-collate.c: Likewise.
25109         * locale/C-ctype.c: Likewise.
25110         * locale/C-time.c: Likewise.
25111         * locale/C-translit.h: Likewise.
25112         * locale/loadarchive.c: Likewise.
25113         * locale/programs/3level.h: Likewise.
25114         * locale/programs/charmap.c: Likewise.
25115         * locale/programs/charmap.h: Likewise.
25116         * locale/programs/ld-address.c: Likewise.
25117         * locale/programs/ld-collate.c: Likewise.
25118         * locale/programs/ld-ctype.c: Likewise.
25119         * locale/programs/ld-identification.c: Likewise.
25120         * locale/programs/ld-measurement.c: Likewise.
25121         * locale/programs/ld-messages.c: Likewise.
25122         * locale/programs/ld-monetary.c: Likewise.
25123         * locale/programs/ld-name.c: Likewise.
25124         * locale/programs/ld-numeric.c: Likewise.
25125         * locale/programs/ld-paper.c: Likewise.
25126         * locale/programs/ld-telephone.c: Likewise.
25127         * locale/programs/ld-time.c: Likewise.
25128         * locale/programs/linereader.c: Likewise.
25129         * locale/programs/locale.c: Likewise.
25130         * locale/programs/locarchive.c: Likewise.
25131         * locale/programs/locfile.h: Likewise.
25132         * locale/programs/repertoire.c: Likewise.
25133         * locale/programs/simple-hash.c: Likewise.
25134         * locale/programs/simple-hash.h: Likewise.
25135         * malloc/memusage.c: Likewise.
25136         * malloc/memusagestat.c: Likewise.
25137         * nis/nis_defaults.c: Likewise.
25138         * nis/nis_hash.c: Likewise.
25139         * nis/nis_print.c: Likewise.
25140         * nis/nis_xdr.c: Likewise.
25141         * nscd/connections.c: Likewise.
25142         * nscd/hstcache.c: Likewise.
25143         * nscd/nscd_gethst_r.c: Likewise.
25144         * nscd/nscd_getserv_r.c: Likewise.
25145         * nscd/nscd_helper.c: Likewise.
25146         * nscd/servicescache.c: Likewise.
25147         * nss/makedb.c: Likewise.
25148         * nss/nss_db/db-XXX.c: Likewise.
25149         * nss/nss_db/db-initgroups.c: Likewise.
25150         * nss/nss_db/db-netgrp.c: Likewise.
25151         * nss/nss_files/files-network.c: Likewise.
25152         * nss/nss_files/files-parse.c: Likewise.
25153         * posix/bug-regex5.c: Likewise.
25154         * posix/fnmatch_loop.c: Likewise.
25155         * posix/regcomp.c: Likewise.
25156         * posix/regexec.c: Likewise.
25157         * posix/tst-rfc3484-2.c: Likewise.
25158         * posix/tst-rfc3484-3.c: Likewise.
25159         * posix/tst-rfc3484.c: Likewise.
25160         * resolv/nss_dns/dns-canon.c: Likewise.
25161         * resolv/nss_dns/dns-network.c: Likewise.
25162         * resolv/res_init.c: Likewise.
25163         * resolv/res_mkquery.c: Likewise.
25164         * resolv/tst-aton.c: Likewise.
25165         * stdlib/cxa_atexit.c: Likewise.
25166         * stdlib/cxa_finalize.c: Likewise.
25167         * stdlib/gen-fpioconst.c: Likewise.
25168         * stdlib/strtol_l.c: Likewise.
25169         * string/tst-endian.c: Likewise.
25170         * sunrpc/auth_des.c: Likewise.
25171         * sunrpc/clnt_udp.c: Likewise.
25172         * sunrpc/rtime.c: Likewise.
25173         * sunrpc/svcauth_des.c: Likewise.
25174         * sunrpc/xdr.c: Likewise.
25175         * sunrpc/xdr_intXX_t.c: Likewise.
25176         * sunrpc/xdr_rec.c: Likewise.
25177         * sysdeps/generic/ldconfig.h: Likewise.
25178         * sysdeps/generic/ldsodefs.h: Likewise.
25179         * sysdeps/generic/memusage.h: Likewise.
25180         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25181         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25182         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25183         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25184         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25185         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25186         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25187         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25188         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25189         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25190         * sysdeps/posix/getaddrinfo.c: Likewise.
25191         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25192         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25193         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25194         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25195         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25196         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25197         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25198         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25199         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25200         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25201         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25202         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25203         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25204         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25205         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25206         * sysdeps/x86_64/dl-tls.h: Likewise.
25207         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25208         * time/alt_digit.c: Likewise.
25209         * time/era.c: Likewise.
25210         * wcsmbs/tst-c16c32-1.c: Likewise.
25212 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25214         * math/libm-test.inc (struct test_sincos_data): New type.
25215         (RUN_TEST_LOOP_sincos): New macro.
25216         (sincos_test_data): New variable.
25217         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25219 2013-05-16  Richard Henderson  <rth@redhat.com>
25221         * math/atest-exp2.c (LIMB64): New macro.
25222         (CONSTSZ): New macro.
25223         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25224         (hexdig): Move ...
25225         (print_mpn_fp): ... to function scope.
25226         (read_mpn_hex): Remove.
25227         (get_log2): Remove.
25228         (exp2_mpn): Use mp_log2.
25229         (main): Use mp_exp1.
25231 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25233         * math/libm-test.inc: Remove comment about not testing "inexact"
25234         exceptions.
25235         (INEXACT_EXCEPTION): New macro.
25236         (NO_INEXACT_EXCEPTION): Likewise.
25237         (INVALID_EXCEPTION_OK): Update value.
25238         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25239         (OVERFLOW_EXCEPTION_OK): Likewise.
25240         (UNDERFLOW_EXCEPTION_OK): Likewise.
25241         (IGNORE_ZERO_INF_SIGN): Likewise.
25242         (ERRNO_UNCHANGED): Likewise.
25243         (ERRNO_EDOM): Likewise.
25244         (ERRNO_ERANGE): Likewise.
25245         (test_exceptions): Handle testing "inexact" exceptions.
25246         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25247         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25248         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25249         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25250         INEXACT_EXCEPTION.
25251         (rint_towardzero_test_data): Likewise.
25252         (rint_downward_test_data): Likewise.
25253         (rint_upward_test_data): Likewise.
25255         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25256         with OVERFLOW_EXCEPTION.
25257         (exp10_test_data): Likewise.
25258         (exp2_test_data): Likewise.
25259         (expm1_test_data): Likewise.
25260         (lgamma_test_data): Likewise.
25261         (pow_test_data): Likewise.
25262         (tgamma_test_data): Likewise.
25263         (yn_test_data): Remove duplicate test of overflow.
25265         * math/libm-test.inc (struct test_cc_c_data): New type.
25266         (RUN_TEST_LOOP_cc_c): New macro.
25267         (cpow_test_data): New variable.
25268         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25270         * math/libm-test.inc (struct test_f_L_data): New type.
25271         (RUN_TEST_LOOP_f_L): New macro.
25272         (llrint_test_data): New variable.
25273         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25274         (llrint_tonearest_test_data): New variable.
25275         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25276         (llrint_towardzero_test_data): New variable.
25277         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25278         (llrint_downward_test_data): New variable.
25279         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25280         (llrint_upward_test_data): New variable.
25281         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25282         (llround_test_data): New variable.
25283         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25285 2013-05-13  Peter Collingbourne  <pcc@google.com>
25287         * math/atest-exp2.c (get_log2): Remove const attribute.
25289 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25291         * math/libm-test.inc (struct test_f_l_data): New type.
25292         (RUN_TEST_LOOP_f_l): New macro.
25293         (lrint_test_data): New variable.
25294         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25295         (lrint_tonearest_test_data): New variable.
25296         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25297         (lrint_towardzero_test_data): New variable.
25298         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25299         (lrint_downward_test_data): New variable.
25300         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25301         (lrint_upward_test_data): New variable.
25302         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25303         (lround_test_data): New variable.
25304         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25306 2013-05-15  Peter Collingbourne  <pcc@google.com>
25308         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25309         (EXTRACT_WORDS64) Use where appropriate.
25310         (INSERT_WORDS64) Likewise.
25312         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25313         constraints with x constraints.
25314         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25316         * malloc/obstack.c (_obstack_compat): Add initializer.
25318 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25320         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25321         si_trapno and add si_addr_lsb to _sifields.sigfault.
25322         (si_trapno): Remove macro.
25323         (si_addr_lsb): Define new macro.
25324         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25326 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25328         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25329         instead of TEST_f_l.
25330         (llrint_test_tonearest): Likewise.
25331         (llrint_test_towardzero): Likewise.
25332         (llrint_test_downward): Likewise.
25333         (llrint_test_upward): Likewise.
25334         (llround_test): Likewise.
25336         * math/libm-test.inc (struct test_f_i_data): Add comment.
25337         (RUN_TEST_LOOP_f_b): New macro.
25338         (RUN_TEST_LOOP_f_b_tg): Likewise.
25339         (finite_test_data): New variable.
25340         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25341         (isfinite_test_data): New variable.
25342         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25343         (isinf_test_data): New variable.
25344         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25345         (isnan_test_data): New variable.
25346         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25347         (isnormal_test_data): New variable.
25348         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25349         (issignaling_test_data): New variable.
25350         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25351         (signbit_test_data): New variable.
25352         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25354         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25355         with INVALID_EXCEPTION.
25356         (acosh_test_data): Likewise.
25357         (asin_test_data): Likewise.
25358         (atanh_test_data): Likewise.
25359         (fmod_test_data): Likewise.
25360         (log_test_data): Likewise.
25361         (log10_test_data): Likewise.
25362         (log2_test_data): Likewise.
25363         (pow_test_data): Likewise.
25364         (sqrt_test_data): Likewise.
25365         (y0_test_data): Likewise.
25366         (y1_test_data): Likewise.
25367         (yn_test_data): Likewise.
25369         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25370         function contents.
25372         * math/libm-test.inc (struct test_ff_i_data): New type.
25373         (RUN_TEST_LOOP_ff_i_tg): New macro.
25374         (isgreater_test_data): New variable.
25375         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25376         (isgreaterequal_test_data): New variable.
25377         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25378         (isless_test_data): New variable.
25379         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25380         (islessequal_test_data): New variable.
25381         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25382         (islessgreater_test_data): New variable.
25383         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25384         (isunordered_test_data): New variable.
25385         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25387 2013-05-14  David S. Miller  <davem@davemloft.net>
25389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25391 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25393         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25395         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25396         extra_test to int.
25397         (struct test_f_i_data): Change type of max_ulp to int.
25399         * math/libm-test.inc (test_ffI_f1_data): New type.
25400         (RUN_TEST_LOOP_ffI_f1): New macro.
25401         (remquo_test_data): New variable.
25402         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25404         * setjmp/tst-setjmp-fp.c: New file.
25405         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25406         (link-libm): New variable.
25407         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25409         * math/libm-test.inc (struct test_f_i_data): New type.
25410         (RUN_TEST_LOOP_f_i): New macro.
25411         (RUN_TEST_LOOP_f_i_tg): Likewise.
25412         (fpclassify_test_data): New variable.
25413         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25414         (ilogb_test_data): New variable.
25415         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25417         * math/libm-test.inc (scalbln_test): Correct function name in END
25418         call.
25420         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25421         (RUN_TEST_LOOP_fI_f1): New macro.
25422         (frexp_test_data): New variable.
25423         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25425         * math/libm-test.inc (struct test_fF_f1_data): New type.
25426         (RUN_TEST_LOOP_fF_f1): New macro.
25427         (modf_test_data): New variable.
25428         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25430         * math/libm-test.inc (struct test_f_f1_data): New type.
25431         (RUN_TEST_LOOP_f_f1): New macro.
25432         (gamma_test_data): New variable.
25433         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25434         (lgamma_test_data): New variable.
25435         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25437 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25439         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25440         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25441         (main): Comment "tls" pseudo-hwcap.
25443 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25445         * math/libm-test.inc (struct test_fl_f_data): New type.
25446         (RUN_TEST_LOOP_fl_f): New variable.
25447         (scalbln_test_data): New variable.
25448         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25450         * math/libm-test.inc (struct test_fi_f_data): New type.
25451         (RUN_TEST_LOOP_fi_f): New macro.
25452         (ldexp_test_data): New variable.
25453         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25454         (scalbn_test_data): New variable.
25455         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25457         * math/libm-test.inc (struct test_c_f_data): New type.
25458         (RUN_TEST_LOOP_c_f): New macro.
25459         (cabs_test_data): New variable.
25460         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25461         (carg_test_data): New variable.
25462         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25463         (cimag_test_data): New variable.
25464         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25465         (creal_test_data): New variable.
25466         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25468         * math/libm-test.inc (struct test_if_f_data): New type.
25469         (RUN_TEST_LOOP_if_f): New macro.
25470         (jn_test_data): New variable.
25471         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25472         (yn_test_data): New variable.
25473         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25475         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25477 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25479         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25480         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25482 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25484         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25485         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25486         (bench-deps): Add bench-timing.h.
25487         * benchtests-bench-skeleton.c: Include bench-timing.h.
25488         (main): Use TIMING_* macros instead of clock_gettime.
25489         * benchtests/bench-timing.h: New file.
25491         [BZ #14582]
25492         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25493         Renamed from _LIB_VERSION.
25494         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25496 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25498         * math/libm-test.inc (struct test_fff_f_data): New type.
25499         (RUN_TEST_LOOP_fff_f): New macro.
25500         (fma_test_data): New variable.
25501         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25502         (fma_towardzero_test_data): New variable.
25503         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25504         (fma_downward_test_data): New variable.
25505         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25506         (fma_upward_test_data): New variable.
25507         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25509         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25510         (struct test_c_c_data): New type.
25511         (RUN_TEST_LOOP_c_c): New macro.
25512         (cacos_test_data): New variable.
25513         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25514         (cacosh_test_data): New variable.
25515         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25516         (casin_test_data): New variable.
25517         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25518         (casinh_test_data): New variable.
25519         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25520         (catan_test_data): New variable.
25521         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25522         (catanh_test_data): New variable.
25523         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25524         (ccos_test_data): New variable.
25525         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25526         (ccosh_test_data): New variable.
25527         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25528         (cexp_test_data): New variable.
25529         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25530         (clog_test_data): New variable.
25531         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25532         (clog10_test_data): New variable.
25533         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25534         (conj_test_data): New variable.
25535         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25536         (cproj_test_data): New variable.
25537         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25538         (csin_test_data): New variable.
25539         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25540         (csinh_test_data): New variable.
25541         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25542         (csqrt_test_data): New variable.
25543         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25544         (ctan_test_data): New variable.
25545         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25546         (ctan_tonearest_test_data): New variable.
25547         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25548         (ctan_towardzero_test_data): New variable.
25549         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25550         (ctan_downward_test_data): New variable.
25551         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25552         (ctan_upward_test_data): New variable.
25553         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25554         (ctanh_test_data): New variable.
25555         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25556         (ctanh_tonearest_test_data): New variable.
25557         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25558         (ctanh_towardzero_test_data): New variable.
25559         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25560         (ctanh_downward_test_data): New variable.
25561         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25562         (ctanh_upward_test_data): New variable.
25563         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25564         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25565         of BUILD_COMPLEX.
25567         * math/libm-test.inc (struct test_ff_f_data): New type.
25568         (struct test_ff_f_data_nexttoward): Likewise.
25569         (RUN_TEST_LOOP_2_f): New macro.
25570         (RUN_TEST_LOOP_ff_f): Likewise.
25571         (atan2_test_data): New variable.
25572         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25573         (copysign_test_data): New variable.
25574         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25575         (fdim_test_data): New variable.
25576         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25577         (fmax_test_data): New variable.
25578         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25579         (fmin_test_data): New variable.
25580         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25581         (fmod_test_data): New variable.
25582         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25583         (hypot_test_data): New variable.
25584         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25585         (nextafter_test_data): New variable.
25586         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25587         (nexttoward_test_data): New variable.
25588         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25589         (pow_test_data): New variable.
25590         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25591         (pow_tonearest_test_data): New variable.
25592         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25593         (pow_towardzero_test_data): New variable.
25594         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25595         (pow_downward_test_data): New variable.
25596         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25597         (pow_upward_test_data): New variable.
25598         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25599         (remainder_test_data): New variable.
25600         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25601         (scalb_test_data): New variable.
25602         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25603         * sysdeps/i386/fpu/libm-test-ulps: Update.
25605 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25607         * math/libm-test.inc (fma_test): Use max_value instead of local
25608         variable fltmax.
25609         (nextafter_test): Likewise.
25611         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25612         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25613         (acos_downward_test_data): New variable.
25614         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25615         (acos_upward_test_data): New variable.
25616         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25617         (acosh_test_data): New variable.
25618         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25619         (asin_test_data): New variable.
25620         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25621         (asin_tonearest_test_data): New variable.
25622         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25623         (asin_towardzero_test_data): New variable.
25624         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25625         (asin_downward_test_data): New variable.
25626         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25627         (asin_upward_test_data): New variable.
25628         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25629         (asinh_test_data): New variable.
25630         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25631         (atan_test_data): New variable.
25632         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25633         (atanh_test_data): New variable.
25634         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25635         (cbrt_test_data): New variable.
25636         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25637         (ceil_test_data): New variable.
25638         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25639         (cos_test_data): New variable.
25640         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25641         (cos_tonearest_test_data): New variable.
25642         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25643         (cos_towardzero_test_data): New variable.
25644         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25645         (cos_downward_test_data): New variable.
25646         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25647         (cos_upward_test_data): New variable.
25648         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25649         (cosh_test_data): New variable.
25650         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25651         (cosh_tonearest_test_data): New variable.
25652         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25653         (cosh_towardzero_test_data): New variable.
25654         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25655         (cosh_downward_test_data): New variable.
25656         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25657         (cosh_upward_test_data): New variable.
25658         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25659         (erf_test_data): New variable.
25660         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25661         (erfc_test_data): New variable.
25662         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25663         (exp_test_data): New variable.
25664         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25665         (exp_tonearest_test_data): New variable.
25666         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25667         (exp_towardzero_test_data): New variable.
25668         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25669         (exp_downward_test_data): New variable.
25670         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25671         (exp_upward_test_data): New variable.
25672         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25673         (exp10_test_data): New variable.
25674         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25675         (exp2_test_data): New variable.
25676         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25677         (expm1_test_data): New variable.
25678         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25679         (fabs_test_data): New variable.
25680         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25681         (floor_test_data): New variable.
25682         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25683         (j0_test_data): New variable.
25684         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25685         (j1_test_data): New variable.
25686         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25687         (log_test_data): New variable.
25688         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25689         (log10_test_data): New variable.
25690         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25691         (log1p_test_data): New variable.
25692         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25693         (log2_test_data): New variable.
25694         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25695         (logb_test_data): New variable.
25696         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25697         (logb_downward_test_data): New variable.
25698         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25699         (nearbyint_test_data): New variable.
25700         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25701         (rint_test_data): New variable.
25702         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25703         (rint_tonearest_test_data): New variable.
25704         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25705         (rint_towardzero_test_data): New variable.
25706         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25707         (rint_downward_test_data): New variable.
25708         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25709         (rint_upward_test_data): New variable.
25710         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25711         (round_test_data): New variable.
25712         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25713         (sin_test_data): New variable.
25714         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25715         (sin_tonearest_test_data): New variable.
25716         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25717         (sin_towardzero_test_data): New variable.
25718         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25719         (sin_downward_test_data): New variable.
25720         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25721         (sin_upward_test_data): New variable.
25722         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25723         (sinh_test_data): New variable.
25724         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25725         (sinh_tonearest_test_data): New variable.
25726         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25727         (sinh_towardzero_test_data): New variable.
25728         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25729         (sinh_downward_test_data): New variable.
25730         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25731         (sinh_upward_test_data): New variable.
25732         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25733         (sqrt_test_data): New variable.
25734         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25735         (tan_test_data): New variable.
25736         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25737         (tan_tonearest_test_data): New variable.
25738         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25739         (tan_towardzero_test_data): New variable.
25740         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25741         (tan_downward_test_data): New variable.
25742         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25743         (tan_upward_test_data): New variable.
25744         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25745         (tanh_test_data): New variable.
25746         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25747         (tgamma_test_data): New variable.
25748         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25749         (trunc_test_data): New variable.
25750         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25751         (y0_test_data): New variable.
25752         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25753         (y1_test_data): New variable.
25754         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25755         (significand_test_data): New variable.
25756         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25758 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25760         [BZ #12387]
25761         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25763 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25765         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25767 2013-05-10  Andreas Jaeger  <aj@suse.de>
25769         [BZ #15448]
25770         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25771         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25773 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25775         * math/gen-libm-test.pl (adjust_arg): New function.
25776         (special_functions): Handle generating output in both functions
25777         and arrays.
25778         (parse_args): Likewise.
25779         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25780         $in_func argument to parse_args.
25781         * math/libm-test.inc (struct test_f_f_data): New type.
25782         (IF_ROUND_INIT_): New macro.
25783         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25784         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25785         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25786         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25787         (ROUND_RESTORE_): Likewise.
25788         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25789         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25790         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25791         (ROUND_RESTORE_FE_UPWARD): Likewise.
25792         (RUN_TEST_LOOP_f_f): New macro.
25793         (acos_test_data): New variable.
25794         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25795         (acos_tonearest_test_data): New variable.
25796         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25798 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25800         * benchtests/bench-skeleton.c (startup): Fix coding style.
25802 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25804         [BZ #6809]
25805         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25806         negative infinity argument.
25807         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25808         negative infinity argument.
25809         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25810         negative infinity argument.
25811         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25812         domain errors.
25814 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25816         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25817         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25818         * iconv/iconv_prog.c (main): Likewise.
25819         * locale/programs/charmap-dir.c (charmap_readdir)
25820         (fopen_uncompressed): Likewise.
25821         * locale/programs/locfile.c (siblings_uncached)
25822         (write_locale_data): Use lstat64 instead of lstat.
25823         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25824         stat.
25826 2013-05-10  Andreas Jaeger  <aj@suse.de>
25828         [BZ #15395]
25829         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25830         localization.
25831         Include <locale.h>.
25833 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
25835         * elf/dl-close.c (_dl_close_worker): Add comments.
25837 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
25839         [BZ #15359]
25840         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25841         high part of pi/2.
25842         (__ieee754_rem_pio2l): Update comments.
25844         [BZ #15429]
25845         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25846         high part of pi/2.
25847         (__ieee754_rem_pio2l): Update comments.
25849         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25850         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25852         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25853         M_PI_4l.
25855         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25856         (M_PI_34_LOG10El): Likewise.
25857         (M_PI2_LOG10El): Likewise.
25858         (M_PI4_LOG10El): Likewise.
25859         (M_PI_LOG10El): Likewise.
25861 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25865 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
25867         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25868         (MINUS_ZERO_INIT): Likewise.
25869         (PLUS_INFTY_INIT): Likewise.
25870         (MINUS_INFTY_INIT): Likewise.
25871         (QNAN_VALUE_INIT): Likewise.
25872         (MAX_VALUE_INIT): Likewise.
25873         (MIN_VALUE_INIT): Likewise.
25874         (MIN_SUBNORM_VALUE_INIT): Likewise.
25875         (plus_zero): Initialize with PLUS_ZERO_INIT.
25876         (minus_zero): Initialize with MINUS_ZERO_INIT.
25877         (plus_infty): Initialize with PLUS_INFTY_INIT.
25878         (minus_infty): Initialize with MINUS_INFTY_INIT.
25879         (qnan_value): Initialize with QNAN_VALUE_INIT.
25880         (max_value): Initialize with MAX_VALUE_INIT.
25881         (min_value): Initialize with MIN_VALUE_INIT.
25882         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25884         * math/libm-test.inc (RUN_TEST_if_f): New macro.
25885         (jn_test): Use TEST_if_f instead of TEST_ff_f.
25886         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25887         (yn_test): Use TEST_if_f instead of TEST_ff_f.
25889         * math/libm-test.inc (RUN_TEST_f_f): New macro.
25890         (RUN_TEST_2_f): Likewise.
25891         (RUN_TEST_ff_f): Likewise.
25892         (RUN_TEST_fi_f): Likewise.
25893         (RUN_TEST_fl_f): Likewise.
25894         (RUN_TEST_fff_f): Likewise.
25895         (RUN_TEST_c_f): Likewise.
25896         (RUN_TEST_f_f1): Likewise.
25897         (RUN_TEST_fF_f1): Likewise.
25898         (RUN_TEST_fI_f1): Likewise.
25899         (RUN_TEST_ffI_f1): Likewise.
25900         (RUN_TEST_c_c): Likewise.
25901         (RUN_TEST_cc_c): Likewise.
25902         (RUN_TEST_f_i): Likewise.
25903         (RUN_TEST_f_i_tg): Likewise.
25904         (RUN_TEST_ff_i_tg): Likewise.
25905         (RUN_TEST_f_b): Likewise.
25906         (RUN_TEST_f_b_tg): Likewise.
25907         (RUN_TEST_f_l): Likewise.
25908         (RUN_TEST_f_L): Likewise.
25909         (RUN_TEST_sincos): Likewise.
25910         * math/gen-libm-test.pl (new_test): Take new argument to indicate
25911         whether to show exceptions.  Do not include ");\n" in return
25912         value.
25913         (special_functions): Output call to RUN_TEST_sincos instead of
25914         check_float calls.  Update calls to new_test.
25915         (parse_args): Output call to single RUN_TEST_* macro instead of
25916         check_* calls and other assignments.  Update calls to new_test.
25918         [BZ #2546]
25919         [BZ #2560]
25920         [BZ #5159]
25921         [BZ #15426]
25922         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25923         input to result for tgamma overflow.
25924         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25925         (gamma_coeff): New variable.
25926         (NCOEFF): New macro.
25927         (gamma_positive): New function.
25928         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25929         underflow here.  Use gamma_positive instead of exp (lgamma) for
25930         other arguments.
25931         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25932         (gamma_coeff): New variable.
25933         (NCOEFF): New macro.
25934         (gammaf_positive): New function.
25935         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25936         underflow here.  Use gamma_positive instead of exp (lgamma) for
25937         other arguments.
25938         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25939         (gamma_coeff): New variable.
25940         (NCOEFF): New macro.
25941         (gammal_positive): New function.
25942         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25943         underflow here.  Use gamma_positive instead of exp (lgamma) for
25944         other arguments.
25945         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25946         (gamma_coeff): New variable.
25947         (NCOEFF): New macro.
25948         (gammal_positive): New function.
25949         (__ieee754_gammal_r): Handle positive infinity, overflow and
25950         underflow here.  Handle NaN the same as positive infinity.  Remove
25951         check x < 0xffffffff for negative integers.  Use gamma_positive
25952         instead of exp (lgamma) for other arguments.
25953         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25954         (gamma_coeff): New variable.
25955         (NCOEFF): New macro.
25956         (gammal_positive): New function.
25957         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25958         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25959         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25960         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25961         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25962         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25963         * sysdeps/generic/math_private.h (__gamma_productf): New
25964         prototype.
25965         (__gamma_product): Likewise.
25966         (__gamma_productl): Likewise.
25967         * math/Makefile (libm-calls): Add gamma_product.
25968         * math/libm-test.inc (tgamma_test): Add more tests.
25969         * sysdeps/i386/fpu/libm-test-ulps: Update.
25970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25972 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
25974         * benchtests/bench-skeleton.c (main): Preheat CPU.
25976 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
25978         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25980 2013-05-07  Roland McGrath  <roland@hack.frob.com>
25982         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25983         and _dl_skip_args_internal.
25985 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
25987         * manual/message.texi (Message Translation): Talk about users.
25988         Message to key mapping impacts design.
25990 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25992         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25994         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25996         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25997         * sysdeps/wordsize-64/glob64.c: ... here.
25999         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26000         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26001         New macros.
26003         * debug/getlogin_r_chk.c: Moved to ...
26004         * login/getlogin_r_chk.c: ... here.
26005         * debug/Makefile (routines): Move getlogin_r_chk to ...
26006         * login/Makefile (routines): ... here.
26007         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26008         * login/Versions (libc: GLIBC_2.4): ... here.
26010         * io/poll.c (__poll): Renamed from poll.
26011         Add libc_hidden_def.
26012         (poll): Define as weak alias.
26014         * debug/ptsname_r_chk.c: Moved to ...
26015         * login/ptsname_r_chk.c: ... here.
26016         * debug/Makefile (routines): Move ptsname_r_chk to ...
26017         * login/Makefile (routines): ... here.
26018         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26019         * login/Versions (libc: GLIBC_2.4): ... here.
26021         * posix/getlogin.c: Moved to ...
26022         * login/getlogin.c: ... here.
26023         * posix/getlogin_r.c: Moved to ...
26024         * login/getlogin_r.c: ... here.
26025         * posix/getlogin_r.c: Moved to ...
26026         * login/getlogin_r.c: ... here.
26027         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26028         * login/Makefile (routines): ... here.
26029         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26030         * login/Versions (libc: GLIBC_2.0): ... here.
26032         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26033         (setrlimit): Define as weak alias.
26035         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26036         Call __ names for open, ftruncate, and close.
26037         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26038         (truncate): Define as weak alias.
26040 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26042         * math/gen-libm-test.pl (parse_args): Initialize x before each
26043         test of frexp, modf and remquo.
26045         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26046         test signgam value.
26048 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26050         [BZ #15418]
26051         [BZ #15419]
26052         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26053         internal tests.
26054         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26056 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26058         * elf/dl-writev.h: New file.
26059         * elf/dl-misc.c: Include it.
26060         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26061         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26063 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26065         * math/libm-test.inc (noXFails): Remove variable.
26066         (noXPasses): Likewise.
26067         (BUILD_COMPLEX_INT): Remove macro.
26068         (print_screen): Remove xfail argument.
26069         (print_screen_max_error): Likewise.
26070         (update_stats): Likewise.
26071         (print_max_error): Likewise.  Update calls to other affected
26072         functions.
26073         (print_complex_max_error): Likewise.
26074         (test_single_exception): Update calls to print_screen.
26075         (test_single_errno): Likewise.
26076         (check_float_internal): Remove xfail argument.  Update calls to
26077         other affected functions.
26078         (check_float): Likewise.
26079         (check_complex): Likewise.
26080         (check_int): Likewise.
26081         (check_long): Likewise.
26082         (check_bool): Likewise.
26083         (check_longlong): Likewise.
26084         (main): Don't print noXFails and noXPasses.
26085         * math/gen-libm-test.pl (top level): Don't mention expected
26086         failure handling in comment.
26087         (new_test): Don't handle expected failures.
26088         (parse_args): Don't mention expected failure handling in comment.
26089         (generate_testfile): Don't handle expected failures.
26090         (parse_ulps): Likewise.
26091         (print_ulps_file): Likewise.
26092         (get_failure): Remove function.
26093         (output_test): Don't handle expected failures.
26094         * make/README.libm-test: Don't mention expected failure handling.
26096         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26097         (minus_zero): Likewise.
26098         (plus_infty): Likewise.
26099         (minus_infty): Likewise.
26100         (qnan_value): Likewise.
26101         (max_value): Likewise.
26102         (min_value): Likewise.
26103         (min_subnorm_value): Likewise.
26104         (initialize): Do not initialize those variables dynamically.
26106 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26108         * io/open.c (__open_2): Moved to ...
26109         * io/open_2.c: ... this new file.
26110         * io/open64.c (__open64_2): Moved to ...
26111         * io/open64_2.c: ... this new file.
26112         * io/openat.c (__openat_2): Moved to ...
26113         * io/openat_2.c: ... this new file.
26114         * io/openat64.c (__openat64_2): Moved to ...
26115         * io/openat64_2.c: ... this new file.
26116         * io/Makefile (routines): Add them.
26117         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26118         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26119         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26120         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26121         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26122         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26123         (__openat64): Add hidden_ver.
26124         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26125         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26127         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26128         Separately conditionalize setting of GLRO(dl_sysinfo) so
26129         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26130         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26132 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26134         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26135         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26136         definition.
26137         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26138         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26139         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26140         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26141         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26143 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26145         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26146         test signgam value.
26148         * math/libm-test.inc (hypot_test): Do not use
26149         IGNORE_ZERO_INF_SIGN.
26151 2013-05-03  Andreas Jaeger  <aj@suse.de>
26153         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26154         Linux 3.9.
26155         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26156         (PF_MAX): Adjust for VSOCK change.
26158 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26162 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26164         [BZ #15264]
26165         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26166         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26167         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26169 2013-05-02  David S. Miller  <davem@davemloft.net>
26171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26173 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26175         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26177 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26179         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26181 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26183         [BZ #14952]
26184         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26185         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26186         Use __attribute__ ((__gnu_inline__)).
26187         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26188         Don't use __attribute__ ((__gnu_inline__)).
26190 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26192         [BZ #15423]
26193         * math/s_catan.c (__catan): Handle small real or imaginary part of
26194         input specially to avoid spurious underflow.
26195         * math/s_catanf.c (__catanf): Likewise.
26196         * math/s_catanh.c (__catanh): Likewise.
26197         * math/s_catanhf.c (__catanhf): Likewise.
26198         * math/s_catanhl.c (__catanhl): Likewise.
26199         * math/s_catanl.c (__catanl): Likewise.
26200         * math/libm-test.inc (catan_test): Add more tests.
26201         (catanh_test): Likewise.
26202         * sysdeps/i386/fpu/libm-test-ulps: Update.
26203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26205 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26209 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26211         [BZ #15416]
26212         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26213         accurately for denominator in atan2.
26214         * math/s_catanf.c (__catanf): Likewise.
26215         * math/s_catanh.c (__catanh): Likewise.
26216         * math/s_catanhf.c (__catanhf): Likewise.
26217         * math/s_catanhl.c (__catanhl): Likewise.
26218         * math/s_catanl.c (__catanl): Likewise.
26219         * math/libm-test.inc (catan_test): Add more tests.
26220         (catanh_test): Likewise.
26221         * sysdeps/i386/fpu/libm-test-ulps: Update.
26222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26224 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26226         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26228         * benchtests/Makefile (bench): Remove slow benchmarks.
26229         * benchtests/atan-inputs: Add slow benchmark inputs.
26230         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26231         (BENCH_FUNC): Accept variant offset.
26232         (VARIANT): Define.
26233         * benchtests/bench-skeleton.c (main): Run benchmark for each
26234         variant.
26235         * benchtests/cos-inputs: Add slow benchmark inputs.
26236         * benchtests/exp-inputs: Likewise.
26237         * benchtests/pow-inputs: Likewise.
26238         * benchtests/sin-inputs: Likewise.
26239         * benchtests/slowatan-inputs: Remove.
26240         * benchtests/slowatan.c: Remove.
26241         * benchtests/slowcos-inputs: Remove.
26242         * benchtests/slowcos.c: Remove.
26243         * benchtests/slowexp-inputs: Remove.
26244         * benchtests/slowexp.c: Remove.
26245         * benchtests/slowpow-inputs: Remove.
26246         * benchtests/slowpow.c: Remove.
26247         * benchtests/slowsin-inputs: Remove.
26248         * benchtests/slowsin.c: Remove.
26249         * benchtests/slowtan-inputs: Remove.
26250         * benchtests/slowtan.c: Remove.
26251         * benchtests/tan-inputs: Add slow benchmark inputs.
26252         * scripts/bench.pl: Parse comments and directives.
26254         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26255         in CPPFLAGS.
26256         ($(objpfx)bench-%.c): Remove *-ITER.
26257         * benchtests/bench-modf.c: Remove definition of ITER.
26258         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26259         (main): Loop for DURATION seconds instead of fixed number of
26260         iterations.
26261         * scripts/bench.pl: Don't expect iterations in parameters.
26263 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26265         * io/fchdir.c (__fchdir): Renamed from fchdir.
26266         (fchdir): Define as weak alias.
26268 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26270         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26271         (ERRNO_EDOM): Likewise.
26272         (ERRNO_ERANGE): Likewise.
26273         (noErrnoTests): New variable.
26274         (init_max_error): Set errno to 0.
26275         (test_single_errno): New function.
26276         (test_errno): Likewise.
26277         (check_float_internal): Call test_errno.  Set errno to 0.
26278         (check_complex): Refer to errno tests in comment.
26279         (check_int): Call test_errno.  Set errno to 0.
26280         (check_long): Likewise.
26281         (check_bool): Likewise.
26282         (check_longlong): Likewise.
26283         (cos_test): Use ERRNO_* flags for errno tests instead of
26284         check_int.
26285         (expm1_test): Likewise.
26286         (fmod_test): Likewise.
26287         (ilogb_test): Likewise.
26288         (lgamma_test): Likewise.
26289         (pow_test): Likewise.
26290         (remainder_test): Likewise.
26291         (sin_test): Likewise.
26292         (tan_test): Likewise.
26293         (yn_test): Likewise.
26294         (initialize): Set errno to 0.
26295         (main): Print number of errno tests.
26296         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26298 2013-04-29  Andreas Jaeger  <aj@suse.de>
26300         [BZ #15084]
26301         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26302         and RES_USEVC.
26304         [BZ #15085]
26305         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26306         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26307         unimplemented.
26309         [BZ #15380]
26310         * stdlib/random.c (__initstate): Return NULL if
26311         __initstate fails.
26313         [BZ #15086]
26314         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26315         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26316         RES_SNGLKUPREOP.
26318 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26322 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26324         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26325         of individual tests.
26326         (casin_test): Likewise.
26327         (casinh_test): Likewise.
26329 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26331         [BZ #15409]
26332         * math/s_catan.c (__catan): Handle arguments with large real or
26333         imaginary part separately without squaring.
26334         * math/s_catanf.c (__catanf): Likewise.
26335         * math/s_catanh.c (__catanh): Likewise.
26336         * math/s_catanhf.c (__catanhf): Likewise.
26337         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26338         and redefine.
26339         (__catanhl): Handle arguments with large real or imaginary part
26340         separately without squaring.
26341         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26342         and redefine.
26343         (__catanl): Handle arguments with large real or imaginary part
26344         separately without squaring.
26345         * math/libm-test.inc (catan_test): Add more tests.
26346         (catanh_test): Likewise.
26347         * sysdeps/i386/fpu/libm-test-ulps: Update.
26348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26350 2013-04-27  Andreas Jaeger  <aj@suse.de>
26352         [BZ #15007]
26353         * stdlib/stdlib.h: Update guards for qecvt.
26354         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26355         <stdlib.h>.
26357 2013-04-27  Allan McRae  <allan@archlinux.org>
26359         * sysdeps/i386/fpu/libm-test-ulps: Update.
26361 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26363         [BZ #15406]
26364         * math/s_catan.c: Include <float.h>.
26365         (__catan): Ensure underflow exception occurs for underflowed
26366         result.
26367         * math/s_catanf.c: Include <float.h>.
26368         (__catanf): Ensure underflow exception occurs for underflowed
26369         result.
26370         * math/s_catanh.c: Include <float.h>.
26371         (__catanh): Ensure underflow exception occurs for underflowed
26372         result.
26373         * math/s_catanhf.c: Include <float.h>.
26374         (__catanhf): Ensure underflow exception occurs for underflowed
26375         result.
26376         * math/s_catanhl.c: Include <float.h>.
26377         (__catanhl): Ensure underflow exception occurs for underflowed
26378         result.
26379         * math/s_catanl.c: Include <float.h>.
26380         (__catanl): Ensure underflow exception occurs for underflowed
26381         result.
26382         * math/libm-test.inc (catan_test): Add more tests.
26383         (catanh_test): Likewise.
26385         [BZ #15405]
26386         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26387         underflowed result.
26388         * math/s_ccoshf.c (__ccoshf): Likewise.
26389         * math/s_ccoshl.c (__ccoshl): Likewise.
26390         * math/s_csin.c (__csin): Likewise.
26391         * math/s_csinf.c (__csinf): Likewise.
26392         * math/s_csinh.c (__csinh): Likewise.
26393         * math/s_csinhf.c (__csinhf): Likewise.
26394         * math/s_csinhl.c (__csinhl): Likewise.
26395         * math/s_csinl.c (__csinl): Likewise.
26396         * math/libm-test.inc (ccos_test): Add more tests.
26397         (ccosh_test): Likewise.
26398         (csin_test): Likewise.
26399         (csinh_test): Likewise.
26401 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26403         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26404         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26405         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26406         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26407         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26408         powerpc/power5+/fpu folders.
26409         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26412 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26416 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26418         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26419         additions to variable.
26420         [$(config-machine) = x86_64] (modules-names): Likewise.
26421         ($(objpfx)tst-audit3): Remove dependency.
26422         ($(objpfx)tst-audit3.out): Likewise.
26423         ($(objpfx)tst-audit4): Likewise.
26424         ($(objpfx)tst-audit4.out): Likewise.
26425         ($(objpfx)tst-audit5): Likewise.
26426         ($(objpfx)tst-audit5.out): Likewise.
26427         ($(objpfx)tst-audit6): Likewise.
26428         ($(objpfx)tst-audit6.out): Likewise.
26429         ($(objpfx)tst-audit7): Likewise.
26430         ($(objpfx)tst-audit7.out): Likewise.
26431         (tst-audit3-ENV): Remove variable.
26432         (tst-audit4-ENV): Likewise.
26433         (tst-audit5-ENV): Likewise.
26434         (tst-audit6-ENV): Likewise.
26435         (tst-audit7-ENV): Likewise.
26436         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26437         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26438         addition to variable.
26439         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26440         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26441         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26442         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26443         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26444         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26445         tst-audit3, tst-audit4 and tst-audit5.
26446         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26447         tst-audit6 and tst-audit7.
26448         [$(subdir) = elf] (modules-names): Add audit modules for those
26449         tests.
26450         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26451         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26452         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26453         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26454         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26455         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26456         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26457         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26458         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26459         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26460         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26461         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26462         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26463         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26464         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26465         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26466         Likewise.
26467         [$(subdir) = elf && $(config-cflags-avx) = yes]
26468         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26469         [$(subdir) = elf && $(config-cflags-avx) = yes]
26470         (CFLAGS-tst-auditmod4a.c): Likewise.
26471         [$(subdir) = elf && $(config-cflags-avx) = yes]
26472         (CFLAGS-tst-auditmod4b.c): Likewise.
26473         [$(subdir) = elf && $(config-cflags-avx) = yes]
26474         (CFLAGS-tst-auditmod6b.c): Likewise.
26475         [$(subdir) = elf && $(config-cflags-avx) = yes]
26476         (CFLAGS-tst-auditmod6c.c): Likewise.
26477         [$(subdir) = elf && $(config-cflags-avx) = yes]
26478         (CFLAGS-tst-auditmod7b.c): Likewise.
26479         * elf/tst-audit3.c: Move to ...
26480         * sysdeps/x86_64/tst-audit3.c: ... here.
26481         * elf/tst-audit4.c: Move to ...
26482         * sysdeps/x86_64/tst-audit4.c: ... here.
26483         * elf/tst-audit5.c: Move to ...
26484         * sysdeps/x86_64/tst-audit5.c: ... here.
26485         * elf/tst-audit6.c: Move to ...
26486         * sysdeps/x86_64/tst-audit6.c: ... here.
26487         * elf/tst-audit7.c: Move to ...
26488         * sysdeps/x86_64/tst-audit7.c: ... here.
26489         * elf/tst-auditmod3a.c: Move to ...
26490         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26491         * elf/tst-auditmod3b.c: Move to ...
26492         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26493         * elf/tst-auditmod4a.c: Move to ...
26494         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26495         * elf/tst-auditmod4b.c: Move to ...
26496         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26497         * elf/tst-auditmod5a.c: Move to ...
26498         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26499         * elf/tst-auditmod5b.c: Move to ...
26500         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26501         * elf/tst-auditmod6a.c: Move to ...
26502         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26503         * elf/tst-auditmod6b.c: Move to ...
26504         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26505         * elf/tst-auditmod6c.c: Move to ...
26506         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26507         * elf/tst-auditmod7a.c: Move to ...
26508         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26509         * elf/tst-auditmod7b.c: Move to ...
26510         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26512 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26514         [BZ #15366]
26515         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26516         define unconditionally.
26517         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26518         define unconditionally.
26519         (INT8_C, INT16_C, etc.): Likewise.
26521 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26523         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26524         __ehdr_start with hidden visibility.
26526         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26528 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26530         * math/libm-test.inc (cos_test): Use accurate hex constants.
26531         (sincost_test): Likewise.
26533 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26535         * math/libm-test.inc (catan_test): Add more tests.
26536         (catanh_test): Likewise.
26538         * math/s_catanf.c (__catanf): Use suffixed floating-point
26539         constants.
26540         * math/s_catanhf.c (__catanhf): Likewise.
26541         * math/s_catanhl.c (__catanhl): Likewise.
26542         * math/s_catanl.c (__catanl): Likewise.
26544         [BZ #15394]
26545         * math/s_catan.c (__catan): Calculate imaginary part of result
26546         with log1p not log unless computing log of number close to 0.
26547         * math/s_catanf.c (__catanf): Likewise.
26548         * math/s_catanl.c (__catanl): Likewise.
26549         * math/s_catanh.c (__catanh): Calculate real part of result with
26550         log1p not log unless computing log of number close to 0.
26551         * math/s_catanhf.c (__catanhf): Likewise.
26552         * math/s_catanhl.c (__catanhl): Likewise.
26553         * math/libm-test.inc (catan_test): Add more tests.
26554         (catanh_test): Likewise.
26555         * sysdeps/i386/fpu/libm-test-ulps: Update.
26556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26558 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26560         * benchtests/Makefile: Mention files in which fast and slow
26561         paths of math functions are implemented.
26563 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26565         * sysdeps/posix/timespec_get.c: New file.
26567 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26569         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26570         POWER.
26571         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26572         for POWER.
26573         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26574         powerpc/power5/fpu folders.
26575         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26576         * benchtests/Makefile: Add modf testcase.
26577         * benchtests/bench-modf.c: New file: Benchmark test for mo
26579 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26581         [BZ #14888]
26582         * time/Makefile (tests): Add tst-strptime-whitespace.
26583         * time/strptime_l.c (get_number): Use ISSPACE.
26584         (__strptime_internal): Likewise.
26585         * time/tst-strptime-whitespace.c: New test case.
26587 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26589         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26590         member.
26591         (_nss_files_init): Set it here.
26593 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26595         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26596         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26597         unsigned.
26599 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26601         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26603 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26605         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26606         size just once.
26608 2013-04-21  David S. Miller  <davem@davemloft.net>
26610         * po/ru.po: Update Russion translation from translation project.
26612 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26614         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26615         and setfsgid.
26617 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26619         * configure.in: Remove i386 configure warning. Remove i386 case.
26620         * configure: Regenerate.
26621         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26622         Add example to error message.
26623         * sysdeps/i386/configure: Regenerate.
26625 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26627         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26628         slowtan.
26629         * benchtests/cos-inputs: New file.
26630         * benchtests/slowcos-inputs: New file.
26631         * benchtests/slowcos.c: New file.
26632         * benchtests/slowtan-inputs: New file.
26633         * benchtests/slowtan.c: New file.
26634         * benchtests/tan-inputs: New file.
26636 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26638         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26639         considered kosher.
26641 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26643         * benchtests/Makefile: Include cppflags-iterator.mk to add
26644         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26646         * Makefile.in (bench-clean): New target.
26647         * benchtests/Makefile (bench-clean): Likewise.
26649 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26651         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26653 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26655         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26657 2013-04-15  Andreas Schwab  <schwab@suse.de>
26659         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26660         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26661         * nscd/pwdcache.c (cache_addpw): Likewise.
26662         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26663         more than recsize.
26665 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26667         * benchtests/Makefile (bench): Write all output to
26668         bench-out.tmp together.
26670 2013-04-15  Andreas Schwab  <schwab@suse.de>
26672         * nscd/nscd.c (main): Don't fork again after closing files.
26674 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26676         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26678         * benchtests/Rules (bench-deps): Collect dependencies into a
26679         single variable.  Add Makefile to dependencies.
26680         ($(objpfx)bench-%.c): Depend on bench-deps.
26682 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26683             Xavier Roche  <roche+kml2@exalead.com>
26685         [BZ #15361]
26686         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26687         just that it's a file descriptor.
26688         * manual/llio.texi (Synchronizing AIO Operations): Update description
26689         for EBADF error from aio_fsync.
26691 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26693         * Rules (bench): Move target definition...
26694         * benchtests/Makefile: ... here.
26696 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26698         * math/libm-test.inc (cos_test): Fix PI/2 test.
26699         (sincos_test): Likewise.
26700         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26701         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26703 2013-04-11  Andreas Schwab  <schwab@suse.de>
26705         [BZ #13988]
26706         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26707         accept exponent character only when digits were seen.
26708         * stdio-common/Makefile (tests): Add bug26.
26709         * stdio-common/bug26.c: New file.
26711         [BZ #14293]
26712         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26713         non-freeable.
26715 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26717         * Makeconfig (rtld-prefix): Define built linker prefix.
26718         * Rules (run-bench): Use it.
26719         * math/Makefile (run-regen-ulps): Likewise.
26721         * Rules (bench): Remove eval.
26723 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26724             Roland McGrath  <roland@hack.frob.com>
26725             Ondrej Bilka  <neleai@seznam.cz>
26727         [BZ #15346]
26728         * time/getdate.c: Include ctype.h and alloca.h.
26729         (__getdate_r): Trim leading and trailing spaces of input.
26730         * time/tst-getdate.c (tests): Add tests with leading and
26731         trailing spaces.
26733 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26735         [BZ #14280]
26736         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26737         when computing value.
26739 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26741         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26742         Use testrun.sh to run libm tests.
26744         [BZ #15309]
26745         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26747 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26749         [BZ #15264]
26750         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26752 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26754         * Makefile.in (regen-ulps): New target.
26755         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26756         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26757         [ifneq (no,$(PERL)] (regen-ulps): New target.
26758         [ifeq (no,$(PERL)] (regen-ulps): New target.
26759         * math/libm-test.inc (ulps_file_name): Define.
26760         (output_dir): New variable.
26761         (options): Add "output-dir" option.
26762         (parse_opt): Handle 'o' case.
26763         (main): If output_dir is non-NULL use it as a prefix
26764         otherwise use "".
26765         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26767 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26769         [BZ #10060, #10062]
26770         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26771         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26772         fail configure if __sync_val_compare_and_swap is not inlined.
26773         * sysdeps/i386/configure: Regenerate.
26774         * configure.in: Build for i686 when configured for i386.
26775         * configure: Regenerate.
26776         * README: Remove i386 reference.
26778 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26780         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26781         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26783 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26785         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26786         (lmsnanval): New variables.
26787         (F): Add conversion tests.
26788         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26789         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26791         * stdio-common/tstdiomisc.c (F): Properly collect individual
26792         tests' results.
26794         [BZ #14686, #15336]
26795         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26796         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26797         Instead, use input NaN values or generate a qNaN by arithmetic
26798         operation.  Also fix bugs to comply with the standard.
26799         * math/libm-test.inc (remainder_test): Add more tests.
26801         [BZ #15335, #15342]
26802         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26803         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26804         input NaN values or generate a qNaN by arithmetic operation.
26806         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26807         unreachable code.
26809         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26810         definitions.
26812 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26814         [BZ #14478]
26815         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26816         underflowed result.
26817         * math/s_cexpf.c (__cexpf): Likewise.
26818         * math/s_cexpl.c (__cexpl): Likewise.
26819         * math/libm-test.inc (cexp_test): Add more tests.
26821 2013-04-03  Andreas Schwab  <schwab@suse.de>
26823         [BZ #15330]
26824         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26825         order arrays from heap if bigger than alloca cutoff.
26827 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26829         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26830         (SNAN_TESTS_double): Refer to GCC PR56831.
26831         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26832         GCC PR56828.
26834 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26836         * Rules (bench): Move bench.out after the run is complete.
26838         * Rules (bench): Echo currently running benchmark.
26840         * benchtests/Makefile (bench): Add atan and slowatan.
26841         * benchtests/atan-inputs: New file.
26842         * benchtests/slowatan-inputs: New file.
26843         * benchtests/slowatan.c: New file.
26845         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26846         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26847         its value.
26849         [BZ #15305]
26850         * sysdeps/unix/sysv/linux/kernel-features.h
26851         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26852         __ASSUME_XFS_RESTRICTED_CHOWN.
26853         * sysdeps/unix/sysv/linux/pathconf.c
26854         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26855         Save and restore errno.
26857 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
26859         [BZ #15327]
26860         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26861         arguments using __kernel_casinh.
26862         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26863         arguments using __kernel_casinhf.
26864         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26865         arguments using __kernel_casinhl.
26866         * math/libm-test.inc (cacosh_test): Add more tests.
26867         * sysdeps/i386/fpu/libm-test-ulps: Update.
26868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26870 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26872         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26873         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26875         * bench/Makefile (bench): Add sin and slowsin.
26876         * benchtests/sin-inputs: New file.
26877         * benchtests/slowsin-inputs: New file.
26878         * benchtests/slowsin.c: New file.
26880         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26881         (bench): Add slowexp and slowpow.
26882         (exp-ITER): Increase iterations.
26883         (pow-ITER): Likewise.
26884         * benchtests/exp-inputs: Change input.
26885         * benchtests/pow-inputs: Likewise.
26886         * benchtests/slowexp-inputs: New file.
26887         * benchtests/slowexp.c: New file.
26888         * benchtests/slowpow-inputs: New file.
26889         * benchtests/slowpow.c: New file.
26891 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26893         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26894         instructions.
26895         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26896         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26897         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26898         * benchtests/Makefile: Add rint benchtest.
26899         * benchtests/rint-inputs: Input for rint benchtest.
26901 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26903         * Versions.def (libm): Add GLIBC_2.18.
26904         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26905         hidden libm prototypes.
26906         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26907         * math/Makefile (libm-calls): Add s_issignaling.
26908         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26909         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
26910         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26911         declaration.
26912         * math/math.h [__USE_GNU] (issignaling): New macro.
26913         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26914         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26915         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26916         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26917         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26918         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26919         * manual/arith.texi (issignaling): New section.
26920         * manual/libm-err-tab.pl (@all_functions): Update comment.
26921         * math/gen-libm-test.pl (parse_args): Apply special handling for
26922         issignaling.
26923         * math/libm-test.inc (print_float, issignaling_test): New
26924         functions.
26925         (check_float_internal): Add issignaling checks.
26926         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26927         default definition.
26928         * sysdeps/powerpc/math-tests.h: New file.
26929         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26930         tests.
26931         * math/test-snan.c (TEST_FUNC): Likewise.
26933 2013-03-30  David S. Miller  <davem@davemloft.net>
26935         * po/de.po: Update from translation team.
26937 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
26939         [BZ #10357]
26940         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26941         imaginary part less than 1.0 and real part less than 0.5
26942         specially.
26943         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26944         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26945         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26946         (cacos_test): Add more tests.
26947         (casin_test): Likewise.
26948         (casinh_test): Likewise.
26949         * sysdeps/i386/fpu/libm-test-ulps: Update.
26950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26952 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26954         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26955         ONE with its value.
26957         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26958         (__pow_mp): Replace ONE and MONE with their values.
26959         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26960         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26961         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26962         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26963         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26964         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26966         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26968         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26969         (__pow_mp): Replace ZERO and MZERO with their values.
26970         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26971         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26972         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26974         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26975         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26976         (__sqr): Likewise.
26978         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26980         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26982 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26984         * include/stdlib.h [!SHARED] (__call_tls_dtors):
26985         Declare with __attribute__ ((weak)).
26986         * stdlib/exit.c (__libc_atexit) [!SHARED]:
26987         Call __call_tls_dtors only if it's not NULL.
26989 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26991         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26992         didn't do it already, then set _dl_phdr and _dl_phnum based on the
26993         magic __ehdr_start linker symbol if it's defined.
26994         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26995         them up here if it was already done.
26997         * elf/dl-support.c (_dl_phdr): Make pointer to const.
26998         (_dl_aux_init): Use const in cast when setting it.
26999         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27000         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27001         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27003         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27004         Declare them here.
27005         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27006         * csu/libc-tls.c: Nor here.
27007         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27009         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27010         (__libc_message): Never call vsyslog.
27012 2013-03-28  Alan Modra  <amodra@gmail.com>
27014         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27015         Define as empty.
27016         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27017         Likewise.
27019 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27021         [BZ #15214]
27022         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27023         underflow.
27024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27026 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27028         [BZ #15304]
27029         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27030         Don't add gid passed as argument.
27032         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27034 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27036         [BZ #15307]
27037         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27038         imaginary part between 1.0 and 1.5 and real part less than 0.5
27039         specially.
27040         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27041         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27042         * math/libm-test.inc (cacos_test): Add more tests.
27043         (casin_test): Likewise.
27044         (casinh_test): Likewise.
27045         * sysdeps/i386/fpu/libm-test-ulps: Update.
27046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27048 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27050         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27051         constants.
27052         (norm): Likewise.
27053         (denorm): Likewise.
27054         (__dbl_mp): Likewise.
27055         (add_magnitudes): Likewise.
27056         (sub_magnitudes): Likewise.
27057         (__add): Likewise.
27058         (__sub): Likewise.
27059         (__mul): Likewise.
27060         (__sqr): Likewise.
27061         (__inv): Likewise.
27062         (__dvd): Likewise.
27064         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27065         commented code.
27066         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27067         (__dubcos): Likewise.
27068         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27069         (__ieee754_acos): Likewise.
27070         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27071         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27072         (__exp1): Likewise.
27073         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27074         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27075         (log1): Likewise.
27076         (my_log2): Likewise.
27077         (checkint): Likewise.
27078         * sysdeps/ieee754/dbl-64/e_remainder.c
27079         (__ieee754_remainder): Likewise.
27080         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27081         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27082         (bsloww): Likewise.
27083         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27085         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27086         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27087         MANTISSA_STORE_T to store computations on mantissa.  Use
27088         macros for rounding and division.
27089         (denorm): Likewise.
27090         (__dbl_mp): Likewise.
27091         (add_magnitudes): Likewise.
27092         (sub_magnitudes): Likewise.
27093         (__mul): Likewise.
27094         (__sqr): Likewise.
27095         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27096         powers of two in terms of TWOPOW macro.
27097         (mp_no): Make type of mantissa as MANTISSA_T.
27098         [!RADIXI]: Define RADIXI.
27099         [!TWO52]: Define TWO52.
27100         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27102 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27104         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27105         llroundl symbol when building for PPC32.
27107 2013-03-24  Mark H Weaver  <mhw@netris.org>
27109         * manual/arith.texi (Normalization Functions): Fix prototypes for
27110         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27112 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27114         [BZ #13889]
27115         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27116         high value to check if expl overflow.
27117         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27118         to check for underflow and overflow.
27119         * math/libm-test.inc: Add exp test.
27121 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27123         [BZ #11120]
27124         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27125         with NOT_IN_libc.
27127 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27129         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27130         symbol.
27132 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27134         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27135         wrap blocks consisting of several statements.
27137         * sysdeps/generic/math-tests.h: New file.
27138         * sysdeps/i386/fpu/math-tests.h: Likewise.
27139         * math/test-snan.c: Include it.
27140         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27142 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27144         [BZ #15285]
27145         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27146         (__ieee754_j0l): Do not improve calculations using cos of twice
27147         input for inputs above LDBL_MAX / 2.0L.
27148         (__ieee754_y0l): Likewise.
27149         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27150         (__ieee754_j1l): Do not improve calculations using cos of twice
27151         input for inputs above LDBL_MAX / 2.0L.
27152         (__ieee754_y1l): Likewise.
27153         * math/libm-test.inc (j0_test): Add another test.
27154         (j1_test): Likewise.
27155         (y0_test): Likewise.
27156         (y1_test): Likewise.
27157         * sysdeps/i386/fpu/libm-test-ulps: Update.
27159 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27161         * Rules ($(objpfx)bench-%.c): Include code from a C source
27162         file.
27164 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27166         [BZ #15287]
27167         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27168         imaginary part 1.0 and real part less than 0.5 specially.
27169         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27170         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27171         * math/libm-test.inc (cacos_test): Add more tests.
27172         (casin_test): Likewise.
27173         (casinh_test): Likewise.
27174         * sysdeps/i386/fpu/libm-test-ulps: Update.
27175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27177 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27179         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27180         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27182 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27184         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27185         * config.make.in (config-cflags-sse4): Remove variable.
27186         (config-cflags-avx): Likewise.
27187         (config-cflags-sse2avx): Likewise.
27188         (config-cflags-novzeroupper): Likewise.
27189         (config-asflags-i686): Likewise.
27190         (have-mfma4): Likewise.
27191         (have-as-vis3): Likewise.
27192         (MIG): Likewise.
27193         * configure.in (MIG): Do not AC_SUBST.
27194         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27195         (libc_cv_cc_sse4): Do not AC_SUBST.
27196         (libc_cv_cc_avx): Likewise.
27197         (libc_cv_cc_sse2avx): Likewise.
27198         (libc_cv_cc_novzeroupper): Likewise.
27199         (libc_cv_cc_fma4): Likewise.
27200         (libc_cv_as_i686): Likewise.
27201         (libc_cv_sparc_as_vis3): Likewise.
27202         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27203         LIBC_CONFIG_VAR.
27204         (config-asflags-i686): Likewise.
27205         (config-cflags-avx): Likewise.
27206         (config-cflags-sse2avx): Likewise.
27207         (have-mfma4): Likewise.
27208         (config-cflags-novzeroupper): Likewise.
27209         * sysdeps/mach/configure.in (MIG): Likewise.
27210         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27211         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27212         LIBC_CONFIG_VAR.
27213         (config-cflags-avx): Likewise.
27214         (config-cflags-sse2avx): Likewise.
27215         (have-mfma4): Likewise.
27216         (config-cflags-novzeroupper): Likewise.
27217         * configure: Regenerated.
27218         * sysdeps/i386/configure: Likewise.
27219         * sysdeps/mach/configure: Likewise.
27220         * sysdeps/sparc/configure: Likewise.
27221         * sysdeps/x86_64/configure: Likewise.
27223 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27225         [BZ #14812]
27226         * locale/programs/localedef.c (options): Put N_ translation marker
27227         on argument names, not just descriptions.
27229 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27231         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27233 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27235         [BZ #14176]
27236         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27238 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27240         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27241         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27242         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27243         [!BEFORE_ABORT] (before_abort): New function.
27244         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27245         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27246         (writev_for_fatal): New function.
27247         (WRITEV_FOR_FATAL): New macro; call that.
27248         (backtrace_and_maps): New function.
27249         (BEFORE_ABORT): New macro; call that.
27250         (struct str_list): Type removed.
27251         (__libc_message, __libc_fatal): Functions removed.
27252         Include <sysdeps/posix/libc_fatal.c> instead.
27254 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27256         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27257         constants.
27258         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27259         double constants.
27261 2013-03-19  Andreas Schwab  <schwab@suse.de>
27263         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27264         * sysdeps/gnu/configure: Regenerate.
27266         * configure.in: Substitute libc_cv_rtlddir.
27267         * configure: Regenerate.
27268         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27269         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27270         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27271         * elf/Makefile (install-others, CFLAGS-interp.c)
27272         (ldso_install, common-ldd-rewrite): Likewise.
27273         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27274         $(inst_slibdir)/$(rtld-installed-name).
27275         * scripts/rellns-sh: Add -p option.
27276         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27277         for source.
27279 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27281         * manual/nptl.texi: Renamed to ...
27282         * manual/threads.texi: ... this.
27283         * manual/Makefile (chapters): Update.
27285 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27287         [BZ #14812]
27288         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27289         on argument names, not just descriptions.
27290         * malloc/memusagestat.c (options): Likewise.
27291         * nss/getent.c (options): Likewise.
27293 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27295         [BZ #14812]
27296         * iconv/iconv_prog.c (options): Put N_ translation marker
27297         on argument names, not just descriptions.
27298         * iconv/iconvconfig.c (options): Likewise.
27300 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27302         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27303         implementation which is faster on all x86_64 architectures.
27304         Tested on AMD, Intel Nehalem, SNB, IVB.
27305         * sysdeps/x86_64/strnlen.S: Likewise.
27307         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27308         Remove all multiarch strlen and strnlen versions.
27309         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27310         Remove strlen and strnlen related parts.
27312         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27313         Inline strlen part.
27314         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27316         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27317         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27318         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27319         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27320         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27321         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27323 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27325         * manual/memory.texi (Malloc Tunable Parameters):
27326         Sort parameters alphabetically. Add comments for missing entries.
27328 2013-03-17  David S. Miller  <davem@davemloft.net>
27330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27332 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27334         [BZ #15283]
27335         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27336         for arguments at most half maximum finite value.
27337         * math/libm-test.inc (j0_test): Add more tests.
27338         (j1_test): Likewise.
27339         (y0_test): Likewise.
27340         (y1_test): Likewise.
27341         * sysdeps/i386/fpu/libm-test-ulps: Update.
27342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27344         [BZ #14155]
27345         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27346         1 / x and functions P and Q for arguments above 0x1p256L.
27347         (__ieee754_y0l): Likewise.
27348         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27349         (__ieee754_y1l): Likewise.
27350         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27351         (j1_test): Likewise.
27352         (y0_test): Likewise.
27353         (y1_test): Likewise.
27355 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27357         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27358         variable.
27360 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27362         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27363         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27364         zero since it's initialized to EXEC_PAGESIZE.
27366         * sysdeps/unix/sysv/linux/ldsodefs.h
27367         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27368         * sysdeps/generic/ldsodefs.h: ... here.
27370 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27372         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27374         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27375         math/test-snan.c.
27376         * math/test-snan.c: Renamed from
27377         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27378         * math/Makefile (tests): Add test-snan.
27379         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27380         test-powerpc-snan.
27382         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27383         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27384         functions.
27385         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27386         __builtin_nan family of functions.
27387         * math/libm-test.inc (initialize): Initialize qnan_value with
27388         __builtin_nan family of functions.
27389         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27390         Remove variables.
27391         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27392         Remove functions.
27393         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27394         storage class.  Initialize qNaN_var and sNaN_var with
27395         __builtin_nan and __builtin_nans families of functions,
27396         respectively.
27398         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27399         (sqrt_test): Remove duplicate test with qNaN input.
27400         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27401         (round_test, signbit_test, significand_test): Note missing +/-Inf
27402         as well as qNaN tests.
27404         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27405         qNaN_var.  Fix a few strings, too.
27406         * math/libm-test.inc (nan_value): Rename to qnan_value.
27407         * math/gen-libm-test.pl (%beautify): Adjust to that.
27408         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27409         * math/test-misc.c (main): Likewise.
27410         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27411         to __qnan_bytes, and __qnan_union, respectively.
27412         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27413         Likewise.
27414         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27415         and lqnanval, respectively.
27416         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27417         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27418         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27419         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27421         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27422         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27423         doubles.
27425         * math/test-misc.c (main): Fix copy'n'pastos.
27426         * misc/tst-efgcvt.c (special): Likewise.
27428         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27429         Remove declarations.
27431 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27433         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27434         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27435         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27436         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27438 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27440         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27441         macro to return vdso values correctly in IFUNC implementations.
27442         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27443         Optimization by using IFUNC.
27445 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27446             Richard Henderson  <rth@redhat.com>
27447             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27449         * Makefile.in (bench): New target.
27450         * NEWS: Mention the benchmark framework.
27451         * Rules (bench): Likewise.
27452         (binaries-bench): Generate binaries for functions to
27453         benchmark.
27454         * benchtests/Makefile: New makefile for benchmark tests.
27455         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27456         programs.
27457         * benchtests/exp-inputs: New input file for EXP function.
27458         * benchtests/pow-inputs: New input file for POW function.
27459         * scripts/bench.pl: New script to generate source files for
27460         benchmark programs.
27462 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27464         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27465         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27466         computations on mantissa.  Use macros for rounding and
27467         division.
27468         (denorm): Likewise.
27469         (__dbl_mp): Likewise.
27470         (add_magnitudes): Likewise.
27471         (sub_magnitudes): Likewise.
27472         (__mul): Likewise.
27473         (__sqr): Likewise.
27474         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27475         powers of two in terms of TWOPOW macro.
27476         (mp_no): Make type of mantissa as MANTISSA_T.
27477         [!RADIXI]: Define RADIXI.
27478         [!TWO52]: Define TWO52.
27479         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27481         * manual/nptl.texi (cindex): Modify threads to pthreads.
27483 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27485         * sysdeps/x86_64/preconfigure: Regenerated.
27487 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27489         [BZ #14155]
27490         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27491         0x1p28 and above.
27492         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27493         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27494         0x1p28 and above.
27495         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27496         * math/libm-test.inc (j0_test): Do not allow one spurious
27497         underflow exception.
27498         (y1_test): Likewise.
27500 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27502         * manual/Makefile (chapters): Add nptl.
27503         * manual/debug.texi (Debugging Support): Add link to Threads
27504         chapter.
27505         * manual/nptl.texi: New file.
27507         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27509 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27511         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27512         for non-NULL pointer before the memory validity test. Pointed
27513         out by Holger Brunck <holger.brunck@keymile.com>.
27515 2013-03-13  Andreas Schwab  <schwab@suse.de>
27517         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27518         instead of .os.
27520 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27522         * timezone/zic.c: Update from tzcode 2013b.
27524 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27526         * manual/install.texi (Configuring and compiling):
27527         Mention i686 and i586.
27528         * INSTALL: Regenerate.
27530 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27532         * sysdeps/init_array/elf-init.c: New file.
27533         * csu/elf-init.c
27534         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27535         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27537         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27538         __gmon_start__ as global, but as static with a .preinit_array pointer.
27539         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27540         * sysdeps/init_array/crti.S: New file, empty except for comments.
27541         * sysdeps/init_array/crtn.S: Likewise.
27543 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27545         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27546         definining bcopy.
27547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27548         Remove Prefer_SSE_for_memop.
27549         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27550         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27551         HAS_PREFER_SSE_FOR_MEMOP.
27552         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27553         memset-x86-64.
27554         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27555         Remove bzero, memset ifunc support.
27556         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27557         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27558         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27559         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27561 2013-03-11  Andreas Schwab  <schwab@suse.de>
27563         [BZ #15234]
27564         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27565         by SHLIB_COMPAT.
27566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27567         (GLIBC_2.16): Remove pthread_atfork.
27569 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27571         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27572         (ptestcases.h): Likewise.
27574 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27576         * Makeconfig ($(common-objpfx)config.status): Depend on
27577         sysdeps/*/preconfigure{,.in} too.
27579 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27581         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27582         (__free_hook): Use void * instead of __malloc_ptr_t.
27583         (__malloc_hook): Likewise.
27584         (__realloc_hook): Likewise.
27585         (__memalign_hook): Likewise.
27586         (__after_morecore_hook): Likewise.
27587         * malloc/arena.c (save_malloc_hook): Likewise.
27588         (save_free_hook): Likewise.
27589         * malloc/hooks.c (malloc_hook_ini): Likewise.
27590         (realloc_hook_ini): Likewise.
27591         (memalign_hook_ini): Likewise.
27592         * malloc/malloc.c (malloc_hook_ini): Likewise.
27593         (realloc_hook_ini): Likewise.
27594         (memalign_hook_ini): Likewise.
27595         (__free_hook): Likewise.
27596         (__malloc_hook): Likewise.
27597         (__realloc_hook): Likewise.
27598         (__memalign_hook): Likewise.
27599         (__libc_malloc): Likewise.
27600         (__libc_free): Likewise.
27601         (__libc_realloc): Likewise.
27602         (__libc_memalign): Likewise.
27603         (__libc_valloc): Likewise.
27604         (__libc_pvalloc): Likewise.
27605         (__libc_calloc): Likewise.
27606         (__posix_memalign): Likewise.
27607         * malloc/morecore.c (__sbrk): Likewise.
27608         (__default_morecore): Likewise.
27610         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27612         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27613         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27614         __malloc_ptrdiff_t.
27616         * malloc/malloc.h (__malloc_size_t): Remove macro.
27617         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27618         __malloc_size_t.
27619         (old_memalign_hook): Likewise.
27620         (old_realloc_hook): Likewise.
27621         (struct hdr): Likewise.
27622         (flood): Likewise.
27623         (mallochook): Likewise.
27624         (memalignhook): Likewise.
27625         (reallochook): Likewise.
27626         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27627         (tr_old_realloc_hook): Likewise.
27628         (tr_old_memalign_hook): Likewise.
27629         (tr_mallochook): Likewise.
27630         (tr_reallochook): Likewise.
27631         (tr_memalignhook): Likewise.
27633 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27635         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27636         default_ldbl_pack and using as default implementation.
27637         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27638         implementation.
27639         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27640         redundant definition.
27641         (ldbl_insert_mantissa): Likewise.
27642         (ldbl_canonicalize): Likewise.
27643         (ldbl_nearbyint): Likewise.
27644         (ldbl_pack): Rename to ldbl_pack_ppc.
27645         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27646         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27647         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27649 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27652         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27653         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27654         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27656         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27657         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27658         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27660 2013-03-07  Andreas Jaeger  <aj@suse.de>
27662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27663         bits/mman-linux.h.
27665 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27667         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27668         Include mpa.h and declare __MPEXP.
27669         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27670         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27671         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27672         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27673         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27674         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27675         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27677         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27678         (__slowpow): Use long double EXPL and LOGL functions to
27679         compute POW.
27680         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27681         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27682         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27683         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27684         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27685         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27688         intermediate variable to calculate exponent.
27689         (__sqr): Likewise.
27690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27691         Likewise.
27692         (__sqr): Likewise.
27694         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27695         [!NO__SQR]: Define __sqr.
27696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27697         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27698         sysdeps/ieee754/dbl-64/mpa.c.
27699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27701         [BZ #12723]
27702         * posix/Makefile (tests): Add tst-pathconf.
27703         * posix/tst-pathconf.c: New test case.
27704         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27705         _PC_PIPE_BUF.
27706         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27708 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27710         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27712 2013-03-06  Andreas Jaeger  <aj@suse.de>
27714         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27715         definition via __MAP_ANONYMOUS.
27717         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27718         it's not part of Linux headers.
27720         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27721         (MAP_HUGE_MASK): Define.
27723         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27724         Define.
27725         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27726         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27727         Define.
27728         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27729         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27730         Define.
27731         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27732         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27733         Define.
27734         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27736         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27737         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27738         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27739         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27740         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27741         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27743         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27744         Handle f2fs.
27746         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27747         Handle f2fs and efivarfs.
27749         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27750         f2fs.
27752         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27753         (EFIVARFS_MAGIC): Add.
27754         (F2FS_LINK_MAX): Add.
27756 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27758         * stdio-common/vfprintf.c: Replace __builtin_expect with
27759         __glibc_unlikely.
27761 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27763         [BZ #13550]
27764         * sysdeps/generic/bp-sym.h: Remove file.
27765         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27766         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27767         <bp-sym.h> and <bp-asm.h>.
27768         (__longjmp): Don't use BP_SYM.
27769         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27770         and <bp-asm.h>.
27771         (memcpy): Don't use BP_SYM.
27772         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27773         <bp-sym.h> and <bp-asm.h>.
27774         (memcpy): Don't use BP_SYM.
27775         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27776         <bp-asm.h>.
27777         (memcpy): Don't use BP_SYM.
27778         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27779         <bp-asm.h>.
27780         (memset): Don't use BP_SYM.
27781         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27782         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27783         (__bzero): Don't use BP_SYM.
27784         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27785         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27786         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27787         <bp-sym.h> and <bp-asm.h>.
27788         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27789         pointers.
27790         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27791         <bp-sym.h> and <bp-asm.h>.
27792         (memcpy): Don't use BP_SYM.
27793         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27794         <bp-sym.h> and <bp-asm.h>.
27795         (memset): Don't use BP_SYM.
27796         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27797         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27798         (__bzero): Don't use BP_SYM.
27799         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27800         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27801         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27802         <bp-sym.h> and <bp-asm.h>.
27803         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27804         pointers.
27805         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27806         <bp-sym.h> and <bp-asm.h>.
27807         (memcpy): Don't use BP_SYM.
27808         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27809         <bp-sym.h> and <bp-asm.h>.
27810         (memset): Don't use BP_SYM.
27811         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27812         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27813         (__bzero): Don't use BP_SYM.
27814         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27815         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27816         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27817         <bp-sym.h> and <bp-asm.h>.
27818         (__memchr): Don't use BP_SYM.
27819         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27820         <bp-sym.h> and <bp-asm.h>.
27821         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27822         pointers.
27823         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27824         <bp-sym.h> and <bp-asm.h>.
27825         (memcpy): Don't use BP_SYM.
27826         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27827         <bp-sym.h> and <bp-asm.h>.
27828         (__mempcpy): Don't use BP_SYM.
27829         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27830         <bp-sym.h> and <bp-asm.h>.
27831         (__memrchr): Don't use BP_SYM.
27832         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27833         <bp-sym.h> and <bp-asm.h>.
27834         (memset): Don't use BP_SYM.
27835         (__bzero): Likewise.
27836         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27837         <bp-sym.h> and <bp-asm.h>.
27838         (__rawmemchr): Don't use BP_SYM.
27839         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27840         <bp-sym.h> and <bp-asm.h>.
27841         (__STRCMP): Don't use BP_SYM.
27842         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27843         <bp-sym.h> and <bp-asm.h>.
27844         (strchr): Don't use BP_SYM.
27845         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27846         <bp-sym.h> and <bp-asm.h>.
27847         (__strchrnul): Don't use BP_SYM.
27848         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27849         <bp-sym.h> and <bp-asm.h>.
27850         (strlen): Don't use BP_SYM.
27851         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27852         <bp-sym.h> and <bp-asm.h>.
27853         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27854         pointers.
27855         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27856         <bp-sym.h> and <bp-asm.h>.
27857         (__strnlen): Don't use BP_SYM.
27858         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27859         <bp-sym.h> and <bp-asm.h>.
27860         (__GI__setjmp): Don't use BP_SYM.
27861         (_setjmp): Likewise.
27862         (__sigsetjmp): Likewise.
27863         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27864         (L(start_addresses)): Don't use BP_SYM.
27865         (_start): Likewise.
27866         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27867         <bp-asm.h>.
27868         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27869         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27870         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27871         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27872         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27873         <bp-asm.h>.
27874         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27875         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
27876         about bounded pointers.
27877         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27878         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27879         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27880         <bp-asm.h>.
27881         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27882         about bounded pointers.  Remove GKM FIXME comments.
27883         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27884         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27885         <bp-asm.h>.
27886         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27887         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
27888         Remove GKM FIXME comments.
27889         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27890         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27891         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27892         <bp-asm.h>.
27893         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27894         about bounded pointers.  Remove GKM FIXME comment.
27895         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27896         and <bp-asm.h>.
27897         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27898         pointers.
27899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27900         <bp-sym.h> and <bp-asm.h>.
27901         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27903         <bp-sym.h> and <bp-asm.h>.
27904         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27905         comment.
27907 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27909         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27910         call free(NULL).
27912 2013-03-05  David S. Miller  <davem@davemloft.net>
27914         * po/es.po: Update from translation team.
27916 2013-03-05  Andreas Jaeger  <aj@suse.de>
27918         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27919         <bits/mman-linux.h>.
27920         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27921         is fine.
27922         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27923         <bits/mman-linux.h> to end of file.
27924         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27925         is fine.
27926         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27927         <bits/mman-linux.h> to end of file.
27928         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27929         is fine.
27930         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27931         <bits/mman-linux.h> to end of file.
27933         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27934         (MCL_CURRENT, MCL_FUTURE): Define here.
27936 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27938         [BZ #15232]
27939         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27940         attribute_hidden.
27941         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27943 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27945         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27946         fourth parameter needed for rt_sigprocmask syscall.
27947         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27948         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27949         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27950         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27951         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27952         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27954 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
27956         [BZ #13550]
27957         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27958         comment about bounded pointers.
27959         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27960         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27962 2013-03-04  Andreas Jaeger  <aj@suse.de>
27964         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27965         common definitions.
27967         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27968         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27969         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27970         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27971         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27972         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27974 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27976         [BZ #15055]
27977         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27978         __ieee754_sqrl instead of __sqrl.
27980 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
27982         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27983         * sysdeps/powerpc/fpu_control.h: ... here.
27984         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27985         * sysdeps/powerpc/bits/fenvinline.h: ... here.
27986         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27987         * sysdeps/powerpc/bits/mathinline.h: ... here.
27989 2013-03-01  Roland McGrath  <roland@hack.frob.com>
27991         * elf/dl-hwcaps.c (_dl_important_hwcaps):
27992         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27993         to just [NEED_DL_SYSINFO_DSO].
27994         * elf/dl-support.c: Likewise.
27995         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27996         * elf/rtld.c (dl_main): Likewise.
27997         * elf/setup-vdso.h (setup_vdso): Likewise.
27998         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27999         * sysdeps/unix/sysv/linux/dl-sysdep.c
28000         (_dl_discover_osversion): Likewise.
28002 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28004         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28005         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28007 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28009         * NEWS: Mention libm performance improvements and non-x86 PI
28010         futex support.
28012         * csu/libc-start.c (__pthread_initialize_minimal): Change
28013         function arguments.
28014         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28016 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28018         [BZ #13550]
28019         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28020         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28021         <bp-sym.h> and <bp-asm.h>.
28022         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28023         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28024         and <bp-asm.h>.
28025         (memcpy): Don't use BP_SYM.
28026         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28027         <bp-asm.h>.
28028         (__mpn_add_n): Don't use BP_SYM.
28029         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28030         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28031         and <bp-asm.h>.
28032         (__mpn_addmul_1): Don't use BP_SYM.
28033         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28034         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28035         <bp-sym.h>.
28036         (_setjmp): Don't use BP_SYM.
28037         (__novmx_setjmp): Likewise.
28038         (__GI__setjmp): Likewise.
28039         (__vmx_setjmp): Likewise.
28040         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28041         <bp-sym.h>.
28042         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28043         (__bzero): Don't use BP_SYM.
28044         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28045         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28046         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28047         <bp-sym.h> and <bp-asm.h>.
28048         (memcpy): Don't use BP_SYM.
28049         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28050         <bp-sym.h> and <bp-asm.h>.
28051         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28052         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28053         <bp-sym.h> and <bp-asm.h>.
28054         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28055         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28056         <bp-asm.h>.
28057         (__mpn_lshift): Don't use BP_SYM.
28058         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28059         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28060         <bp-asm.h>.
28061         (memset): Don't use BP_SYM.
28062         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28063         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28064         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28065         <bp-asm.h>.
28066         (__mpn_mul_1): Don't use BP_SYM.
28067         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28068         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28069         <bp-sym.h> and <bp-asm.h>.
28070         (memcmp): Don't use BP_SYM.
28071         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28072         <bp-sym.h> and <bp-asm.h>.
28073         (memcpy): Don't use BP_SYM.
28074         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28075         <bp-sym.h> and <bp-asm.h>.
28076         (memset): Don't use BP_SYM.
28077         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28078         <bp-sym.h> and <bp-asm.h>.
28079         (strncmp): Don't use BP_SYM.
28080         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28081         <bp-sym.h> and <bp-asm.h>.
28082         (memcpy): Don't use BP_SYM.
28083         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28084         <bp-sym.h> and <bp-asm.h>.
28085         (memset): Don't use BP_SYM.
28086         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28087         <bp-sym.h> and <bp-asm.h>.
28088         (__memchr): Don't use BP_SYM.
28089         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28090         <bp-sym.h> and <bp-asm.h>.
28091         (memcmp): Don't use BP_SYM.
28092         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28093         <bp-sym.h> and <bp-asm.h>.
28094         (memcpy): Don't use BP_SYM.
28095         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28096         <bp-sym.h> and <bp-asm.h>.
28097         (__mempcpy): Don't use BP_SYM.
28098         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28099         <bp-sym.h> and <bp-asm.h>.
28100         (__memrchr): Don't use BP_SYM.
28101         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28102         <bp-sym.h> and <bp-asm.h>.
28103         (memset): Don't use BP_SYM.
28104         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28105         <bp-sym.h> and <bp-asm.h>.
28106         (__rawmemchr): Don't use BP_SYM.
28107         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28108         <bp-sym.h> and <bp-asm.h>.
28109         (__STRCMP): Don't use BP_SYM.
28110         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28111         <bp-sym.h> and <bp-asm.h>.
28112         (strchr): Don't use BP_SYM.
28113         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28114         <bp-sym.h> and <bp-asm.h>.
28115         (__strchrnul): Don't use BP_SYM.
28116         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28117         <bp-sym.h> and <bp-asm.h>.
28118         (strlen): Don't use BP_SYM.
28119         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28120         <bp-sym.h> and <bp-asm.h>.
28121         (strncmp): Don't use BP_SYM.
28122         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28123         <bp-sym.h> and <bp-asm.h>.
28124         (__strnlen): Don't use BP_SYM.
28125         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28126         <bp-asm.h>.
28127         (__mpn_rshift): Don't use BP_SYM.
28128         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28129         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28130         <bp-sym.h> and <bp-asm.h>.
28131         (__sigsetjmp): Don't use BP_SYM.
28132         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28133         (L(start_addresses)): Don't use BP_SYM.
28134         (_start): Likewise.
28135         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28136         <bp-asm.h>.
28137         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28138         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28139         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28140         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28141         <bp-asm.h>.
28142         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28143         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28144         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28145         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28146         <bp-asm.h>.
28147         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28148         comments.
28149         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28150         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28151         <bp-asm.h>.
28152         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28153         FIXME comments.
28154         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28155         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28156         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28157         <bp-asm.h>.
28158         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28159         comment.
28160         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28161         and <bp-asm.h>.
28162         (strncmp): Don't use BP_SYM,
28163         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28164         <bp-asm.h>.
28165         (__mpn_sub_n): Don't use BP_SYM.
28166         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28167         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28168         and <bp-asm.h>.
28169         (__mpn_submul_1): Don't use BP_SYM.
28170         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28172         <bp-sym.h> and <bp-asm.h>.
28173         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28175         <bp-sym.h> and <bp-asm.h>.
28176         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28177         comment.
28179 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28182         Use ZK to minimize writes to Z.
28183         (sub_magnitudes): Simplify code a bit.
28184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28185         Use ZK to minimize writes to Z.
28186         (sub_magnitudes): Simplify code a bit.
28188 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28190         * csu/gmon-start.c: Add special exception to license text.
28192 2013-02-27  Richard Henderson  <rth@redhat.com>
28194         * scripts/config.guess: Update from config.git.
28195         * scripts/config.sub: Likewise.
28197 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28199         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28201         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28203         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28205         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28207         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28209 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28211         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28212         [$(build-shared = yes].
28214 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28216         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28217         (__mul): Reduce iterations for calculating mantissa.
28219         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28220         MPTWO.
28221         (__mpranred): Likewise.
28223         [BZ #15160]
28224         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28225         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28227 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28229         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28230         Define __attribute__.
28232 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28234         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28235         unused.
28236         * posix/regex_internal.h (__attribute): Remove.
28237         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28238         (re_string_context_at): Likewise.
28239         (bitset_not): Use __attribute__ and mark function as possibly
28240         unused.
28241         (bitset_merge): Likewise.
28242         (bitset_mask): Likewise.
28243         (re_string_char_size_at): Likewise.
28244         (re_string_wchar_at): Likewise.
28245         (re_string_elem_size_at): Likewise.
28247 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28249         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28250         code.
28251         (cc32): Likewise.
28253         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28254         (__acr): Likewise.
28255         (__cpy): Likewise.
28256         (norm): Likewise.
28257         (denorm): Likewise.
28258         (__dbl_mp): Likewise.
28259         (add_magnitudes): Likewise.
28260         (sub_magnitudes): Likewise.
28261         (__mul): Likewise.
28262         (__inv): Likewise.
28264         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28265         style.
28267         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28268         style.
28270         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28271         code.
28273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28274         up changes with default code.
28275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28276         Likewise.
28278 2013-02-24  Allan McRae  <allan@archlinux.org>
28280         * manual/socket.texi (The Internet Namespace): Order menu items
28281         to match that in the file.
28283         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28284         node listing of the info page menu.
28286 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28288         [BZ #13550]
28289         * sysdeps/i386/bp-asm.h: Remove file.
28290         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28291         (PARMS): Do not use macros from bp-asm.h.
28292         (S1): Likewise.
28293         (S2): Likewise.
28294         (SIZE): Likewise.
28295         (__mpn_add_n): Do not use BP_SYM
28296         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28297         "bp-asm.h".
28298         (PARMS): Do not use macros from bp-asm.h.
28299         (S1): Likewise.
28300         (SIZE): Likewise.
28301         (__mpn_addmul_1): Do not use BP_SYM
28302         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28303         "bp-asm.h".
28304         (PARMS): Do not use macros from bp-asm.h.
28305         (SIGMSK): Likewise.
28306         (_setjmp): Likewise.  Do not use BP_SYM.
28307         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28308         "bp-asm.h".
28309         (PARMS): Do not use macros from bp-asm.h.
28310         (SIGMSK): Likewise.
28311         (setjmp): Likewise.  Do not use BP_SYM.
28312         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28313         "bp-asm.h".
28314         (PARMS): Do not use macros from bp-asm.h.
28315         (__frexp): Do not use BP_SYM.
28316         (frexp): Likewise.
28317         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28318         "bp-asm.h".
28319         (PARMS): Do not use macros from bp-asm.h.
28320         (__frexpf): Do not use BP_SYM.
28321         (frexpf): Likewise.
28322         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28323         "bp-asm.h".
28324         (PARMS): Do not use macros from bp-asm.h.
28325         (__frexpl): Do not use BP_SYM.
28326         (frexpl): Likewise.
28327         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28328         "bp-asm.h".
28329         (PARMS): Do not use macros from bp-asm.h.
28330         (__remquo): Do not use BP_SYM.
28331         (remquo): Likewise.
28332         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28333         "bp-asm.h".
28334         (PARMS): Do not use macros from bp-asm.h.
28335         (__remquof): Do not use BP_SYM.
28336         (remquof): Likewise.
28337         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28338         "bp-asm.h".
28339         (PARMS): Do not use macros from bp-asm.h.
28340         (__remquol): Do not use BP_SYM.
28341         (remquol): Likewise.
28342         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28343         "bp-asm.h".
28344         (PARMS): Do not use macros from bp-asm.h.
28345         (DEST): Likewise.
28346         (SRC): Likewise.
28347         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28348         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28349         "bp-asm.h".
28350         (PARMS): Do not use macros from bp-asm.h.
28351         (strlen): Do not use BP_SYM.
28352         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28353         "bp-asm.h".
28354         (PARMS): Do not use macros from bp-asm.h.
28355         (S1): Likewise.
28356         (S2): Likewise.
28357         (SIZE): Likewise.
28358         (__mpn_add_n): Do not use BP_SYM.
28359         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28360         "bp-asm.h".
28361         (PARMS): Do not use macros from bp-asm.h.
28362         (S1): Likewise.
28363         (SIZE): Likewise.
28364         (__mpn_addmul_1): Do not use BP_SYM.
28365         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28366         weak_alias.
28367         (bzero): Likewise.
28368         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28369         "bp-asm.h".
28370         (PARMS): Do not use macros from bp-asm.h.
28371         (S): Likewise.
28372         (SIZE): Likewise.
28373         (__mpn_lshift): Do not use BP_SYM.
28374         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28375         "bp-asm.h".
28376         (PARMS): Do not use macros from bp-asm.h.
28377         (DEST): Likewise.
28378         (SRC): Likewise.
28379         (LEN): Likewise.
28380         (memcpy): Likewise.  Do not use BP_SYM.
28381         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28382         libc_hidden_def and weak_alias.
28383         (mempcpy): Do not use BP_SYM in weak_alias.
28384         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28385         "bp-asm.h".
28386         (PARMS): Do not use macros from bp-asm.h.
28387         (DEST): Likewise.
28388         (LEN): Likewise.
28389         [!BZERO_P] (CHR): Likewise.
28390         (memset): Likewise.  Do not use BP_SYM.
28391         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28392         "bp-asm.h".
28393         (PARMS): Do not use macros from bp-asm.h.
28394         (S1): Likewise.
28395         (SIZE): Likewise.
28396         (__mpn_mul_1): Do not use BP_SYM.
28397         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28398         "bp-asm.h".
28399         (PARMS): Do not use macros from bp-asm.h.
28400         (S): Likewise.
28401         (SIZE): Likewise.
28402         (__mpn_rshift): Do not use BP_SYM.
28403         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28404         "bp-asm.h".
28405         (PARMS): Do not use macros from bp-asm.h.
28406         (STR): Likewise.
28407         (CHR): Likewise.
28408         (strchr): Likewise.  Do not use BP_SYM.
28409         (index): Do not use BP_SYM in weak_alias.
28410         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28411         "bp-asm.h".
28412         (PARMS): Do not use macros from bp-asm.h.
28413         (DEST): Likewise.
28414         (SRC): Likewise.
28415         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28416         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28417         "bp-asm.h".
28418         (PARMS): Do not use macros from bp-asm.h.
28419         (strlen): Do not use BP_SYM.
28420         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28421         "bp-asm.h".
28422         (PARMS): Do not use macros from bp-asm.h.
28423         (S1): Likewise.
28424         (S2): Likewise.
28425         (SIZE): Likewise.
28426         (__mpn_sub_n): Do not use BP_SYM.
28427         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28428         "bp-asm.h".
28429         (PARMS): Do not use macros from bp-asm.h.
28430         (S1): Likewise.
28431         (SIZE): Likewise.
28432         (__mpn_submul_1): Do not use BP_SYM.
28433         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28434         "bp-asm.h".
28435         (PARMS): Do not use macros from bp-asm.h.
28436         (S1): Likewise.
28437         (S2): Likewise.
28438         (SIZE): Likewise.
28439         (__mpn_add_n): Do not use BP_SYM.
28440         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28441         weak_alias.
28442         (bzero): Likewise.
28443         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28444         "bp-asm.h".
28445         (PARMS): Do not use macros from bp-asm.h.
28446         (BLK2): Likewise.
28447         (LEN): Likewise.
28448         (memcmp): Do not use BP_SYM.
28449         (bcmp): Do not use BP_SYM in weak_alias.
28450         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28451         "bp-asm.h".
28452         (PARMS): Do not use macros from bp-asm.h.
28453         (DEST): Likewise.
28454         (SRC): Likewise.
28455         (LEN): Likewise.
28456         (memcpy): Likewise.  Do not use BP_SYM.
28457         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28458         "bp-asm.h".
28459         (PARMS): Do not use macros from bp-asm.h.
28460         (DEST): Likewise.
28461         (SRC): Likewise.
28462         (LEN): Likewise.
28463         (memmove): Likewise.  Do not use BP_SYM.
28464         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28465         "bp-asm.h".
28466         (PARMS): Do not use macros from bp-asm.h.
28467         (DEST): Likewise.
28468         (SRC): Likewise.
28469         (LEN): Likewise.
28470         (__mempcpy): Likewise.  Do not use BP_SYM.
28471         (mempcpy): Do not use BP_SYM in weak_alias.
28472         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28473         "bp-asm.h".
28474         (PARMS): Do not use macros from bp-asm.h.
28475         (DEST): Likewise.
28476         (LEN): Likewise.
28477         [!BZERO_P] (CHR): Likewise.
28478         (memset): Likewise.  Do not use BP_SYM.
28479         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28480         "bp-asm.h".
28481         (PARMS): Do not use macros from bp-asm.h.
28482         (STR2): Likewise.
28483         (strcmp): Do not use BP_SYM.
28484         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28485         "bp-asm.h".
28486         (PARMS): Do not use macros from bp-asm.h.
28487         (STR): Likewise.
28488         (DELIM): Likewise.
28489         [USE_AS_STRTOK_R] (SAVE): Likewise.
28490         (FUNCTION): Likewise.  Do not use BP_SYM.
28491         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28492         aliases.
28493         (strtok_r): Likewise.
28494         (__GI___strtok_r): Likewise.
28495         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28496         (PARMS): Do not use macros from bp-asm.h.
28497         (S): Likewise.
28498         (SIZE): Likewise.
28499         (__mpn_lshift): Do not use BP_SYM.
28500         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28501         (PARMS): Do not use macros from bp-asm.h.
28502         (STR): Likewise.
28503         (CHR): Likewise.
28504         (__memchr): Do not use BP_SYM.
28505         (memchr): Do not use BP_SYM in weak_alias.
28506         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28507         (PARMS): Do not use macros from bp-asm.h.
28508         (BLK2): Likewise.
28509         (LEN): Likewise.
28510         (memcmp): Do not use BP_SYM.
28511         (bcmp): Do not use BP_SYM in weak_alias.
28512         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28513         (PARMS): Do not use macros from bp-asm.h.
28514         (S1): Likewise.
28515         (SIZE): Likewise.
28516         (__mpn_mul_1): Do not use BP_SYM.
28517         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28518         "bp-asm.h".
28519         (PARMS): Do not use macros from bp-asm.h.
28520         (STR): Likewise.
28521         (CHR): Likewise.
28522         (__rawmemchr): Do not use BP_SYM.
28523         (rawmemchr): Do not use BP_SYM in weak_alias.
28524         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28525         (PARMS): Do not use macros from bp-asm.h.
28526         (S): Likewise.
28527         (SIZE): Likewise.
28528         (__mpn_rshift): Do not use BP_SYM.
28529         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28530         (PARMS): Do not use macros from bp-asm.h.
28531         (SIGMSK): Likewise.
28532         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28533         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28534         (_start): Do not use BP_SYM.
28535         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28536         (PARMS): Do not use macros from bp-asm.h.
28537         (DEST): Likewise.
28538         (SRC): Likewise.
28539         (__stpcpy): Likewise.  Do not use BP_SYM.
28540         (stpcpy): Do not use BP_SYM in weak_alias.
28541         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28542         "bp-asm.h".
28543         (PARMS): Do not use macros from bp-asm.h.
28544         (DEST): Likewise.
28545         (SRC): Likewise.
28546         (LEN): Likewise.
28547         (__stpncpy): Likewise.  Do not use BP_SYM.
28548         (stpncpy): Do not use BP_SYM in weak_alias.
28549         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28550         (PARMS): Do not use macros from bp-asm.h.
28551         (STR): Likewise.
28552         (CHR): Likewise.
28553         (strchr): Likewise.  Do not use BP_SYM.
28554         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28555         "bp-asm.h".
28556         (PARMS): Do not use macros from bp-asm.h.
28557         (STR): Likewise.
28558         (CHR): Likewise.
28559         (__strchrnul): Likewise.  Do not use BP_SYM.
28560         (strchrnul): Do not use BP_SYM in weak_alias.
28561         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28562         "bp-asm.h".
28563         (PARMS): Do not use macros from bp-asm.h.
28564         (STOP): Likewise.
28565         (strcspn): Do not use BP_SYM.
28566         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28567         "bp-asm.h".
28568         (PARMS): Do not use macros from bp-asm.h.
28569         (STR): Likewise.
28570         (STOP): Likewise.
28571         (strpbrk): Likewise.  Do not use BP_SYM.
28572         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28573         "bp-asm.h".
28574         (PARMS): Do not use macros from bp-asm.h.
28575         (STR): Likewise.
28576         (CHR): Likewise.
28577         (strrchr): Likewise.  Do not use BP_SYM.
28578         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28579         (PARMS): Do not use macros from bp-asm.h.
28580         (SKIP): Likewise.
28581         (strspn): Do not use BP_SYM.
28582         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28583         (PARMS): Do not use macros from bp-asm.h.
28584         (STR): Likewise.
28585         (DELIM): Likewise.
28586         (SAVE): Likewise.
28587         (FUNCTION): Likewise.  Do not use BP_SYM.
28588         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28589         aliases.
28590         (strtok_r): Likewise.
28591         (__GI___strtok_r): Likewise.
28592         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28593         (PARMS): Do not use macros from bp-asm.h.
28594         (S1): Likewise.
28595         (S2): Likewise.
28596         (SIZE): Likewise.
28597         (__mpn_sub_n): Do not use BP_SYM.
28598         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28599         "bp-asm.h".
28600         (PARMS): Do not use macros from bp-asm.h.
28601         (S1): Likewise.
28602         (SIZE): Likewise.
28603         (__mpn_submul_1): Do not use BP_SYM.
28604         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28605         <bp-sym.h>.
28606         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28607         and <bp-asm.h>.
28608         (PARMS): Do not use macros from bp-asm.h.
28609         (FLAGS): Likewise.
28610         (PTID): Likewise.
28611         (TLS): Likewise.
28612         (CTID): Likewise.
28613         (__clone): Do not use BP_SYM.
28614         (clone): Do not use BP_SYM in weak_alias.
28615         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28616         and <bp-asm.h>.
28617         (PARMS): Do not use macros from bp-asm.h.
28618         (LEN): Likewise.
28619         (__mmap64): Do not use BP_SYM.
28620         (mmap64): Do not use BP_SYM in weak_alias.
28621         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28622         <bp-sym.h> and <bp-asm.h>.
28623         (PARMS): Do not use macros from bp-asm.h.
28624         (__posix_fadvise64_l64): Do not use BP_SYM.
28625         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28626         (PARMS): Do not use macros from bp-asm.h.
28627         (NSOPS): Likewise.
28628         (semtimedop): Do not use BP_SYM.
28629         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28630         and <bp-asm.h>.
28632 2013-02-21  Allan McRae  <allan@archlinux.org>
28634         * manual/message.texi (Charset conversion in gettext):
28635         Move @end statement to beginning of line.
28637 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28640         static.
28641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28642         Likewise.
28644         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28645         (denorm): Likewise.
28646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28649 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28651         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28652         tail-call to the resolved function if pltexit isn't needed.
28654 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28657         or Y being zero as being unlikely.
28658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28659         Likewise.
28661 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28663         * manual/nss.texi (System Databases and Name Service Switch):
28664         Remove frobnicate @pxref.
28666 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28668         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28669         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28671 2013-02-20  Petr Machata  <pmachata@redhat.com>
28673         * elf/elf.h (R_ARM_TARGET1): New macro.
28674         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28675         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28676         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28677         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28678         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28679         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28680         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28681         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28682         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28683         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28684         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28685         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28686         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28687         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28688         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28689         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28690         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28691         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28692         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28693         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28694         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28695         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28696         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28697         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28698         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28699         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28700         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28701         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28702         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28703         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28704         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28705         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28706         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28707         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28708         (R_ARM_THM_GOT_BREL12): Likewise.
28709         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28710         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28711         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28712         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28713         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28714         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28715         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28716         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28717         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28719 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28721         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28722         __attribute_used__ to __attribute__ ((unused)).
28724 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28726         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28727         powerpc mpa.c.
28728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28729         comment formatting.
28730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28732 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28734         [BZ #13550]
28735         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28736         Remove macro.
28737         (ENTER): Remove both macro definitions.
28738         (LEAVE): Likewise.
28739         (CHECK_BOUNDS_LOW): Likewise.
28740         (CHECK_BOUNDS_HIGH): Likewise.
28741         (CHECK_BOUNDS_BOTH): Likewise.
28742         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28743         (RETURN_BOUNDED_POINTER): Likewise.
28744         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28745         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28746         (POP_ERRNO_LOCATION_RETURN): Likewise.
28747         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28748         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28749         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28750         macros.
28751         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28752         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28753         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28754         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28755         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28756         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28757         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28758         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28759         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28760         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28761         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28762         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28763         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28764         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28765         removed macros.
28766         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28767         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28768         macros.
28769         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28770         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28771         * sysdeps/i386/i586/memset.S (memset): Likewise.
28772         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28773         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28774         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28775         macros.
28776         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28777         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28778         Change uses of L(2) to L(out).
28779         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28780         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28781         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28782         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28783         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28784         removed macros.
28785         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28786         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28787         macros.
28788         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28789         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28790         (RETURN): Do not use macro LEAVE.
28791         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28792         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28793         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28794         * sysdeps/i386/i686/memset.S (memset): Likewise.
28795         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28796         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28797         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28798         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28799         Likewise.
28800         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28801         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28802         L(1_2) and L(1_3) into L(1).
28803         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28804         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28805         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28806         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28807         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28808         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28809         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28810         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28811         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28812         macros.
28813         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28814         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28815         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28816         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28817         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28818         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28819         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28820         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28821         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28822         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28823         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28824         * sysdeps/i386/strspn.S (strspn): Likewise.
28825         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28826         conditional code.
28827         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28828         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28829         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28830         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28831         L(1_3) into L(1_1).
28832         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28833         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28834         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28835         macros.
28836         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28838 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
28840         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28841         macro.
28843 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28845         * math/atest-exp.c (exp_mpn): Remove ROUND.
28846         * math/atest-exp2.c (exp_mpn): Likewise.
28847         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28849         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28850         * stdlib/tst-tls-atexit-lib.c: Likewise.
28851         * stdlib/tst-tls-atexit.c: Likewise.
28853 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28855         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28856         and __attribute_alloc_size__.
28858 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28860         * include/programs/xmalloc.h: Change __attribute_alloc_size to
28861         __attribute_alloc_size__.
28862         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28863         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28865 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28867         * include/programs/xmalloc.h: New file.
28868         * catgets/gencat.c: Include it.
28869         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28870         * elf/pldd.c: Likewise.
28871         * iconv/iconv_charmap.c: Likewise.
28872         * iconv/iconvconfig.c: Likewise.
28873         * iconv/strtab.c: Likewise.
28874         * locale/programs/locale.c: Likewise.
28875         * locale/programs/localedef.h: Likewise.
28876         * locale/programs/simple-hash.c: Likewise.
28877         * nscd/nscd.h: Likewise.
28878         * nss/makedb.c: Likewise.
28879         * sysdeps/generic/ldconfig.h: Likewise.
28881 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28883         * Versions.def: Add GLIBC_2.18.
28884         * include/link.h (struct link_map): New member l_tls_dtor_count.
28885         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28886         (__call_tls_dtors): Likewise.
28887         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28888         __cxa_thread_atexit_impl.
28889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28890         Likewise.
28891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28892         Likewise.
28893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28894         Likewise.
28895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28896         Likewise.
28897         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28899         Likewise.
28900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28901         Likewise.
28902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28904         Likewise.
28905         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28906         (tests): Add test case tst-tls-atexit.
28907         (modules-names): Add shared library for tst-tls-atexit.
28908         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28909         (GLIBC_PRIVATE): Add __call_tls_dtors.
28910         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28911         for libstdc++.
28912         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28913         * stdlib/tst-tls-atexit.c: New test case.
28914         * stdlib/tst-tls-atexit-lib.c: New test case.
28916         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28918         * elf/Versions (ld): Add _dl_find_dso_for_object.
28919         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28920         * elf/dl-open.c (_dl_find_dso_for_object): New function.
28921         (dl_open_worker): Use _dl_find_dso_for_object.
28922         * elf/dl-sym.c (do_sym): Likewise.
28923         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28925 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28927         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28928         Syntactic changes only.
28929         (_dl_runtime_profile): Do a tail-call to the resolved function.
28931 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
28933         [BZ #13550]
28934         * sysdeps/x86_64/bp-asm.h: Remove file.
28935         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28936         <bp-sym.h> and <bp-asm.h>.
28937         (__clone): Do not use BP_SYM.
28938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28939         <bp-sym.h> and <bp-asm.h>.
28940         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28941         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28942         "bp-asm.h".
28943         (_setjmp): Do not use BP_SYM.
28944         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28945         "bp-asm.h".
28946         (setjmp): Do not use BP_SYM.
28947         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28948         libc_hidden_def.
28949         (mempcpy): Do not use BP_SYM in weak_alias.
28950         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28951         "bp-asm.h".
28952         (strchr): Do not use BP_SYM.
28953         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28954         "bp-asm.h".
28955         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28956         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28957         (_start): Do not use BP_SYM.
28958         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28959         "bp-asm.h".
28960         (strcat): Do not use BP_SYM.
28961         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28962         "bp-asm.h".
28963         (STRCMP): Do not use BP_SYM.
28964         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28965         "bp-asm.h".
28966         (STRCPY): Do not use BP_SYM.
28967         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28968         "bp-asm.h".
28969         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28970         "bp-asm.h".
28971         (FUNCTION): Do not use BP_SYM.
28972         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28973         weak_alias.
28974         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28976 2013-02-17  Andreas Jaeger  <aj@suse.de>
28978         * time/Versions: Sort entries.
28979         * string/Versions: Likewise.
28980         * resolv/Versions: Likewise.
28981         * posix/Versions: Likewise.
28982         * iconv/Versions: Likewise.
28983         * elf/Versions: Likewise.
28984         * wcsmbs/Versions: Likewise.
28986 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28988         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28989         loop termination condition.
28991         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28992         variable to calculate EZ.
28993         (__sqr): Likewise.
28995         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28996         the lower precision input.
28998 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29000         [BZ #13550]
29001         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29002         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29003         (run-via-rtld-prefix): Do not handle %-bp tests.
29004         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29005         (all-object-suffixes): Remove .ob.
29006         (bppfx): Remove variable.
29007         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29008         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29009         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29010         [$(build-bounded) = yes] (libtype.ob): Likewise.
29011         * Makerules (elide-routines.ob): Remove variable.
29012         (do-tests-clean): Do not handle *-bp.out.
29013         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29014         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29015         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29016         (tests): Do not include $(tests-bp.out).
29017         (xtests): Do not include $(xtests-bp.out).
29018         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29019         [$(build-bounded) = yes] ($(addprefix
29020         $(objpfx),$(binaries-bounded))): Remove rule.
29021         ($(objpfx)%-bp.out): Remove rule.
29022         * config.make.in (build-bounded): Remove variable.
29023         * crypt/Makefile [$(build-bounded) = yes]
29024         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29025         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29026         append to variable.
29027         [$(build-bounded) = yes] (install-lib): Likewise.
29028         [$(build-bounded) = yes] (generated): Likewise.
29029         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29030         Remove rule.
29031         * intl/Makefile [$(build-bounded) = yes]
29032         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29033         * math/Makefile [$(build-bounded) = yes]
29034         ($(tests:%=$(objpfx)%-bp): Likewise.
29035         * misc/Makefile [$(build-bounded) = yes]
29036         ($(objpfx)tst-tsearch-bp): Likewise.
29037         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29038         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29039         Remove dependency.
29040         * string/Makefile (o-objects.ob): Remove variable.
29041         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29042         (CFLAGS-.ob): Remove variable.
29043         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29044         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29045         both definitions of variable.
29046         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29047         (ASFLAGS-.ob): Remove variable.
29049 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29051         [BZ #13550]
29052         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29053         Remove __BOUNDED_POINTERS__ from condition.
29054         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29055         * string/bits/string2.h [!__NO_STRING_INLINES &&
29056         !__BOUNDED_POINTERS__]: Likewise.
29057         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29058         Likewise.
29059         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29060         Remove conditional code.
29061         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29062         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29063         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29064         condition.
29066         [BZ #13550]
29067         * csu/libc-start.c: Do not include <bp-sym.h>.
29068         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29069         * elf/dl-open.c: Do not include <bp-sym.h>.
29070         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29071         * math/fegetenv.c: Do not include <bp-sym.h>.
29072         (fegetenv): Do not use BP_SYM in versioned symbols.
29073         * nptl/sysdeps/pthread/bits/libc-lockP.h
29074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29075         <bp-sym.h>.
29076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29077         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29079         (__pthread_mutex_destroy): Likewise.
29080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29081         (__pthread_mutex_lock): Likewise.
29082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29083         (__pthread_mutex_trylock): Likewise.
29084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29085         (__pthread_mutex_unlock): Likewise.
29086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29087         (__pthread_mutexattr_init): Likewise.
29088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29089         (__pthread_mutexattr_destroy): Likewise.
29090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29091         (__pthread_mutexattr_settype): Likewise.
29092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29093         (__pthread_rwlock_init): Likewise.
29094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29095         (__pthread_rwlock_destroy): Likewise.
29096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29097         (__pthread_rwlock_rdlock): Likewise.
29098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29099         (__pthread_rwlock_tryrdlock): Likewise.
29100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29101         (__pthread_rwlock_wrlock): Likewise.
29102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29103         (__pthread_rwlock_trywrlock): Likewise.
29104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29105         (__pthread_rwlock_unlock): Likewise.
29106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29107         (__pthread_key_create): Likewise.
29108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29109         (__pthread_setspecific): Likewise.
29110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29111         (__pthread_getspecific): Likewise.
29112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29113         Likewise.
29114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29115         (_pthread_cleanup_push_defer): Likewise.
29116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29117         (_pthread_cleanup_pop_restore): Likewise.
29118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29119         (pthread_setcancelstate): Likewise.
29120         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29121         <bp-sym.h>.
29122         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29123         (memchr): Do not use BP_SYM in weak_alias.
29124         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29125         (fegetenv): Do not use BP_SYM in versioned symbols.
29126         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29127         (fesetenv): Do not use BP_SYM in versioned symbols.
29128         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29129         (feupdateenv): Do not use BP_SYM in versioned symbols.
29130         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29131         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29132         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29133         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29134         (open64): Do not use BP_SYM in weak_alias.
29135         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29136         (fegetenv): Do not use BP_SYM in versioned symbols.
29137         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29138         (fesetenv): Do not use BP_SYM in versioned symbols.
29139         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29140         (feupdateenv): Do not use BP_SYM in versioned symbols.
29141         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29142         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29143         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29144         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29145         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29146         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29147         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29148         <bp-sym.h>.
29149         (__libc_start_main): Do not use BP_SYM.
29151 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29154         redundant return line.
29155         (norm): Likewise.
29156         (denorm): Likewise.
29157         (dbl_mp): Likewise.
29158         (sub_magnitudes): Likewise.
29159         (__add): Likewise.
29160         (__sub): Likewise.
29161         (__mul): Likewise.
29162         (__inv): Likewise.
29163         (__dvd): Likewise.
29164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29165         (norm): Likewise.
29166         (denorm): Likewise.
29167         (dbl_mp): Likewise.
29168         (sub_magnitudes): Likewise.
29169         (__add): Likewise.
29170         (__sub): Likewise.
29171         (__mul): Likewise.
29172         (__inv): Likewise.
29173         (__dvd): Likewise.
29175         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29176         instead of __mul.
29177         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29178         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29179         (cc32): Likewise.
29181         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29182         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29184         of __mul for squares.
29185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29186         function
29187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29188         Likewise.
29189         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29190         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29192 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29194         [BZ #13550]
29195         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29196         code.
29197         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29198         prototype or function definition.  Rename ubp_* variables and
29199         parameters.  Remove argv definitions conditional on
29200         [__BOUNDED_POINTERS__].
29201         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29202         * elf/dl-runtime.c (_dl_fixup): Likewise.
29203         * include/set-hooks.h (RUN_HOOK): Likewise.
29204         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29205         definition.
29206         * string/strcpy.c (strcpy): Do not use __unbounded.
29207         * sysdeps/generic/frame.h (struct layout): Likewise.
29208         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29209         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29210         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29211         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29212         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29213         (__backtrace): Likewise.
29214         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29215         use __ptrvalue.
29216         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29217         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29218         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29219         Likewise.
29220         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29221         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29222         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29223         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29224         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29225         Do not use __unbounded.
29226         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29227         Rename __unboundedrlimits parameter to rlimits in prototype.
29228         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29229         Do not use __unbounded.
29230         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29231         not use __ptrvalue.
29232         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29233         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29234         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29235         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29236         __ptrvalue or __unbounded.
29237         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29238         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29239         use __unbounded.
29240         (__new_msgctl): Do not use __ptrvalue.
29241         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29242         __unbounded.
29243         (__libc_msgrcv): Do not use __ptrvalue.
29244         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29245         startup_info): Do not use __unbounded.
29246         (__libc_start_main): Likewise.  Rename ubp_* variables and
29247         parameters.  Remove argv definitions conditional on
29248         [__BOUNDED_POINTERS__].
29249         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29250         __ptrvalue.
29251         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29252         use __unbounded.
29253         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29254         or __ptrvalue.
29255         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29256         use __unbounded.
29257         (__new_shmctl): Do not use __ptrvalue.
29258         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29259         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29260         Likewise.
29261         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29262         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29263         (__libc_sigaction): Likewise.
29264         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29265         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29266         Likewise.
29267         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29269 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29271         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29273         * string/mempcpy.c: Implement by calling memcpy.
29275 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29277         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29279         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29280         evaluation.
29282         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29283         values in the mantissa.
29285         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29286         minimize writes to Z.
29287         (sub_magnitudes): Simplify code a bit.
29289 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29291         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29292         from the message.  The linker prefixes all warnings with that already.
29294 2013-02-12  Andreas Schwab  <schwab@suse.de>
29296         [BZ #15078]
29297         * posix/regexec.c (extend_buffers): Add parameter min_len.
29298         (check_matching): Pass minimum needed length.
29299         (clean_state_log_if_needed): Likewise.
29300         (get_subexp): Likewise.
29301         * posix/Makefile (tests): Add bug-regex34.
29302         (bug-regex34-ENV): Define.
29303         * posix/bug-regex34.c: New file.
29305         [BZ #11561]
29306         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29307         elements compare against the byte sequence of it, not its name.
29308         * posix/Makefile (tests): Add bug-regex35.
29309         (bug-regex35-ENV): Define.
29310         * posix/bug-regex35.c: New file.
29312 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29314         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29315         comment.
29316         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29317         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29318         (CHECK_EOL): Add undef.
29320 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29322         * bits/stdlib-bsearch.h: New file.
29323         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29324         * stdlib/stdlib.h: Likewise.
29326 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29328         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29329         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29330         declaration.
29331         * manual/search.texi (Array Search Function): Add missing const in
29332         lfind prototype.
29333         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29334         declaration to use rlim_t.
29335         (Basic Scheduling Functions): Remove erroneous const from
29336         sched_getparam prototype.  Remove erroneous * from
29337         sched_get_priority_max and sched_get_priority_min prototypes.
29338         (Resource Usage): Fix summary @comment on vtimes to refer to
29339         sys/vtimes.h rather than vtimes.h.
29340         Add missing *s in vtimes prototype.
29341         (Limits on Resources): Fix ulimit prototype to return long int.
29342         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29343         prototypes to use long int rather than double.
29344         (BSD Random): Fix initstate and setstate to use char *, not void *.
29345         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29346         prototype to make second argument 'struct aiocb64 *const[]'.
29347         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29348         (Status of AIO Operations): Remove erroneous const in aio_return and
29349         aio_return64 prototypes.
29350         (Synchronizing I/O): Fix sync prototype to return void.
29351         * manual/startup.texi (Suboptions): Remove an erroneous const in
29352         getsubopt prototype.
29353         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29354         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29355         use size_t rather than int.
29356         (Scanning All Users): Likewise for getpwent_r.
29357         (Setting Groups): Add missing const to setgroups prototype.
29358         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29359         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29360         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29361         'const void *' rather than 'const char *'.
29362         (Host Address Functions): Likewise for inet_ntop.
29363         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29364         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29365         ssize_t for return value.
29366         (Sending Data): Likewise for send, sendto, sendmsg.
29367         (Socket Option Functions): Add a missing const in setsockopt prototype.
29368         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29369         use wchar_t for the argument.
29370         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29371         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29372         take no arguments.
29373         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29374         double/float/long double for second argument.
29375         Fix return types of significand, significandf, significandl.
29376         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29377         argument in fchmod prototype.
29378         (File Owner): Use uid_t and gid_t in fchown prototype.
29379         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29380         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29381         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29382         use 'const struct dirent **' as argument types to CMP function pointer
29383         argument.
29384         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29385         (File Times): Fix summary magic @comment for struct utimbuf and utime
29386         to refer to utime.h, not time.h.
29387         * manual/string.texi (Argz Functions): Add missing const in
29388         argz_extract and argz_next prototypes.
29389         (Finding Tokens in a String): Likewise for basename.
29390         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29391         (Copying and Concatenation): Fix typo in wmemmove prototype.
29392         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29393         (Signal Stack): Remove erroneous const in sigstack prototype.
29394         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29395         prototype.
29396         (Simple Calendar Time): Likewise for stime.
29397         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29398         prototype.
29399         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29400         say sys/sysctl.h instead.
29401         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29402         and vsyslog prototypes.
29404 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29406         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29407         Remove.
29409 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29411         * misc/sys/mman.h: Fix typo in mremap comment.
29413 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29415         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29416         the '\0' terminator.
29418 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29420         [BZ #13550]
29421         * debug/segfault.c: Don't include <bp-checks.h>.
29422         * sysdeps/generic/bp-checks.h: Remove file.
29423         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29424         (__GETDENTS): Don't use CHECK_N.
29425         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29426         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29427         (__getgroups): Don't use CHECK_N.
29428         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29429         (setgroups): Don't use CHECK_N.
29430         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29431         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29432         (__libc_msgrcv): Don't use CHECK_N.
29433         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29434         (__libc_msgsnd): Don't use CHECK_N.
29435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29436         <bp-checks.h>.
29437         (__libc_pread): Don't use CHECK_N.
29438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29439         include <bp-checks.h>.
29440         (__libc_pread64): Don't use CHECK_N.
29441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29442         include <bp-checks.h>.
29443         (__libc_pwrite): Don't use CHECK_N.
29444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29445         include <bp-checks.h>.
29446         (__libc_pwrite64): Don't use CHECK_N.
29447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29448         <bp-checks.h>.
29449         (__libc_pread): Don't use CHECK_N.
29450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29451         include <bp-checks.h>.
29452         (__libc_pread64): Don't use CHECK_N.
29453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29454         include <bp-checks.h>.
29455         (__libc_pwrite): Don't use CHECK_N.
29456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29457         include <bp-checks.h>.
29458         (__libc_pwrite64): Don't use CHECK_N.
29459         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29460         (do_pread): Don't use CHECK_N.
29461         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29462         (do_pread64): Don't use CHECK_N.
29463         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29464         (do_pwrite): Don't use CHECK_N.
29465         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29466         (do_pwrite64): Don't use CHECK_N.
29467         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29468         (__libc_readv): Don't use CHECK_N.
29469         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29470         (semop): Don't use CHECK_N.
29471         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29472         <bp-checks.h>.
29473         (semtimedop): Don't use CHECK_N.
29474         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29475         (__libc_pread): Don't use CHECK_N.
29476         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29477         <bp-checks.h>.
29478         (__libc_pread64): Don't use CHECK_N.
29479         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29480         <bp-checks.h>.
29481         (__libc_pwrite): Don't use CHECK_N.
29482         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29483         <bp-checks.h>.
29484         (__libc_pwrite64): Don't use CHECK_N.
29485         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29486         <bp-checks.h>.
29487         (__libc_msgrcv): Don't use CHECK_N.
29488         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29489         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29490         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29491         (__libc_writev): Don't use CHECK_N.
29493 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29495         * string/strcpy.c: Removed unused variable.
29497         * Makeconfig (+sysdep-includes): Define with := rather than =.
29498         Use an existing include/ subdir of each sysdeps dir before it.
29500 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29502         * nscd/connection.c (register_traced_file): Comment function.
29503         [HAVE_INOTIFY] (union __inev): Define.
29504         [HAVE_INOTIFY] (inotify_check_files): New function.
29505         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29506         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29507         clear_db_cache.
29508         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29510 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29512         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29513         loaded if not already and that a failure is permanent.
29515 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29517         [BZ #15006]
29518         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29519         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29521 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29523         [BZ #13550]
29524         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29525         (CHECK_1_NULL_OK): Likewise.
29526         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29527         (__fxstat): Do not use CHECK_1.
29528         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29529         <bp-checks.h>.
29530         (___fxstat64): Do not use CHECK_1.
29531         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29532         <bp-checks.h>.
29533         (__fxstatat): Do not use CHECK_1.
29534         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29535         <bp-checks.h>.
29536         (__fxstatat64): Do not use CHECK_1.
29537         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29538         <bp-checks.h>.
29539         (__fxstat): Do not use CHECK_1.
29540         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29541         <bp-checks.h>.
29542         (__fxstatat): Do not use CHECK_1.
29543         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29544         <bp-checks.h>.
29545         (__getresgid): Do not use CHECK_1.
29546         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29547         <bp-checks.h>.
29548         (__getresuid): Do not use CHECK_1.
29549         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29550         <bp-checks.h>.
29551         (__lxstat): Do not use CHECK_1.
29552         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29553         <bp-checks.h>.
29554         (__old_msgctl): Do not use CHECK_1.
29555         (__new_msgctl): Likewise.
29556         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29557         <bp-checks.h>.
29558         (__new_setrlimit): Do not use CHECK_1.
29559         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29560         <bp-checks.h>.
29561         (__old_shmctl): Do not use CHECK_1.
29562         (__new_shmctl): Likewise.
29563         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29564         <bp-checks.h>.
29565         (__xstat): Do not use CHECK_1.
29566         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29567         (__lxstat): Do not use CHECK_1.
29568         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29569         <bp-checks.h>.
29570         (___lxstat64): Do not use CHECK_1.
29571         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29572         (__old_msgctl): Do not use CHECK_1.
29573         (__new_msgctl): Likewise.
29574         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29575         <bp-checks.h>.
29576         (__gettimeofday): Do not use CHECK_1.
29577         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29578         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29579         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29580         <bp-checks.h>.
29581         (__gettimeofday): Do not use CHECK_1.
29582         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29583         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29584         (__new_shmctl): Do not use CHECK_1.
29585         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29586         <bp-checks.h>.
29587         (do_sigtimedwait): Do not use CHECK_1.
29588         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29589         <bp-checks.h>.
29590         (do_sigwaitinfo): Do not use CHECK_1.
29591         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29592         <bp-checks.h>.
29593         (msgctl): Do not use CHECK_1.
29594         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29595         <bp-checks.h>.
29596         (shmctl): Do not use CHECK_1.
29597         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29598         (ustat): Do not use CHECK_1.
29599         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29600         <bp-checks.h>.
29601         (__fxstat): Do not use CHECK_1.
29602         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29603         <bp-checks.h>.
29604         (__fxstatat): Do not use CHECK_1.
29605         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29606         <bp-checks.h>.
29607         (__lxstat): Do not use CHECK_1.
29608         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29609         <bp-checks.h>.
29610         (__xstat): Do not use CHECK_1.
29611         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29612         (__xstat): Do not use CHECK_1.
29613         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29614         (___xstat64): Do not use CHECK_1.
29616         [BZ #13550]
29617         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29618         definitions.
29619         (CHECK_BOUNDS_HIGH): Likewise.
29620         * string/strcpy.c: Do not include <bp-checks.h>.
29621         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29623 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29625         * nscd/nscd-client.h (__nscd_drop_map_ref):
29626         Add __attribute__ ((unused)).
29627         * nis/nss-nisplus.h (niserr2nss): Likewise.
29629         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29630         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29632         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29633         Remove inline keyword.
29634         * include/rounding-mode.h (round_away): Likewise.
29635         * libio/wfileops.c (adjust_wide_data): Likewise.
29636         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29637         (__m128i_strloadu_tolower): Likewise.
29638         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29639         (__m128i_strloadu_tolower): Likewise.
29640         * time/mktime.c (ydhms_diff): Likewise.
29641         * locale/elem-hash.h (elem_hash): Likewise.
29642         * locale/setlocale.c (setdata): Likewise.
29643         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29644         (re_string_wchar_at): Likewise.
29645         (bitset_not, bitset_merge, bitset_mask): Likewise.
29646         [!(__GNUC__ > 3)] (inline): Remove macro.
29647         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29648         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29649         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29650         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29651         * string/memcmp.c (memcmp_bytes): Likewise.
29652         * locale/programs/locarchive.c (compute_hashval): Likewise.
29653         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29654         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29655         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29656         * nss/getent.c (print_rpc, print_protocols): Likewise.
29657         (print_passwd, print_group, print_aliases): Likewise.
29658         * nis/nss-nisplus.h (niserr2nss): Likewise.
29659         * nscd/connections.c (restart_p): Likewise.
29660         Change return type to bool.
29662 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29664         * Makeconfig (all-Depend-files): Add existing
29665         $(sorted-subdirs:=/Depend) files.
29666         (all-subdirs): Remove nss.
29667         * sysdeps/unix/inet/Subdirs: Add it here instead.
29668         * hesiod/Depend: New file.
29670         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29671         instead of calling alloca.
29673         * io/lseek.c (__lseek): Rename to __libc_lseek.
29674         Define __lseek as an alias.
29676         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29678 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29680         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29681         else clause and remove check for non-standard endianness.
29683 2013-02-04  David S. Miller  <davem@davemloft.net>
29685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29687 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29689         [BZ #13550]
29690         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29691         (__ubp_memchr): Remove prototype.
29692         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29693         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29694         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29695         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29696         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29697         Remove alias.
29698         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29699         (__ubp_memchr): Likewise.
29700         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29701         (__ubp_memchr): Likewise.
29702         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29703         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29704         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29705         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29706         CHECK_STRING.
29707         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29708         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29709         (__getcwd): Do not use CHECK_STRING.
29710         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29711         <bp-checks.h>.
29712         (__real_chown): Do not use CHECK_STRING.
29713         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29714         <bp-checks.h>.
29715         (fchownat): Do not use CHECK_STRING.
29716         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29717         CHECK_STRING.
29718         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29719         <bp-checks.h>.
29720         (__lchown): Do not use CHECK_STRING.
29721         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29722         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29723         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29724         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29726         include <bp-checks.h>.
29727         (truncate64): Do not use CHECK_STRING.
29728         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29729         <bp-checks.h>.
29730         (__real_chown): Do not use CHECK_STRING.
29731         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29732         <bp-checks.h>.
29733         (__lchown): Do not use CHECK_STRING.
29734         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29735         <bp-checks.h>.
29736         (__chown): Do not use CHECK_STRING.
29737         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29738         <bp-checks.h>.
29739         (truncate64): Do not use CHECK_STRING.
29740         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29741         Likewise.
29742         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29743         (__xmknod): Do not use CHECK_STRING.
29744         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29745         <bp-checks.h>.
29746         (__xmknodat): Do not use CHECK_STRING.
29747         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29748         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29750 2013-02-04  Andreas Schwab  <schwab@suse.de>
29752         [BZ #14142]
29753         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29754         * include/netdb.h: Likewise for h_errno.
29755         * elf/tst-stackguard1.c: Include <tls.h>.
29757 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29759         * elf/link.h (struct link_map): Extend the l_addr comment.
29760         * include/link.h (struct link_map): Likewise.
29762 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29764         [BZ #13550]
29765         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29766         (BOUNDED_1): Remove macro.
29767         * debug/backtrace.c: Don't include <bp-checks.h>.
29768         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29769         (__backtrace): Likewise.
29770         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29771         <bp-checks.h>.
29772         (__backtrace): Don't use BOUNDED_1.
29773         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29774         <bp-checks.h>.
29775         (__backtrace): Don't use BOUNDED_1.
29776         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29777         (__backtrace): Don't use BOUNDED_1.
29778         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29779         (shmat): Don't use BOUNDED_N.
29781 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29783         [BZ #13550]
29784         * sysdeps/generic/bp-start.h: Remove file.
29785         * csu/libc-start.c: Don't include <bp-start.h>.
29786         (LIBC_START_MAIN): Set up __environ directly instead of using
29787         INIT_ARGV_and_ENVIRON.
29788         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29789         <bp-start.h>.
29791         [BZ #13550]
29792         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29793         definitions.
29794         (CHECK_FCNTL): Likewise.
29795         (CHECK_N_PAGES): Likewise.
29797         [BZ #13550]
29798         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29799         definitions.
29800         (CHECK_SIGSET_NULL_OK): Likewise.
29801         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29802         <bp-checks.h>.
29803         (sigpending): Don't use CHECK_SIGSET.
29804         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29805         <bp-checks.h>.
29806         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29807         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29808         <bp-checks.h>.
29809         (do_sigsuspend): Don't use CHECK_SIGSET.
29810         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29811         use CHECK_SIGSET.
29812         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29813         (do_sigwait): Don't use CHECK_SIGSET.
29814         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29815         use CHECK_SIGSET.
29816         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29817         include <bp-checks.h>.
29818         (sigpending): Don't use CHECK_SIGSET.
29819         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29820         include <bp-checks.h>.
29821         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29822         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29823         <bp-checks.h>.
29824         (sigpending): Don't use CHECK_SIGSET.
29825         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29826         <bp-checks.h>.
29827         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29829         [BZ #13550]
29830         * sysdeps/generic/bp-semctl.h: Remove file.
29831         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29832         <bp-checks.h> and <bp-semctl.h>.
29833         (__old_semctl): Don't use CHECK_SEMCTL.
29834         (__new_semctl): Likewise.
29835         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29836         and <bp-semctl.h>.
29837         (__old_semctl): Don't use CHECK_SEMCTL.
29838         (__new_semctl): Likewise.
29839         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29840         <bp-checks.h> and <bp-semctl.h>.
29841         (__old_semctl): Don't use CHECK_SEMCTL.
29842         (__new_semctl): Likewise.
29843         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29844         <bp-checks.h> and <bp-semctl.h>.
29845         (semctl): Don't use CHECK_SEMCTL.
29847         [BZ #13550]
29848         * Makerules (elide-bp-thunks): Remove variable.
29849         (elide-routines.oS): Don't use $(elide-bp-thunks).
29850         (elide-routines.os): Likewise.
29851         (elide-routines.o): Likewise.
29852         (elide-routines.op): Likewise.
29853         (elide-routines.og): Likewise.
29854         (objects): Don't use $(bp-thunks).
29855         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29856         include.
29857         (common-generated): Do not add s-proto-bp.d.
29858         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29859         (int): Likewise.
29860         (typ): Likewise.
29861         Do not generate makefile rules for bounded-pointer thunks.
29862         * sysdeps/generic/bp-thunks.h: Remove file.
29863         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29864         * sysdeps/unix/s-proto-bp.S: Likewise.
29866         [BZ #15062]
29867         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29868         parts of result separately when argument is not close to line from
29869         -i to i and one part of argument is small.
29870         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29871         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29872         * math/libm-test.inc (cacos_test): Add more tests.
29873         (casin_test): Likewise.
29874         (casinh_test): Likewise.
29875         * sysdeps/i386/fpu/libm-test-ulps: Update.
29876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29878 2013-01-31  David S. Miller  <davem@davemloft.net>
29880         * po/de.po: Update from translation team.
29882 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
29884         * time/tzfile.c: Include stdint.h for SIZE_MAX.
29886 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
29888         * configure.in (_AC_PROG_CC_C89): New definition.
29889         * configure: Regenerate.
29891         * configure.in (AC_PROG_CPP): New definition.
29892         * configure: Regenerate.
29894 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29896         * debug/tst-backtrace.h: New file.
29897         * debug/tst-backtrace2.c: Include tst-backtrace.h.
29898         (ret): Remove variable.
29899         (x): Likewise.
29900         (FAIL): Remove macro.
29901         (NO_INLINE): Likewise.
29902         (fn1): Use match function instead of strstr.
29903         * debug/tst-backtrace3.c: Include tst-backtrace.h.
29904         (ret): Remove variable.
29905         (x): Likewise.
29906         (FAIL): Remove macro.
29907         (NO_INLINE): Likewise.
29908         (fn): Use match function instead of strstr.
29909         * debug/tst-backtrace4.c: Include tst-backtrace.h.
29910         (ret): Remove variable.
29911         (x): Likewise.
29912         (FAIL): Remove macro.
29913         (NO_INLINE): Likewise.
29914         (handle_signal): Use match function instead of strstr.
29915         * debug/tst-backtrace5.c: Include tst-backtrace.h.
29916         (ret): Remove variable.
29917         (x): Likewise.
29918         (FAIL): Remove macro.
29919         (NO_INLINE): Likewise.
29920         (handle_signal): Use match function instead of strstr.
29922 2013-01-23  Roland McGrath  <roland@hack.frob.com>
29924         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29926 2013-01-23  David S. Miller  <davem@davemloft.net>
29928         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29929         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29930         argument of CAS if possible.
29931         * sysdeps/sparc/sparc64/bits/atomic.h
29932         (__arch_compare_and_exchange_val_32_acq): Likewise.
29933         (__arch_compare_and_exchange_val_64_acq): Likewise.
29935 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
29937         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29938         * sysdeps/posix/ulimit.c: ... this.
29939         Include <limits.h>.
29940         * sysdeps/unix/bsd/ulimit.c: Remove file.
29942 2013-01-23  Adam Conrad  <adconrad@0c3.net>
29944         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29945         (LDFLAGS-tst-array5): Likewise.
29947 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29949         [BZ #15036]
29950         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29951         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29952         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29953         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29955 2013-01-21  David S. Miller  <davem@davemloft.net>
29957         * sysdeps/sparc/backtrace.c: New file.
29958         * sysdeps/sparc/sparc32/backtrace.h: New file.
29959         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29960         * sysdeps/sparc/sparc64/backtrace.h: New file.
29961         * sysdeps/sparc/sparc64/backtrace.c: Delete.
29962         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29963         -funwind-tables.
29965 2013-01-21  Andreas Schwab  <schwab@suse.de>
29967         [BZ #15020]
29968         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29969         closed its stdout.
29971 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
29973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29974         "mpa2.h".
29975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29977 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
29978             Mark Mitchell  <mark@codesourcery.com>
29979             Tom de Vries  <tom@codesourcery.com>
29980             Paul Pluzhnikov  <ppluzhnikov@google.com>
29982         * debug/tst-backtrace2.c: New file.
29983         * debug/tst-backtrace3.c: Likewise.
29984         * debug/tst-backtrace4.c: Likewise.
29985         * debug/tst-backtrace5.c: Likewise.
29986         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29987         (CFLAGS-tst-backtrace3.c): Likewise.
29988         (CFLAGS-tst-backtrace4.c): Likewise.
29989         (CFLAGS-tst-backtrace5.c): Likewise.
29990         (LDFLAGS-tst-backtrace2): Likewise.
29991         (LDFLAGS-tst-backtrace3): Likewise.
29992         (LDFLAGS-tst-backtrace4): Likewise.
29993         (LDFLAGS-tst-backtrace5): Likewise.
29994         (tests): Add new tests tst-backtrace2, tst-backtrace3,
29995         tst-backtrace4 and tst-backtrace5.
29997 2013-01-18  Anton Blanchard  <anton@samba.org>
29998             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30000         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30001         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30002         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30003         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30005         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30006         "+r" and remove output regs list as redundant.  Add explicit inline
30007         asm to specify register of return val to work around compiler codegen
30008         bug.  Remove (int) cast on return value.  Add return type parameter to
30009         use in macro so that this macro does not truncate return value for
30010         64-bit values.
30011         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30012         pass to INTERNAL_VSYSCALL_NCS.
30013         (INLINE_VSYSCALL): Add 'long int' as return type to
30014         INTERNAL_VSYSCALL_NCS macro invocation.
30015         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30016         INTERNAL_VSYSCALL_NCS macro invocation.
30017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30019 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30021         [BZ #14496]
30022         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30023         Fix application of SIMD FP exception mask.
30025         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30026         mp_no from a power of two.
30027         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30028         __mpexp_twomm1.  Use __pow_mp.
30030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30031         multiplication.
30033 2013-01-17  David S. Miller  <davem@davemloft.net>
30035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30037 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30039         [BZ #15023]
30040         * include/complex.h: Condition contents on [!_COMPLEX_H].
30041         (__kernel_casinhf): New prototype.
30042         (__kernel_casinh): Likewise.
30043         (__kernel_casinhl): Likewise.
30044         * math/Makefile (libm_calls): Add k_casinh.
30045         * math/k_casinh.c: New file.
30046         * math/k_casinhf.c: Likewise.
30047         * math/k_casinhl.c: Likewise.
30048         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30049         finite nonzero arguments.
30050         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30051         finite nonzero arguments.
30052         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30053         finite nonzero arguments.
30054         * math/s_casinh.c: Do not include <float.h>.
30055         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30056         * math/s_casinhf.c: Do not include <float.h>.
30057         (__casinhf): Move code for finite nonzero arguments to
30058         k_casinhf.c.
30059         * math/s_casinhl.c: Do not include <float.h>.
30060         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30061         redefine.
30062         (__casinhl): Move code for finite nonzero arguments to
30063         k_casinhl.c.
30064         * math/libm-test.inc (cacos_test): Add more tests.
30065         * sysdeps/i386/fpu/libm-test-ulps: Update.
30066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30068 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30070         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30071         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30072         [!HAVE_MREMAP]: Remove [defined linux] case.
30073         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30075 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30077         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30079 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30081         * elf/elf.h (R_386_SIZE32): New relocation.
30082         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30083         R_386_SIZE32.
30084         (elf_machine_rela): Likewise.
30085         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30086         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30088 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30090         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30091         (FP_FAST_FMA): Do not define.
30092         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30093         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30094         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30095         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30096         !_SOFT_FLOAT]: Likewise.
30097         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30098         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30099         value.
30100         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30101         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30102         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30103         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30104         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30105         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30106         file.
30108 2013-01-16  Andreas Schwab  <schwab@suse.de>
30110         [BZ #14327]
30111         * include/stdlib.h (__mktemp): Add declaration.
30112         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30113         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30115 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30117         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30118         definitions.
30119         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30120         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30121         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30122         definitions here.
30123         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30124         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30125         definitions.
30126         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30127         and ONE.
30128         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30129         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30130         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30131         definitions.
30132         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30133         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30134         definitions.
30135         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30137         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30139 2013-01-15  David S. Miller  <davem@davemloft.net>
30141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30142         trunc{,f} to libm-sysdep_routes.
30143         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30145         file.
30146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30148         file.
30149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30150         file.
30151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30153         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30154         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30155         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30156         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30157         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30158         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30161         nearbyint{,f} to libm-sysdep_routes.
30162         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30164         New file.
30165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30166         file.
30167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30168         New file.
30169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30170         file.
30171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30173         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30174         file.
30175         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30176         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30177         file.
30178         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30179         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30180         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30182         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30183         libc_feholdexcept and libc_fesetenv.
30185 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30187         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30189 2013-01-14  David S. Miller  <davem@davemloft.net>
30191         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30192         (SPARC_ASM_VIS2_IFUNC): Likewise.
30193         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30195         use of 'siam' instruction.
30196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30197         Likewise.
30198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30199         Likewise.
30200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30201         Likewise.
30202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30203         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30207         file.
30208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30209         file.
30210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30211         file.
30212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30213         file.
30214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30215         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30216         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30217         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30219         new VIS2 routines.
30220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30223         Likewise.
30224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30226         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30229         routines to libm-sysdep_routines.
30230         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30233         fdim/fdimf to libm-sysdep_routines.
30234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30235         file.
30236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30238         file.
30239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30242         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30243         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30244         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30245         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30247 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30249         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30250         to optimize copies.
30252         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30257         local variable MPTWO.
30258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30259         Likewise.
30261 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30263         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30264         GLOB_NOESCAPE.
30266 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30268         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30270 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30272         * manual/pattern.texi (glob_t): Document gl_flags.
30273         (glob64_t): Likewise.
30275 2013-01-11  David S. Miller  <davem@davemloft.net>
30277         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30278         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30279         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30280         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30281         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30282         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30283         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30284         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30285         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30286         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30287         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30288         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30289         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30291         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30292         sparc V9 rather than using V8 code.
30293         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30294         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30296         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30297         Move to...
30298         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30299         Here.
30301 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30303         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30304         not in the main loop.
30305         * configure: Regenerated.
30307 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30309         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30310         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30311         to just #else.
30312         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30313         [!__GLIBC_HAVE_LONG_LONG] case.
30314         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30315         condition to just #else.
30316         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30317         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30318         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30319         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30320         unconditional.
30321         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30322         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30323         #elif condition to just #else.
30324         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30325         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30326         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30327         #elif condition to just #else.
30329 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30331         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30332         (EF_MIPS_ARCH_64): Fix value.
30333         (EF_MIPS_ARCH_32R2): New.
30334         (EF_MIPS_ARCH_64R2): New.
30336 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30338         * Makeconfig (+link-pie-before-libc): New.
30339         (+link-pie-after-libc): Likewise.
30340         (+link-pie-tests): Likewise.
30341         (+link-pie): Rewritten.
30342         (link-before-libc): Remove $(config-LDFLAGS).
30343         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30344         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30345         (config-LDFLAGS): Renamed to ...
30346         (rtld-LDFLAGS): This.
30347         (rtld-tests-LDFLAGS): New macro.
30348         (link-libc-rpath-link): Likewise.
30349         (link-libc-tests-rpath-link): Likewise.
30350         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30351         (link-libc): Prepand $(link-libc-rpath-link).
30352         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30353         (test-program-prefix): New macro.
30354         (test-via-rtld-prefix): Likewise.
30355         (test-program-cmd): Likewise.
30356         (host-test-program-cmd): Likewise.
30357         * Makefile ($(common-objpfx)testrun.sh): Replace
30358         $(run-program-prefix) with $(test-program-prefix).
30359         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30360         $(rtld-LDFLAGS).
30361         ($(common-objpfx)shlib.lds): Likewise.
30362         (build-module-helper): Likewise.
30363         ($(common-objpfx)format.lds): Likewise.
30364         * Rules (binaries-pie-tests): New.
30365         (binaries-pie-notests): Likewise.
30366         (binaries-pie): Rewritten.
30367         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30368         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30369         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30370         (make-test-out): Replace $(host-built-program-cmd) with
30371         $(host-test-program-cmd).
30372         * config.make.in (build-hardcoded-path-in-tests): New variable.
30373         * configure.in (--enable-hardcoded-path-in-tests): New configure
30374         option.
30375         (hardcoded_path_in_tests): New AC_SUBST.
30376         * configure: Regenerated.
30377         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30378         $(built-program-cmd) with $(test-program-cmd).
30379         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30380         (test_program_cmd): This.
30381         * elf/Makefile ($(objpfx)order.out): Run test with
30382         $(test-program-prefix).
30383         ($(objpfx)order2.out): Likewise.
30384         ($(objpfx)tst-initorder.out): Likewise.
30385         ($(objpfx)tst-initorder2.out): Likewise.
30386         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30387         $(test-program-cmd).
30388         ($(objpfx)tst-array1-static.out): Likewise.
30389         ($(objpfx)tst-array2.out): Likewise.
30390         ($(objpfx)tst-array3.out): Likewise.
30391         ($(objpfx)tst-array4.out): Likewise.
30392         ($(objpfx)tst-array5.out): Likewise.
30393         ($(objpfx)tst-array5-static.out): Likewise.
30394         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30395         $(test-program-cmd).
30396         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30397         $(run-program-prefix) with $(test-program-prefix).
30398         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30399         (test_program_prefix): This.
30400         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30401         $(run-program-prefix) with $(test-program-prefix).
30402         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30403         (test_program_prefix): This.
30404         * iconvdata/tst-tables.sh: Likewise.
30405         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30406         $(run-program-prefix) with $(test-program-prefix).
30407         ($(objpfx)tst-translit.out): Likewise.
30408         ($(objpfx)tst-gettext2.out): Likewise.
30409         ($(objpfx)tst-gettext4.out): Likewise.
30410         ($(objpfx)tst-gettext6.out): Likewise.
30411         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30412         (test_program_prefix): This.
30413         * intl/tst-gettext2.sh: Likewise.
30414         * intl/tst-gettext4.sh  Likewise.
30415         * intl/tst-gettext6.sh: Likewise.
30416         * intl/tst-translit.sh: Likewise.
30417         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30418         with $(test-program-cmd).
30419         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30420         $(run-program-prefix) with $(test-program-prefix).
30421         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30422         (test_program_prefix): This.
30423         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30424         $(run-program-prefix) with $(test-program-prefix).
30425         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30426         (test_program_prefix): This.
30427         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30428         * posix/Makefile ($(objpfx)globtest.out): Replace
30429         $(run-via-rtld-prefix) and $(test-wrapper) with
30430         $(test-program-prefix) and $(test-via-rtld-prefix).
30431         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30432         $(test-program-prefix).
30433         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30434         $(host-test-program-cmd).
30435         (tst-spawn-ARGS): Likewise.
30436         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30437         $(test-program-prefix).
30438         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30439         (test_via_rtld_prefix): This.
30440         (test_wrapper): Renamed to ...
30441         (test_program_prefix): This.
30442         (run_program_prefix): Replaced by test_program_prefix.
30443         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30444         (test_program_prefix): This.
30445         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30446         with $(host-test-program-cmd).
30447         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30448         $(run-program-prefix) with $(test-program-prefix).
30449         ($(objpfx)tst-printf.out): Likewise.
30450         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30451         $(test-program-cmd).
30452         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30453         (test_program_prefix): This.
30454         * stdio-common/tst-unbputc.sh: Likewise.
30455         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30456         $(run-program-prefix) with $(test-program-prefix).
30457         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30458         (test_program_prefix): This.
30459         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30460         $(built-program-cmd) with $(test-program-cmd).
30462 2013-01-11  Andreas Jaeger  <aj@suse.de>
30464         [BZ #15003]
30465         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30466         value. Sync with Linux 3.7.
30468 2013-01-10  David S. Miller  <davem@davemloft.net>
30470         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30471         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30472         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30474 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30476         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30477         never set.
30478         * configure: Regenerated.
30480 2013-01-10  David S. Miller  <davem@davemloft.net>
30482         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30483         sparc V9 rather than using V8 code.
30484         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30485         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30487 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30489         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30490         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30491         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30492         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30493         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30494         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30495         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30496         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30497         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30498         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30499         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30500         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30501         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30502         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30503         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30504         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30505         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30506         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30507         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30508         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30509         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30510         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30511         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30512         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30513         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30514         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30515         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30517 2013-01-10  David S. Miller  <davem@davemloft.net>
30519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30521 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30523         * posix/Makefile (tests-static): New variable.
30524         (tests): Add $(tests-static).
30525         (tst-exec-static-ARGS): New variable.
30526         (tst-spawn-static-ARGS): Likewise.
30527         * posix/tst-exec-static.c: New file.
30528         * posix/tst-spawn-static.c: Likewise.
30529         * posix/tst-exec.c: Support run directly.
30530         * posix/tst-spawn.c: Likewise.
30532 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30534         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30535         long.
30536         * math/bits/mathcalls.h (llrint): Likewise.
30537         (llround): Likewise.
30538         * stdlib/stdlib.h (struct drand48_data): Likewise.
30539         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30540         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30541         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30542         Likewise.
30543         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30544         Likewise.
30545         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30546         (elf_greg_t): Likewise.
30547         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30548         (__jmp_buf): Likewise.
30549         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30550         definitions.
30551         (llrint): Likewise, for all definitions.
30552         (llrintl): Likewise.
30554         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30555         Remove [__GNUC__] condition.
30556         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30557         condition to just [__USE_ISOC99].
30558         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30560 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30562         [BZ #14200]
30563         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30564         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30565         defined.
30566         (_POSIX_V6_ILP32_OFF32): Likewise.
30567         (_XBS5_ILP32_OFF32): Likewise.
30568         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30569         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30571 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30573         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30575         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30576         doubles __mpexp_twomm1.  Adjust usage.
30577         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30578         Remove.
30580 2013-01-10  Andreas Schwab  <schwab@suse.de>
30582         [BZ #14964]
30583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30584         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30586 2013-01-09  David S. Miller  <davem@davemloft.net>
30588         [BZ #15003]
30589         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30590         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30591         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30592         (TCP_FASTOPEN): Define.
30593         (tcp_repair_opt): New structure.
30594         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30595         enum values.
30596         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30597         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30598         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30599         (tcp_cookie_transactions): New structure.
30601 2013-01-09  Anton Blanchard  <anton@samba.org>
30603         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30604         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30605         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30606         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30608 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30610         * include/features.h (__USE_ANSI): Remove.
30612 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30614         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30616         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30618 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30620         * sysdeps/s390/fpu/libm-test-ulps: Update.
30622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30624         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30625         (__acr): Likewise.
30626         (__cpy): Likewise.
30627         (norm): Likewise.
30628         (denorm): Likewise.
30629         (__mp_dbl): Likewise.
30630         (__dbl_mp): Likewise.
30631         (add_magnitudes): Likewise.
30632         (sub_magnitudes): Likewise.
30633         (__add): Likewise.
30634         (__sub): Likewise.
30635         (__mul): Likewise.
30636         (__inv): Likewise.
30637         (__dvd): Likewise.
30638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30639         (__acr): Likewise.
30640         (__cpy): Likewise.
30641         (norm): Likewise.
30642         (denorm): Likewise.
30643         (__mp_dbl): Likewise.
30644         (__dbl_mp): Likewise.
30645         (add_magnitudes): Likewise.
30646         (sub_magnitudes): Likewise.
30647         (__add): Likewise.
30648         (__sub): Likewise.
30649         (__mul): Likewise.
30650         (__inv): Likewise.
30651         (__dvd): Likewise.
30652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30653         (__acr): Likewise.
30654         (__cpy): Likewise.
30655         (norm): Likewise.
30656         (denorm): Likewise.
30657         (__mp_dbl): Likewise.
30658         (__dbl_mp): Likewise.
30659         (add_magnitudes): Likewise.
30660         (sub_magnitudes): Likewise.
30661         (__add): Likewise.
30662         (__sub): Likewise.
30663         (__mul): Likewise.
30664         (__inv): Likewise.
30665         (__dvd): Likewise.
30667 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30669         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30670         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30671         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30672         2 && __USE_EXTERN_INLINES]: Likewise.
30674 2013-01-08  Andreas Jaeger  <aj@suse.de>
30676         [BZ# 14985]
30677         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30678         Remove.
30679         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30680         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30682 2013-01-07  Anton Blanchard  <anton@samba.org>
30684         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30685         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30686         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30687         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30688         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30689         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30690         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30691         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30693         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30694         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30695         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30696         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30697         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30698         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30699         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30700         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30701         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30702         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30703         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30704         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30705         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30706         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30707         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30708         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30709         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30710         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30711         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30712         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30713         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30714         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30716         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30717         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30718         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30719         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30720         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30721         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30722         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30723         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30724         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30725         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30726         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30728 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30730         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30731         (__MALLOC_PMT): Likewise.
30732         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30733         [__GNUC__], only on [_LIBC].
30734         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30735         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30736         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30737         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30738         forward declaration.
30739         (realloc_hook_ini): Likewise.
30740         (memalign_hook_ini): Likewise.
30741         (__libc_memalign): Do not use __MALLOC_PMT in variable
30742         declaration.
30743         (__libc_valloc): Likewise.
30744         (__libc_pvalloc): Likewise.
30745         (__libc_calloc): Likewise.
30746         (__posix_memalign): Likewise.
30748         [BZ #14996]
30749         * math/s_casinh.c: Include <float.h>.
30750         (__casinh): Do not do computation with squaring and square root
30751         for large arguments.
30752         * math/s_casinhf.c: Include <float.h>.
30753         (__casinhf): Do not do computation with squaring and square root
30754         for large arguments.
30755         * math/s_casinhl.c: Include <float.h>.
30756         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30757         (__casinhl): Do not do computation with squaring and square root
30758         for large arguments.
30759         * math/libm-test.inc (casin_test): Add more tests.
30760         (casinh_test): Likewise.
30761         * sysdeps/i386/fpu/libm-test-ulps: Update.
30762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30764 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30766         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30767         (__x86_64_raw_data_cache_size): Likewise.
30768         (__x86_64_data_cache_size_half): Likewise.
30769         (__x86_64_raw_data_cache_size_half): Likewise.
30770         (__x86_64_shared_cache_size): Likewise.
30771         (__x86_64_raw_shared_cache_size): Likewise.
30772         (__x86_64_shared_cache_size_half): Likewise.
30773         (__x86_64_raw_shared_cache_size_half): Likewise.
30774         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30775         to ...
30776         (__x86_data_cache_size): This.
30777         (__x86_64_raw_data_cache_size): Renamed to ...
30778         (__x86_raw_data_cache_size): This.
30779         (__x86_64_data_cache_size_half): Renamed to ...
30780         (__x86_data_cache_size_half): This.
30781         (__x86_64_raw_data_cache_size_half): Renamed to ...
30782         (__x86_raw_data_cache_size_half): This.
30783         (__x86_64_shared_cache_size): Renamed to ...
30784         (__x86_shared_cache_size): This.
30785         (__x86_64_raw_shared_cache_size): Renamed to ...
30786         (__x86_raw_shared_cache_size): This.
30787         (__x86_64_shared_cache_size_half): Renamed to ...
30788         (__x86_shared_cache_size_half): This.
30789         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30790         (__x86_raw_shared_cache_size_half): This.
30791         * sysdeps/x86_64/memcpy.S: Updated.
30792         * sysdeps/x86_64/memset.S: Likewise.
30793         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30794         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30795         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30797 2013-01-04  David S. Miller  <davem@davemloft.net>
30799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30801 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30803         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30804         1 to avoid redefinition warning.
30805         (__USE_GNU): Don't define.
30806         (init_signaling_nan): Protoize.
30808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30810 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30812         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30814         (__cpymn): Likewise.
30815         (norm): Remove commented code.
30816         (denorm): Likewise.
30817         (__mp_dbl): Likewise.
30818         (__inv): Likewise.
30819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30820         (__cpymn): Likewise.
30821         (norm): Remove commented code.
30822         (denorm): Likewise.
30823         (__mp_dbl): Likewise.
30824         (__inv): Likewise.
30826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30827         mp_no value for 1.0 and 2.0.
30828         (norm): Use RADIXI instead of radixi.d.
30829         (denorm): Likewise.
30830         (__mul): Use 0.0 instead of zero.d.
30831         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30832         mp_no value for 1.0 and 2.0.
30833         (norm): Use RADIXI instead of radixi.d.
30834         (denorm): Likewise.
30835         (__mul): Use 0.0 instead of zero.d.
30837 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
30839         [BZ #14994]
30840         * math/s_casinh.c (__casinh): Reduce finite argument to first
30841         quadrant then set signs of results at the end.
30842         * math/s_casinhf.c (__casinhf): Likewise.
30843         * math/s_casinhl.c (__casinhl): Likewise.
30844         * math/libm-test.inc (casin_test): Add more tests.
30845         (casinh_test): Likewise.
30846         * sysdeps/i386/fpu/libm-test-ulps: Update.
30847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30849 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30851         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30853         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30855         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30856         declarations.
30857         (denorm): Likewise.
30858         (__mp_dbl): Likewise.
30859         (__inv): Likewise.
30861         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30862         and adjust the header comment.
30864         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30865         variable name from declaration.
30867 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
30869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30870         Initialize COMMON_CPUID_INDEX_7 element.
30871         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30872         (CPUID_RTM): Likewise.
30873         (HAS_RTM): Likewise.
30874         (COMMON_CPUID_INDEX_7): New enum.
30876 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
30878         [BZ #14981]
30879         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30880         size is zero, record memory as freed.
30882 2013-01-03  Andreas Jaeger  <aj@suse.de>
30884         * po/ia.po: Add new Interlingua translation.
30886 2012-01-03  Allan McRae  <allan@archlinux.org>
30888         * locale/programs/localedef.c: Fix description of '--posix' flag.
30890 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
30892         * NEWS: Update dates in second copyright notice.
30893         * README: Update copyright dates in example.
30894         * manual/libc.texinfo: Update copyright dates.
30895         * scripts/test-installation.pl: Update copyright date in --version
30896         output.
30898         * hurd/ctty-input.c: Fix copyright notice formatting.
30899         * hurd/ctty-output.c: Likewise.
30900         * hurd/dtable.c: Likewise.
30901         * hurd/hurd-raise.c: Likewise.
30902         * hurd/hurdprio.c: Likewise.
30903         * hurd/msgportdemux.c: Likewise.
30904         * misc/sys/file.h: Likewise.
30905         * misc/sys/ioctl.h: Likewise.
30906         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30907         * sysdeps/mach/hurd/chdir.c: Likewise.
30908         * sysdeps/mach/hurd/fchdir.c: Likewise.
30909         * sysdeps/mach/hurd/rename.c: Likewise.
30910         * sysdeps/mach/hurd/rmdir.c: Likewise.
30911         * sysdeps/mach/hurd/seekdir.c: Likewise.
30912         * sysdeps/mach/hurd/setsid.c: Likewise.
30913         * sysdeps/posix/wait3.c: Likewise.
30915         * All files with FSF copyright notices: Update copyright dates
30916         using scripts/update-copyrights.
30917         * intl/plural.c: Regenerated.
30918         * locale/programs/charmap-kw.h: Likewise.
30919         * locale/programs/locfile-kw.h: Likewise.
30921 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30923         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30924         four values.
30926         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30927         calculation loop and add branch prediction.
30929         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30930         check access beyond bounds of m1np.
30932         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30933         MPTWO.
30934         (__inv): Remove local variable MPTWO to use the global
30935         constant.
30936         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30937         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30938         variable MPTWO.
30939         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30940         MP3HALFS static const.
30942 2013-01-01  David S. Miller  <davem@davemloft.net>
30944         * po/ca.po: Update from translation team.
30946 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
30948         * scripts/update-copyrights: New file.
30949         * Makeconfig: Reformat copyright notice.
30950         * ctype/ctype.h: Likewise.
30951         * debug/swprintf_chk.c: Likewise.
30952         * elf/dl-cache.c: Likewise.
30953         * elf/dl-debug.c: Likewise.
30954         * elf/dl-object.c: Likewise.
30955         * grp/initgroups.c: Likewise.
30956         * hurd/Makefile: Likewise.
30957         * hurd/hurd/signal.h: Likewise.
30958         * hurd/hurdfault.c: Likewise.
30959         * hurd/hurdioctl.c: Likewise.
30960         * hurd/hurdlookup.c: Likewise.
30961         * hurd/intr-msg.c: Likewise.
30962         * iconv/gconv_open.c: Likewise.
30963         * libio/swprintf.c: Likewise.
30964         * locale/lc-ctype.c: Likewise.
30965         * locale/nl_langinfo.c: Likewise.
30966         * mach/Machrules: Likewise.
30967         * mach/Makefile: Likewise.
30968         * malloc/obstack.h: Likewise.
30969         * manual/Makefile: Likewise.
30970         * manual/tsort.awk: Likewise.
30971         * misc/bits/stab.def: Likewise.
30972         * nis/nis_print_group_entry.c: Likewise.
30973         * nis/nis_table.c: Likewise.
30974         * nis/nss_compat/compat-pwd.c: Likewise.
30975         * nis/nss_compat/compat-spwd.c: Likewise.
30976         * po/Makefile: Likewise.
30977         * posix/fnmatch.c: Likewise.
30978         * posix/regex.h: Likewise.
30979         * resolv/Makefile: Likewise.
30980         * resolv/nss_dns/dns-network.c: Likewise.
30981         * resolv/res_hconf.c: Likewise.
30982         * scripts/gen-sorted.awk: Likewise.
30983         * soft-fp/soft-fp.h: Likewise.
30984         * stdio-common/printf.h: Likewise.
30985         * stdlib/monetary.h: Likewise.
30986         * stdlib/random.c: Likewise.
30987         * stdlib/random_r.c: Likewise.
30988         * sysdeps/generic/Makefile: Likewise.
30989         * sysdeps/gnu/Makefile: Likewise.
30990         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30991         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30992         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30993         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30994         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30995         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30996         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30997         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30998         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30999         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31000         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31001         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31002         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31003         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31004         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31005         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31006         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31007         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31008         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31009         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31010         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31011         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31012         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31013         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31014         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31015         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31016         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31017         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31018         * sysdeps/mach/hurd/errnos.awk: Likewise.
31019         * sysdeps/mach/hurd/fork.c: Likewise.
31020         * sysdeps/mach/hurd/getcwd.c: Likewise.
31021         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31022         * sysdeps/mach/hurd/mmap.c: Likewise.
31023         * sysdeps/mach/hurd/utimes.c: Likewise.
31024         * sysdeps/mach/hurd/xmknod.c: Likewise.
31025         * sysdeps/posix/profil.c: Likewise.
31026         * sysdeps/posix/readdir_r.c: Likewise.
31027         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31028         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31029         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31030         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31032         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31033         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31034         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31036         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31037         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31038         * sysdeps/pthread/lio_listio.c: Likewise.
31039         * sysdeps/sparc/dl-procinfo.h: Likewise.
31040         * sysdeps/unix/i386/sysdep.S: Likewise.
31041         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31042         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31043         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31044         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31046         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31047         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31048         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31049         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31050         * sysdeps/wordsize-32/divdi3.c: Likewise.
31051         * time/sys/time.h: Likewise.
31052         * wcsmbs/Makefile: Likewise.
31054 2013-01-01  David S. Miller  <davem@davemloft.net>
31056         * po/fr.po: Update from translation team.
31058         * catgets/gencat.c: Update copyright year.
31059         * csu/version.c: Likewise.
31060         * debug/catchsegv.sh: Likewise.
31061         * debug/pcprofiledump.c: Likewise.
31062         * debug/xtrace.sh: Likewise.
31063         * elf/ldconfig.c: Likewise.
31064         * elf/ldd.bash.in: Likewise.
31065         * elf/pldd.c: Likewise.
31066         * elf/sotruss.ksh: Likewise.
31067         * elf/sprof.c: Likewise.
31068         * iconv/iconv_prog.c: Likewise.
31069         * iconv/iconvconfig.c: Likewise.
31070         * locale/programs/locale.c: Likewise.
31071         * locale/programs/localedef.c: Likewise.
31072         * login/programs/pt_chown.c: Likewise.
31073         * malloc/memusage.sh: Likewise.
31074         * malloc/memusagestat.c: Likewise.
31075         * malloc/mtrace.pl: Likewise.
31076         * nscd/nscd.c: Likewise.
31077         * nss/getent.c: Likewise.
31078         * nss/makedb.c: Likewise.
31079         * posix/getconf.c: Likewise.
31081 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31083         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31084         numbers.
31086 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31088         * math/bits/mathcalls.h (modf): Use __nonnull.
31090 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31092         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31093         (split): Use macro CN instead of the bare value.
31094         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31095         could be used.
31096         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31097         instead of the bare value.
31098         (power1): Likewise.
31100 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31102         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31103         __ATAN_TWOM.
31104         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31106         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31107         their values.
31108         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31109         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31110         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31111         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31113 2012-12-28  Andreas Jaeger  <aj@suse.de>
31115         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31116         values are from Linux 3.7.
31118         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31119         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31121 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31123         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31124         TRUE case.
31126         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31127         (norm): Likewise.
31128         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31129         variables with preprocessor constants.
31130         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31131         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31132         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31134 2012-12-27  Bruno Haible  <bruno@clisp.org>
31136         [BZ #14317]
31137         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31138         only if needed.
31140 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31142         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31143         and use variable directly.
31144         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31146         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31147         MPONE.
31148         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31149         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31150         variable MPONE.
31151         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31152         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31153         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31154         include directive.  Remove local variable MPONE.
31155         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31156         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31157         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31159 2012-12-25  David S. Miller  <davem@davemloft.net>
31161         * version.h (RELEASE): Set to "development".
31162         (VERSION): Set to "2.17.90".
31163         * NEWS: Add 2.18 section.
31165 2012-12-21  David S. Miller  <davem@davemloft.net>
31167         * po/hr.po: Update from translation team.
31169 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31171         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31173 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31175         * NEWS:  Mention new memcpy for MIPS.
31177 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31179         * manual/contrib.texi (Contributors): Spelling correction.
31181 2012-12-15  David S. Miller  <davem@davemloft.net>
31183         * po/ru.po: Update from translation team.
31185 2012-12-13  David S. Miller  <davem@davemloft.net>
31187         * NEWS: Mention IFUNC testsuite enhancements.
31189         * po/pl.po: Update from translation team.
31190         * po/bg.po: Likewise.
31192         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31193         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31195 2012-12-11  David S. Miller  <davem@davemloft.net>
31197         * po/sv.po: Update from translation team.
31199         * po/vi.po: Update from translation team.
31201         * po/cs.po: Update from translation team.
31203         * po/de.po: Update from translation team.
31204         * po/eo.po: Likewise.
31205         * po/nl.po: Likewise.
31207 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31209         [BZ #14246]
31210         * manual/argp.texi (Argp Helper Functions): Move node to follow
31211         Argp Parsing State.
31213         [BZ #14872]
31214         * manual/conf.texi (Limits on File System Capacity): Mention if
31215         terminating null is included in the max size.
31217 2012-12-10  Andreas Jaeger  <aj@suse.de>
31219         * po/cs.po: Update from translation team.
31221 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31223         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31224         void pointer and cast to uintptr_t.
31225         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31226         path.
31227         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31228         * sysdeps/s390/s390-64/memset.S: Likewise.
31230 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31232         [BZ #14833]
31233         * menual/message.texi (Message Translation): Fix typos.
31234         (Helper programs for gettext): Likewise.
31236 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31238         [BZ #14898]
31239         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31240         Change to -1.
31242 2012-12-07  David S. Miller  <davem@davemloft.net>
31244         * po/libc.pot: Update.
31246 2012-12-07  Richard Henderson  <rth@redhat.com>
31248         [BZ #10114]
31249         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31250         normal/normal case to before the switch.
31251         (_FP_DIV): Likewise.
31253 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31254             Mike Frysinger  <vapier@gentoo.org>
31256         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31257         check for __NR_fadvise64_64.
31259 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31261         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31262         0, not just to plain "0" as a statement.
31263         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31264         with cw.
31266 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31268         * NEWS: Use sourceware.org in Bugzilla URL.
31270 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31273         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31275         * stdio-common/tst-put-error.c (do_test): Add newline to the
31276         padded test to ensure flush.
31278 2012-12-05  Jeff Law  <law@redhat.com>
31280         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31282 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31284         * README: Don't refer to ports add-on as distributed separately.
31285         Mention AArch64 in list of systems supported in the ports add-on.
31287         * LICENSES: Add more non-FSF copyright and license notices.
31289         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31290         ((unused)).
31292         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31294         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31295         10000 as width of padded output.
31297 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31299         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31301         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31302         variable LX with __attribute__ ((unused)).
31303         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31304         Likewise.
31305         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31306         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31307         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31308         with __attribute__ ((unused)).
31310 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31312         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31314 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31316         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31317         (CFLAGS-nldbl-acos.c): New variable.
31318         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31319         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31320         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31321         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31322         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31323         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31324         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31325         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31326         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31327         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31328         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31329         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31330         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31331         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31332         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31333         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31334         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31335         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31336         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31337         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31338         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31339         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31340         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31341         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31342         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31343         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31344         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31345         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31346         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31347         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31348         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31349         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31350         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31351         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31352         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31353         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31354         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31355         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31356         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31357         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31358         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31359         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31360         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31361         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31362         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31363         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31364         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31365         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31366         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31367         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31368         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31369         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31370         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31371         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31372         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31373         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31374         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31375         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31376         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31377         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31378         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31379         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31380         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31381         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31382         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31383         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31384         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31385         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31386         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31387         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31388         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31389         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31390         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31391         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31392         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31393         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31394         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31395         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31396         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31397         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31398         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31399         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31400         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31401         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31402         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31403         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31404         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31405         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31406         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31407         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31408         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31409         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31410         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31411         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31412         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31413         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31414         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31417         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31419         [BZ #14914]
31420         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31421         whole low double instead of just low 47 bits when splitting values
31422         into two parts.
31424 2012-12-03  Allan McRae  <allan@archlinux.org>
31426         * manual/stdio.texi (Predefined Printf Handlers): Remove
31427         @hsep and @vsep usage.
31429 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31431         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31432         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31434 2012-12-03  Jeff Law  <law@redhat.com>
31436         * time/sys/time.h (settimeofday): Do not mark TV argument
31437         as __nonnull.
31439 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31441         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31442         when currently writing and seek to current position when not.
31443         * libio/Makefile (tests): Remove bug-fclose1.
31444         * libio/bug-fclose1.c: Delete.
31446 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31448         * manual/arith.texi (feenableexcept): Fix typo.
31449         (fedisableexcept): Likewise.
31451 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31453         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31454         second, differently-typed declaration, rather than a cast.
31456 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31458         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31459         * include/rpc/svc.h: ... here.
31461 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31463         [BZ #13013]
31464         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31465         depending n and resplen2 to catch cases where answer
31466         equals answerp2.
31468 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31470         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31471         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31473 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31475         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31477 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31479         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31481 2012-11-28  Jeff Law  <law@redhat.com>
31483         [BZ #13761]
31484         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31485         dataset_temporary.  Track alloca usage into alloca_used.
31486         If dataset is large allocate and release it via malloc/free.
31488 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31490         [BZ #14197]
31491         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31493 2012-11-28  David S. Miller  <davem@davemloft.net>
31495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31497 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31499         [BZ #14803]
31500         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31501         of pi/2 rounded to nearest to 64 bits.
31502         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31503         nearest to 64 bits.
31504         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31505         bits.
31507 2012-11-28  Jeff Law <law@redhat.com>
31508             Martin Osvald <mosvald@redhat.com>
31510         [BZ #14889]
31511         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31512         * sunrpc/svc.c: Include time.h.
31513         (__svc_accept_failed): New function.
31514         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31515         any reason other than EINTR, call __svc_accept_failed.
31516         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31517         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31519 2012-11-28  Andreas Schwab  <schwab@suse.de>
31521         * scripts/abilist.awk: Also handle indirect functions in .opd
31522         section.
31524 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31526         [BZ #13881]
31527         * sysdeps/x86/fpu/powl_helper.c: New file.
31528         * sysdeps/x86/fpu/Makefile: Likewise.
31529         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31530         (p3): New object.
31531         (__ieee754_powl): Use __powl_helper for finite arguments except
31532         integer exponents below 8.
31533         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31534         (p3): New object.
31535         (__ieee754_powl): Use __powl_helper for finite arguments except
31536         integer exponents below 8.
31537         * math/libm-test.inc (pow_test): Add more tests and enable some
31538         previously disabled tests.
31539         * sysdeps/i386/fpu/libm-test-ulps: Update.
31540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31542 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31543             Carlos O'Donell  <carlos_odonell@mentor.com>
31545         * nss/makedb.c (is_prime): Assert that input is odd and greater
31546         than 4.  Note that fact in a comment too.
31547         (next_prime): Add 4 to input.
31549 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31551         [BZ #11741]
31552         * libio/Makefile (tests): Add test case tst-fwrite-error.
31553         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31554         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31555         * libio/tst-fwrite-error.c: New test case.
31557 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31559         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31560         before casting to void *.
31561         * include/libc-internal.h (__pointer_type): New macro.
31562         (__integer_if_pointer_type_sub): Likewise.
31563         (__integer_if_pointer_type): Likewise.
31564         (cast_to_integer): Likewise.
31565         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31566         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31567         before casting to atomic64_t.
31568         (atomic_exchange_acq): Likewise.
31569         (__arch_exchange_and_add_body): Likewise.
31570         (__arch_add_body): Likewise.
31571         (atomic_add_negative): Likewise.
31572         (atomic_add_zero): Likewise.
31574 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31576         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31577         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31578         (add_fdes): Likewise.
31579         (linear_search_fdes): Likewise.
31580         (binary_search_unencoded_fdes): Likewise.
31582 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31584         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31586 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31588         * configure.in: Autodetect C++ header directories.
31589         * configure: Regenerated.
31591 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31593         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31595 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31599 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31601         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31602         LDBL_MANT_DIG == 106]: Disable some tests.
31603         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31604         Likewise.
31605         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31606         Likewise.
31608         [BZ #14871]
31609         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31610         input for small inputs.  Return +/- pi/2 for large inputs.
31611         * math/libm-test.inc (atan_test): Add more tests.
31613         * sysdeps/generic/unwind-dw2-fde-glibc.c
31614         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31615         __attribute__ ((unused)).
31617         [BZ #14645]
31618         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31619         x * y if x and y are nonzero and z is zero.
31621         [BZ #14811]
31622         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31623         nonzero exponents with absolute value below 0x1p-117 to +/-
31624         0x1p-117.
31626         [BZ #14869]
31627         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31628         up arguments below 2**-450, not just those below 2**-500.
31629         * math/libm-test.inc (hypot_test): Add another test.
31631         [BZ #14868]
31632         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31633         Return a+b for ratio over 2**120, not 2**60.
31634         * math/libm-test.inc (hypot_test): Add another test.
31636         * math/libm-test.inc (clog_test): Use
31637         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31638         (clog10_test): Likewise.
31640         [BZ #6778]
31641         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31643 2012-11-22  Andreas Schwab  <schwab@suse.de>
31645         * sysdeps/i386/fpu/libm-test-ulps: Update.
31647 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31649         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31650         printf output with newline.
31652 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31654         [BZ #14865]
31655         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31656         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31657         -z nodlopen, -z initfirst and -z execstack support.
31658         * configure: Regenerated.
31660         * elf/elf.h (DF_1_NODIRECT): New macro.
31661         (DF_1_IGNMULDEF): Likewise.
31662         (DF_1_NOKSYMS): Likewise.
31663         (DF_1_NOHDR): Likewise.
31664         (DF_1_EDITED): Likewise.
31665         (DF_1_NORELOC): Likewise.
31666         (DF_1_SYMINTPOSE): Likewise.
31667         (DF_1_GLOBAUDIT): Likewise.
31668         (DF_1_SINGLETON): Likewise.
31669         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31670         DT_1_SUPPORTED_MASK bits.
31671         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31673 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31675         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31677 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31679         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31680         macro.
31682         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31683         (sendmmsg): Move declarations...
31684         * socket/sys/socket.h: ... here.
31685         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31686         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31687         include it from...
31688         * socket/recvmmsg.c: ... this new file.
31689         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31690         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31691         definition of __sendmmsg hidden.
31692         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31693         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31694         Move ENOSYS stub into and include it from...
31695         * socket/sendmmsg.c: ... this new file.
31696         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31697         (sysdep_routines): Move recvmmsg and sendmmsg...
31698         * socket/Makefile (routines): ... here.
31699         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31700         (GLIBC_PRIVATE): Add __sendmmsg.
31701         * include/sys/socket.h (__sendmmsg): Add declarations.
31702         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31703         sendmmsg.
31705 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31707         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31708         variable I1 with __attribute__ ((unused)).
31709         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31711 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31713         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31714         DUMMY variables with __attribute__ ((unused)).
31716         * bits/byteswap.h: Include <bits/types.h>.
31717         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31719 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31721         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31722         string_t.  Do not manually set errno.
31723         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31724         length with __strnlen.  Make sure to both set errno and return it on
31725         failure.
31727 2012-11-19  David S. Miller  <davem@davemloft.net>
31729         With help from Joseph Myers.
31730         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31731         very large arguments properly.
31732         * math/libm-test.inc (atan_test): New tests.
31733         (atan2_test): New tests.
31734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31737 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31739         [BZ #14856]
31740         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31741         Define to 3.
31743         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31744         [POSIX] (EADDRNOTAVAIL): Likewise.
31745         [POSIX] (EAFNOSUPPORT): Likewise.
31746         [POSIX] (EALREADY): Likewise.
31747         [POSIX] (ECONNABORTED): Likewise.
31748         [POSIX] (ECONNREFUSED): Likewise.
31749         [POSIX] (ECONNRESET): Likewise.
31750         [POSIX] (EDESTADDRREQ): Likewise.
31751         [POSIX] (EDQUOT): Likewise.
31752         [POSIX] (EHOSTUNREACH): Likewise.
31753         [POSIX] (EIDRM): Likewise.
31754         [POSIX] (EISCONN): Likewise.
31755         [POSIX] (ELOOP): Likewise.
31756         [POSIX] (EMULTIHOP): Likewise.
31757         [POSIX] (ENETDOWN): Likewise.
31758         [POSIX] (ENETUNREACH): Likewise.
31759         [POSIX] (ENOBUFS): Likewise.
31760         [POSIX] (ENODATA): Likewise.
31761         [POSIX] (ENOLINK): Likewise.
31762         [POSIX] (ENOMSG): Likewise.
31763         [POSIX] (ENOPROTOOPT): Likewise.
31764         [POSIX] (ENOSR): Likewise.
31765         [POSIX] (ENOSTR): Likewise.
31766         [POSIX] (ENOTCONN): Likewise.
31767         [POSIX] (ENOTSOCK): Likewise.
31768         [POSIX] (EOPNOTSUPP): Likewise.
31769         [POSIX] (EOVERFLOW): Likewise.
31770         [POSIX] (EPROTO): Likewise.
31771         [POSIX] (EPROTONOSUPPORT): Likewise.
31772         [POSIX] (EPROTOTYPE): Likewise.
31773         [POSIX] (ESTALE): Likewise.
31774         [POSIX] (ETIME): Likewise.
31775         [POSIX] (ETXTBSY): Likewise.
31776         [POSIX] (EWOULDBLOCK): Likewise.
31777         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31778         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31779         [POSIX] (SEEK_CUR): Likewise.
31780         [POSIX] (SEEK_END): Likewise.
31781         [POSIX || UNIX98] (mode_t): Do not require.
31782         [POSIX] (off_t): Likewise.
31783         [POSIX] (pid_t): Likewise.
31784         [POSIX] (sys/stat.h): Do not allow header.
31785         [POSIX] (unistd.h): Likewise.
31786         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31787         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31788         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31789         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31790         require.
31791         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31792         sigevent): Specify elements.
31793         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31794         entry.
31795         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31796         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31798         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31799         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31800         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31801         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31802         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31803         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31804         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31805         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31806         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31807         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31808         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31809         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31810         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31811         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31812         Likewise.
31813         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31814         Likewise.
31815         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31816         Likewise.
31817         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31818         Likewise.
31819         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31820         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31821         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31822         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31823         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31824         Specify lower bound on value.
31825         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31826         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31827         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31828         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31829         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31830         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31831         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31832         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31833         value.
31834         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31835         as optional.
31836         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31837         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31838         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31839         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31840         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31841         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31842         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31843         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31844         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31845         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31846         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31847         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31848         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31849         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31850         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31851         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31852         entry.
31853         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31854         optional.
31855         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31856         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31857         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31858         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31859         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31860         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31861         Likewise.
31862         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31863         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31864         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31865         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31866         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
31867         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31868         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31869         as optional.
31870         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31871         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31872         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31873         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31874         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31875         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31876         specify as optional.
31877         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31878         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31879         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31880         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31881         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31882         [XPG3] (NL_LANGMAX): Likewise.
31883         [POSIX || XPG3] (NL_MSGMAX): Likewise.
31884         [POSIX || XPG3] (NL_NMAX): Likewise.
31885         [POSIX || XPG3] (NL_SETMAX): Likewise.
31886         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31887         [XPG3] (NZERO): Likewise.
31888         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31889         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31890         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31891         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31892         (REG_ERANGE): Expect.
31893         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31894         optional-constant.
31895         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31896         Use (void) in prototype.
31897         [POSIX] (*_t): Allow.
31898         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31899         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31900         (WRDE_BADVAL): Expect.
31902         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31903         expect.
31904         [XPG3 || XPG4] (O_RSYNC): Likewise.
31905         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31906         Likewise.
31907         [XPG3 || XPG4] (pthread_sigmask): Likewise.
31908         [XPG3 || XPG4] (sigqueue): Likewise.
31909         [XPG3 || XPG4] (sigtimedwait): Likewise.
31910         [XPG3 || XPG4] (sigwaitinfo): Likewise.
31911         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31912         [XPG3 || XPG4] (vsnprintf): Likewise.
31913         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31914         Likewise.
31915         [XPG3 || XPG4] (blksize_t): Likewise.
31916         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31917         Likewise.
31918         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31919         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31920         [XPG3 || XPG4] (struct itimerspec): Likewise.
31921         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31922         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31923         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31924         [XPG3 || XPG4] (clockid_t): Likewise.
31925         [XPG3 || XPG4] (timer_t): Likewise.
31926         [XPG3 || XPG4] (clock_getres): Likewise.
31927         [XPG3 || XPG4] (clock_gettime): Likewise.
31928         [XPG3 || XPG4] (clock_settime): Likewise.
31929         [XPG3 || XPG4] (nanosleep): Likewise.
31930         [XPG3 || XPG4] (timer_create): Likewise.
31931         [XPG3 || XPG4] (timer_delete): Likewise.
31932         [XPG3 || XPG4] (timer_gettime): Likewise.
31933         [XPG3 || XPG4] (timer_getoverrun): Likewise.
31934         [XPG3 || XPG4] (timer_settime): Likewise.
31935         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31936         [XPG3 || XPG4] (getlogin_r): Likewise.
31937         [XPG3 || XPG4] (pread): Likewise.
31938         [XPG3 || XPG4] (pthread_atfork): Likewise.
31939         [XPG3 || XPG4] (pwrite): Likewise.
31941         [BZ #14835]
31942         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31943         <bits/siginfo.h>.
31945 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31947         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31948         finalizing MALLSTREAM.
31950         * sysdeps/mach/hurd/syncfs.c: New file.
31952 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31954         [BZ #14719]
31955         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31956         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31957         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31958         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31959         (_nss_dns_gethostbyname4_r): Likewise.
31960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31961         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31963 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
31965         [BZ #13763]
31966         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31968 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
31970         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31971         * elf/cache.c (print_entry): Print ",AArch64" for
31972         FLAG_AARCH64_LIB64
31974         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31975         * elf/cache.c (print_entry): Print ",hard-float" for
31976         FLAG_ARM_LIBHF.
31978 2012-11-18  David S. Miller  <davem@davemloft.net>
31980         With help from Joseph Myers.
31981         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31982         cutoff to 2**-13.
31983         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31984         cutoff to 2**-25.
31985         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31986         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31987         small.
31988         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31989         * math/libm-test.inc (y0_test): New tests.
31990         (y1_test): New tests.
31991         * sysdeps/i386/fpu/libm-test-ulps: Update.
31992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31995 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
31997         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31998         64-bit targets.
31999         * configure: Regenerated.
32001 2012-11-17  David S. Miller  <davem@davemloft.net>
32003         [BZ #14811]
32004         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32005         nonzero exponents with absolute value below 0x1p-128 to +/-
32006         0x1p-128.
32008 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32010         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32012         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32014         * posix/getconf-speclist.c: New file.
32015         * posix/posix-envs.def: Likewise.
32016         * posix/confstr.c (START_ENV_GROUP): New macro.
32017         (END_ENV_GROUP): Likewise.
32018         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32019         (KNOWN_PRESENT_ENV_STRING): Likewise.
32020         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32021         (UNKNOWN_ENVIRONMENT): Likewise.
32022         (confstr): Include posix-envs.def instead of handling
32023         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32024         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32025         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32026         (END_ENV_GROUP): Likewise.
32027         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32028         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32029         (UNKNOWN_ENVIRONMENT): Likewise.
32030         (__sysconf): Include posix-envs.def instead of handling associated
32031         cases directly here.
32032         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32033         preprocessing getconf-speclist.c rather than running getconf or
32034         generating empty file.
32036 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32038         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32040 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32042         [BZ #14672]
32043         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32045 2012-11-16  David S. Miller  <davem@davemloft.net>
32047         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32048         smaller than LDBL_EPSILON/2.0L, just return xm1.
32050 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32052         * elf/tst-array1.c (init): Set constructor priority to 1000.
32053         (fini): Set destructor priority to 1000.
32054         * elf/tst-array2dep.c: Likewise.
32056 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32058         [BZ #11741]
32059         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32060         (_IO_new_file_xsputn): Also return EOF if none of the input
32061         data was written when overflow failed.
32062         * libio/iopadn.c (_IO_padn): Likewise.
32063         * libio/iowpadn.c (_IO_wpadn): Likewise.
32064         * stdio-common/tst-put-error.c: Add copyright notice.
32065         (do_test): Add case for printing padded string.
32066         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32067         _IO_padn returned error.
32068         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32069         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32070         return EOF.
32072 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32074         * libio/libioP.h: Add comment note that the references to C++
32075         bits are now obsolete.
32077 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32079         * math/libm-test.inc (check_complex): Use asprintf.
32081 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32083         * debug/pcprofiledump.c (print_version): Update copyright year.
32084         * malloc/memusagestat.c (print_version): Likewise.
32086 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32088         [BZ #14831]
32089         * elf/Makefile (tests): Add tst-audit8.
32090         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32091         ($(objpfx)tst-audit8.out): New target.
32092         (tst-audit8-ENV): New variable.
32093         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32094         audit if l_reloc_result is NULL.
32095         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32096         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32097         * elf/tst-audit8.c: New file.
32099 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32101         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32102         * misc/Makefile (CFLAGS-select.c): Define.
32103         * posix/Makefile (CFLAGS-pause.c): Define.
32105 2012-11-13  David S. Miller  <davem@davemloft.net>
32107         * crypt/Makefile: Move test targets after toplevel Rules
32108         inclusion.  Grab any necessary sysdep routines when linking.
32109         * crypt/md5.c (md5_process_block): Remove define, we will always
32110         name it __md5_process_block.
32111         (md5_finish_ctx): Update md5_process_block call.
32112         (md5_stream): Likewise.
32113         (md5_process_bytes): Likewise.
32114         (md5_process_block): Rename to __md5_process_block and move to ...
32115         * crypt/md5-block.c: ... here.
32116         * crypt/sha256.c (sha256_process_block): Move to ...
32117         * crypt/sha256-block.c: ... here.
32118         * crypt/sha512.c (sha512_process_block): Move to ...
32119         * crypt/sha512-block.c: ... here.
32120         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32121         path.
32122         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32123         * sysdeps/sparc/sparc64/multiarch/Makefile
32124         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32125         crypt subdir.
32126         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32127         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32128         multiarch changes.
32129         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32130         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32131         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32132         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32133         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32134         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32135         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32136         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32137         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32138         file.
32139         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32140         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32141         file.
32142         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32144 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32146         * timezone/tzselect.ksh: Update from tzcode git revision
32147         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32148         * timezone/zdump.c: Likewise.
32149         * timezone/zic.c: Likewise.
32150         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32151         in TZVERSION setting, not $(PKGVERSION).
32152         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32153         REPORT_BUGS_TO settings.
32155         [BZ #14838]
32156         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32157         macro.
32159 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32161         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32162         detection to immediately after _FP_ROUND().
32163         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32164         bits are 0.
32166 2012-11-11  David S. Miller  <davem@davemloft.net>
32168         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32169         inttypes.h
32170         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32171         __close rather than their public counterparts.
32173 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32175         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32176         file.
32177         [UNIX98] (sem_timedwait): Do not expect.
32178         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32179         [XPG4 || UNIX98] (sockatmark): Do not expect.
32180         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32181         (clock_getcpuclockid): Do not expect.
32182         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32183         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32184         Do not expect.
32185         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32186         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32187         [UNIX98] (vwscanf): Likewise.
32188         [UNIX98] (vswscanf): Likewise.
32190 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32192         * timezone/version.h: Remove file.
32193         * timezone/README: Do not refer to version.h.
32194         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32195         $(objpfx)version.h.
32196         ($(objpfx)zdump.o): Likewise.
32197         ($(objpfx)version.h): New target.
32199         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32200         2012i.
32201         * timezone/README: Don't mention modification to tzselect.ksh.
32202         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32203         work on unmodified tzselect.ksh.  Substitute version numbers in
32204         tzselect.ksh.
32206         * Makefile (format-me): Remove.
32207         (INSTALL): Adjust indentation.  Use commands directly instead of
32208         using $(format-me).
32210         * aclocal.m4 (ACX_PKGVERSION): New macro.
32211         (ACX_BUGURL): Likewise.
32212         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32213         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32214         (REPORT_BUGS_TO): Likewise.
32215         * configure: Regenerated.
32216         * config.h.in (PKGVERSION): New macro.
32217         (REPORT_BUGS_TO): Likewise.
32218         * config.make.in (PKGVERSION): New variable.
32219         (PKGVERSION_TEXI): Likewise.
32220         (REPORT_BUGS_TO): Likewise.
32221         (REPORT_BUGS_TEXI): Likewise.
32222         * Makefile (format-me): Use -I$(common-objpfx)manual.
32223         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32224         ($(common-objpfx)manual/%): New target.
32225         (manual/%): Remove target.
32226         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32227         (print_version): Use PKGVERSION.
32228         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32229         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32230         and REPORT_BUGS_TO.
32231         ($(objpfx)xtrace): Likewise.
32232         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32233         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32234         (print_version): Use PKGVERSION.
32235         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32236         (do_version): Use PKGVERSION.
32237         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32238         REPORT_BUGS_TO.
32239         (common-ldd-rewrite): Likewise.
32240         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32241         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32242         (print_version): Use PKGVERSION.
32243         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32244         * elf/pldd.c (argp_program_bug_address): Remove variable.
32245         (more_help): New function.
32246         (argp): Use more_help.
32247         (print_version): Use PKGVERSION.
32248         * elf/sln.c (main): Use PKGVERSION.
32249         (usage): Use REPORT_BUGS_TO.
32250         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32251         (top level): Use PKGVERSION.
32252         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32253         (print_version): Use PKGVERSION.
32254         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32255         (print_version): Use PKGVERSION.
32256         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32257         (print_version): Use PKGVERSION.
32258         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32259         (print_version): Use PKGVERSION.
32260         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32261         (print_version): Use PKGVERSION.
32262         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32263         (print_version): Use PKGVERSION.
32264         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32265         and BUGURL.
32266         ($(objpfx)memusage): Likewise.
32267         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32268         (do_version): Use PKGVERSION.
32269         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32270         (print_version): Use PKGVERSION.
32271         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32272         ($PKGVERSION): New variable.
32273         ($REPORT_BUGS_TO): Likewise.
32274         (usage): Use $REPORT_BUGS_TO.
32275         (top level): Use $PKGVERSION.
32276         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32277         ($(objpfx)pkgvers.texi): New rule.
32278         ($(objpfx)stamp-pkgvers): Likewise.
32279         * manual/install.texi: Include pkgvers.texi.
32280         (--with-pkgversion): Document new configure option.
32281         (--with-bugurl): Likewise.
32282         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32283         than necessarily for this particular distribution.  Use
32284         REPORT_BUGS_TO for where to report bugs.
32285         * INSTALL: Regenerated.
32286         * manual/libc.texinfo: Include pkgvers.texi.
32287         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32288         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32289         (print_version): Use PKGVERSION.
32290         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32291         (print_version): Use PKGVERSION.
32292         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32293         (print_version): Use PKGVERSION.
32294         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32295         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32296         macro.
32297         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32298         (print_version): Use PKGVERSION.
32299         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32300         (print_version): Use PKGVERSION.
32301         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32302         and PKGVERSION.
32304         * timezone/checktab.awk: Update from tzcode 2012i.
32305         * timezone/ialloc.c: Likewise.
32306         * timezone/private.h: Likewise.
32307         * timezone/scheck.c: Likewise.
32308         * timezone/tzfile.h: Likewise.
32309         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32310         (TZVERSION): Hardcode tzcode version number.
32311         * timezone/zdump.c: Update from tzcode 2012i.
32312         * timezone/zic.c: Likewise.
32313         * timezone/version.h: New file.
32314         * timezone/README: Describe version.h.  Update upstream location.
32316         [BZ #14824]
32317         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32318         (mktemp): Enable declaration.
32319         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32320         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32322         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32323         Likewise.
32324         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32325         Likewise.
32326         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32327         Likewise.
32328         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32329         Likewise.
32330         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32331         Likewise.
32332         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32333         Likewise.
32335         [BZ #14821]
32336         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32337         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32338         for copies of such integer values.
32339         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32340         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32342 2012-11-09  Andreas Jaeger  <aj@suse.de>
32344         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32345         definitions and declarations that are provided by
32346         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32348 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32350         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32351         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32352         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32353         definition.
32355 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32357         * elf/elf.h: Update comment before AArch64 relocations.
32359 2012-11-07  David S. Miller  <davem@davemloft.net>
32361         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32362         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32363         (__start_context): Declare.
32364         (__makecontext_ret): Delete.
32365         (__makecontext): Hook up __start_context instead of
32366         __makecontext_ret.
32367         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32368         (sysdep_routines): Add __start_context when in stdlib.
32370 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32372         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32373         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32374         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32375         hardcoded "nm".
32376         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32377         (READELF): New variable.  Use it instead of hardcoded "readelf".
32379 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32381         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32382         * sysdeps/x86/Makefile: Here.
32383         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32384         * sysdeps/x86/tst-xmmymm.sh: This.
32386 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32388         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32389         expectations.
32390         [UNIX98] (pthread_barrier_t): Do not expect.
32391         [UNIX98] (pthread_barrierattr_t): Likewise.
32392         [UNIX98] (pthread_spinlock_t): Likewise.
32393         [UNIX98] (pthread_barrier_destroy): Likewise.
32394         [UNIX98] (pthread_barrier_init): Likewise.
32395         [UNIX98] (pthread_barrier_wait): Likewise.
32396         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32397         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32398         [UNIX98] (pthread_barrierattr_init): Likewise.
32399         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32400         [UNIX98] (pthread_getcpuclockid): Likewise.
32401         [UNIX98] (pthread_mutex_timedlock): Likewise.
32402         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32403         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32404         [UNIX98] (pthread_sigmask): Likewise.
32405         [UNIX98] (pthread_spin_destroy): Likewise.
32406         [UNIX98] (pthread_spin_init): Likewise.
32407         [UNIX98] (pthread_spin_lock): Likewise.
32408         [UNIX98] (pthread_spin_trylock): Likewise.
32409         [UNIX98] (pthread_spin_unlock): Likewise.
32410         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32411         Do not expect.
32412         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32413         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32414         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32415         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32416         [XPG3 || XPG4] (pthread_key_t): Likewise.
32417         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32418         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32419         [XPG3 || XPG4] (pthread_once_t): Likewise.
32420         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32421         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32422         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32423         [XPG3 || XPG4] (pthread_t): Likewise.
32425         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32426         not expect.
32427         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32429         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32430         Change function return type to int.
32432         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32433         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32434         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32435         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32436         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32437         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32438         [!POSIX] (posix_madvise): Likewise.
32439         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32440         && !UNIX98].
32441         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32442         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32443         (mode_t): Likewise.
32444         (posix_mem_offset): Likewise.
32445         (posix_typed_mem_get_info): Likewise.
32446         (posix_typed_mem_open): Likewise.
32448         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32449         Change condition to [XOPEN2K8].
32451         * conform/conformtest.pl: Preprocess allow-header data with -x c
32452         instead of from stdin.
32453         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32454         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32455         [C99-based standards] (cerfc): Likewise.
32456         [C99-based standards] (cexp2): Likewise.
32457         [C99-based standards] (cexpm1): Likewise.
32458         [C99-based standards] (clog10): Likewise.
32459         [C99-based standards] (clog1p): Likewise.
32460         [C99-based standards] (clog2): Likewise.
32461         [C99-based standards] (clgamma): Likewise.
32462         [C99-based standards] (ctgamma): Likewise.
32463         [C99-based standards] (cerff): Likewise.
32464         [C99-based standards] (cerfcf): Likewise.
32465         [C99-based standards] (cexp2f): Likewise.
32466         [C99-based standards] (cexpm1f): Likewise.
32467         [C99-based standards] (clog10f): Likewise.
32468         [C99-based standards] (clog1pf): Likewise.
32469         [C99-based standards] (clog2f): Likewise.
32470         [C99-based standards] (clgammaf): Likewise.
32471         [C99-based standards] (ctgammaf): Likewise.
32472         [C99-based standards] (cerfl): Likewise.
32473         [C99-based standards] (cerfcl): Likewise.
32474         [C99-based standards] (cexp2l): Likewise.
32475         [C99-based standards] (cexpm1l): Likewise.
32476         [C99-based standards] (clog10l): Likewise.
32477         [C99-based standards] (clog1pl): Likewise.
32478         [C99-based standards] (clog2l): Likewise.
32479         [C99-based standards] (clgammal): Likewise.
32480         [C99-based standards] (ctgammal): Likewise.
32481         * conform/data/inttypes.h-data [C99-based standards]: Include
32482         stdint.h-data.  Remove all expectations for stdint.h contents.
32483         [C99-based standards] (PRI*): Do not allow.
32484         [C99-based standards] (SCN*): Likewise.
32485         [C99-based standards] (*_t): Likewise.
32486         [C99-based-standards] (PRId8): Expect macro.
32487         [C99-based-standards] (PRIi8): Likewise.
32488         [C99-based-standards] (PRIo8): Likewise.
32489         [C99-based-standards] (PRIu8): Likewise.
32490         [C99-based-standards] (PRIx8): Likewise.
32491         [C99-based-standards] (PRIX8): Likewise.
32492         [C99-based-standards] (SCNd8): Likewise.
32493         [C99-based-standards] (SCNi8): Likewise.
32494         [C99-based-standards] (SCNo8): Likewise.
32495         [C99-based-standards] (SCNu8): Likewise.
32496         [C99-based-standards] (SCNx8): Likewise.
32497         [C99-based-standards] (PRIdLEAST8): Likewise.
32498         [C99-based-standards] (PRIiLEAST8): Likewise.
32499         [C99-based-standards] (PRIoLEAST8): Likewise.
32500         [C99-based-standards] (PRIuLEAST8): Likewise.
32501         [C99-based-standards] (PRIxLEAST8): Likewise.
32502         [C99-based-standards] (PRIXLEAST8): Likewise.
32503         [C99-based-standards] (SCNdLEAST8): Likewise.
32504         [C99-based-standards] (SCNiLEAST8): Likewise.
32505         [C99-based-standards] (SCNoLEAST8): Likewise.
32506         [C99-based-standards] (SCNuLEAST8): Likewise.
32507         [C99-based-standards] (SCNxLEAST8): Likewise.
32508         [C99-based-standards] (PRIdFAST8): Likewise.
32509         [C99-based-standards] (PRIiFAST8): Likewise.
32510         [C99-based-standards] (PRIoFAST8): Likewise.
32511         [C99-based-standards] (PRIuFAST8): Likewise.
32512         [C99-based-standards] (PRIxFAST8): Likewise.
32513         [C99-based-standards] (PRIXFAST8): Likewise.
32514         [C99-based-standards] (SCNdFAST8): Likewise.
32515         [C99-based-standards] (SCNiFAST8): Likewise.
32516         [C99-based-standards] (SCNoFAST8): Likewise.
32517         [C99-based-standards] (SCNuFAST8): Likewise.
32518         [C99-based-standards] (SCNxFAST8): Likewise.
32519         [C99-based-standards] (PRId16): Likewise.
32520         [C99-based-standards] (PRIi16): Likewise.
32521         [C99-based-standards] (PRIo16): Likewise.
32522         [C99-based-standards] (PRIu16): Likewise.
32523         [C99-based-standards] (PRIx16): Likewise.
32524         [C99-based-standards] (PRIX16): Likewise.
32525         [C99-based-standards] (SCNd16): Likewise.
32526         [C99-based-standards] (SCNi16): Likewise.
32527         [C99-based-standards] (SCNo16): Likewise.
32528         [C99-based-standards] (SCNu16): Likewise.
32529         [C99-based-standards] (SCNx16): Likewise.
32530         [C99-based-standards] (PRIdLEAST16): Likewise.
32531         [C99-based-standards] (PRIiLEAST16): Likewise.
32532         [C99-based-standards] (PRIoLEAST16): Likewise.
32533         [C99-based-standards] (PRIuLEAST16): Likewise.
32534         [C99-based-standards] (PRIxLEAST16): Likewise.
32535         [C99-based-standards] (PRIXLEAST16): Likewise.
32536         [C99-based-standards] (SCNdLEAST16): Likewise.
32537         [C99-based-standards] (SCNiLEAST16): Likewise.
32538         [C99-based-standards] (SCNoLEAST16): Likewise.
32539         [C99-based-standards] (SCNuLEAST16): Likewise.
32540         [C99-based-standards] (SCNxLEAST16): Likewise.
32541         [C99-based-standards] (PRIdFAST16): Likewise.
32542         [C99-based-standards] (PRIiFAST16): Likewise.
32543         [C99-based-standards] (PRIoFAST16): Likewise.
32544         [C99-based-standards] (PRIuFAST16): Likewise.
32545         [C99-based-standards] (PRIxFAST16): Likewise.
32546         [C99-based-standards] (PRIXFAST16): Likewise.
32547         [C99-based-standards] (SCNdFAST16): Likewise.
32548         [C99-based-standards] (SCNiFAST16): Likewise.
32549         [C99-based-standards] (SCNoFAST16): Likewise.
32550         [C99-based-standards] (SCNuFAST16): Likewise.
32551         [C99-based-standards] (SCNxFAST16): Likewise.
32552         [C99-based-standards] (PRId32): Likewise.
32553         [C99-based-standards] (PRIi32): Likewise.
32554         [C99-based-standards] (PRIo32): Likewise.
32555         [C99-based-standards] (PRIu32): Likewise.
32556         [C99-based-standards] (PRIx32): Likewise.
32557         [C99-based-standards] (PRIX32): Likewise.
32558         [C99-based-standards] (SCNd32): Likewise.
32559         [C99-based-standards] (SCNi32): Likewise.
32560         [C99-based-standards] (SCNo32): Likewise.
32561         [C99-based-standards] (SCNu32): Likewise.
32562         [C99-based-standards] (SCNx32): Likewise.
32563         [C99-based-standards] (PRIdLEAST32): Likewise.
32564         [C99-based-standards] (PRIiLEAST32): Likewise.
32565         [C99-based-standards] (PRIoLEAST32): Likewise.
32566         [C99-based-standards] (PRIuLEAST32): Likewise.
32567         [C99-based-standards] (PRIxLEAST32): Likewise.
32568         [C99-based-standards] (PRIXLEAST32): Likewise.
32569         [C99-based-standards] (SCNdLEAST32): Likewise.
32570         [C99-based-standards] (SCNiLEAST32): Likewise.
32571         [C99-based-standards] (SCNoLEAST32): Likewise.
32572         [C99-based-standards] (SCNuLEAST32): Likewise.
32573         [C99-based-standards] (SCNxLEAST32): Likewise.
32574         [C99-based-standards] (PRIdFAST32): Likewise.
32575         [C99-based-standards] (PRIiFAST32): Likewise.
32576         [C99-based-standards] (PRIoFAST32): Likewise.
32577         [C99-based-standards] (PRIuFAST32): Likewise.
32578         [C99-based-standards] (PRIxFAST32): Likewise.
32579         [C99-based-standards] (PRIXFAST32): Likewise.
32580         [C99-based-standards] (SCNdFAST32): Likewise.
32581         [C99-based-standards] (SCNiFAST32): Likewise.
32582         [C99-based-standards] (SCNoFAST32): Likewise.
32583         [C99-based-standards] (SCNuFAST32): Likewise.
32584         [C99-based-standards] (SCNxFAST32): Likewise.
32585         [C99-based-standards] (PRId64): Likewise.
32586         [C99-based-standards] (PRIi64): Likewise.
32587         [C99-based-standards] (PRIo64): Likewise.
32588         [C99-based-standards] (PRIu64): Likewise.
32589         [C99-based-standards] (PRIx64): Likewise.
32590         [C99-based-standards] (PRIX64): Likewise.
32591         [C99-based-standards] (SCNd64): Likewise.
32592         [C99-based-standards] (SCNi64): Likewise.
32593         [C99-based-standards] (SCNo64): Likewise.
32594         [C99-based-standards] (SCNu64): Likewise.
32595         [C99-based-standards] (SCNx64): Likewise.
32596         [C99-based-standards] (PRIdLEAST64): Likewise.
32597         [C99-based-standards] (PRIiLEAST64): Likewise.
32598         [C99-based-standards] (PRIoLEAST64): Likewise.
32599         [C99-based-standards] (PRIuLEAST64): Likewise.
32600         [C99-based-standards] (PRIxLEAST64): Likewise.
32601         [C99-based-standards] (PRIXLEAST64): Likewise.
32602         [C99-based-standards] (SCNdLEAST64): Likewise.
32603         [C99-based-standards] (SCNiLEAST64): Likewise.
32604         [C99-based-standards] (SCNoLEAST64): Likewise.
32605         [C99-based-standards] (SCNuLEAST64): Likewise.
32606         [C99-based-standards] (SCNxLEAST64): Likewise.
32607         [C99-based-standards] (PRIdFAST64): Likewise.
32608         [C99-based-standards] (PRIiFAST64): Likewise.
32609         [C99-based-standards] (PRIoFAST64): Likewise.
32610         [C99-based-standards] (PRIuFAST64): Likewise.
32611         [C99-based-standards] (PRIxFAST64): Likewise.
32612         [C99-based-standards] (PRIXFAST64): Likewise.
32613         [C99-based-standards] (SCNdFAST64): Likewise.
32614         [C99-based-standards] (SCNiFAST64): Likewise.
32615         [C99-based-standards] (SCNoFAST64): Likewise.
32616         [C99-based-standards] (SCNuFAST64): Likewise.
32617         [C99-based-standards] (SCNxFAST64): Likewise.
32618         [C99-based-standards] (PRIdMAX): Likewise.
32619         [C99-based-standards] (PRIiMAX): Likewise.
32620         [C99-based-standards] (PRIoMAX): Likewise.
32621         [C99-based-standards] (PRIuMAX): Likewise.
32622         [C99-based-standards] (PRIxMAX): Likewise.
32623         [C99-based-standards] (PRIXMAX): Likewise.
32624         [C99-based-standards] (SCNdMAX): Likewise.
32625         [C99-based-standards] (SCNiMAX): Likewise.
32626         [C99-based-standards] (SCNoMAX): Likewise.
32627         [C99-based-standards] (SCNuMAX): Likewise.
32628         [C99-based-standards] (SCNxMAX): Likewise.
32629         [C99-based-standards] (PRIdPTR): Likewise.
32630         [C99-based-standards] (PRIiPTR): Likewise.
32631         [C99-based-standards] (PRIoPTR): Likewise.
32632         [C99-based-standards] (PRIuPTR): Likewise.
32633         [C99-based-standards] (PRIxPTR): Likewise.
32634         [C99-based-standards] (PRIXPTR): Likewise.
32635         [C99-based-standards] (SCNdPTR): Likewise.
32636         [C99-based-standards] (SCNiPTR): Likewise.
32637         [C99-based-standards] (SCNoPTR): Likewise.
32638         [C99-based-standards] (SCNuPTR): Likewise.
32639         [C99-based-standards] (SCNxPTR): Likewise.
32640         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32641         allow.
32642         * conform/data/stdint.h-data: Update comments to clarify
32643         requirements.
32644         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32645         type.
32646         [C99-based standards] (INT8_MAX): Likewise.
32647         [C99-based standards] (INT16_MIN): Likewise.
32648         [C99-based standards] (INT16_MAX): Likewise.
32649         [C99-based standards] (INT32_MIN): Likewise.
32650         [C99-based standards] (INT32_MAX): Likewise.
32651         [C99-based standards] (INT64_MIN): Likewise.
32652         [C99-based standards] (INT64_MAX): Likewise.
32653         [C99-based standards] (UINT8_MAX): Likewise.
32654         [C99-based standards] (UINT16_MAX): Likewise.
32655         [C99-based standards] (UINT32_MAX): Likewise.
32656         [C99-based standards] (UINT64_MAX): Likewise.
32657         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32658         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32659         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32660         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32661         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32662         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32663         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32664         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32665         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32666         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32667         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32668         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32669         [C99-based standards] (INT_FAST8_MIN): Likewise.
32670         [C99-based standards] (INT_FAST8_MAX): Likewise.
32671         [C99-based standards] (INT_FAST16_MIN): Likewise.
32672         [C99-based standards] (INT_FAST16_MAX): Likewise.
32673         [C99-based standards] (INT_FAST32_MIN): Likewise.
32674         [C99-based standards] (INT_FAST32_MAX): Likewise.
32675         [C99-based standards] (INT_FAST64_MIN): Likewise.
32676         [C99-based standards] (INT_FAST64_MAX): Likewise.
32677         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32678         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32679         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32680         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32681         [C99-based standards] (INTPTR_MIN): Likewise.
32682         [C99-based standards] (INTPTR_MAX): Likewise.
32683         [C99-based standards] (UINTPTR_MAX): Likewise.
32684         [C99-based standards] (INTMAX_MIN): Likewise.
32685         [C99-based standards] (INTMAX_MAX): Likewise.
32686         [C99-based standards] (UINTMAX_MAX): Likewise.
32687         [C99-based standards] (PTRDIFF_MIN): Likewise.
32688         [C99-based standards] (PTRDIFF_MAX): Likewise.
32689         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32690         [C99-based standards] (SIZE_MAX): Likewise.
32691         [C99-based standards] (WCHAR_MAX): Likewise.
32692         [C99-based standards] (WINT_MAX): Likewise.
32693         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32694         constraint on value.
32695         [C99-based standards] (WCHAR_MIN): Likewise.
32696         [C99-based standards] (WINT_MIN): Likewise.
32697         [C99-based standards] (*_t): Allow.
32698         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32699         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32700         Include math.h-data and complex.h-data.  Remove all expectations
32701         of math.h and complex.h contents.
32702         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32703         at end of line.
32704         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32705         (struct tm): Expect tag.
32706         [C99-based-standards] (wcstof): Expect function.
32707         [C99-based-standards] (wcstold): Likewise.
32708         [C99-based-standards] (wcstoll): Likewise.
32709         [C99-based-standards] (wcstoull): Likewise.
32710         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32711         macro-int-constant.  Specify type.
32712         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32713         constraint on value.
32714         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32715         Specify type.
32716         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32717         Specify value.
32718         [ISO C standards]: Do not allow headers.
32719         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32720         wcs[abcdefghijklmnopqrstuvwxyz]*.
32721         [ISO C standards] (*_t): Do not allow.
32722         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32723         Expect function.
32724         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32725         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32726         Specify type.
32727         [ISO C standards]: Do not allow headers.
32728         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32729         is[abcdefghijklmnopqrstuvwxyz]*.
32730         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32731         to[abcdefghijklmnopqrstuvwxyz]*.
32732         [ISO C standards] (*_t): Do not allow.
32733         * conform/data/stdalign.h-data: New file.
32734         * conform/data/stdbool.h-data: Likewise.
32735         * conform/data/stdnoreturn.h-data: Likewise.
32737 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32739         [BZ #14815]
32740         * manual/filesys.texi (Directory Entries): Typo fix.
32741         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32743 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32745         * elf/elf.h (EM_AARCH64): New macro.
32746         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32747         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32748         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32749         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32750         (R_AARCH64_TLSDESC): Likewise.
32751         (NT_ARM_TLS): Likewise.
32752         (NT_ARM_HW_BREAK): Likewise.
32753         (NT_ARM_HW_WATCH): Likewise.
32755 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32757         [BZ #14811]
32758         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32759         (__ieee754_powl): Saturate nonzero exponents with absolute value
32760         below 0x1p-79 to +/- 0x1p-79.
32761         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32762         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32763         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32764         nonzero exponents with absolute value below 0x1p-32 to +/-
32765         0x1p-32.
32766         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32767         (__ieee754_powl): Saturate nonzero exponents with absolute value
32768         below 0x1p-79 to +/- 0x1p-79.
32769         * math/libm-test.inc (pow_test): Add more tests.
32771 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32773         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32774         _dl_s390_cap_flags with kernel. Increase string length.
32775         (_dl_s390_platforms): Add z196 and zEC12.
32777 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32779         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32780         Change XOPEN21K to XOPEN2K.
32782 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32784         * string/memmove.c: Use memcpy when possible.
32786 2012-11-06  Andreas Jaeger  <aj@suse.de>
32788         * po/eo.po: Update from translation team.
32790 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32792         [BZ #14793]
32793         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32794         exponent and small x and y exponents, scale x or y up.  Increase
32795         by 2 the exponent used in scaling up.
32796         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32797         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32798         * math/libm-test.inc (fma_test): Add more tests.
32799         (fma_test_towardzero): Likewise.
32800         (fma_test_downward): Likewise.
32801         (fma_test_upward): Likewise.
32803 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32805         [BZ #14805]
32806         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32807         fenv_t *.
32809         [BZ #14801]
32810         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32811         namespace for names of struct fields.
32812         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32813         fenv_t fields.
32814         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32815         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32817 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32819         [BZ #3665]
32820         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32822 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32824         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32825         PTR_DEMANGLE.
32827         [BZ #5246]
32828         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32829         PTR_DEMANGLE.
32831 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32833         [BZ #14797]
32834         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32835         definitely overflow as x * y not x * y + z.
32836         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32837         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32838         * math/libm-test.inc (fma_test): Add more tests.
32839         (fma_test_towardzero): Likewise.
32840         (fma_test_downward): Likewise.
32841         (fma_test_upward): Likewise.
32843 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32845         [BZ #157]
32847         * include/stub-tag.h: Remove file.
32848         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32849         '#include' of it.
32850         * manual/maint.texi (Porting): Don't reference it.
32851         * Makerules ($(objpfx)stubs): Likewise.
32852         * dirent/closedir.c: Don't include <stub-tag.h>.
32853         * dirent/dirfd.c: Likewise.
32854         * dirent/fdopendir.c: Likewise.
32855         * dirent/getdents.c: Likewise.
32856         * dirent/getdents64.c: Likewise.
32857         * dirent/opendir.c: Likewise.
32858         * dirent/readdir.c: Likewise.
32859         * dirent/readdir64.c: Likewise.
32860         * dirent/readdir64_r.c: Likewise.
32861         * dirent/readdir_r.c: Likewise.
32862         * dirent/rewinddir.c: Likewise.
32863         * dirent/seekdir.c: Likewise.
32864         * dirent/telldir.c: Likewise.
32865         * gmon/profil.c: Likewise.
32866         * grp/setgroups.c: Likewise.
32867         * inet/if_index.c: Likewise.
32868         * io/access.c: Likewise.
32869         * io/chdir.c: Likewise.
32870         * io/chmod.c: Likewise.
32871         * io/chown.c: Likewise.
32872         * io/close.c: Likewise.
32873         * io/dup.c: Likewise.
32874         * io/dup2.c: Likewise.
32875         * io/dup3.c: Likewise.
32876         * io/euidaccess.c: Likewise.
32877         * io/faccessat.c: Likewise.
32878         * io/fchdir.c: Likewise.
32879         * io/fchmod.c: Likewise.
32880         * io/fchmodat.c: Likewise.
32881         * io/fchown.c: Likewise.
32882         * io/fchownat.c: Likewise.
32883         * io/fcntl.c: Likewise.
32884         * io/flock.c: Likewise.
32885         * io/fstatfs.c: Likewise.
32886         * io/fstatfs64.c: Likewise.
32887         * io/fstatvfs.c: Likewise.
32888         * io/fstatvfs64.c: Likewise.
32889         * io/futimens.c: Likewise.
32890         * io/fxstat.c: Likewise.
32891         * io/fxstat64.c: Likewise.
32892         * io/fxstatat.c: Likewise.
32893         * io/fxstatat64.c: Likewise.
32894         * io/getcwd.c: Likewise.
32895         * io/isatty.c: Likewise.
32896         * io/lchmod.c: Likewise.
32897         * io/lchown.c: Likewise.
32898         * io/link.c: Likewise.
32899         * io/linkat.c: Likewise.
32900         * io/lseek.c: Likewise.
32901         * io/lseek64.c: Likewise.
32902         * io/lxstat64.c: Likewise.
32903         * io/mkdir.c: Likewise.
32904         * io/mkdirat.c: Likewise.
32905         * io/mkfifo.c: Likewise.
32906         * io/mkfifoat.c: Likewise.
32907         * io/open.c: Likewise.
32908         * io/open64.c: Likewise.
32909         * io/openat.c: Likewise.
32910         * io/openat64.c: Likewise.
32911         * io/pipe.c: Likewise.
32912         * io/pipe2.c: Likewise.
32913         * io/poll.c: Likewise.
32914         * io/posix_fadvise.c: Likewise.
32915         * io/posix_fadvise64.c: Likewise.
32916         * io/posix_fallocate.c: Likewise.
32917         * io/posix_fallocate64.c: Likewise.
32918         * io/read.c: Likewise.
32919         * io/readlink.c: Likewise.
32920         * io/readlinkat.c: Likewise.
32921         * io/rmdir.c: Likewise.
32922         * io/sendfile.c: Likewise.
32923         * io/sendfile64.c: Likewise.
32924         * io/statfs.c: Likewise.
32925         * io/statfs64.c: Likewise.
32926         * io/statvfs.c: Likewise.
32927         * io/statvfs64.c: Likewise.
32928         * io/symlink.c: Likewise.
32929         * io/symlinkat.c: Likewise.
32930         * io/ttyname.c: Likewise.
32931         * io/ttyname_r.c: Likewise.
32932         * io/umask.c: Likewise.
32933         * io/unlink.c: Likewise.
32934         * io/unlinkat.c: Likewise.
32935         * io/utime.c: Likewise.
32936         * io/utimensat.c: Likewise.
32937         * io/write.c: Likewise.
32938         * io/xmknod.c: Likewise.
32939         * io/xmknodat.c: Likewise.
32940         * io/xstat.c: Likewise.
32941         * io/xstat64.c: Likewise.
32942         * login/getpt.c: Likewise.
32943         * login/grantpt.c: Likewise.
32944         * login/unlockpt.c: Likewise.
32945         * math/e_acoshl.c: Likewise.
32946         * math/e_acosl.c: Likewise.
32947         * math/e_asinl.c: Likewise.
32948         * math/e_atan2l.c: Likewise.
32949         * math/e_atanhl.c: Likewise.
32950         * math/e_coshl.c: Likewise.
32951         * math/e_expl.c: Likewise.
32952         * math/e_fmodl.c: Likewise.
32953         * math/e_gammal_r.c: Likewise.
32954         * math/e_hypotl.c: Likewise.
32955         * math/e_j0l.c: Likewise.
32956         * math/e_j1l.c: Likewise.
32957         * math/e_jnl.c: Likewise.
32958         * math/e_lgammal_r.c: Likewise.
32959         * math/e_log10l.c: Likewise.
32960         * math/e_log2l.c: Likewise.
32961         * math/e_logl.c: Likewise.
32962         * math/e_powl.c: Likewise.
32963         * math/e_rem_pio2l.c: Likewise.
32964         * math/e_sinhl.c: Likewise.
32965         * math/e_sqrtl.c: Likewise.
32966         * math/fclrexcpt.c: Likewise.
32967         * math/fedisblxcpt.c: Likewise.
32968         * math/feenablxcpt.c: Likewise.
32969         * math/fegetenv.c: Likewise.
32970         * math/fegetexcept.c: Likewise.
32971         * math/fegetround.c: Likewise.
32972         * math/feholdexcpt.c: Likewise.
32973         * math/fesetenv.c: Likewise.
32974         * math/fesetround.c: Likewise.
32975         * math/feupdateenv.c: Likewise.
32976         * math/fgetexcptflg.c: Likewise.
32977         * math/fraiseexcpt.c: Likewise.
32978         * math/fsetexcptflg.c: Likewise.
32979         * math/ftestexcept.c: Likewise.
32980         * math/k_cosl.c: Likewise.
32981         * math/k_rem_pio2l.c: Likewise.
32982         * math/k_sinl.c: Likewise.
32983         * math/k_tanl.c: Likewise.
32984         * math/s_asinhl.c: Likewise.
32985         * math/s_atanl.c: Likewise.
32986         * math/s_cbrtl.c: Likewise.
32987         * math/s_erfl.c: Likewise.
32988         * math/s_expm1l.c: Likewise.
32989         * math/s_log1pl.c: Likewise.
32990         * math/s_tanhl.c: Likewise.
32991         * misc/acct.c: Likewise.
32992         * misc/brk.c: Likewise.
32993         * misc/chflags.c: Likewise.
32994         * misc/chroot.c: Likewise.
32995         * misc/fchflags.c: Likewise.
32996         * misc/fgetxattr.c: Likewise.
32997         * misc/flistxattr.c: Likewise.
32998         * misc/fremovexattr.c: Likewise.
32999         * misc/fsetxattr.c: Likewise.
33000         * misc/fsync.c: Likewise.
33001         * misc/ftruncate.c: Likewise.
33002         * misc/futimes.c: Likewise.
33003         * misc/futimesat.c: Likewise.
33004         * misc/getdomain.c: Likewise.
33005         * misc/getdtsz.c: Likewise.
33006         * misc/gethostid.c: Likewise.
33007         * misc/gethostname.c: Likewise.
33008         * misc/getloadavg.c: Likewise.
33009         * misc/getpagesize.c: Likewise.
33010         * misc/getsysstats.c: Likewise.
33011         * misc/getxattr.c: Likewise.
33012         * misc/gtty.c: Likewise.
33013         * misc/ioctl.c: Likewise.
33014         * misc/lgetxattr.c: Likewise.
33015         * misc/listxattr.c: Likewise.
33016         * misc/llistxattr.c: Likewise.
33017         * misc/lremovexattr.c: Likewise.
33018         * misc/lsetxattr.c: Likewise.
33019         * misc/lutimes.c: Likewise.
33020         * misc/madvise.c: Likewise.
33021         * misc/mincore.c: Likewise.
33022         * misc/mlock.c: Likewise.
33023         * misc/mlockall.c: Likewise.
33024         * misc/mmap.c: Likewise.
33025         * misc/mprotect.c: Likewise.
33026         * misc/msync.c: Likewise.
33027         * misc/munlock.c: Likewise.
33028         * misc/munlockall.c: Likewise.
33029         * misc/munmap.c: Likewise.
33030         * misc/preadv.c: Likewise.
33031         * misc/preadv64.c: Likewise.
33032         * misc/ptrace.c: Likewise.
33033         * misc/pwritev.c: Likewise.
33034         * misc/pwritev64.c: Likewise.
33035         * misc/readv.c: Likewise.
33036         * misc/reboot.c: Likewise.
33037         * misc/remap_file_pages.c: Likewise.
33038         * misc/removexattr.c: Likewise.
33039         * misc/revoke.c: Likewise.
33040         * misc/select.c: Likewise.
33041         * misc/setdomain.c: Likewise.
33042         * misc/setegid.c: Likewise.
33043         * misc/seteuid.c: Likewise.
33044         * misc/sethostid.c: Likewise.
33045         * misc/sethostname.c: Likewise.
33046         * misc/setregid.c: Likewise.
33047         * misc/setreuid.c: Likewise.
33048         * misc/setxattr.c: Likewise.
33049         * misc/sstk.c: Likewise.
33050         * misc/stty.c: Likewise.
33051         * misc/swapoff.c: Likewise.
33052         * misc/swapon.c: Likewise.
33053         * misc/sync.c: Likewise.
33054         * misc/syncfs.c: Likewise.
33055         * misc/syscall.c: Likewise.
33056         * misc/truncate.c: Likewise.
33057         * misc/ualarm.c: Likewise.
33058         * misc/usleep.c: Likewise.
33059         * misc/ustat.c: Likewise.
33060         * misc/utimes.c: Likewise.
33061         * misc/vhangup.c: Likewise.
33062         * misc/writev.c: Likewise.
33063         * posix/_exit.c: Likewise.
33064         * posix/alarm.c: Likewise.
33065         * posix/execve.c: Likewise.
33066         * posix/fexecve.c: Likewise.
33067         * posix/fork.c: Likewise.
33068         * posix/fpathconf.c: Likewise.
33069         * posix/getaddrinfo.c: Likewise.
33070         * posix/getegid.c: Likewise.
33071         * posix/geteuid.c: Likewise.
33072         * posix/getgid.c: Likewise.
33073         * posix/getgroups.c: Likewise.
33074         * posix/getlogin.c: Likewise.
33075         * posix/getlogin_r.c: Likewise.
33076         * posix/getpgid.c: Likewise.
33077         * posix/getpid.c: Likewise.
33078         * posix/getppid.c: Likewise.
33079         * posix/getresgid.c: Likewise.
33080         * posix/getresuid.c: Likewise.
33081         * posix/getsid.c: Likewise.
33082         * posix/getuid.c: Likewise.
33083         * posix/glob64.c: Likewise.
33084         * posix/nanosleep.c: Likewise.
33085         * posix/pathconf.c: Likewise.
33086         * posix/pause.c: Likewise.
33087         * posix/posix_madvise.c: Likewise.
33088         * posix/pread.c: Likewise.
33089         * posix/pread64.c: Likewise.
33090         * posix/pwrite.c: Likewise.
33091         * posix/pwrite64.c: Likewise.
33092         * posix/sched_getaffinity.c: Likewise.
33093         * posix/sched_getp.c: Likewise.
33094         * posix/sched_gets.c: Likewise.
33095         * posix/sched_primax.c: Likewise.
33096         * posix/sched_primin.c: Likewise.
33097         * posix/sched_rr_gi.c: Likewise.
33098         * posix/sched_setaffinity.c: Likewise.
33099         * posix/sched_setp.c: Likewise.
33100         * posix/sched_sets.c: Likewise.
33101         * posix/sched_yield.c: Likewise.
33102         * posix/setgid.c: Likewise.
33103         * posix/setlogin.c: Likewise.
33104         * posix/setpgid.c: Likewise.
33105         * posix/setresgid.c: Likewise.
33106         * posix/setresuid.c: Likewise.
33107         * posix/setsid.c: Likewise.
33108         * posix/setuid.c: Likewise.
33109         * posix/sleep.c: Likewise.
33110         * posix/spawni.c: Likewise.
33111         * posix/sysconf.c: Likewise.
33112         * posix/times.c: Likewise.
33113         * posix/wait.c: Likewise.
33114         * posix/wait3.c: Likewise.
33115         * posix/wait4.c: Likewise.
33116         * posix/waitpid.c: Likewise.
33117         * resolv/gai_sigqueue.c: Likewise.
33118         * resource/getpriority.c: Likewise.
33119         * resource/getrlimit.c: Likewise.
33120         * resource/getrusage.c: Likewise.
33121         * resource/nice.c: Likewise.
33122         * resource/setpriority.c: Likewise.
33123         * resource/setrlimit.c: Likewise.
33124         * resource/ulimit.c: Likewise.
33125         * rt/aio_cancel.c: Likewise.
33126         * rt/aio_fsync.c: Likewise.
33127         * rt/aio_read.c: Likewise.
33128         * rt/aio_sigqueue.c: Likewise.
33129         * rt/aio_suspend.c: Likewise.
33130         * rt/aio_write.c: Likewise.
33131         * rt/clock_getres.c: Likewise.
33132         * rt/clock_gettime.c: Likewise.
33133         * rt/clock_nanosleep.c: Likewise.
33134         * rt/clock_settime.c: Likewise.
33135         * rt/lio_listio.c: Likewise.
33136         * rt/mq_close.c: Likewise.
33137         * rt/mq_getattr.c: Likewise.
33138         * rt/mq_notify.c: Likewise.
33139         * rt/mq_open.c: Likewise.
33140         * rt/mq_receive.c: Likewise.
33141         * rt/mq_send.c: Likewise.
33142         * rt/mq_setattr.c: Likewise.
33143         * rt/mq_timedreceive.c: Likewise.
33144         * rt/mq_timedsend.c: Likewise.
33145         * rt/mq_unlink.c: Likewise.
33146         * rt/shm_open.c: Likewise.
33147         * rt/shm_unlink.c: Likewise.
33148         * rt/timer_create.c: Likewise.
33149         * rt/timer_delete.c: Likewise.
33150         * rt/timer_getoverr.c: Likewise.
33151         * rt/timer_gettime.c: Likewise.
33152         * rt/timer_settime.c: Likewise.
33153         * setjmp/__longjmp.c: Likewise.
33154         * setjmp/setjmp.c: Likewise.
33155         * signal/kill.c: Likewise.
33156         * signal/killpg.c: Likewise.
33157         * signal/raise.c: Likewise.
33158         * signal/sigaction.c: Likewise.
33159         * signal/sigaltstack.c: Likewise.
33160         * signal/sigblock.c: Likewise.
33161         * signal/sigignore.c: Likewise.
33162         * signal/sigintr.c: Likewise.
33163         * signal/signal.c: Likewise.
33164         * signal/sigpause.c: Likewise.
33165         * signal/sigpending.c: Likewise.
33166         * signal/sigqueue.c: Likewise.
33167         * signal/sigreturn.c: Likewise.
33168         * signal/sigset.c: Likewise.
33169         * signal/sigsetmask.c: Likewise.
33170         * signal/sigstack.c: Likewise.
33171         * signal/sigsuspend.c: Likewise.
33172         * signal/sigtimedwait.c: Likewise.
33173         * signal/sigvec.c: Likewise.
33174         * signal/sigwait.c: Likewise.
33175         * signal/sigwaitinfo.c: Likewise.
33176         * signal/sysv_signal.c: Likewise.
33177         * socket/accept.c: Likewise.
33178         * socket/accept4.c: Likewise.
33179         * socket/bind.c: Likewise.
33180         * socket/connect.c: Likewise.
33181         * socket/getpeername.c: Likewise.
33182         * socket/getsockname.c: Likewise.
33183         * socket/getsockopt.c: Likewise.
33184         * socket/isfdtype.c: Likewise.
33185         * socket/listen.c: Likewise.
33186         * socket/recv.c: Likewise.
33187         * socket/recvfrom.c: Likewise.
33188         * socket/recvmsg.c: Likewise.
33189         * socket/send.c: Likewise.
33190         * socket/sendmsg.c: Likewise.
33191         * socket/sendto.c: Likewise.
33192         * socket/setsockopt.c: Likewise.
33193         * socket/shutdown.c: Likewise.
33194         * socket/sockatmark.c: Likewise.
33195         * socket/socket.c: Likewise.
33196         * socket/socketpair.c: Likewise.
33197         * stdio-common/ctermid.c: Likewise.
33198         * stdio-common/cuserid.c: Likewise.
33199         * stdio-common/remove.c: Likewise.
33200         * stdio-common/rename.c: Likewise.
33201         * stdio-common/renameat.c: Likewise.
33202         * stdio-common/tempname.c: Likewise.
33203         * stdlib/getcontext.c: Likewise.
33204         * stdlib/makecontext.c: Likewise.
33205         * stdlib/setcontext.c: Likewise.
33206         * stdlib/swapcontext.c: Likewise.
33207         * stdlib/system.c: Likewise.
33208         * streams/fattach.c: Likewise.
33209         * streams/fdetach.c: Likewise.
33210         * streams/getmsg.c: Likewise.
33211         * streams/getpmsg.c: Likewise.
33212         * streams/putmsg.c: Likewise.
33213         * streams/putpmsg.c: Likewise.
33214         * sysdeps/unix/bsd/getpt.c: Likewise.
33215         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33216         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33217         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33219         Likewise.
33220         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33221         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33222         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33223         * sysvipc/msgctl.c: Likewise.
33224         * sysvipc/msgget.c: Likewise.
33225         * sysvipc/msgrcv.c: Likewise.
33226         * sysvipc/msgsnd.c: Likewise.
33227         * sysvipc/semctl.c: Likewise.
33228         * sysvipc/semget.c: Likewise.
33229         * sysvipc/semop.c: Likewise.
33230         * sysvipc/semtimedop.c: Likewise.
33231         * sysvipc/shmat.c: Likewise.
33232         * sysvipc/shmctl.c: Likewise.
33233         * sysvipc/shmdt.c: Likewise.
33234         * sysvipc/shmget.c: Likewise.
33235         * termios/tcdrain.c: Likewise.
33236         * termios/tcflow.c: Likewise.
33237         * termios/tcflush.c: Likewise.
33238         * termios/tcgetattr.c: Likewise.
33239         * termios/tcgetpgrp.c: Likewise.
33240         * termios/tcsendbrk.c: Likewise.
33241         * termios/tcsetattr.c: Likewise.
33242         * termios/tcsetpgrp.c: Likewise.
33243         * time/adjtime.c: Likewise.
33244         * time/clock.c: Likewise.
33245         * time/getitimer.c: Likewise.
33246         * time/gettimeofday.c: Likewise.
33247         * time/setitimer.c: Likewise.
33248         * time/settimeofday.c: Likewise.
33249         * time/stime.c: Likewise.
33250         * time/time.c: Likewise.
33252 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33254         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33255         /usr/old/bin.
33257         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33258         instead of spaces.
33259         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33261 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33263         [BZ #14796]
33264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33265         FE_TONEAREST before applying Dekker multiplication and Knuth
33266         addition.  Clear inexact exceptions and check for exact zero
33267         results afterwards.
33268         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33269         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33271         * math/libm-test.inc (fma_test): Add more tests.
33272         (fma_test_towardzero): Likewise.
33273         (fma_test_downward): Likewise.
33274         (fma_test_upward): Likewise.
33275         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33276         function.
33277         (libc_fesetround): New macro.
33278         (libc_fesetroundf): Likewise.
33279         (libc_fesetroundl): Likewise.
33280         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33281         function.
33282         (libc_fesetround_387): Likewise.
33283         (libc_fesetroundf): New macro.
33284         (libc_fesetround): Likewise.
33285         (libc_fesetroundl): Likewise.
33286         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33287         function.
33288         (libc_fesetroundf): New macro.
33289         (libc_fesetround): Likewise.
33290         (libc_fesetroundl): Likewise.
33291         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33292         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33293         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33294         libm_hidden_ver.
33295         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33296         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33297         libm_hidden_def.
33298         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33299         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33300         libm_hidden_ver.
33301         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33302         libm_hidden_def.
33304         [BZ #3439]
33305         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33306         integer constant usable in #if and use that to give value to enum
33307         constant.
33308         (FE_DIVBYZERO): Likewise.
33309         (FE_UNDERFLOW): Likewise.
33310         (FE_OVERFLOW): Likewise.
33311         (FE_INVALID): Likewise.
33312         (FE_INVALID_SNAN): Likewise.
33313         (FE_INVALID_ISI): Likewise.
33314         (FE_INVALID_IDI): Likewise.
33315         (FE_INVALID_ZDZ): Likewise.
33316         (FE_INVALID_IMZ): Likewise.
33317         (FE_INVALID_COMPARE): Likewise.
33318         (FE_INVALID_SOFTWARE): Likewise.
33319         (FE_INVALID_SQRT): Likewise.
33320         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33321         (FE_TONEAREST): Likewise.
33322         (FE_TOWARDZERO): Likewise.
33323         (FE_UPWARD): Likewise.
33324         (FE_DOWNWARD): Likewise.
33325         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33326         (FE_DIVBYZERO): Likewise.
33327         (FE_OVERFLOW): Likewise.
33328         (FE_UNDERFLOW): Likewise.
33329         (FE_INEXACT): Likewise.
33330         (FE_TONEAREST): Likewise.
33331         (FE_DOWNWARD): Likewise.
33332         (FE_UPWARD): Likewise.
33333         (FE_TOWARDZERO): Likewise.
33334         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33335         (FE_UNDERFLOW): Likewise.
33336         (FE_OVERFLOW): Likewise.
33337         (FE_DIVBYZERO): Likewise.
33338         (FE_INVALID): Likewise.
33339         (FE_TONEAREST): Likewise.
33340         (FE_TOWARDZERO): Likewise.
33341         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33342         (FE_OVERFLOW): Likewise.
33343         (FE_UNDERFLOW): Likewise.
33344         (FE_DIVBYZERO): Likewise.
33345         (FE_INEXACT): Likewise.
33346         (FE_TONEAREST): Likewise.
33347         (FE_TOWARDZERO): Likewise.
33348         (FE_UPWARD): Likewise.
33349         (FE_DOWNWARD): Likewise.
33350         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33351         (FE_DIVBYZERO): Likewise.
33352         (FE_OVERFLOW): Likewise.
33353         (FE_UNDERFLOW): Likewise.
33354         (FE_INEXACT): Likewise.
33355         (FE_TONEAREST): Likewise.
33356         (FE_DOWNWARD): Likewise.
33357         (FE_UPWARD): Likewise.
33358         (FE_TOWARDZERO): Likewise.
33360 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33362         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33364 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33366         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33367         commands.  Quote $PWD.
33368         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33369         -x" by "export".
33370         (remove_newlines): Remove.
33372 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33374         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33375         * stdlib/stdlib.h (atof): Moved to ...
33376         * include/bits/stdlib-float.h: Here.  New file.
33377         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33378         * stdlib/bits/stdlib-float.h: New file.
33379         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33380         -mno-sse -mno-mmx.
33381         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33382         <xmmintrin.h>.
33384 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33386         * conform/conformtest.pl (@headers): Add fenv.h.
33387         * conform/data/fenv.h-data: New file.
33388         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33389         include of <math/fenv.h>.
33391         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33392         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33393         && !UNIX98].  Enables tests for XOPEN2K8.
33394         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33395         POSIX2008]: Likewise.
33397         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33398         (struct rusage): Do not expect type or its members.
33400         [BZ #3439]
33401         * math/math.h (FP_NAN): Define macro to integer constant usable in
33402         #if and use that to give value to enum constant.
33403         (FP_INFINITE): Likewise.
33404         (FP_ZERO): Likewise.
33405         (FP_SUBNORMAL): Likewise.
33406         (FP_NORMAL): Likewise.
33408 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33410         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33411         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33412         arguments.
33414 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33416         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33417         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33418         autoconf-time if not.
33419         * configure.in: Remove AC_PREREQ.
33421 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33423         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33424         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33425         of the internal implementation.
33427 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33429         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33430         except include of <misc/sys/syslog.h>.
33432 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33435         function returns with a NULL context exit with zero.
33437 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33439         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33441 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33443         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33444         (run_program_cmd): This.
33445         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33446         (tst_langinfo): New variable.  Use it.
33448 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33450         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33451         floating point opcodes.
33453 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33455         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33456         variable.
33458         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33460         * sysdeps/mach/hurd/powerpc: Remove directory.
33461         * sysdeps/mach/powerpc: Likewise.
33463 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33465         * scripts/check-local-headers.sh: Ignore c++ headers.
33467 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33469         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33470         __libc_cleanup_region_start argument.
33472 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33474         [BZ #14784]
33475         [BZ #14785]
33476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33477         x * y using scaling, not as x * y + z.
33478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33479         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33480         * math/libm-test.inc (fma_test): Add more tests.
33481         (fma_test_towardzero): Likewise.
33482         (fma_test_downward): Likewise.
33483         (fma_test_upward): Likewise.
33485 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33487         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33489 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33491         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33492         New variable.
33494 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33496         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33498 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33501         Fix sort order.
33502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33503         Likewise.
33505 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33508         Fix the order of the list for glibc 2.17.
33509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33510         Likewise.
33512 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33516 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33518         [BZ #14610]
33519         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33520         for low part of x being zero before using __atanl (y).
33521         * math/libm-test.inc (atan2_test): Add another test.
33523         * manual/install.texi (Configuring and compiling): Document
33524         general use of test-wrapper and test-wrapper-env.
33525         * INSTALL: Regenerated.
33527         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33528         (__fma): Do not extract and scale down low bits on after-rounding
33529         systems when result rounded to normal precision would have normal
33530         exponent.
33531         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33532         (__fmal): Do not extract and scale down low bits on after-rounding
33533         systems when result rounded to normal precision would have normal
33534         exponent.
33535         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33536         (__fmal): Do not extract and scale down low bits on after-rounding
33537         systems when result rounded to normal precision would have normal
33538         exponent.
33539         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33540         macro.
33541         (fma_test): Add more tests.
33542         (fma_test_towardzero): Likewise.
33543         (fma_test_downward): Likewise.
33544         (fma_test_upward): Likewise.
33546 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33548         * sysdeps/i386/tininess.h: Renamed to ...
33549         * sysdeps/x86/tininess.h: This.
33550         * sysdeps/x86_64/tininess.h: Removed.
33552 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33554         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33555         input.  Use $(build-program-cmd).
33556         ($(objpfx)tst-array1-static.out): Likewise.
33557         ($(objpfx)tst-array2.out): Likewise.
33558         ($(objpfx)tst-array3.out): Likewise.
33559         ($(objpfx)tst-array4.out): Likewise.
33560         ($(objpfx)tst-array5.out): Likewise.
33561         ($(objpfx)tst-array5-static.out): Likewise.
33563 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33565         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33566         if defined.
33568         * nss/nsswitch.h (nss_interface_function): Provide new
33569         macro for use with NSS functions.
33570         * grp/initgroups.c: Use new macro.
33571         * nss/getXXbyYY.c: Likewise.
33572         * nss/getXXbyYY_r.c: Likewise.
33573         * nss/getXXent.c: Likewise.
33574         * nss/getXXent_r.c: Likewise.
33575         * sysdeps/posix/getaddrinfo.c: Likewise.
33577 2012-10-30  Andreas Jaeger  <aj@suse.de>
33579         * po/ru.po: Update Russion translation from translation project.
33581 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33583         [BZ #14152]
33584         [BZ #14783]
33585         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33586         result and shift together with sticky bit instead of replicating
33587         round-to-nearest rounding.
33588         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33589         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33590         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33591         missing underflow exceptions.
33592         (fma_test_towardzero): Add more tests.
33593         (fma_test_downward): Likewise.
33594         (fma_test_upward): Likewise.
33596         [BZ #14047]
33597         * sysdeps/generic/tininess.h: New file.
33598         * sysdeps/i386/tininess.h: Likewise.
33599         * sysdeps/sh/tininess.h: Likewise.
33600         * sysdeps/x86_64/tininess.h: Likewise.
33601         * stdlib/tst-strtod-underflow.c: Likewise.
33602         * stdlib/tst-tininess.c: Likewise.
33603         * stdlib/strtod_l.c: Include <tininess.h>.
33604         (round_and_return): Do not set errno for exact underflow cases.
33605         Force an underflow exception when setting errno for underflow.
33606         Determine underflow based on rounding to normal precision if
33607         TININESS_AFTER_ROUNDING.
33608         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33609         ERANGE for exact underflow cases.
33610         * stdlib/Makefile (tests): Add tst-tininess and
33611         tst-strtod-underflow.
33612         ($(objpfx)tst-tininess): Use $(link-libm).
33613         ($(objpfx)tst-strtod-underflow): Likewise.
33615 2012-10-30  Andreas Jaeger  <aj@suse.de>
33617         [BZ#14767]
33618         * elf/Makefile (tests): Remove conditional for have-initfini-array
33619         since this is now always required and the variable does not exist
33620         anymore.
33621         (tests-static): Likewise.
33622         (modules-names): Likewise.
33624         * po/eo.po: Add Esperanto translation from translation project.
33626         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33627         merged with constructor/destructor.
33628         (init_array): Likewise.
33629         * elf/tst-array2dep.c (fini_array): Likewise.
33630         (init_array): Likewise.
33632 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33634         * manual/message.texi: Delete @cartouche tags.
33636 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33638         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33639         EOPNOTSUPP.
33640         * sysdeps/mach/hurd/fsync.c: Likewise.
33642         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33643         [_POSIX_REALTIME_SIGNALS]: Change condition to
33644         [_POSIX_REALTIME_SIGNALS > 0].
33646 2012-10-27  Andreas Jaeger  <aj@suse.de>
33648         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33649         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33650         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33651         [__WORDSIZE != 64]: Likewise.
33653 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33655         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33656         *  iconvdata/tst-tables.sh: Likewise.
33658 2012-10-25  David S. Miller  <davem@davemloft.net>
33660         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33661         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33662         of strtoull.
33664         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33665         ifunc-impl-list.c
33666         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33667         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33668         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33669         file.
33671 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33673         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33674         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33675         __getdirentries.
33677 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33678             Jim Blandy  <jimb@codesourcery.com>
33680         * scripts/cross-test-ssh.sh: New file.
33681         * manual/install.texi (Configuring and compiling): Document use of
33682         cross-test-ssh.sh.
33683         * INSTALL: Regenerated.
33685 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33687         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33688         EOPNOTSUPP.
33690 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33692         * Makeconfig (run-program-prefix): Fix comment.
33694 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33695             Jim Blandy  <jimb@codesourcery.com>
33697         * Makeconfig (test-wrapper): New variable,
33698         (test-wrapper-env): Likewise.
33699         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33700         (run-built-tests): Define to yes.
33701         (run-program-prefix): Use $(test-wrapper).
33702         (built-program-cmd): Likewise.
33703         * Rules (make-test-out): Use $(test-wrapper-env) and
33704         $(host-built-program-cmd).
33705         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33706         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33707         tst-pathopt.sh.
33708         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33709         $(test-wrapper-env) to tst-rtld-load-self.sh.
33710         ($(objpfx)order2.out): Use $(test-wrapper).
33711         ($(objpfx)tst-initorder.out): Likewise.
33712         ($(objpfx)tst-initorder2.out): Likewise.
33713         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33714         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33715         (test_wrapper_env): New variable.  Use it to run ld.so.
33716         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33717         Use it to run ld.so.
33718         (test_wrapper_env): Likewise.
33719         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33720         $(test-wrapper) to run-iconv-test.sh.
33721         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33722         (ICONV): Use $test_wrapper.
33723         * posix/Makefile ($(objpfx)globtest.out): Pass
33724         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33725         globtest.sh, not $(run-program-prefix).
33726         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33727         (test_wrapper): Likewise.
33728         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33729         set together with run_via_rtld_prefix.
33730         (run_program_prefix): Define in terms of test_wrapper and
33731         run_via_rtld_prefix.
33733 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33735         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33736         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33737         Targets removed.
33739         [BZ #14743]
33740         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33741         Declare __clock_getres, __clock_gettime, __clock_settime,
33742         __clock_nanosleep, and __clock_getcpuclockid.
33743         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33744         Remove librt_hidden_def (clock_gettime).
33745         * sysdeps/unix/clock_gettime.c: Likewise.
33746         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33747         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33748         * rt/clock_getres.c: Define __clock_getres as an alias.
33749         * sysdeps/posix/clock_getres.c: Likewise.
33750         * rt/clock_settime.c: Define __clock_settime as an alias.
33751         * sysdeps/unix/clock_settime.c: Likewise.
33752         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33753         * sysdeps/unix/clock_nanosleep.c: Likewise.
33754         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33755         * rt/clock-compat.c: New file.
33756         * rt/Makefile (librt-routines): Add clock-compat and move
33757         $(clock-routines) to ...
33758         (routines): ... here, new variable.
33759         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33760         Don't add get_clockfreq here.
33761         * rt/Versions (libc: GLIBC_2.17): New version set.
33762         Add clock_* symbols here.
33763         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33764         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33765         (GLIBC_2.17): Add clock_* symbols.
33766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33768         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33770         Likewise.
33771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33772         Likewise.
33773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33777         * NEWS: Mention the move.
33779         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33780         Use __open, __read, __close rather than their public counterparts.
33781         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33782         (__get_clockfreq_via_cpuinfo): Likewise.
33783         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33784         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33786         * config.h.in (HAVE_IFUNC): New #undef.
33787         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33788         was successful.
33789         * configure: Regenerated.
33791 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33793         * configure.in: Move READELF check to start of file.
33794         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33795         libc_cv_asm_gnu_indirect_function in the process.
33796         * configure: Regenerated.
33798 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33800         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33801         send the output to /dev/null.
33802         (libc_cv_cc_with_libunwind): Likewise.
33803         (libc_cv_as_noexecstack): Likewise.
33804         * configure: Regenerate.
33806 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33808         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33810         * posix/globtest.sh (TMPDIR): Do not set.
33811         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33812         (testout): Likewise.
33814 2012-10-24  Andreas Jaeger  <aj@suse.de>
33816         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33817         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33818         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33819         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33820         posix_fadvise64, posix_fallocate64.
33822         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33823         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33824         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33825         Likewise.
33826         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33827         Likewise.
33828         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33830         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33831         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33832         <bits/fcntl-linux.h>.
33833         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33835         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33836         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33837         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33838         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33839         [__WORDSIZE != 64]: Likewise.
33841 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33843         * Makeconfig (run-built-tests): New variable.
33844         * Rules [$(cross-compiling) = yes]: Change condition to
33845         [$(run-built-tests) = no].
33846         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33847         to [$(run-built-tests) = yes].
33848         * elf/Makefile [$(cross-compiling) = no]: Likewise
33849         * grp/Makefile [$(cross-compiling) = no]: Likewise.
33850         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33851         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33852         * intl/Makefile [$(cross-compiling) = no]: Likewise.
33853         * io/Makefile [$(cross-compiling) = no]: Likewise.
33854         * libio/Makefile [$(cross-compiling) = no]: Likewise.
33855         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33856         * misc/Makefile [$(cross-compiling) = no]: Likewise.
33857         * posix/Makefile [$(cross-compiling) = no]: Likewise.
33858         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33859         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33860         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33861         * string/Makefile [$(cross-compiling) = no]: Likewise.
33863         * posix/Makefile ($(objpfx)globtest.out): Pass
33864         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33865         $(rtld-installed-name).
33866         * posix/globtest.sh (elf_objpfx): Remove variable.
33867         (rtld_installed_name): Likewise.
33868         (library_path): Likewise.
33869         (run_program_prefix): New variable.  Use for running globtest
33870         binary.
33872 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
33873             Joseph Myers  <joseph@codesourcery.com>
33875         * Makeconfig (host-built-program-cmd): New variable.
33876         * elf/Makefile (tst-stackguard1-ARGS): Use
33877         $(host-built-program-cmd).
33878         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33879         (tst-spawn-ARGS): Likewise.
33880         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33882 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33883             Jim Blandy  <jimb@codesourcery.com>
33885         * Makeconfig (run-via-rtld-prefix): New variable.
33886         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33887         (built-program-cmd): Likewise.
33889 2012-10-22  Andreas Jaeger  <aj@suse.de>
33891         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33892         __O_RSYNC if it exists, otherwise to O_SYNC.
33894 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
33895             Joseph Myers  <joseph@codesourcery.com>
33897         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33898         /dev/null.
33899         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33900         from /dev/null
33901         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33902         /dev/null.
33904 2012-10-22  Andreas Jaeger  <aj@suse.de>
33906         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33907         Define always.
33908         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33910         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33911         bits/fcntl-linux.h.
33913         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33914         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33916         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33917         to __O_LARGEFILE.
33918         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33919         to __O_LARGEFILE.
33921 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
33922             Joseph Myers  <joseph@codesourcery.com>
33924         * config.make.in (NM): New variable.
33926 2012-10-21  Andreas Jaeger  <aj@suse.de>
33928         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33929         definitions and declarations that are provided by
33930         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33932 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33934         [BZ #14683]
33935         * elf/Makefile (tests-static): Add tst-leaks1-static.
33936         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33937         ($(objpfx)tst-leaks1-static): New rule.
33938         ($(objpfx)tst-leaks1-static-mem): Likewise.
33939         (tst-leaks1-static-ENV): New macro.
33940         * elf/dl-open.c (dl_open_worker): Check the main application
33941         only if SHARED is defined.
33942         * elf/tst-leaks1-static.c: New file.
33944 2012-10-20  Andreas Jaeger  <aj@suse.de>
33946         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33947         generic values for Linux.
33948         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33949         and declarations that are provided by <bits/fcntl-linux.h> and
33950         include <bits/fcntl-linux.h>.
33951         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33952         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33954 2012-10-20  Roland McGrath  <roland@hack.frob.com>
33956         * io/fcntl.h: Move include of <bits/types.h> to the top and
33957         include it unconditionally.
33959 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33961         * wcsmbs/Makefile (tests-ifunc): New variable.
33962         (tests): Add $(tests-ifunc).
33963         * wcsmbs/test-wcschr-ifunc.c: New file.
33964         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33965         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33966         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33967         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33968         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33970         * string/Makefile (tests-ifunc): New variable.
33971         (tests): Add $(tests-ifunc).
33972         * string/test-memccpy.c (TEST_NAME): New macro.
33973         * string/test-memchr.c (TEST_NAME): Likewise.
33974         * string/test-memcmp.c (TEST_NAME): Likewise.
33975         * string/test-memcpy.c (TEST_NAME): Likewise.
33976         * string/test-memmem.c (TEST_NAME): Likewise.
33977         * string/test-memmove.c (TEST_NAME): Likewise.
33978         * string/test-memset.c (TEST_NAME): Likewise.
33979         * string/test-rawmemchr.c (TEST_NAME): Likewise.
33980         * string/test-stpcpy.c (TEST_NAME): Likewise.
33981         * string/test-stpncpy.c (TEST_NAME): Likewise.
33982         * string/test-strcasecmp.c (TEST_NAME): Likewise.
33983         * string/test-strcasestr.c (TEST_NAME): Likewise.
33984         * string/test-strcat.c (TEST_NAME): Likewise.
33985         * string/test-strchr.c (TEST_NAME): Likewise.
33986         * string/test-strcmp.c(TEST_NAME): Likewise.
33987         * string/test-strcpy.c (TEST_NAME): Likewise.
33988         * string/test-strcspn.c (TEST_NAME): Likewise.
33989         * string/test-strlen.c (TEST_NAME): Likewise.
33990         * string/test-strncasecmp.c (TEST_NAME): Likewise.
33991         * string/test-strncmp.c (TEST_NAME): Likewise.
33992         * string/test-strncpy.c (TEST_NAME): Likewise.
33993         * string/test-strnlen.c (TEST_NAME): Likewise.
33994         * string/test-strpbrk.c (TEST_NAME): Likewise.
33995         * string/test-strrchr.c (TEST_NAME): Likewise.
33996         * string/test-strspn.c (TEST_NAME): Likewise.
33997         * string/test-strstr.c (TEST_NAME): Likewise.
33998         * string/test-bcopy-ifunc.c: New file.
33999         * string/test-bzero-ifunc.c: Likewise.
34000         * string/test-memccpy-ifunc.c: Likewise.
34001         * string/test-memchr-ifunc.c: Likewise.
34002         * string/test-memcmp-ifunc.c: Likewise.
34003         * string/test-memcpy-ifunc.c: Likewise.
34004         * string/test-memmem-ifunc.c: Likewise.
34005         * string/test-memmove-ifunc.c: Likewise.
34006         * string/test-mempcpy-ifunc.c: Likewise.
34007         * string/test-memset-ifunc.c: Likewise.
34008         * string/test-rawmemchr-ifunc.c: Likewise.
34009         * string/test-stpcpy-ifunc.c: Likewise.
34010         * string/test-stpncpy-ifunc.c: Likewise.
34011         * string/test-strcasecmp-ifunc.c: Likewise.
34012         * string/test-strcasestr-ifunc.c: Likewise.
34013         * string/test-strcat-ifunc.c: Likewise.
34014         * string/test-strchr-ifunc.c: Likewise.
34015         * string/test-strchrnul-ifunc.c: Likewise.
34016         * string/test-strcmp-ifunc.c: Likewise.
34017         * string/test-strcpy-ifunc.c: Likewise.
34018         * string/test-strcspn-ifunc.c: Likewise.
34019         * string/test-strlen-ifunc.c: Likewise.
34020         * string/test-strncasecmp-ifunc.c: Likewise.
34021         * string/test-strncat-ifunc.c: Likewise.
34022         * string/test-strncmp-ifunc.c: Likewise.
34023         * string/test-strncpy-ifunc.c: Likewise.
34024         * string/test-strnlen-ifunc.c: Likewise.
34025         * string/test-strpbrk-ifunc.c: Likewise.
34026         * string/test-strrchr-ifunc.c: Likewise.
34027         * string/test-strspn-ifunc.c: Likewise.
34028         * string/test-strstr-ifunc.c: Likewise.
34030         * debug/Makefile (tests-ifunc): New variable.
34031         (tests): Add $(tests-ifunc).
34032         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34033         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34034         * debug/test-stpcpy_chk-ifunc.c: New file.
34035         * debug/test-strcpy_chk-ifunc.c: Likewise.
34037 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34039         [BZ #13601]
34040         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34041         header is not read in.
34043 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34045         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34046         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34047         directly.  Pass built executable to script as
34048         $(built-program-cmd).
34049         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34050         $testprogram without using LD_LIBRARY_PATH and $ldso.
34052         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34053         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34054         $(rtld-installed-name).
34055         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34056         (rtld_installed_name): Likewise.
34057         (library_path): Likewise.
34058         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34059         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34060         $(run-program-prefix) to tst-tables.sh.
34061         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34062         it to run tst-table-from and tst-table-to.
34063         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34064         Pass it to tst-table.sh.
34065         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34066         $(run-program-prefix) to tst-gettext.sh.
34067         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34068         tst-translit.sh.
34069         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34070         tst-gettext2.sh.
34071         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34072         to run tst-gettext.
34073         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34074         to run tst-gettext2.
34075         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34076         to run tst-translit.
34077         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34078         $(run-program-prefix) to tst-mtrace.sh.
34079         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34080         to run tst-mtrace.
34081         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34082         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34083         $(rtld-installed-name).
34084         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34085         (rtld_installed_name): Likewise.
34086         (run_program_prefix): New variable.  Use it to run wordexp-test.
34088         * Makeconfig (ARCH): Remove all definitions.
34089         (machine): Likewise.
34090         [ARCH]: Remove conditional code.
34091         [!objdir]: Give error.
34092         [!objdir] (objpfx): Remove.
34093         [!objdir] (common-objpfx): Likewise.
34094         [!objdir] (common-objdir): Likewise.
34095         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34096         AC_CONFIG_FILES call.
34097         * configure: Regenerated.
34099         [BZ #13888]
34100         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34101         or TMPDIR.
34102         (testout): Likewise.
34104         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34105         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34106         $(rtld-installed-name).
34107         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34108         (rtld_installed_name): Likwise.
34109         (runit): Remove function.
34110         (run_getconf): New variable,  Use it for running getconf binary.
34112 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34114         [BZ #14716]
34115         * string/test-memmem.c (check_result): New function.
34116         (do_one_test): Use it.
34117         (check1): New function.
34118         (test_main): Use it.
34120 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34122         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34124 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34126         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34127         (_G_LSEEK64): Likewise.
34128         (_G_MMAP64): Likewise.
34129         (_G_FSTAT64): Likewise.
34130         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34131         (_G_LSEEK64): Likewise.
34132         (_G_MMAP64): Likewise.
34133         (_G_FSTAT64): Likewise.
34134         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34135         unconditional.  Call __mmap64 directly.
34136         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34137         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34138         __lseek64 directly.
34139         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34140         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34141         __mmap64 directly.
34142         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34143         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34144         __lseek64 directly.
34145         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34146         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34147         __lseek64 directly.
34148         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34149         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34150         __lseek64 directly.
34151         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34152         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34153         __fxstat64 directly.
34154         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34155         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34156         unconditional.
34157         (freopen64) [!_G_OPEN64]: Remove conditional code.
34158         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34159         unconditional.
34160         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34161         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34162         unconditional.
34163         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34164         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34165         unconditional.
34166         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34167         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34168         unconditional.
34169         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34170         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34171         unconditional.
34172         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34173         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34174         unconditional.
34175         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34176         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34177         unconditional.
34178         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34180 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34182         [BZ #12140]
34183         * manual/memory.texi (Malloc Tunable Parameters): Add note
34184         about free list pointers overwriting some perturb bytes.
34185         Wording suggested by Roland McGrath.
34187 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34189         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34190         (lgamma_test): Likewise.
34191         (tgamma_test): Likewise.
34193 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34195         [BZ #14700]
34196         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34197         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34199 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34201         * NEWS: Mention BZ #14716.
34202         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34203         when removing AVAILABLE1_USES_J macro.
34205 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34207         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34208         (__bswap_64): __uint64_t for unsigned 64-bit int.
34210 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34212         * include/string.h (memmem): Declare libc hidden alias.
34213         * string/memmem.c (memmem): Define libc hidden alias.
34214         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34215         __read, __close instead of open, read, close.
34217 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34220         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34221         global and hidden.
34222         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34223         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34224         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34225         Likewise.
34226         (__rawmemchr_sse2): Likewise.
34227         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34228         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34229         (__strchr_sse2): Likewise.
34230         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34231         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34232         (__strcasecmp_sse2): Likewise.
34233         (__strncasecmp_sse2): Likewise.
34234         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34235         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34236         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34237         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34238         (__strrchr_sse2): Likewise.
34239         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34240         ifunc-impl-list.c.
34241         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34242         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34243         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34244         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34245         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34246         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34247         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34248         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34249         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34250         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34251         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34252         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34253         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34254         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34255         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34256         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34257         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34258         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34259         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34260         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34261         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34262         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34263         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34264         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34265         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34266         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34267         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34268         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34269         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34270         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34272         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34273         global and hidden.
34274         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34275         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34276         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34277         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34278         Likewise.
34279         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34280         Likewise.
34281         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34282         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34283         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34284         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34285         ifunc-impl-list.c.
34286         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34287         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34288         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34289         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34290         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34291         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34292         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34293         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34294         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34295         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34296         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34297         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34298         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34299         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34300         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34301         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34302         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34303         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34304         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34305         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34306         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34307         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34308         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34309         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34310         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34311         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34312         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34313         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34314         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34315         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34316         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34317         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34318         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34319         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34320         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34321         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34322         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34323         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34324         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34325         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34326         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34328         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34329         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34330         * include/ifunc-impl-list.h: New file.
34331         * misc/ifunc-impl-list.c: Likewise.
34332         * misc/Makefile (routines): Add ifunc-impl-list.
34333         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34334         * string/test-string.h: Include <ifunc-impl-list.h>.
34335         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34336         TEST_NAME]: New variables.
34337         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34338         are defined.
34339         (test_init): Call __libc_ifunc_impl_list to initialize
34340         func_list if TEST_IFUNC and TEST_NAME are defined.
34342         * string/Makefile (strop-tests): Add bcopy and bzero.
34343         * string/test-bcopy.c: New file.
34344         * string/test-bzero.c: Likewise.
34345         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34346         defined.
34347         * string/test-memset.c: Support bzero test if TEST_BZERO is
34348         defined.
34349         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34350         __libc_memmove.
34351         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34352         __libc_memset.
34353         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34354         of memset.
34356 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34358         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34359         * configure: Regenerated.
34361         * Makeconfig (+link-static-before-libc): Don't include
34362         $(link-static-libc).
34364         * libio/libio.h (_IO_pos_t): Remove.
34366 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34368         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34369         McGrath.
34371 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34373         * crypt/crypt-entry.c: Include fips-private.h.
34374         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34375         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34376         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34377         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34379 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34381         * crypt/crypt-private.h: Include stdbool.h.
34382         (_ufc_setup_salt_r): Return bool.
34383         * crypt/crypt-entry.c: Include errno.h.
34384         (__crypt_r): Return NULL with EINVAL for bad salt.
34385         * crypt/crypt_util.c (bad_for_salt): New.
34386         (_ufc_setup_salt_r): Check that salt is long enough and within
34387         the specified alphabet.
34388         * crypt/badsalttest.c: New file.
34389         * crypt/Makefile (tests): Add it.
34390         ($(objpfx)badsalttest): New.
34392 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34394         * NEWS: Add entry for BZ #14602.
34396 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34398         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34399         type-generic.
34400         * math/libm-test.inc: Update comment listing what functions and
34401         macros are tested.
34402         (isgreater_test): New function.
34403         (isgreaterequal_test): Likewise.
34404         (isless_test): Likewise.
34405         (islessequal_test): Likewise.
34406         (islessgreater_test): Likewise.
34407         (isunordered_test): Likewise.
34408         (main): Call the new functions.
34410 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34412         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34413         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34414         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34415         * sysdeps/i386/configure: Regenerated.
34416         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34417         * sysdeps/mach/configure: Regenerated.
34418         * sysdeps/mach/hurd/configure: Regenerated.
34419         * sysdeps/powerpc/configure: Regenerated.
34420         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34421         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34422         * sysdeps/s390/s390-32/configure: Regenerated.
34423         * sysdeps/s390/s390-64/configure: Regenerated.
34424         * sysdeps/sh/configure: Regenerated.
34425         * sysdeps/sparc/configure: Regenerated.
34426         * sysdeps/unix/sysv/linux/configure: Regenerated.
34427         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34428         * sysdeps/x86_64/configure: Regenerated.
34430         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34431         defined.  Don't check if MAP is NULL.
34433 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34435         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34436         (_G_stat64): Likewise.
34437         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34438         (_G_stat64): Likewise.
34439         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34440         instead of struct _G_stat64.
34441         * libio/fileops.c (mmap_remap_check): Likewise.
34442         (decide_maybe_mmap): Likewise.
34443         (_IO_new_file_seekoff): Likewise.
34444         (_IO_file_stat): Likewise.
34445         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34446         _G_off64_t.
34447         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34448         instead of struct _G_stat64.
34449         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34451 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34453         [BZ #14602]
34454         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34455         Replace with ...
34456         (CHECK_EOL): New macro.
34457         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34458         CHECK_EOL.
34459         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34460         Replace with CHECK_EOL.
34461         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34462         Replace with CHECK_EOL.
34464 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34466         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34467         type-generic.
34468         * math/libm-test.inc: Update comment listing what functions and
34469         macros are tested.
34470         (finite_test): New function.
34471         (isinf_test): Likewise.
34472         (isnan_test): Likewise.
34473         (fpclassify_test): Test subnormal input.
34474         (isfinite_test): Likewise.
34475         (isnormal_test): Likewise.
34476         (main): Call the new functions.
34478 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34480         [BZ #14660]
34481         * Makerules (%.dynsym): Force C locale when running
34482         $(OBJDUMP) --dynamic-syms.
34484 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34486         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34487         <stdint.h>.
34489 2012-10-06  David S. Miller  <davem@davemloft.net>
34491         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34492         upper 32-bits of the length value in %o2 since we use branch-on-register
34493         tests which consider the entire 64-bit register.
34495 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34497         * string/test-strstr.c (check2): Add a test for page boundary.
34499 2012-10-05  David S. Miller  <davem@davemloft.net>
34501         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34502         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34503         file.
34504         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34505         sysdep_routines.
34506         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34507         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34508         and bzero when HWCAP_SPARC_CRYPTO is present.
34510 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34512         [BZ #14602]
34513         * string/test-strstr.c (check2): New function.
34514         (test_main): Call check2.
34516         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34517         and bug-strchr1.
34518         * string/bug-strcasestr1.c (do_test): Moved to ...
34519         * string/test-strcasestr.c (check1): Here.  New function.
34520         (do_one_test): Break out result checking code into ...
34521         (check_result): This.  New function.
34522         (do_one_test): Call check_result.
34523         (test_main): Call check1.
34524         * string/bug-strchr1.c (do_test): Moved to ...
34525         * string/test-strchr.c (check1): Here.  New function.
34526         (do_one_test): Break out result checking code into ...
34527         (check_result): This.  New function.
34528         (do_one_test): Call check_result.
34529         (test_main): Call check1.
34530         * string/bug-strstr1.c (main): Moved to ...
34531         * string/test-strstr.c (check1): Here.  New function.
34532         (do_one_test): Break out result checking code into ...
34533         (check_result): This.  New function.
34534         (do_one_test): Call check_result.
34535         (test_main): Call check1.
34536         * string/bug-strcasestr1.c: Removed.
34537         * string/bug-strchr1.c: Likewise.
34538         * string/bug-strstr1.c: Likewise.
34540         * elf/Makefile (dl-routines): Add hwcaps.
34541         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34542         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34543         (_dl_important_hwcaps): Moved to ...
34544         * elf/dl-hwcaps.c: Here.  New file.
34545         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34547         [BZ #14557]
34548         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34549         if IS_IN_rtld isn't defined.
34551         * elf/dl-support.c (_dl_sysinfo_map): New.
34552         Include "get-dynamic-info.h" and "setup-vdso.h".
34553         (_dl_non_dynamic_init): Call setup_vdso.
34554         * elf/dynamic-link.h: Don't include <assert.h>.
34555         (elf_get_dynamic_info): Moved to ...
34556         * elf/get-dynamic-info.h: Here.  New file.
34557         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34558         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34559         * elf/setup-vdso.h: Here.  New file.
34560         * elf/rtld.c: Include "setup-vdso.h".
34561         (dl_main): Call setup_vdso.
34563 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34565         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34566         creal in comment listing functions tested.  List finite, isinf,
34567         isnan, isless, islessequal, isgreater, isgreaterequal,
34568         islessgreater, isunordered, lgamma_r and pow10 as functions and
34569         macros not tested.  Mention which functions not tested are aliases
34570         for other functions.  Fix typo.  Note that signs of NaNs are not
34571         tested.
34573         * scripts/config.guess: Update from config.git.
34574         * scripts/config.sub: Likewise.
34576 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34578         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34579         * misc/madvise.c (madvise): Renamed to __madvise.
34580         Make madvise a weak alias.
34581         * include/sys/mman.h: Declare __madvise.
34582         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34583         * sysdeps/unix/syscalls.list
34584         (madvise): Make __madvise the strong name, and madvise a weak alias.
34585         * sysdeps/unix/sysv/linux/syscalls.list
34586         (madvise, mmap): Remove redundant entries.
34587         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34588         * malloc/malloc.c (mtrim): Likewise.
34589         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34591 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34593         * sysdeps/mach/hurd/dl-cache.c: File removed.
34594         * config.h.in (USE_LDCONFIG): New #undef.
34595         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34596         * configure: Regenerated.
34597         * elf/Makefile (dl-routines): Add dl-cache only under
34598         [$(use-ldconfig) = yes].
34599         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34600         cache on [USE_LDCONFIG].
34601         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34602         [USE_LDCONFIG].
34603         * elf/rtld.c (dl_main): Likewise.
34605 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34607         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34608         _SC_LEVEL4_CACHE_LINESIZE.
34610 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34612         * sysdeps/unix/bsd/confstr.h: File removed.
34614 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34616         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34617         sys/sdt-config.h.
34619 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34621         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34622         Make 'mapoff' field ElfW(Off) rather than off_t.
34624 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34626         * nscd/Makefile: Remove nscd-cflags and all its users.
34627         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34628         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34630         [BZ #10631]
34631         * malloc.c (malloc_printerr): Clarify error message.
34633 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34635         [BZ #14648]
34636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34637         Set bit_FMA_Usable if FMA is supported.
34638         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34639         macro.
34640         (bit_FMA4_Usable): Updated.
34641         (index_FMA_Usable): New macro.
34642         (CPUID_FMA): Likewise
34643         (HAS_FMA): Defined with bit_FMA_Usable.
34645 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34647         * bits/types.h (__swblk_t): Type removed.
34648         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34649         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34650         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34651         (__SWBLK_T_TYPE): Likewise.
34652         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34653         (__SWBLK_T_TYPE): Likewise.
34654         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34655         (__SWBLK_T_TYPE): Likewise.
34656         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34657         (__SWBLK_T_TYPE): Likewise.
34659 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34660             Honza Horak <hhorak@redhat.com>
34662         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34663         (xdr_mapname): Use YPMAXMAP as maxsize.
34664         (xdr_peername): Use YPMAXPEER as maxsize.
34665         (xdr_keydat): Use YPAXRECORD as maxsize.
34666         (xdr_valdat): Use YPMAXRECORD as maxsize.
34668 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34670         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34672         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34673         * csu/init-first.c: ... here.
34674         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34675         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34676         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34677         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34678         * sysdeps/i386/init-first.c: File removed.
34679         * sysdeps/sh/init-first.c: File removed.
34681 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34683         [BZ #14645]
34684         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34685         if x * y might underflow to zero and z is zero.
34686         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34687         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34688         * math/libm-test.inc (min_subnorm_value): New variable.
34689         (fma_test): Add more tests.
34690         (fma_test_towardzero): Likewise.
34691         (fma_test_downward): Likewise
34692         (fma_test_upward): Likewise.
34693         (initialize): Set min_subnorm_value.
34695 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34697         [BZ #14638]
34698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34699         0 + 0.
34700         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34701         mode for addition resulting in exact zero.
34702         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34703         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34704         exact 0 + 0.
34705         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34706         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34707         * math/libm-test.inc (fma_test): Add more tests.
34708         (fma_test_towardzero): New function.
34709         (fma_test_downward): Likewise.
34710         (fma_test_upward): Likewise.
34711         (main): Call the new functions.
34713 2012-09-28  David S. Miller  <davem@davemloft.net>
34715         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34717 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34719         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34720         instead of SIGALRM.
34722         * sysdeps/gnu/_G_config.h: Moved to ...
34723         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34724         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34725         * sysdeps/generic/_G_config.h: ... here.
34727         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34729         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34731         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34732         Conditionalize target on [libnss_test1.so-version].
34734         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34736         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34737         (elfobjdir): Move out of conditionals.
34739         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34740         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34741         (__nss_lookup_function): Conditionalize label remove_from_tree on
34742         [!DO_STATIC_NSS || SHARED], matching its only use.
34744 2012-09-28  David S. Miller  <davem@davemloft.net>
34746         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34747         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34748         file.
34749         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34750         sysdep_routines.
34751         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34752         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34753         when HWCAP_SPARC_CRYPTO is present.
34755 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34757         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34759 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34761         [BZ #6530]
34762         * stdio-common/vfprintf.c (process_string_arg): Revert
34763         2000-07-22 change.
34765 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34767         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34768         for testcase.
34769         * stdio-common/tst-sprintf.c: Include <locale.h>
34770         (main): Test sprintf's handling of incomplete multibyte
34771         characters.
34773 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34775         * elf/dl-runtime.c (VERSYMIDX): Removed.
34776         * elf/dl-version.c (VERSYMIDX): Likewise.
34777         * elf/do-rel.h (VERSYMIDX): Likewise.
34778         (VALIDX): Likewise.
34779         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34780         * elf/rtld.c (VALIDX): Likewise.
34781         (ADDRIDX): Likewise.
34782         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34783         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34784         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34785         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34786         (VALIDX): Likewise.
34787         (ADDRIDX): Likewise.
34789 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34791         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34793 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34795         [BZ #11438]
34796         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34797         to global scope.
34798         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34799         addresses are in the same scope as 192.0.2/24.
34800         * posix/gai.conf: Document new scope table defaults.
34802 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34804         [BZ #5298]
34805         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34806         for ftell.  Compute offsets from write pointers instead.
34807         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34809 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34811         [BZ #14543]
34812         * libio/Makefile (tests): New test case tst-fseek.
34813         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34814         combination works in wide mode.
34815         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34816         state when the external buffer state changes.
34818 2012-09-27  David S. Miller  <davem@davemloft.net>
34820         [BZ #14376]
34821         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34822         pass reloc->r_addend in as the 'high' argument to
34823         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34827 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34829         * rt/tst-aio2.c: Include <pthread.h>.
34830         * rt/tst-aio3.c: Likewise.
34832 2012-09-27  Steve Ellcey  <sellcey@mips.com>
34834         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34836 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
34838         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34839         contents on [SHARED].
34841 2012-09-26  Marek Polacek  <polacek@redhat.com>
34843         [BZ #14530]
34844         [BZ #13741]
34845         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34846         for C++ and GCC <4.3 as well as for non GCC compilers.
34848 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34852 2012-09-25  Roland McGrath  <roland@hack.frob.com>
34854         * Makefile.in (all, install): Declare with .PHONY.
34855         Reported by Michael Hope <michael.hope@linaro.org>.
34857 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34859         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34860         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34861         system header.
34862         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34863         Likewise.
34864         (sydep_routines): Add the new and the internal functions.
34865         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34866         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34868         (GLIBC_2.17): Add the new function.
34869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34870         (GLIBC_2.17): Likewise.
34871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34872         (GLIBC_2.17): Likewise.
34873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34874         (GLIBC_2.17): Likewise.
34875         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34877 2012-09-25  Alan Modra  <amodra@gmail.com>
34879         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34880         Add release barrier before setting once_control to say
34881         initialisation is done.  Add hints on lwarx.  Use macro in
34882         place of isync.
34883         (clear_once_control): Add release barrier.
34885 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34887         [BZ #13629]
34888         * math/s_clog.c (__clog): Handle more values close to |z| = 1
34889         specially.
34890         * math/s_clog10.c (__clog10): Likewise.
34891         * math/s_clog10f.c (__clog10f): Likewise.
34892         * math/s_clog10l.c (__clog10l): Likewise.
34893         * math/s_clogf.c (__clogf): Likewise.
34894         * math/s_clogl.c (__clogl): Likewise.
34895         * math/Makefile (libm-calls): Add x2y2m1.
34896         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34897         (__x2y2m1): Likewise.
34898         (__x2y2m1l): Likewise.
34899         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34900         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34901         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34902         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34903         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34904         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34905         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34906         * sysdeps/i386/fpu/libm-test-ulps: Update.
34907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34909         [BZ #14621]
34910         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34911         int as type of variable DEPTH.
34912         (glob): Use size_t instead of int as type of variables NEWCOUNT
34913         and OLD_PATHC.
34915 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34917         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34918         Add s_sincosf-sse2.
34919         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34920         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34921         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34922         macros for using routine as __sincosf_ia32.
34923         Use macro for function declaration and weak_alias.
34924         * sysdeps/i386/fpu/libm-test-ulps: Update.
34926         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34929         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34930         subnormal argument.
34931         * math/s_cexpf.c (__cexpf): Likewise.
34932         * math/s_csinf.c (__csinf): Likewise.
34933         * math/s_csinhf.c (__csinhf): Likewise.
34934         * math/s_ctanf.c (__ctanf): Likewise.
34935         * math/s_ctanhf.c (__ctanhf): Likewise.
34936         * math/s_ccosh.c (__ccoshf): Likewise.
34937         * math/s_cexp.c (__cexpl): Likewise.
34938         * math/s_csin.c (__csin): Likewise.
34939         * math/s_csinh.c (__csinh): Likewise.
34940         * math/s_ctan.c (__ctan): Likewise.
34941         * math/s_ctanh.c (ctanh): Likewise.
34942         * math/s_ccoshl.c (__ccoshl): Likewise.
34943         * math/s_cexpl.c (__cexpl): Likewise.
34944         * math/s_csinl.c (__csinl): Likewise.
34945         * math/s_csinhl.c (__csinhl): Likewise.
34946         * math/s_ctanl.c (__ctanl): Likewise.
34947         * math/s_ctanhl.c (__ctanhl): Likewise.
34949 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34951         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34952         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34953         (_IO_off_t): Define to __off_t, not _G_off_t.
34954         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34955         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34956         (_IO_wint_t): Define to wint_t, not _G_wint_t.
34957         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34958         type of __dummy and __dummy2 fields.
34959         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34960         (_G_ssize_t): Likewise.
34961         (_G_off_t): Likewise.
34962         (_G_pid_t): Likewise.
34963         (_G_uid_t): Likewise.
34964         (_G_wchar_t): Likewise.
34965         (_G_wint_t): Likewise.
34966         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34967         (_G_ssize_t): Likewise.
34968         (_G_off_t): Likewise.
34969         (_G_pid_t): Likewise.
34970         (_G_uid_t): Likewise.
34971         (_G_wchar_t): Likewise.
34972         (_G_wint_t): Likewise.
34973         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34974         (_G_ssize_t): Likewise.
34975         (_G_off_t): Likewise.
34976         (_G_pid_t): Likewise.
34977         (_G_uid_t): Likewise.
34978         (_G_wchar_t): Likewise.
34979         (_G_wint_t): Likewise.
34981 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34983         * malloc/arena.c: Include malloc-sysdep.h.
34984         (shrink_heap): Use check_may_shrink_heap to decide if madvise
34985         is sufficient to shrink the heap or an unmap is needed.
34986         * sysdeps/generic/malloc-sysdep.h: New file.  Define
34987         new function check_may_shrink_heap.
34988         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
34989         new function check_may_shrink_heap.
34991 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34993         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34994         comments.
34996 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
34998         * catgets/test-gencat.sh: Add "set -e".
34999         * elf/tst-pathopt.sh: Likewise.
35000         * grp/tst_fgetgrent.sh: Likewise.
35001         * iconvdata/run-iconv-test.sh: Likewise.
35002         * intl/tst-gettext.sh: Likewise.
35003         * intl/tst-gettext2.sh: Likewise.
35004         * intl/tst-gettext4.sh: Likewise.
35005         * intl/tst-gettext6.sh: Likewise.
35006         * intl/tst-translit.sh: Likewise.
35007         * io/ftwtest-sh: Likewise.
35008         * libio/test-freopen.sh: Likewise.
35009         * malloc/tst-mtrace.sh: Likewise.
35010         * posix/globtest.sh: Likewise.
35011         * posix/tst-getconf.sh: Likewise.
35012         * posix/wordexp-tst.sh: Likewise.
35013         * stdio-common/tst-printf.sh: Likewise.
35014         * stdio-common/tst-unbputc.sh: Likewise.
35015         * stdlib/tst-fmtmsg.sh: Likewise.
35016         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35017         * catgets/Makefile: Do not specify -e option when running
35018         testsuite shell scripts.
35019         * elf/Makefile: Likewise.
35020         * grp/Makefile: Likewise.
35021         * iconvdata/Makefile: Likewise.
35022         * intl/Makefile: Likewise.
35023         * io/Makefile: Likewise.
35024         * libio/Makefile: Likewise.
35025         * malloc/Makefile: Likewise.
35026         * posix/Makefile: Likewise.
35027         * stdio-common/Makefile: Likewise.
35028         * stdlib/Makefile: Likewise.
35029         * sysdeps/x86_64/Makefile: Likewise.
35031         * io/ftwtest-sh: Add copyright header.
35032         * posix/globtest.sh: Likewise.
35033         * posix/tst-getconf.sh: Likewise.
35034         * posix/wordexp-tst.sh: Likewise.
35035         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35037 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35039         [BZ #13679]
35040         * Makeconfig (+link): Defined as $(+link-static) if
35041         $(build-shared) isn't yes.
35042         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35043         isn't yes.
35044         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35046         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35048         [BZ #14562]
35049         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35050         new chunk size with MALLOC_ALIGN_MASK.
35052 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35054         [BZ #5044]
35055         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35056         <rounding-mode.h>.
35057         (__printf_fphex): Determine rounding using get_rounding_mode and
35058         round_away.
35059         * stdio-common/tst-printf-round.c (struct hex_test): New
35060         structure.
35061         (hex_tests): New variable.
35062         (test_hex_in_one_mode): New function.
35063         (do_test): Also run tests for hex float output.
35065 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35067         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35068         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35069         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35070         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35071         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35072         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35073         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35074         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35076 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35078         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35079         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35080         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35081         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35083 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35085         [BZ #14579]
35086         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35087         mode only.
35088         * elf/tst-rtld-load-self.sh: New test.
35089         * elf/Makefile: Run it.
35091 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35093         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35094         (tst-writev-ENV): Remove.
35095         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35097 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35099         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35101 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35103         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35104         unconditional.
35105         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35106         Likewise.
35107         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35108         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35109         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35110         Likewise.
35112 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35114         [BZ #14587]
35115         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35116         * config.make.in (have-cpp-asm-debuginfo): Removed.
35117         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35118         * configure: Regenerated.
35120 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35122         [BZ #5044]
35123         * stdio-common/printf_fp.c: Include <stdbool.h> and
35124         <rounding-mode.h>.
35125         (___printf_fp): Determine rounding using get_rounding_mode and
35126         round_away.
35127         * stdio-common/tst-printf-round.c: New file.
35128         * stdio-common/Makefile (tests): Add tst-printf-round.
35129         (link-libm): New variable.
35130         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35132 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35134         [BZ #14576]
35135         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35136         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35137         Likewise.
35138         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35139         Likewise.
35141 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35143         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35144         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35145         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35146         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35148 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35150         [BZ #14518]
35151         * include/rounding-mode.h: New file.
35152         * sysdeps/generic/get-rounding-mode.h: Likewise.
35153         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35154         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35155         (MAX_VALUE): New macro.
35156         (MIN_VALUE): Likewise.
35157         (overflow_value): New function.
35158         (underflow_value): Likewise.
35159         (round_and_return): Use overflow_value and underflow_value to
35160         determine return values in overflow and underflow cases.  Use
35161         round_away to determine rounding depending on rounding mode.
35162         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35163         determine return values in overflow and underflow cases.
35164         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35165         (struct test_results): New structure.
35166         (struct test): Use struct test_results to store expected results
35167         for all rounding modes.
35168         (TEST): Include expected results for all rounding modes.
35169         (test_in_one_mode): New function.
35170         (do_test): Use test_in_one_mode to compute and check results.
35171         Check results for all rounding modes.
35172         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35173         $(link-libm).
35175 2012-12-09  Allan McRae  <allan@archlinux.org>
35177         * sysdeps/i386/fpu/libm-test-ulps: Update
35179 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35181         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35182         (_G_int32_t): Likewise.
35183         (_G_uint16_t): Likewise.
35184         (_G_uint32_t): Likewise.
35185         (_G_HAVE_BOOL): Likewise.
35186         (_G_HAVE_ATEXIT): Likewise.
35187         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35188         (_G_HAVE_IO_FILE_OPEN): Likewise.
35189         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35190         (_G_int32_t): Likewise.
35191         (_G_uint16_t): Likewise.
35192         (_G_uint32_t): Likewise.
35193         (_G_HAVE_BOOL): Likewise.
35194         (_G_HAVE_ATEXIT): Likewise.
35195         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35196         (_G_HAVE_IO_FILE_OPEN): Likewise.
35197         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35198         (_G_int32_t): Likewise.
35199         (_G_uint16_t): Likewise.
35200         (_G_uint32_t): Likewise.
35201         (_G_HAVE_BOOL): Likewise.
35202         (_G_HAVE_ATEXIT): Likewise.
35203         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35204         (_G_HAVE_IO_FILE_OPEN): Likewise.
35206 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35208         * csu/libc-tls.c: Update copyright years.
35210 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35212         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35213         [!_G_USING_THUNKS]: Remove conditional code.
35214         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35215         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35217         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35218         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35219         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35220         (_G_VTABLE_LABEL_PREFIX): Likewise.
35221         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35222         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35223         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35224         (_G_VTABLE_LABEL_PREFIX): Likewise.
35225         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35226         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35227         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35228         (_G_VTABLE_LABEL_PREFIX): Likewise.
35229         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35231 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35233         * libio/Makefile: Include ../Makeconfig before tests.
35234         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35235         only if $(build-shared) is yes.
35237         * iconv/gconv_db.c: Update copyright years.
35239 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35241         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35242         unwind info if defined PIC. Fix special cases description.
35243         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35245         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35246         DP_HI_MASK entry.
35247         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35249 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35251         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35253         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35254         is NULL.
35256         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35257         (LDLIBS-tst-chk4): This.
35258         (LDFLAGS-tst-chk5): Renamed to ...
35259         (LDLIBS-tst-chk5): This.
35260         (LDFLAGS-tst-chk6): Renamed to ...
35261         (LDLIBS-tst-chk6): This.
35262         (LDFLAGS-tst-lfschk4): Renamed to ...
35263         (LDLIBS-tst-lfschk4): This.
35264         (LDFLAGS-tst-lfschk5): Renamed to ...
35265         (LDLIBS-tst-lfschk5): This.
35266         (LDFLAGS-tst-lfschk6): Renamed to ...
35267         (LDLIBS-tst-lfschk6): This.
35269         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35270         on $(common-objpfx)soversions.mk.
35272 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35274         [BZ #10014]
35275         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35276         example host name.
35278 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35280         * malloc/arena.c (arena_get_retry): New function that gets
35281         another arena for the caller to try its request on.
35282         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35283         current arena cannot fulfill the request.
35284         (__libc_memalign): Likewise.
35285         (__libc_memalign): Likewise.
35286         (__libc_pvalloc): Likewise.
35287         (__libc_calloc): Likewise.
35289 2012-09-05  John Tobey  <john.tobey@gmail.com>
35291         [BZ #13542]
35292         * manual/arith.texi (Operations on Complex): Fix description
35293         of carg branch cut.
35295 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35297         [BZ #10014]
35298         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35299         host name.
35301         [BZ #10038]
35302         * manual/memory.texi (Memory): Make order of menu items match
35303         order of sections.
35305 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35307         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35308         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35309         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35311 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35313         * csu/libc-tls.c (static_dtv): Renamed to ...
35314         (_dl_static_dtv): This.  Make it global.
35315         (_dl_initial_dtv): Removed.
35316         (__libc_setup_tls): Updated.
35317         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35318         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35319         DL_INITIAL_DTV.
35321 2012-09-06  Petr Machata  <pmachata@redhat.com>
35323         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35324         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35325         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35326         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35328 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35330         [BZ #14545]
35331         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35332         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35333         freeing dtv[-1].
35335 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35337         [BZ #14544]
35338         * Makeconfig (link-static-before-libc): Replace $(+prector)
35339         with $(+prectorT).
35340         (link-static-after-libc): Replace $(+postctor) with
35341         $(+postctorT).
35342         (link-bounded): Replace $(+prector)/$(+postctor) with
35343         $(+prectorT)/$(+postctorT).
35344         (+prectorT): New macro.
35345         (+postctorT): Likewise.
35347 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35349         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35350         (round_str): Handle values above the maximum for IBM long double
35351         as inexact.
35352         * stdlib/tst-strtod-round.c (tests): Regenerated.
35354 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35356         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35357         assembler flag.
35358         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35359         zarch_nohighgprs around the zarch optimized routines.
35360         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35361         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35362         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35363         for zarch.
35365 2012-09-05  David S. Miller  <davem@davemloft.net>
35367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35369         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35370         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35371         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35372         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35373         entries.
35375 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35377         * malloc/arena.c: Fold copyright years.
35378         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35380 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35382         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35384 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35386         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35388 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35390         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35391         change internal state upon failure.
35393 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35395         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35396         * malloc/memusage.c (mmap): Likewise.
35397         (mmap64, mremap): Likewise.  Adjust name in comment.
35399 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35401         * libio/fileops.c: Fix typos in comments.
35402         * libio/oldfileops.c: Likewise.
35403         * libio/wfileops.c: Likewise.
35405 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35407         [BZ #1349]
35408         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35409         (tst-malloc-usable-ENV): Set environment for test case.
35410         * malloc/hooks.c (malloc_check_get_size): New function to get
35411         requested size.
35412         * malloc/malloc.c (musable): Use malloc_check_get_size.
35413         * malloc/tst-malloc-usable.c: New test case.
35415 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35417         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35419 2012-09-05  Allan McRae  <allan@archlinux.org>
35421         [BZ #13966]
35422         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35423         determine header location.
35424         * configure: Regenerated.
35426 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35428         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35429         float format.
35430         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35431         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35432         format.
35433         (test): Regenerate.
35435 2012-09-04  David S. Miller  <davem@davemloft.net>
35437         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35438         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35439         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35441 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35443         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35444         failures.
35446         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35448 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35450         [BZ #9914]
35451         * libio/iogetdelim.c: Include <limits.h>.
35452         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35453         + len + 1 would overflow.
35455 2012-09-03  Andreas Jaeger  <aj@suse.de>
35457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35458         * sysdeps/i386/fpu/libm-test-ulps: Update.
35460 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35462         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35463         Add s_sinf-sse2, s_conf-sse2.
35465         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35466         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35467         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35468         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35470         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35471         for using routine as __sinf_ia32.
35472         Use macro for function declaration and weak_alias.
35473         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35474         for using routine as __cosf_ia32.
35475         Use macro for function declaration and weak_alias.
35477         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35478         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35480         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35481         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35484         * math/libm-test.inc (cos_test): Add more test cases.
35485         (sin_test): Likewise.
35486         (sincos_test): Likewise.
35488 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35490         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35491         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35492         hidden.
35493         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35495 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35497         [BZ #14538]
35498         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35499         first element of the GOT.
35500         (elf_machine_load_address): Return the difference between
35501         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35503 2012-09-01  Allan McRae  <allan@archlinux.org>
35505         [BZ #13412]
35506         * configure.in (AWK): Require gawk version 3.0 or later.
35507         * configure: Regenerated.
35509 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35511         * sysdeps/unix/sysv/linux/kernel-features.h
35512         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35513         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35514         [__NR_clock_getres]: Make code unconditional.
35515         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35516         (clock_getcpuclockid): Remove code left unreachable by removal of
35517         conditionals.
35518         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35519         code unconditional.
35520         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35521         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35522         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35523         Make code unconditional.
35524         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35525         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35526         * sysdeps/unix/sysv/linux/clock_settime.c
35527         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35528         conditional code.
35529         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35530         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35532 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35534         [BZ #14476]
35535         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35536         scripts/test-installation.pl.
35538         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35539         and $ld_so_version if it is set.
35541 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35543         [BZ #14516]
35544         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35545         failure if reading from procfs failed.
35546         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35548 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35550         * sysdeps/unix/sysv/linux/kernel-features.h
35551         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35552         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35553         Remove conditional code.
35554         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35555         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35556         Remove conditional code.
35557         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35558         * sysdeps/unix/sysv/linux/i386/fxstat.c
35559         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35560         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35561         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35562         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35563         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35564         * sysdeps/unix/sysv/linux/i386/lxstat.c
35565         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35566         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35567         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35568         Remove conditional code.
35569         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35570         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35571         Remove conditional code.
35572         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35573         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35574         <kernel-features.h>.
35575         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35576         Remove.
35577         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35578         Remove conditional code.
35579         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35580         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35581         Remove conditional.
35583 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35585         [BZ #5400]
35586         * NEWS: Add fixed bug number.
35588 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35590         [BZ #14519]
35591         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35592         underflowing exponent in case of negative sign.
35593         * stdlib/tst-strtod-round-data: Add more tests.
35594         * stdlib/tst-strtod-round.c (tests): Regenerated.
35596         [BZ #3479]
35597         * stdlib/strtod_l.c (NDIG): Remove.
35598         (HEXNDIG): Likewise.
35599         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35600         smallest representable value.
35601         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35602         lie within an exact representation of 1/2 ulp of the result.
35603         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35604         unconditionally.
35605         (TENS_P9_IDX): Define unconditionally.
35606         (TENS_P9_SIZE): Likewise.
35607         (TENS_P10_IDX): Likewise.
35608         (TENS_P10_SIZE): Likewise.
35609         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35610         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35611         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35612         entries for 10^2^13 and 10^2^14.
35613         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35614         (TENS_P13_IDX): Define.
35615         (TENS_P13_SIZE): Likewise.
35616         (TENS_P14_IDX): Likewise.
35617         (TENS_P14_SIZE): Likewise.
35618         (_fpioconst_pow10): Change array size to
35619         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35620         unconditional.
35621         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35622         1024]: Add entries for 10^2^13 and 10^2^14.
35623         [LAST_POW10 > _LAST_POW10]: Remove #error.
35624         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35625         (_fpioconst_pow10): Change array size to
35626         FPIOCONST_POW10_ARRAY_SIZE.
35627         * stdlib/gen-fpioconst.c: New file.
35628         * stdlib/gen-tst-strtod-round.c: Likewise.
35629         * stdlib/tst-strtod-round-data: Likewise.
35630         * stdlib/tst-strtod-round.c: Likewise.
35631         * stdlib/Makefile (tests): Add tst-strtod-round.
35633         [BZ #14459]
35634         * stdlib/strtod_l.c: Include <stdint.h>.
35635         (NDEBUG): Do not define.
35636         (round_and_return): Change EXPONENT parameter to type intmax_t.
35637         Rearrange calculations to avoid internal overflow possibilities.
35638         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35639         Rearrange calculations to avoid internal overflow possibilities.
35640         Assert that number fits inside MPNSIZE limbs.
35641         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35642         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35643         calculations and add assertions to avoid internal overflow
35644         possibilities.  Add casts to avoid signed/unsigned operations.
35645         * stdlib/tst-strtod-overflow.c: New file.
35646         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35648 2012-08-25  Marek Polacek  <polacek@redhat.com>
35650         * time/time.h: Fix some typos in comments.
35652 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35654         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35655         * posix/tst-rfc3484-2.c: Likewise.
35656         * posix/tst-rfc3484-3.c: Likewise.
35658 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35660         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35661         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35663 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35665         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35666         #include of fxstatat64.c.
35668 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35670         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35671         * shadow/getspent_r.c: Likewise.
35672         * shadow/getspnam.c: Likewise.
35673         * shadow/getspnam_r.c: Likewise.
35674         * gshadow/getsgent.c: Likewise.
35675         * gshadow/getsgent_r.c: Likewise.
35676         * gshadow/getsgnam.c: Likewise.
35677         * gshadow/getsgnam_r.c: Likewise.
35678         * inet/getnetbyad.c: Likewise.
35679         * inet/getnetbyad_r.c: Likewise.
35680         * inet/getnetbynm.c: Likewise.
35681         * inet/getnetbynm_r.c: Likewise.
35682         * inet/getnetent.c: Likewise.
35683         * inet/getnetent_r.c: Likewise.
35684         * inet/getproto.c: Likewise.
35685         * inet/getproto_r.c: Likewise.
35686         * inet/getprtent.c: Likewise.
35687         * inet/getprtent_r.c: Likewise.
35688         * inet/getprtname.c: Likewise.
35689         * inet/getprtname_r.c: Likewise.
35690         * inet/getrpcbyname.c: Likewise.
35691         * inet/getrpcbyname_r.c: Likewise.
35692         * inet/getrpcbynumber.c: Likewise.
35693         * inet/getrpcbynumber_r.c: Likewise.
35694         * inet/getrpcent.c: Likewise.
35695         * inet/getrpcent_r.c: Likewise.
35696         * inet/getaliasent.c: Likewise.
35697         * inet/getaliasent_r.c: Likewise.
35698         * inet/getaliasname.c: Likewise.
35699         * inet/getaliasname_r.c: Likewise.
35700         * nscd/getgrgid_r.c: Likewise.
35701         * nscd/getgrnam_r.c: Likewise.
35702         * nscd/gethstbyad_r.c: Likewise.
35703         * nscd/gethstbynm3_r.c: Likewise.
35704         * nscd/getpwnam_r.c: Likewise.
35705         * nscd/getpwuid_r.c: Likewise.
35706         * nscd/getsrvbynm_r.c: Likewise.
35707         * nscd/getsrvbypt_r.c: Likewise.
35708         * nscd/gai.c: Likewise.
35710         * configure.in (build_nscd): New substituted variable, set
35711         by --disable-build-nscd and defaults to $use_nscd.
35712         * configure: Regenerated.
35713         * config.make.in (build-nscd): New substituted variable.
35714         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35715         Change conditional to require [$(build-nscd) = yes] as well.
35716         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35718         [BZ# 13696]
35719         * configure.in (use_nscd): New substituted variable, set by
35720         --disable-nscd.  If enabled, define USE_NSCD.
35721         * configure: Regenerated.
35722         * config.h.in: Add USE_NSCD.
35723         * config.make.in (use-nscd): New substituted variable.
35724         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35725         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35726         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35727         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35728         (CFLAGS-getgrnam_r.c): Likewise.
35729         (CFLAGS-initgroups.c): Likewise.
35730         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35731         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35732         Variables removed.
35733         * inet/getnetgrent_r.c
35734         (nscd_setnetgrent): New function, broken out of ...
35735         (setnetgrent): ... here.  Call it.
35736         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35737         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35738         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35739         * nscd/Makefile (routines, aux): Move definitions after include of
35740         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35741         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35742         Conditionalize on [USE_NSCD].
35743         (is_nscd, nscd_init_cb): Likewise.
35744         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35745         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35746         * nss/nss_db/db-init.c: Likewise.
35747         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35748         [USE_NSCD].
35749         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35750         (make_request): Use it.
35751         (cache_valid_p): New function.
35752         (__check_pf): Use it.
35753         * NEWS: Add item for --disable-nscd.
35755 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35757         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35758         to support sed >= 4.2.1-20-ga9bf076.
35759         * configure: Regenerated.
35761 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35763         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35764         Conditionalize whole body on [IREL].
35766 2012-08-22  Jeff Law <law@redhat.com>
35768         [BZ #14505]
35769         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35770         if the family is PF_UNSPEC.
35772 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35774         * Makerules (lib-version): Rename from V.
35775         (install-lib-nosubdir): Change V to lib-version.
35777 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35779         [BZ #14252]
35780         * powerpc32/power6/wcschr.c: New file.
35781         * powerpc32/power6/wcscpy.c: New file.
35782         * powerpc32/power6/wcsrchr.c: New file.
35783         * powerpc64/power6/wcschr.c: New file.
35784         * powerpc64/power6/wcscpy.c: New file.
35785         * powerpc64/power6/wcsrchr.c: New file.
35787 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35789         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35790         (two_way_short_needle): Use it.
35791         * string/strstr.c (AVAILABLE1_USES_J): Define.
35792         * string/strcasestr.c: Likewise.
35794         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35795         array references.
35796         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35798         [BZ #11607]
35799         * NEWS: Add an entry.
35800         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35801         define their defaults.
35802         (two_way_short_needle): Detect end-of-string on-the-fly.
35803         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35804         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35805         * string/bug-strcasestr1.c: New test.
35806         * string/Makefile: Run it.
35808 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35810         [BZ #11607]
35811         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35812         the first character.
35814 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35816         * csu/elf-init.c (__libc_csu_irel): Function removed.
35817         * csu/libc-start.c (apply_irel): New function.
35818         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35820 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35822         * sysdeps/unix/sysv/linux/kernel-features.h
35823         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35824         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35825         <kernel-features.h>.
35826         [__NR_fadvise64_64]: Make code unconditional.
35827         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35828         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35829         !__NR_fadvise64_64)]: Likewise.
35830         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35831         !__NR_fadvise64_64))]: Likewise.
35832         [__NR_fadvise64]: Make code unconditional.
35833         [!__NR_fadvise64]: Remove conditional code.
35834         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35835         <kernel-features.h>.
35836         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35837         unconditional.
35838         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35839         conditional code.
35840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35841         not include <kernel-features.h>.
35842         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35843         unconditional.
35844         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35845         conditional code.
35846         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35847         include <kernel-features.h>.
35848         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35849         unconditional.
35850         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35851         conditional code.
35853 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35855         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35856         slight instruction rearrangements per scrollpipe analysis.
35857         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35859 2012-08-20  Roland McGrath  <roland@hack.frob.com>
35861         * manual/syslog.texi (syslog; vsyslog, closelog):
35862         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35863         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35865         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35866         DSOCAPS to match condition on defining it.
35868 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
35870         * sysdeps/unix/sysv/linux/kernel-features.h
35871         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35873         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35874         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35876         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35877         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35879         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35880         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35882         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35883         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35885         * sysdeps/unix/sysv/linux/kernel-features.h
35886         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35887         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35888         unconditional.
35889         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35890         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35891         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35892         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35893         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35894         Make code unconditional.
35895         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35896         (__mmap64) [!__NR_mmap2]: Likewise.
35897         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35898         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35899         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35900         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35901         [__NR_mmap2]: Make code unconditional.
35902         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35903         (__mmap64) [!__NR_mmap2]: Likewise.
35905 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35907         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35909 2012-08-18  Andreas Jaeger  <aj@suse.de>
35911         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35913 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35915         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35916         * include/unistd.h (__have_sock_cloexec): Likewise.
35917         (__have_pipe2): Likewise.
35918         (__have_dup3): Likewise.
35920 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35922         [BZ #9685]
35923         * include/unistd.h (__have_pipe2): Change define into an extern int.
35924         (__have_dup3): Likewise.
35925         * socket/have_sock_cloexec.c: Include fcntl.h.
35926         (__have_pipe2): New variable.
35927         (__have_dup3): Likewise.
35929 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
35931         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35933 2012-08-17  Marek Polacek  <polacek@redhat.com>
35935         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35936         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35938 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35940         * configure.in: Add AC_SUBST for sysheaders.
35941         * configure: Regenerated.
35942         * config.make.in (sysheaders): New substituted variable.
35944         * sysdeps/unix/mkfifo.c: Moved ...
35945         * sysdeps/posix/mkfifo.c: ... here.
35946         * sysdeps/unix/mkfifoat.c: Moved ...
35947         * sysdeps/posix/mkfifoat.c: ... here.
35949         * sysdeps/unix/utime.c: Moved ...
35950         * sysdeps/posix/utime.c: ... here.
35952         * sysdeps/unix/time.c: Moved ...
35953         * sysdeps/posix/time.c: ... here.
35954         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35955         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35957         * sysdeps/unix/nice.c: Moved ...
35958         * sysdeps/posix/nice.c: ... here.
35960         * sysdeps/unix/alarm.c: Moved ...
35961         * sysdeps/posix/alarm.c: ... here.
35963         * intl/Makefile ($(codeset_mo)): Depend on the input file.
35965 2012-08-17  Jeff Law <law@redhat.com>
35967         * intl/Makefile (codeset_mo): New variable.
35968         ($(codeset_mo)): New target.
35969         (tst-codeset.out): Depend on that.  Remove explicit rule.
35970         (tst-gettext3.out, tst-gettext5.out): Likewise.
35971         (LOCPATH-ENV, tst-codeset-ENV): New variables.
35972         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35973         * intl/tst-codeset.sh: Remove.
35974         * intl/tst-gettext3.sh: Likewise.
35975         * intl/tst-gettext5.sh: Likewise.
35977 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35979         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
35980         * sysdeps/unix/syscalls.list: ... here.
35982         * sysdeps/posix/getaddrinfo.c
35983         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35984         (gaiconf_init, gaiconf_reload): Use them.
35985         [!_STATBUF_ST_NSEC]
35986         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35987         Define using time_t rather than struct timespec.
35989         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35990         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35991         Macros removed.
35992         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35993         [!NO_THREADS].
35994         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35995         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35996         Likewise.
35998         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35999         __libc_cleanup_push argument.
36001         * bits/param.h: New file.
36002         * misc/sys/param.h: New file.
36003         * include/sys/param.h: New file.
36004         * misc/Makefile (headers): Add bits/param.h.
36005         * sysdeps/generic/sys/param.h: File removed.
36006         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36007         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36008         * sysdeps/mach/hurd/bits/param.h: New file.
36009         * sysdeps/mach/hurd/sys/param.h: File removed.
36011         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36012         last change.
36014         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36015         [_IO_MTSAFE_IO].
36016         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36017         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36018         New macros.
36020         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36021         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36022         rather than -D_IO_MTSAFE_IO conditionally.
36023         * stdio-common/Makefile (CPPFLAGS): Likewise.
36024         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36025         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36026         Use $(libio-mtsafe).
36027         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36028         of -D_IO_MTSAFE_IO.
36029         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36030         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36031         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36032         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36033         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36034         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36035         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36036         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36037         (CFLAGS-fread_u_chk.c): Likewise.
36038         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36039         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36040         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36041         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36042         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36043         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36044         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36045         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36046         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36048         * libio/Makefile: Test [$(libc-reentrant) = yes]
36049         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36051         * Makeconfig
36052         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36053         * sysdeps/pthread/configure: File removed.
36054         * sysdeps/pthread/Makeconfig: New file.
36055         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36056         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36058 2012-08-16  Gary Benson  <gbenson@redhat.com>
36060         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36061         unmapping the first object in a namespace.
36063 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36065         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36066         (__internal_setnetgrent): ... this.  Add internal_function to
36067         definition.  Add libc_hidden_def.
36068         (setnetgrent): Update caller.
36069         (internal_endnetgrent): Renamed to ...
36070         (__internal_endnetgrent): ... this.  Add internal_function to
36071         definition.  Add libc_hidden_def.
36072         (endnetgrent): Update caller.
36073         (internal_getnetgrent_r): Renamed to ...
36074         (__internal_getnetgrent_r): ... this.  Add internal_function to
36075         definition.  Add libc_hidden_def.
36076         (__getnetgrent_r): Update caller.
36077         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36079 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36081         * stdlib/longlong.h: Update from GCC.
36083 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36085         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36086         on _QL, which is set by umul_ppmm but never used.
36087         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36088         variables, which are set by GMP macros but never used.
36089         * stdio-common/_itowa.c (_itowa): Likewise.
36090         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36091         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36093 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36095         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36096         struct La_sh_regs is not constant.
36097         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36098         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36099         and struct La_sparc64_regs are not constant.
36101 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36103         * sysdeps/unix/sysv/linux/kernel-features.h
36104         (__ASSUME_POSIX_TIMERS): Remove.
36105         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36106         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36107         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36108         Make code unconditional.
36109         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36110         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36111         Make code unconditional.
36112         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36113         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36114         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36115         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36116         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36117         Make code unconditional.
36118         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36119         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36120         (__libc_missing_posix_timers): Remove.
36122 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36124         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36125         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36127         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36129         * elf/dl-sym.c: Include <stdlib.h>.
36131         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36132         constants, which avoids warnings in 32-bit builds.
36134         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36135         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36137         * misc/lseek.c: File moved to ...
36138         * io/lseek.c: ... here.
36140         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36142         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36143         shifting LEN more than 31 bits at once.
36145 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36147         [BZ #14195]
36148         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36149         segmentation fault for a case of two empty input strings.
36150         * string/test-strncasecmp.c (check1): Renamed to...
36151         (bz12205): ...this.
36152         (bz14195): Add new testcase for two empty input strings and N > 0.
36153         (test_main): Call new testcase, adapt for renamed function.
36155 2012-08-15  Andreas Jaeger  <aj@suse.de>
36157         [BZ #14090]
36158         * crypt/md5test2.c: New test, based on test supplied by Serge
36159         Belyshev <belyshev@depni.sinp.msu.ru>.
36160         * crypt/Makefile (xtests): Add md5test-giant..
36161         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36163 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36165         [BZ #14090]
36166         * crypt/md5.c (md5_process_block): Don't assume the buffer
36167         length is less than 2**32.
36168         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36169         length is less than 2**64.
36171 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36173         * string/str-two-way.h: Include <sys/param.h>.
36174         (MAX): Macro removed.
36176         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36177         Move #define and #undef of memmove to just before and after
36178         including <string.h>.
36180         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36181         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36182         and after including <string.h>.  Move declarations of
36183         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36184         to before #include "string/memmove.c".
36186         * include/dirent.h: Declare __getdirentries.
36188         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36189         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36191 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36193         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36194         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36195         * sysdeps/i386/configure: Regenerated.
36196         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36197         STABS_CURRENT_FILE, and STABS_FUN.
36198         (END): Remove call to STABS_FUN_END.
36199         (STABS_CURRENT_FILE1): Delete.
36200         (STABS_CURRENT_FILE): Likewise.
36201         (STABS_FUN): Likewise.
36202         (STABS_FUN_END): Likewise.
36203         (STABS_FUN2): Likewise.
36204         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36205         * sysdeps/x86_64/configure: Regenerated.
36207 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36209         * elf/dl-open.c: Include <atomic.h>.
36210         * elf/dl-lookup.c: Likewise.
36212 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36214         * sysdeps/unix/sysv/linux/kernel-features.h
36215         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36216         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36217         unconditionally.
36218         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36219         unconditionally.
36220         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36221         condition on __ASSUME_CLONE_THREAD_FLAGS.
36223 2012-08-14  Andreas Jaeger  <aj@suse.de>
36225         * sysdeps/i386/fpu/libm-test-ulps: Update.
36227 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36229         * include/atomic.h (atomic_exchange_and_add): Split into ...
36230         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36231         New atomic macros.
36233 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36235         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36237 2012-08-13  Jeff Law <law@redhat.com>
36239         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36240         null byte in the output string.
36242 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36244         * sysdeps/unix/sysv/linux/kernel-features.h
36245         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36246         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36247         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36248         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36249         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36250         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36251         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36253 2012-08-09  Jeff Law <law@redhat.com>
36255         [BZ #13939]
36256         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36257         When avoid_arena is set, don't retry in the that arena.  Pick the
36258         next one, whatever it might be.
36259         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36260         (arena_lock): Pass in new parameter to arena_get2.
36261         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36262         arena_get2.
36263         (__libc_malloc): Unify retrying after main arena failure with
36264         __libc_memalign version.
36265         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36267 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36269         [BZ #14166]
36270         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36271         to __redirect_strstr.
36272         (__strstr_sse42): Use typeof __redirect_strstr.
36273         (__strstr_ia32): Likewise.
36274         (__libc_strstr): New prototype.
36275         (strstr): Renamed to ...
36276         (__libc_strstr): This.
36277         (strstr): New strong alias of __libc_strstr.
36278         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36279         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36280         __redirect_time.
36281         Include <time.h>.
36282         (__libc_time): New prototype.
36283         (time_ifunc): Replace time with __libc_time.
36284         (time): New strong alias and hidden definition of __libc_time.
36285         (__GI_time): Remove strong alias.
36286         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36287         Include <stddef.h>.
36288         (memmove): Redefined to __redirect_memmove.
36289         (__memmove_sse2): Use typeof __redirect_memmove.
36290         (__memmove_ssse3): Likewise.
36291         (__memmove_ssse3_back): Likewise.
36292         (__libc_memmove): New prototype.
36293         (memmove): Renamed to ...
36294         (__libc_memmove): This.
36295         (memmove): New strong alias of __libc_memmove.
36297 2012-08-08  Mark Salter  <msalter@redhat.com>
36299         * elf/elf.h
36300         (R_MN10300_TLS_GD): Define.
36301         (R_MN10300_TLS_LD): Likewise.
36302         (R_MN10300_TLS_LDO): Likewise.
36303         (R_MN10300_TLS_GOTIE): Likewise.
36304         (R_MN10300_TLS_IE): Likewise.
36305         (R_MN10300_TLS_LE): Likewise.
36306         (R_MN10300_TLS_DTPMOD): Likewise.
36307         (R_MN10300_TLS_DTPOFF): Likewise.
36308         (R_MN10300_TLS_TPOFF): Likewise.
36309         (R_MN10300_SYM_DIFF): Likewise.
36310         (R_MN10300_ALIGN): Likewise.
36311         (R_MN10300_NUM): Update.
36313 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36315         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36316         Remove.
36318 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36320         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36322         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36323         sysdeps/unix -> sysdeps/posix move.
36324         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36326 2012-08-07      Allan McRae     <allan@archlinux.org>
36328         [BZ #14303]
36329         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36330         (SUNOS_CPP): Likewise.
36331         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36332         not found.
36333         (open_input): Call CPP using execvp.
36335 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36337         * sysdeps/unix/sysv/linux/kernel-features.h
36338         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36339         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36340         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36341         (__ASSUME_WAITID_SYSCALL): Likewise.
36342         * sysdeps/unix/sysv/linux/dl-execstack.c
36343         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36344         code unconditional.
36345         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36346         conditional code.
36347         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36348         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36349         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36350         code.
36351         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36352         unconditional.
36353         [__ASSUME_WAITID_SYSCALL]: Likewise.
36354         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36356 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36358         * sysdeps/unix/closedir.c: Renamed to ...
36359         * sysdeps/posix/closedir.c: ... here.
36360         * sysdeps/unix/dirfd.c: Renamed to ...
36361         * sysdeps/posix/dirfd.c: ... here.
36362         * sysdeps/unix/dirstream.h: Renamed to ...
36363         * sysdeps/posix/dirstream.h: ... here.
36364         * sysdeps/unix/fdopendir.c: Renamed to ...
36365         * sysdeps/posix/fdopendir.c: ... here.
36366         * sysdeps/unix/opendir.c: Renamed to ...
36367         * sysdeps/posix/opendir.c: ... here.
36368         * sysdeps/unix/readdir.c: Renamed to ...
36369         * sysdeps/posix/readdir.c: ... here.
36370         * sysdeps/unix/readdir_r.c: Renamed to ...
36371         * sysdeps/posix/readdir_r.c: ... here.
36372         * sysdeps/unix/rewinddir.c: Renamed to ...
36373         * sysdeps/posix/rewinddir.c: ... here.
36374         * sysdeps/unix/seekdir.c: Renamed to ...
36375         * sysdeps/posix/seekdir.c: ... here.
36376         * sysdeps/unix/telldir.c: Renamed to ...
36377         * sysdeps/posix/telldir.c: ... here.
36378         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36379         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36380         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36381         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36383         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36384         * bits/fcntl.h: ... here.
36386         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36387         not 0.
36388         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36389         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36390         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36391         (struct flock): Move l_start, l_len to the beginning.
36392         Use __pid_t for l_pid.
36393         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36394         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36395         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36396         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36397         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36398         [__USE_LARGEFILE64] (struct flock64): New type.
36399         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36401         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36402         * bits/dirent.h: ... here.
36404         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36405         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36407 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36409         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36410         Change from 2.6.0 to 2.6.16.
36411         * sysdeps/unix/sysv/linux/configure: Regenerated.
36412         * sysdeps/unix/sysv/linux/kernel-features.h
36413         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36414         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36415         version.
36416         (__ASSUME_UTIMES): Likewise.
36417         (__ASSUME_CLONE_STOPPED): Remove.
36418         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36419         architectures, not kernel version.
36420         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36421         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36422         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36423         (__ASSUME_WAITID_SYSCALL): Likewise.
36424         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36425         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36426         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36427         refer to older versions.
36429 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36431         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36432         Define alphasort64 as an alias.
36433         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36434         Define versionsort64 as an alias.
36435         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36436         Define scandir64 as an alias.
36437         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36438         Define scandirat64 as an alias.
36439         * dirent/alphasort64.c (alphasort64):
36440         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36441         * dirent/versionsort64.c: Likewise.
36442         * dirent/scandir64.c: Likewise.
36443         * dirent/scandirat64.c: Likewise.
36444         * sysdeps/wordsize-64/alphasort.c: File removed.
36445         * sysdeps/wordsize-64/alphasort64.c: File removed.
36446         * sysdeps/wordsize-64/scandir.c: File removed.
36447         * sysdeps/wordsize-64/scandir64.c: File removed.
36448         * sysdeps/wordsize-64/scandirat.c: File removed.
36449         * sysdeps/wordsize-64/scandirat64.c: File removed.
36450         * sysdeps/wordsize-64/versionsort.c: File removed.
36451         * sysdeps/wordsize-64/versionsort64.c: File removed.
36452         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36453         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36454         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36455         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36456         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36457         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36458         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36459         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36461         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36462         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36463         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36464         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36465         [defined __arch64__ || defined __sparcv9]
36466         (__INO_T_MATCHES_INO64_T): New macro.
36467         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36468         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36469         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36470         * sysdeps/unix/sysv/linux/bits/dirent.h
36471         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36472         (_DIRENT_MATCHES_DIRENT64): New macro.
36474         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36475         Define lockf64 as an alias.
36476         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36477         Define fseeko64 as an alias.
36478         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36479         Define ftello64 as an alias.
36480         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36481         Define _IO_fgetpos64 and fgetpos64 as aliases.
36482         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36483         Define _IO_fsetpos64 and fsetpos64 as aliases.
36484         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36485         Conditionalize body on this.
36486         * libio/fseeko64.c: Likewise.
36487         * libio/ftello64.c: Likewise.
36488         * libio/iofgetpos64.c: Likewise.
36489         * libio/iofsetpos64.c: Likewise.
36490         * sysdeps/wordsize-64/lockf.c: File removed.
36491         * sysdeps/wordsize-64/lockf64.c: File removed.
36492         * sysdeps/wordsize-64/fseeko.c: File removed.
36493         * sysdeps/wordsize-64/fseeko64.c: File removed.
36494         * sysdeps/wordsize-64/ftello.c: File removed.
36495         * sysdeps/wordsize-64/ftello64.c: File removed.
36496         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36497         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36498         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36499         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36500         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36501         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36502         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36503         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36504         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36505         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36506         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36507         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36508         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36509         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36511         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36512         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36513         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36514         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36515         [defined __arch64__ || defined __sparcv9]
36516         (__OFF_T_MATCHES_OFF64_T): New macro.
36517         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36518         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36519         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36520         (__OFF_T_MATCHES_OFF64_T): New macro.
36522 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36524         * stdlib/secure-getenv.c (__secure_getenv): Replace
36525         GLIBC_2_16 with GLIBC_2_17.
36527 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36529         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36530         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36532 2012-08-03  David S. Miller  <davem@davemloft.net>
36534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36536 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36538         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36539         Remove.
36540         (__ASSUME_CORRECT_SI_PID): Likewise.
36541         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36542         (__ASSUME_TMPFS_NAME): Likewise.
36543         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36544         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36545         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36546         (HAVE_AUX_SECURE): Make definition unconditional.
36547         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36548         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36550 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36552         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36553         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36554         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36555         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36556         __eloop_threshold instead of SYMLOOP_MAX.
36558         * sysdeps/generic/eloop-threshold.h: New file.
36559         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36560         of MAXSYMLINKS.
36561         * elf/chroot_canon.c (chroot_canon): Likewise.
36563 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36565         [BZ #13717]
36566         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36567         Change to 2.6.0 everywhere.
36568         * sysdeps/unix/sysv/linux/configure: Regenerated.
36569         * sysdeps/unix/sysv/linux/kernel-features.h
36570         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36571         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36572         kernel versions.
36573         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36574         (__ASSUME_FUTEX_REQUEUE): Remove.
36575         (__ASSUME_STATFS64): Define unconditionally.
36576         (__ASSUME_AT_SECURE): Likewise.
36577         (__ASSUME_CORRECT_SI_PID): Likewise.
36578         (__ASSUME_TGKILL): Define without depending on kernel version for
36579         i386.
36580         (__ASSUME_UTIMES): Likewise.
36581         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36582         kernel version.
36583         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36584         (__ASSUME_TMPFS_NAME): Likewise.
36585         * README: Update reference to Linux kernel versions.
36587 2012-08-02  Marek Polacek  <polacek@redhat.com>
36589         [BZ# 14150]
36590         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36591         libc_cv_asm_type_prefix with %.
36592         * configure: Regenerated.
36593         * include/libc-symbols.h: Remove comment about
36594         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36595         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36596         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36597         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36598         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36599         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36600         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36601         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36602         * elf/tst-unique2mod1.c: Likewise.
36603         * elf/tst-unique1mod2.c: Likewise.
36604         * elf/tst-unique1mod1.c: Likewise.
36605         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36606         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36607         Replace ASM_TYPE_DIRECTIVE with .type.
36608         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36609         * sysdeps/i386/sysdep.h: Likewise.
36610         * sysdeps/x86_64/sysdep.h: Likewise.
36611         * sysdeps/sh/sysdep.h: Likewise.
36612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36613         Do not define ASM_TYPE_DIRECTIVE.
36614         * sysdeps/powerpc/sysdep.h: Likewise.
36615         * sysdeps/powerpc/powerpc32/sysdep.h:
36616         Replace ASM_TYPE_DIRECTIVE with .type.
36617         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36618         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36619         * sysdeps/i386/fpu/e_powf.S: Likewise.
36620         * sysdeps/i386/fpu/e_expl.S: Likewise.
36621         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36622         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36623         * sysdeps/i386/fpu/e_pow.S: Likewise.
36624         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36625         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36626         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36627         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36628         * sysdeps/i386/fpu/e_log2.S: Likewise.
36629         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36630         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36631         * sysdeps/i386/fpu/e_powl.S: Likewise.
36632         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36633         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36634         * sysdeps/i386/fpu/e_logl.S: Likewise.
36635         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36636         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36637         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36638         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36639         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36640         * sysdeps/i386/fpu/e_log.S: Likewise.
36641         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36642         * sysdeps/i386/fpu/e_logf.S: Likewise.
36643         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36644         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36645         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36646         * sysdeps/i386/fpu/e_log10.S: Likewise.
36647         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36648         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36649         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36650         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36651         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36652         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36653         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36654         * sysdeps/i386/i686/strtok.S: Likewise.
36655         * sysdeps/i386/i386-mcount.S: Likewise.
36656         * sysdeps/i386/strtok.S: Likewise.
36657         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36658         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36659         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36660         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36661         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36662         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36663         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36664         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36665         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36666         * sysdeps/x86_64/_mcount.S: Likewise.
36667         * sysdeps/x86_64/strtok.S: Likewise.
36668         * sysdeps/sh/_mcount.S: Likewise.
36670 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36672         * libio/iofopen.c: Include <fcntl.h>.
36673         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36674         (_IO_fopen64, fopen64): Define as aliases.
36675         * libio/iofopen64.c: Include <fcntl.h>.
36676         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36677         Conditionalize body on this.
36678         * sysdeps/wordsize-64/iofopen.c: File removed.
36679         * sysdeps/wordsize-64/iofopen64.c: File removed.
36681 2012-08-01  Marek Polacek  <polacek@redhat.com>
36683         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36684         Use dlfcn directly instead of a variable.
36685         (binfmt-subdir): Do not define.
36686         (dlfcn): Likewise.
36688 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36690         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36691         Remove all definitions.
36692         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36693         <kernel-features.h>.
36694         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36695         (miss_F_GETOWN_EX): Remove all definitions.
36696         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36697         macro definition.
36698         [!__ASSUME_FCNTL64]: Remove conditional code.
36699         [__ASSUME_FCNTL64]: Make code unconditional.
36700         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36701         <kernel-features.h>.
36702         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36703         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36704         (lockf64) [__NR_fcntl64]: Make code unconditional.
36705         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36707         * sysdeps/unix/sysv/linux/kernel-features.h
36708         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36709         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36710         Make code unconditional.
36711         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36712         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36714         [__NR_vfork]: Make code unconditional.
36715         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36716         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36718         [__NR_vfork]: Make code unconditional.
36719         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36720         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36722 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36724         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36725         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36727         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36728         Define mkstemp64 as an alias.
36729         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36730         Define mkstemps64 as an alias.
36731         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36732         Define mkostemp64 as an alias.
36733         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36734         Define mkostemps64 as an alias.
36735         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36736         Conditionalize body on this.
36737         * misc/mkostemp64.c: Likewise.
36738         * misc/mkostemps64.c: Likewise.
36739         * misc/mkstemps64.c: Likewise.
36740         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36741         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36742         * sysdeps/wordsize-64/mkostemp.c: File removed.
36743         * sysdeps/wordsize-64/mkstemp.c: File removed.
36744         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36745         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36746         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36747         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36749         [BZ #14138]
36750         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36751         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36752         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36753         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36755         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36756         compat_symbol macros from <shlib-compat.h> rather than the underlying
36757         default_symbol_version and symbol_version macros, so that DEFAULT
36758         lines in shlib-versions are respected.
36759         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36761 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36763         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36764         Declare with warn_unused_result.
36765         (setgid, setregid, setegid, setresgid): Likewise.
36766         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36767         Likewise.
36768         * WUR-REPORT: Remove set*id functions.
36770 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36772         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36774 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36776         [BZ #10191]
36777         * include/sys/socket.h (__libc_accept, __libc_accept4):
36778         Add attribute_hidden.
36779         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36781         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36782         use of PTR_MANGLE.
36783         * inet/getnetgrent_r.c (setup): Likewise.
36785         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36787 2012-07-31  David S. Miller  <davem@davemloft.net>
36789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36791 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36793         [BZ #13629]
36794         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36795         value between 1.0 and 2.0 and smaller part has absolute value less
36796         than 1.0.
36797         * math/s_clog10.c (__clog10): Likewise.
36798         * math/s_clog10f.c (__clog10f): Likewise.
36799         * math/s_clog10l.c (__clog10l): Likewise.
36800         * math/s_clogf.c (__clogf): Likewise.
36801         * math/s_clogl.c (__clogl): Likewise.
36802         * math/libm-test.inc (clog_test): Add more tests.
36803         (clog10_test): Likewise.
36804         * sysdeps/i386/fpu/libm-test-ulps: Update.
36805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36807 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36809         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36810         Exit with zero in case no suitable GID is found, and write a
36811         message to standard error.
36813 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36815         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36816         rather than to 1.
36817         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36818         (MAXPATHLEN): Removed.
36819         (NOGROUP, NODEV): New macros.
36820         (setbit, clrbit, isset, isclr): New macros.
36821         (howmany, roundup, powerof2): New macros.
36822         (DEV_BSIZE): New macro.
36824         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36825         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36827         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36828         definition on [!__NO_LONG_DOUBLE_MATH].
36830         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36831         PTR_MANGLE and PTR_DEMANGLE.
36833         * socket/accept4.c (accept4): Rename to __libc_accept4.
36834         Define accept4 as a weak alias.
36836         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36837         on [_DIRENT_HAVE_D_TYPE].
36838         * io/ftw.c (ftw_dir): Likewise.
36840         * io/xmknod.c (__xmknod): Don't check PATH for being null.
36842         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36844         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36845         Use the BSD numbers rather than the arbitrary ones we had.
36846         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36847         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36848         (SIGXCPU, SIGXFSZ): New macros.
36849         (_NSIG): Now 32.
36851         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36852         initializer on [_LIBC_REENTRANT].
36854         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36855         definitions inside [_POSIX_MAPPED_FILES].
36857         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36859         * dirent/opendir.c: Include <fcntl.h>.
36861         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36862         (__libc_getspecific): Likewise.
36863         (__libc_key_create): Likewise.
36865         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36866         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36867         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36868         (tmpfile64): Define as alias.
36869         * sysdeps/wordsize-64/tmpfile.c: File removed.
36870         * sysdeps/wordsize-64/tmpfile64.c: File removed.
36871         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36872         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36874         * stdio-common/vfscanf.c: Include <stdbool.h>.
36875         * nss/makedb.c: Likewise.
36876         * stdio-common/_i18n_number.h: Likewise.
36877         * argp/argp-help.c: Likewise.
36878         * posix/wordexp.c: Likewise.
36879         * sysdeps/posix/spawni.c: Likewise.
36880         * nss/nss_files/files-initgroups.c: Likewise.
36881         * stdio-common/reg-modifier.c: Include <stdlib.h>.
36882         * nss/nss_files/files-initgroups.c: Likewise.
36883         * nss/nss_db/db-netgrp.c: Likewise.
36884         * nss/nss_db/db-initgroups.c: Likewise.
36885         * io/fchmodat.c: Include <sys/stat.h>.
36887         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36888         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36890         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36891         [HAVE_MMAP].
36893         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36894         Add multiple inclusion protection.
36896 2012-07-27  David S. Miller  <davem@davemloft.net>
36898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36900 2012-07-27  Gary Benson  <gbenson@redhat.com>
36902         [BZ #14298]
36903         * elf/rtld.c: Include <stap-probe.h>.
36904         (dl_main): Added static probes "init_start" and "init_complete".
36905         * elf/dl-load.c: Include <stap-probe.h>.
36906         (lose): Take new parameter "nsid".
36907         Added static probe "map_failed".
36908         (_dl_map_object_from_fd): Pass namespace id to lose.
36909         Added static probe "map_start".
36910         (open_verify): Pass namespace id to lose.
36911         * elf/dl-open.c: Include <stap-probe.h>.
36912         (dl_open_worker) Added static probes "map_complete", "reloc_start"
36913         and "reloc_complete".
36914         * elf/dl-close.c: Include <stap-probe.h>.
36915         (_dl_close_worker): Added static probes "unmap_start" and
36916         "unmap_complete".
36917         * elf/rtld-debugger-interface.txt: New file documenting the above.
36919 2012-07-26  Roland McGrath  <roland@hack.frob.com>
36921         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36922         rather than a string variable.
36923         * sunrpc/rpc_main.c (h_output): Likewise.
36924         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36926 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
36928         * inet/check_native.c: New file.
36930 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
36932         [BZ #13629]
36933         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36934         if larger part has absolute value 1.0.
36935         * math/s_clog10.c (__clog10): Likewise.
36936         * math/s_clog10f.c (__clog10f): Likewise.
36937         * math/s_clog10l.c (__clog10l): Likewise.
36938         * math/s_clogf.c (__clogf): Likewise.
36939         * math/s_clogl.c (__clogl): Likewise.
36940         * math/libm-test.inc (clog_test): Add more tests.
36941         (clog10_test): Likewise.
36942         * sysdeps/i386/fpu/libm-test-ulps: Update.
36943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36945         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36946         (pltexit): Likewise.
36947         (La_regs): Likewise.
36948         (La_retval): Likewise.
36949         (int_retval): Likewise.
36950         Update #error for removed macros to refer only to definitions in
36951         tst-audit.h.
36952         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36953         macro.
36954         (pltexit): Likewise.
36955         (La_regs): Likewise.
36956         (La_retval): Likewise.
36957         (int_retval): Likewise.
36958         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36959         macro.
36960         (pltexit): Likewise.
36961         (La_regs): Likewise.
36962         (La_retval): Likewise.
36963         (int_retval): Likewise.
36964         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36965         macro.
36966         (pltexit): Likewise.
36967         (La_regs): Likewise.
36968         (La_retval): Likewise.
36969         (int_retval): Likewise.
36970         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36971         macro.
36972         (pltexit): Likewise.
36973         (La_regs): Likewise.
36974         (La_retval): Likewise.
36975         (int_retval): Likewise.
36976         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36977         macro.
36978         (pltexit): Likewise.
36979         (La_regs): Likewise.
36980         (La_retval): Likewise.
36981         (int_retval): Likewise.
36982         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36983         macro.
36984         (pltexit): Likewise.
36985         (La_regs): Likewise.
36986         (La_retval): Likewise.
36987         (int_retval): Likewise.
36988         * sysdeps/generic/tst-audit.h: Update comment to refer only to
36989         macro definitions in tst-audit.h.
36990         * sysdeps/i386/tst-audit.h: New file.
36991         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36992         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36993         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36994         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36995         * sysdeps/sh/tst-audit.h: Likewise.
36996         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36997         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36998         * sysdeps/x86_64/tst-audit.h: Likewise.
37000 2012-07-26  Andreas Jaeger  <aj@suse.de>
37002         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37003         ptrace.
37005         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37006         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37007         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37008         PTRACE_O_MASK.
37009         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37010         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37011         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37013         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37014         value.
37016         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37017         _sigsys.
37018         (si_call_addr, si_syscall, si_arch): Define new macro.
37019         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37020         _sigsys.
37021         (si_call_addr, si_syscall, si_arch): Define new marcro.
37022         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37023         _sigsys.
37024         (si_call_addr, si_syscall, si_arch): Define new macro.
37025         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37026         _sigsys.
37027         (si_call_addr, si_syscall, si_arch): Define new macro.
37029 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37031         [BZ #13717]
37032         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37033         Change to 2.4.21 where previously 2.4.1.
37034         * sysdeps/unix/sysv/linux/configure: Regenerated.
37035         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37036         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37037         Linux kernel version.
37038         (__ASSUME_STD_AUXV): Remove.
37039         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37040         kernel version.
37041         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37042         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37043         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37044         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37045         (__ASSUME_NETLINK_SUPPORT): Likewise.
37046         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37047         (__no_netlink_support): Remove conditional definition.
37048         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37049         Remove.
37050         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37051         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37052         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37053         (if_nameindex_ioctl): Remove.
37054         (if_nameindex_netlink): Do not handle __no_netlink_support.
37055         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37056         code.
37057         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37058         Remove conditional code.
37059         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37060         code.
37061         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37062         unconditional.
37063         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37064         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37065         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37066         Remove.
37067         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37068         [!__ASSUME_STD_AUXV]: Remove conditional code.
37069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37070         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37071         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37073         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37074         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37075         code.
37076         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37078         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37079         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37080         conditional code.
37081         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37083         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37084         code.
37085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37086         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37087         conditional code.
37088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37089         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37090         code unconditional.
37091         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37092         conditional code.
37093         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37094         unconditional.
37095         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37096         conditional code.
37097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37098         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37099         unconditional.
37100         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37101         conditional code.
37102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37103         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37104         code unconditional.
37105         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37106         conditional code.
37107         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37108         unconditional.
37109         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37110         conditional code.
37111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37112         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37113         code unconditional.
37114         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37115         conditional code.
37116         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37117         unconditional.
37118         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37119         conditional code.
37121 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37123         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37124         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37125         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37126         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37127         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37128         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37129         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37130         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37131         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37132         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37133         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37134         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37135         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37136         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37137         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37138         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37139         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37140         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37141         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37142         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37143         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37144         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37145         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37147 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37149         * Versions.def: Add GLIBC_2.17.
37150         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37151         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37152         Introduce __libc_secure_getenv.
37153         * stdlib/Versions (2.17): Add secure_getenv
37154         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37155         * stdlib/secure-getenv.c: Rename __secure_getenv to
37156         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37157         symbol __secure_getenv for GLIBC_2.0.
37158         * stdlib/tst-secure-getenv.c: New.
37159         * stdlib/Makefile (tests): Add testcase.
37160         * manual/startup.texi (Environment Access): Document
37161         secure_getenv.
37162         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37163         __libc_secure_getenv.
37164         * inet/ruserpass.c (ruserpass): Likewise.
37165         * malloc/mtrace.c (mtrace): Likewise.
37166         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37167         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37168         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37169         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37170         HAVE_SECURE_GETENV.
37171         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37172         __secure_getenv to __libc_secure_getenv.
37173         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37175         Likewise.
37176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37177         Likewise.
37178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37180         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37186 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37188         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37189         (struct La_i86_retval): Likewise.
37190         (struct La_x86_64_regs): Likewise.
37191         (struct La_x86_64_retval): Likewise.
37192         (struct La_x32_regs): Likewise.
37193         (struct La_x32_retval): Likewise.
37194         (struct La_ppc32_regs): Likewise.
37195         (struct La_ppc32_retval): Likewise.
37196         (struct La_ppc64_regs): Likewise.
37197         (struct La_ppc64_retval): Likewise.
37198         (struct La_sh_regs): Likewise.
37199         (struct La_sh_retval): Likewise.
37200         (struct La_s390_32_regs): Likewise.
37201         (struct La_s390_32_retval): Likewise.
37202         (struct La_s390_64_regs): Likewise.
37203         (struct La_s390_64_retval): Likewise.
37204         (struct La_sparc32_regs): Likewise.
37205         (struct La_sparc32_retval): Likewise.
37206         (struct La_sparc64_regs): Likewise.
37207         (struct La_sparc64_retval): Likewise.
37208         (struct audit_ifaces): Remove architecture-specific pltenter and
37209         pltexit members.
37210         * sysdeps/i386/ldsodefs.h: New file.
37211         * sysdeps/powerpc/ldsodefs.h: Likewise.
37212         * sysdeps/s390/ldsodefs.h: Likewise.
37213         * sysdeps/sh/ldsodefs.h: Likewise.
37214         * sysdeps/sparc/ldsodefs.h: Likewise.
37215         * sysdeps/x86_64/ldsodefs.h: Likewise.
37217 2012-07-25  Marek Polacek  <polacek@redhat.com>
37219         [BZ #6808]
37220         * math/libm-test.inc (yn_test): Add another test.
37221         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37222         to ERANGE when the result is +-Inf.
37223         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37224         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37225         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37226         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37228 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37230         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37231         equal to 0.
37232         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37233         clock_t.
37234         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37236 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37238         * configure.in <sysdeps resolving>: Correct printing
37239         Implies_before.
37240         * configure: Regenerate.
37242 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37244         * math/w_ilogb.c: Include <limits.h>.
37245         * math/w_ilogbl.c: Likewise.
37247 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37249         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37250         va_copy.  Document allowing for unavailable va_copy only as
37251         pre-C99 compatibility.
37252         * manual/string.texi (Copying and Concatenation): Use va_copy
37253         instead of __va_copy in concat example.
37255 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37257         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37258         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37259         it if not null.
37261         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37262         with O_NOLINK passed to __file_name_lookup.
37264         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37265         with O_NOLINK passed to __file_name_lookup.
37267         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37268         negative N or less than NGIDS.
37270         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37271         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37272         enough.  Use memcpy instead of strncpy.
37274 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37276         * elf/Makefile (check-data): Remove.
37277         (localplt.data): New vpath directive.
37278         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37279         instead of $(check-data).
37280         * scripts/data/localplt-generic.data: Move to ...
37281         * sysdeps/generic/localplt.data: ... here.
37282         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37283         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37284         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37286         ... here.
37287         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37289         ... here.
37290         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37292         ... here.
37293         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37295         ... here.
37296         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37298         ... here.
37299         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37301         ... here.
37303 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37305         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37306         PPC32 and PPC64 files.
37307         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37308         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37310 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37312         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37313         __makecontext_ret to ...
37314         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37315         ... here and call exit if uc_link is NULL.  New file.
37316         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37317         __makecontext_ret.S.
37318         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37319         __makecontext_ret to ...
37320         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37321         ... here and call exit if uc_link is NULL.  New file.
37322         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37323         __makecontext_ret.S.
37325 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37327         * elf/elf.h (R_390_IRELATIVE): New definition.
37328         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37329         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37330         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37331         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37332         (elf_machine_lazy_rel): Likewise.
37333         * sysdeps/s390/dl-irel.h: New file.
37334         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37335         * sysdeps/s390/s390-64/memset.S: New asm code.
37336         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37337         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37338         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37339         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37340         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37341         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37342         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37343         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37344         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37345         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37346         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37347         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37348         * sysdeps/s390/s390-32/memset.S: New asm code.
37349         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37351 2012-07-17  Marek Polacek  <polacek@redhat.com>
37353         [BZ #14349]
37354         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37355         * sysdeps/s390/s390-64/configure.in: Likewise.
37356         * sysdeps/sparc/configure.in: Likewise.
37357         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37358         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37359         * sysdeps/i386/configure.in: Likewise.
37360         * sysdeps/x86_64/configure.in: Likewise.
37361         * sysdeps/sh/configure.in: Likewise.
37362         * sysdeps/s390/s390-32/configure: Regenerated.
37363         * sysdeps/s390/s390-64/configure: Likewise.
37364         * sysdeps/x86_64/configure: Likewise.
37365         * sysdeps/sh/configure: Likewise.
37366         * sysdeps/powerpc/powerpc64/configure: Likewise.
37367         * sysdeps/powerpc/powerpc32/configure: Likewise.
37368         * sysdeps/sparc/configure: Likwise.
37369         * sysdeps/i386/configure: Likewise.
37371         * elf/dl-open.c: Comment fixes.
37373 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37375         * Makefile [CXX] (check-data): Remove.
37376         [CXX] (c++-types.data): New vpath directive.
37377         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37378         vpath.  Do not allow for C++ type data being missing.
37379         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37380         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37381         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37382         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37383         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37384         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37385         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37387         ... here.
37388         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37390         ... here.
37391         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37393         ... here.
37394         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37396         ... here.
37397         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37399         ... here.
37400         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37402         ... here.
37403         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37405         ... here.
37406         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37409         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37410         definitions to architecture-specific files.
37411         (TLS_IE): Likewise.
37412         (TLS_LD): Likewise.
37413         (TLS_GD): Likewise.
37414         * sysdeps/i386/tls-macros.h: New file.
37415         * sysdeps/powerpc/tls-macros.h: Likewise.
37416         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37417         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37418         * sysdeps/sh/tls-macros.h: Likewise.
37419         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37420         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37421         * sysdeps/x86_64/tls-macros.h: Likewise.
37423 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37425         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37426         zero value for regular exit case.
37428         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37429         (__start_context): Preserve zero value for regular exit case.
37431 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37432             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37434         * manual/setjmp.texi (setcontext): Clarify normal process
37435         termination when uc_link is the null pointer.
37436         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37437         exit call.
37439 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37441         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37442         preprocessor.  Test for each exception mask separately.
37444 2012-07-16  Andreas Jaeger  <aj@suse.de>
37446         * po/ru.po: Update from translation team.
37448 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37450         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37451         equal to 0.
37452         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37453         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37454         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37455         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37456         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37458 2012-07-13  Andreas Jaeger  <aj@suse.de>
37460         * po/fr.po: Update from translation team.
37462 2012-07-12  Marek Polacek  <polacek@redhat.com>
37464         [BZ #14173]
37465         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37466         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37467         loop condition.
37469 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37471         [BZ #13717]
37472         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37473         Change to 2.4.1 where previously 2.4.0.
37474         * sysdeps/unix/sysv/linux/configure: Regenerated.
37475         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37476         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37477         version.
37478         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37479         (__ASSUME_AT_CLKTCK): Remove.
37480         (__ASSUME_AT_PAGESIZE): Likewise.
37481         (__ASSUME_AT_XID): Likewise.
37482         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37483         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37484         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37485         unconditionally.
37486         (HAVE_AUX_PAGESIZE): Likewise.
37487         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37488         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37489         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37491 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37493         [BZ #14307]
37494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37495         the temporary buffer used to invoke __gethostbyname2_r,
37496         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37497         host_data / struct gaih_addrtuple.
37498         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37499         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37500         header file nss/nsswitch.h.
37501         * nss/nsswitch.h (global scope): Add definition of implementation
37502         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37503         resolv/nss_dns/dns-host.c).
37505 2012-07-11  Andreas Jaeger  <aj@suse.de>
37507         * po/fr.po: Update from translation team.
37509         * po/sv.po: Update from translation team
37510         * po/fr.po: Another update from translation team.
37512 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37514         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37515         for subnormals or multiply small sinh result by itself.
37516         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37519 2012-07-11  David S. Miller  <davem@davemloft.net>
37521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37523 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37525         [BZ #14347]
37526         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37527         (INTERNAL_MARK): Shift it here.
37529 2012-07-10  Marek Polacek  <polacek@redhat.com>
37531         [BZ #14151]
37532         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37533         libc_cv_asm_global_directive with .globl.
37534         * configure: Regenerated.
37535         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37536         with .globl.
37537         * sysdeps/i386/configure: Regenerated.
37538         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37539         with .globl.
37540         * sysdeps/x86_64/configure: Regenerated.
37541         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37542         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37543         * elf/tst-unique2mod2.c: Likewise.
37544         * elf/tst-unique2mod1.c: Likewise.
37545         * elf/tst-unique1mod2.c: Likewise.
37546         * elf/tst-unique1mod1.c: Likewise.
37547         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37548         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37549         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37550         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37551         * sysdeps/mach/sysdep.h: Likewise.
37552         * sysdeps/i386/sysdep.h: Likewise.
37553         * sysdeps/i386/i386-mcount.S: Likewise.
37554         * sysdeps/x86_64/_mcount.S: Likewise.
37555         * sysdeps/x86_64/sysdep.h: Likewise.
37556         * sysdeps/sh/_mcount.S: Likewise.
37557         * sysdeps/sh/sysdep.h: Likewise.
37558         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37559         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37560         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37561         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37562         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37563         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37564         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37565         * locale/localeinfo.h: Likewise.
37566         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37567         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37569 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37571         [BZ #14336]
37572         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37573         system".
37574         * manual/message.texi (The Uniforum approach): Likewise.
37575         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37576         (glibc iconv Implementation): Likewise.
37578 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37580         [BZ #14337]
37581         * math/s_clog.c (__clog): Avoid scaling a value down where that
37582         could result in underflow.
37583         * math/s_clog10.c (__clog10): Likewise.
37584         * math/s_clog10f.c (__clog10f): Likewise.
37585         * math/s_clog10l.c (__clog10l): Likewise.
37586         * math/s_clogf.c (__clogf): Likewise.
37587         * math/s_clogl.c (__clogl): Likewise.
37588         * math/libm-test.inc (clog_test): Add more tests.
37589         (clog10_test): Likewise.
37590         * sysdeps/i386/fpu/libm-test-ulps: Update.
37591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37593 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37595         [BZ #14283]
37596         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37597         by 7 not 8 to examine high bit of fractional part.
37599         [BZ #14042]
37600         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37601         for call to __mcount_internal.
37602         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37603         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37604         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37606 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37608         [BZ #14154]
37609         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37610         approximation for values within 0x1p-13f of an odd multiple of
37611         pi/4.
37612         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37613         exception.  Add more tests.
37614         * sysdeps/i386/fpu/libm-test-ulps: Update.
37616         [BZ #6778]
37617         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37618         inputs and return -1 for them.  Do not check for +Inf in case not
37619         reachable for +Inf.
37620         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37621         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37622         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37623         and return -1 for them.  Do not check for +Inf in case not
37624         reachable for +Inf.
37625         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37626         define.
37627         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37628         and return -1 for them.  Do not check for +Inf in case not
37629         reachable for +Inf.
37630         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37631         spurious underflow.
37632         * sysdeps/i386/fpu/libm-test-ulps: Update.
37633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37635 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37637         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37639 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37641         [BZ #14157]
37642         [BZ #14331]
37643         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37644         could result in spurious underflow.  Scale down values above
37645         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37646         * math/s_csqrtf.c (__csqrtf): Likewise.
37647         * math/s_csqrtl.c (__csqrtl): Likewise.
37648         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37649         spurious underflow.
37650         * sysdeps/i386/fpu/libm-test-ulps: Update.
37651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37653 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37655         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37656         xopen-msg.sed.
37657         * catgets/xopen-msg.awk: New file.
37658         * catgets/xopen-msg.sed: Removed.
37660         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37661         po2text.sed.
37662         * intl/po2test.awk: New file.
37663         * intl/po2test.sed: Removed.
37665 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37667         [BZ #14328]
37668         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37669         or multiply small sinh result by itself.
37670         * math/s_ctanf.c (__ctanf): Likewise.
37671         * math/s_ctanh.c (__ctanh): Likewise.
37672         * math/s_ctanhf.c (__ctanhf): Likewise.
37673         * math/s_ctanhl.c (__ctanhl): Likewise.
37674         * math/s_ctanl.c (__ctanl): Likewise.
37675         * math/libm-test.inc (ctan_test_tonearest): New function.
37676         (ctan_test_towardzero): Likewise.
37677         (ctan_test_downward): Likewise.
37678         (ctan_test_upward): Likewise.
37679         (ctanh_test_tonearest): Likewise.
37680         (ctanh_test_towardzero): Likewise.
37681         (ctanh_test_downward): Likewise.
37682         (ctanh_test_upward): Likewise.
37683         (main): Call these new functions.
37684         * sysdeps/i386/fpu/libm-test-ulps: Update.
37685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37687 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37689         * .gitignore: Delete /ports entry.
37691 2012-07-03  Andreas Jaeger  <aj@suse.de>
37693         * po/bg.po: Update from translation team.
37694         * po/cs.po: Likewise.
37695         * po/de.po: Likewise.
37696         * po/hr.po: Likewise.
37697         * po/nl.pl: Likewise.
37698         * po/pl.po: Likewise.
37699         * po/vi.po: Likewise.
37701 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37703         * Makeconfig [!+link] (+link-before-libc): New variable.
37704         [!+link] (+link-after-libc): Likewise.
37705         [!+link] (+link-tests): Likewise.
37706         [!+link] (+link): Define in terms of $(+link-before-libc) and
37707         $(+link-after-libc).
37708         [!+link-static] (+link-static-before-libc): New variable.
37709         [!+link-static] (+link-static-after-libc): Likewise.
37710         [!+link-static] (+link-static-tests): Likewise.
37711         [!+link-static] (+link-static): Define in terms of
37712         $(+link-static-before-libc) and $(+link-static-after-libc).
37713         [build-shared] (link-libc-before-gnulib): New variable.
37714         [build-shared] (link-libc-tests): Likewise.
37715         [build-shared] (link-libc): Define in terms of
37716         $(link-libc-before-gnulib).
37717         [!build-shared] (link-libc-tests): New variable.
37718         (link-libc-static-tests): New variable.
37719         [!gnulib] (gnulib-arch): New variable.
37720         [!gnulib] (gnulib-tests): Likewise.
37721         [!gnulib] (static-gnulib-arch): Likewise.
37722         [!gnulib] (static-gnulib-tests): Likewise.
37723         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37724         Define with "=" instead of ":=".
37725         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37726         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37727         * Rules (binaries-all-notests): New variable.
37728         (binaries-all-tests): Likewise.
37729         (binaries-static-notests): Likewise.
37730         (binaries-static-tests): Likewise.
37731         (binaries-all): Define using $(binaries-all-notests) and
37732         $(binaries-all-tests).
37733         (binaries-static): Define using $(binaries-static-notests) and
37734         $(binaries-static-tests).
37735         (binaries-shared-tests): New variable.
37736         (binaries-shared-notests): Likewise.
37737         (binaries-shared): Remove variable.
37738         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37739         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37740         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37741         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37742         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37743         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37744         * elf/Makefile (sln-modules): New variable.
37745         (extra-objs): Add $(sln-modules:=.o).
37746         (ldconfig-modules): Add static-stubs.
37747         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37748         * elf/static-stubs.c: New file.
37750         [BZ #14283]
37751         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37752         by 7 not 8 to examine high bit of fractional part.  Use volatile
37753         variables when splitting into final array of floats if
37754         __FLT_EVAL_METHOD__ != 0.
37755         * math/libm-test.inc (cos_test): Add another test.
37756         (sin_test): Likewise.
37757         * sysdeps/i386/fpu/libm-test-ulps: Update.
37759         [BZ #14273]
37760         * math/libm-test.inc (cosh_test): Add more tests.
37762         * version.h (RELEASE): Set to "development".
37763         (VERSION): Set to "2.16.90".
37765 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37767         * NEWS: Update copyright. Remove last-updated date.
37768         Mention math library bug fixes and timezone data changes.
37769         * README: Mention GNU/Hurd, x32, and HPPA support status.
37771 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37773         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37775 2012-06-27  Andreas Jaeger  <aj@suse.de>
37777         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37779 2012-06-25  Andreas Jaeger  <aj@suse.de>
37781         * sysdeps/s390/fpu/libm-test-ulps: Update.
37783 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37784             Thomas Schwinge  <thomas@codesourcery.com>
37786         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37787         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37788         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37789         fanotify_mark.
37791 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37793         * sysdeps/mach/start.c: Remove file.
37794         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37795         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37796         * sysdeps/sh/init-first.c: Likewise.
37798         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37799         registers for frame unwinding purposes, add CFI directives.
37800         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37801         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37802         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37803         Likewise.
37805         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37806         __fortify_fail returning.
37807         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37809         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37810         sysdeps/sh/____longjmp_chk.S.
37811         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37812         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37813         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37814         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37816         * sysdeps/sh/abort-instr.h: New file.
37817         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37818         process in case exit returns.
37820         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37821         initialize the GOT register before use.
37823         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37824         calculation of ARGC > 4.
37826         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37827         meaningful names to some local labels.
37829 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37830             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37832         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37833         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37834         (__arch_compare_and_exchange_val_16_acq): Likewise.
37835         (__arch_compare_and_exchange_val_32_acq): Likewise.
37836         (atomic_exchange_and_add): Fix gUSA sequence.
37837         (atomic_add): Likewise.
37838         (atomic_add_negative): Likewise.
37839         (atomic_add_zero): Likewise.
37840         (atomic_bit_test_set): Likewise.
37842 2012-06-22  Andreas Schwab  <schwab@redhat.com>
37844         [BZ #13579]
37845         * include/link.h (struct link_map): Add l_free_initfini.
37846         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37847         l_initfini.
37848         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37849         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37850         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37851         set.
37853 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
37855         * configure.in: Use AC_LANG_SOURCE.
37856         * configure: Regenerate.
37858 2012-06-22  Roland McGrath  <roland@hack.frob.com>
37860         * configure.in (libc_cv_localstatedir): New substituted variable.
37861         * configure: Regenerated.
37862         * config.make.in (localstatedir): New variable, substituted from
37863         libc_cv_localstatedir.
37864         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37865         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37866         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37867         * sysdeps/gnu/configure: Regenerated.
37869 2012-06-21  Jeff Law  <law@redhat.com>
37871         [BZ #14277]
37872         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37873         free.  Simplify list management for _LIBC case.
37875 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
37877         [BZ #14273]
37878         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37879         Clear sign bit of 64-bit integer value before comparing against
37880         overflow value.
37882         * sysdeps/mach/configure: Regenerated.
37884 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
37886         [BZ #14278]
37887         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37889 2012-06-21  Jeff Law  <law@redhat.com>
37891         [BZ #13882]
37892         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
37893         uint16_t for elements in the "seen" array to avoid char overflows.
37894         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37895         * elf/dl-open.c (dl_open_worker): Likewise.
37897 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
37899         * scripts/list-sources.sh: Scan PORTS for translations.
37900         * po/libc.pot: Regenerated.
37902 2012-06-21  Andreas Jaeger  <aj@suse.de>
37904         [BZ #12194]
37905         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37906         warning.
37907         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37908         * bits/byteswap-16.h (__bswap_16): Likewise.
37909         * bits/byteswap.h (__bswap_constant_16): Likewise.
37911 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
37913         [BZ #14117]
37914         * sysdeps/i386/fpu_control.h: Removed.
37915         * sysdeps/x86_64/fpu_control.h: Moved to ...
37916         * sysdeps/x86/fpu_control.h: Here.
37918         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37919         (_FPU_SETCW): Likewise.
37921 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
37923         [BZ #14117]
37924         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37925         * sysdeps/x86/fpu/bits/mathinline.h: This.
37926         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37928         [BZ #14050]
37929         [BZ #14117]
37930         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37931         functions if __x86_64__ is defined.
37933 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
37935         * string/endian.h: Add !__ASSEMBLER__ condition for including
37936         conversion interfaces.
37938 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
37940         [BZ #14241]
37941         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37942         of ABS(x) in calculating zero to negative powers other than odd
37943         integers.
37944         * math/libm-test.inc (pow_test): Add more tests.
37946 2012-06-15  Andreas Jaeger  <aj@suse.de>
37948         * manual/contrib.texi (Contributors): Update entry of Liubov
37949         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37950         Machado Filho.
37952 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
37954         * string/string.h: Add __wur to GNU version of strerror_r.
37956 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
37958         [BZ #14229]
37959         * string/Makefile (tests): Add tst-strtok_r.
37960         * string/tst-strtok_r.c: New file.
37961         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37962         RAX_LP/RDX_LP on SAVE_PTR.
37964 2012-06-14  Roland McGrath  <roland@hack.frob.com>
37966         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37968 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
37970         * libm_test.inc (csqrt_test): Allow more spurious underflow
37971         exceptions.
37972         (j0_test): Likewise.
37973         (j1_test): Likewise.
37974         (y0_test): Likewise.
37975         (y1_test): Likewise.
37977 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
37979         * po/Makefile (libc.pot): Use UTF-8 charset.
37981 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
37983         [BZ #14210]
37984         Suppress sign-conversion warning from FD_SET.
37985         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37986         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37987         not unsigned long int.
37988         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37990 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
37992         [BZ #14050]
37993         [BZ #14117]
37994         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37995         __extern_always_inline instead of __extern_inline.
37996         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37997         (__signbit): Likewise.
37998         (__signbitl): Support C++ namespace.
37999         (lrintf): New inline function.
38000         (lrint): Likewise.
38001         (llrintf): Likewise.
38002         (llrint): Likewise.
38003         (fmaxf): Likewise.
38004         (fmax): Likewise.
38005         (fminf): Likewise.
38006         (fmin): Likewise.
38007         (rint): Likewise.
38008         (rintf): Likewise.
38009         (ceil): Likewise.
38010         (ceilf): Likewise.
38011         (floor): Likewise.
38012         (floorf): Likewise.
38013         (nearbyint): Likewise.
38014         (nearbyintf): Likewise.
38016 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38018         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38019         non-default versions.
38021 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38023         [BZ #14218]
38024         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38026 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38028         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38029         (FE_UPWARD, FE_DOWNWARD): Don't define.
38030         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38031         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38033         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38034         reading it.
38035         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38036         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38038 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38040         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38041         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38042         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38043         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38045 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38047         [BZ #14117]
38048         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38049         * sysdeps/i386/fpu/Implies: New file.
38050         * sysdeps/x86_64/fpu/Implies: Likewise.
38051         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38052         * sysdeps/x86/fpu/bits/fenv.h: This.
38054         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38055         __SSE_MATH__.
38057 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38059         [BZ #14134]
38060         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38061         character 0xffff that matches the last element of the
38062         conversion table.
38064 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38066         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38067         fmodl commit.
38069 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38071         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38072         values higher than 25.6283.
38074 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38076         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38077         subnormal exponent extraction and add some __builtin_expect.
38078         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38079         Fix for subnormal mantissa calculation.
38081 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38083         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38084         cpu2 is -1 and errno is not ENOSYS.
38086 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38088         [BZ #14117]
38089         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38090         * sysdeps/x86/bits/string.h: This.
38091         * sysdeps/x86_64/bits/string.h: Removed.
38093         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38094         if not compiling for x86-64, but compiling for >= i486.
38096         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38097         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38099         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38100         New macro from Linux kernel 3.4.0.
38101         (FP_XSTATE_MAGIC2): Likewise.
38102         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38103         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38104         (struct _fpx_sw_bytes): New struct.
38105         (struct _xsave_hdr): Likewise.
38106         (struct _ymmh_state): Likewise.
38107         (struct _xstate): Likewise.
38109         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38110         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38111         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38112         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38113         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38114         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38116         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38117         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38118         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38119         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38120         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38121         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38123 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38125         [BZ #13743]
38126         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38127         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38128         (sysdep_headers): Include sys/platform/ppc.h.
38129         * sysdeps/powerpc/test-gettimebase.c: Test for
38130         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38131         * manual/Makefile (appendices): Include platform.texi.
38132         * manual/contrib.texi (Contributors): Update @node pointers.
38133         * manual/maint.texi (Maintenance): Likewise.
38134         (Platform): New node.
38135         * manual/platform.texi: New file.  Document the new features.
38137 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38138             Jakub Jelinek  <jakub@redhat.com>
38140         [BZ #14188]
38141         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38142         where __builtin_expect is unavailable.
38144 2012-06-03  David S. Miller  <davem@davemloft.net>
38146         * stdlib/longlong.h: Updated from GCC.
38148 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38150         [BZ #14042]
38151         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38152         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38153         __mcount_internal.
38154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38155         (GLIBC_2.16): Likewise.
38157 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38159         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38161 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38164         (default-abi): New variable.
38165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38166         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38167         variable.
38168         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38169         Likewise.
38170         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38171         Likewise.
38172         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38173         Likewise.
38175         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38176         definition.  Document in comment.
38178 2012-06-01  David S. Miller  <davem@davemloft.net>
38180         * stdlib/longlong.h: Updated from GCC.
38182 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38184         [BZ #14117]
38185         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38186         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38187         sys/debugreg.h sys/io.h here.
38188         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38189         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38190         sys/io.h.
38191         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38192         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38193         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38194         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38195         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38196         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38198         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38199         Define only if __x86_64__ is defined.
38201 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38203         [BZ #14048]
38204         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38205         Use int64_t for variable i.
38206         * math/libm-test.inc (fmod_test): Add more tests.
38208         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38209         z computation is not scheduled after fetestexcept.
38210         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38211         Use math_force_eval instead of asm to ensure calculation scheduled
38212         before exception test.
38213         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38214         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38216 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38218         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38219         computation is not scheduled after fetestexcept.
38221 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38223         [BZ #14117]
38224         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38225         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38227 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38229         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38230         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38232 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38234         [BZ #14117]
38235         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38236         <bits/wordsize.h>.
38237         (__WCHAR_MIN): Support __WORDSIZE == 64.
38238         (__WCHAR_MAX): Likewise.
38240         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38241         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38243         [BZ #14183]
38244         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38245         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38247         [BZ #14117]
38248         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38249         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38251         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38252         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38254         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38255         Defined to 1 if __x86_64__ isn't defined.
38256         (_STAT_VER_LINUX_OLD): New.
38257         (st_atime): Remove duplicate.
38258         (st_mtime): Likewise.
38259         (st_ctime): Likewise.
38261 2012-05-31  David S. Miller  <davem@davemloft.net>
38263         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38264         entries.
38266 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38268         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38269         gen-libm-test.pl.
38271         [BZ #14132]
38272         * elf/dl-reloc.c: Include <_itoa.h>.
38273         (_dl_reloc_bad_type): Remove use of INTUSE.
38274         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38275         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38276         * stdio-common/psiginfo.c (psiginfo): Likewise.
38277         * stdio-common/psignal.c (psignal): Likewise.
38278         * string/strsignal.c (strsignal): Likewise.
38279         * include/signal.h (_sys_siglist): Declare hidden proto.
38280         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38281         INTVARDEF with libc_hidden_data_def.
38282         * stdio-common/itoa-udigits.c: Likewise.
38283         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38284         (_itoa_lower_digits_internal): Remove declaration.
38285         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38286         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38287         (_sys_sigabbrev_internal): Remove aliases.
38288         (_sys_siglist): Define hidden alias.
38290 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38292         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38293         bits/sysctl.h.
38295 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38297         [BZ #14117]
38298         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38299         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38301         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38302         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38303         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38304         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38305         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38306         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38308         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38309         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38310         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38312         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38313         with __addr.
38314         (insw): Likewise.
38315         (insl): Likewise.
38316         (outsb): Likewise.
38317         (outsw): Likewise.
38318         (outsl): Likewise.
38320         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38321         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38322         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38324         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38325         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38326         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38327         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38328         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38329         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38331         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38332         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38334         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38335         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38337         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38338         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38339         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38341         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38342         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38343         to ...
38344         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38346         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38347         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38348         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38350         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38351         for x86-64.
38352         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38354 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38356         * math/math.h (M_El): Use two more decimal places.
38357         (M_LOG2El): Likewise.
38358         (M_LOG10El): Likewise.
38359         (M_LN2l): Likewise.
38360         (M_LN10l): Likewise.
38361         (M_PIl): Likewise.
38362         (M_PI_2l): Likewise.
38363         (M_PI_4l): Likewise.
38364         (M_1_PIl): Likewise.
38365         (M_2_PIl): Likewise.
38366         (M_2_SQRTPIl): Likewise.
38367         (M_SQRT2l): Likewise.
38368         (M_SQRT1_2l): Likewise.
38370 2012-05-31  David S. Miller  <davem@davemloft.net>
38372         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38373         values between float registers.
38374         * sysdeps/sparc/sparc64/memset.S: Likewise.
38375         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38377 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38379         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38380         -D_FORTIFY_SOURCE=1.
38381         (CPPFLAGS-tst-longjmp_chk.c): Define.
38382         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38383         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38384         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38385         CFLAGS-tst-wchar-h.c.
38387 2012-05-31  Marek Polacek  <polacek@redhat.com>
38389         [BZ #14132]
38390         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38391         __endmntent_internal): Remove declaration.
38392         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38393         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38394         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38396 2012-05-30  David S. Miller  <davem@davemloft.net>
38398         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38399         (___Q_simulate_exceptions): Use real FP ops rather than writing
38400         into the %fsr.
38401         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38402         Likewise.
38404 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38406         [BZ #14117]
38407         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38408         * sysdeps/x86/bits/xtitypes.h: This.
38410         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38411         * sysdeps/x86/bits/wordsize.h: This.
38413         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38414         * sysdeps/x86/bits/huge_vall.h: This.
38416         * sysdeps/i386/bits/select.h: Removed.
38417         * sysdeps/x86_64/bits/select.h: Renamed to ...
38418         * sysdeps/x86/bits/select.h: This.
38420         * sysdeps/i386/bits/setjmp.h: Removed.
38421         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38422         * sysdeps/x86/bits/setjmp.h: This.
38424         * sysdeps/i386/bits/mathdef.h: Removed.
38425         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38426         * sysdeps/x86/bits/mathdef.h: This.
38428 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38430         [BZ #14132]
38431         * include/sys/socket.h (__connect_internal)
38432         (__libc_sa_len_internal): Remove declaration.
38433         (__connect, __libc_sa_len): Declare hidden_proto.
38434         (SA_LEN): Remove use of INTUSE.
38435         * socket/connect.c: Add libc_hidden_def.
38436         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38437         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38438         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38439         alias.
38440         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38441         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38442         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38443         of adding _internal alias.
38445 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38447         [BZ #14117]
38448         * sysdeps/i386/bits/link.h: Removed.
38449         * sysdeps/i386/bits/linkmap.h: Likewise.
38450         * sysdeps/x86_64/bits/link.h: Renamed to ...
38451         * sysdeps/x86/bits/link.h: This.
38452         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38453         * sysdeps/x86/bits/linkmap.h: This.
38455         * sysdeps/i386/bits/endian.h: Removed.
38456         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38457         * sysdeps/x86/bits/endian.h: This.
38459         * sysdeps/i386/bits/byteswap.h: Removed.
38460         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38461         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38462         * sysdeps/x86/bits/byteswap.h: This.
38463         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38464         * sysdeps/x86/bits/byteswap-16.h: This.
38465         * sysdeps/i386/Implies: Add x86.
38466         * sysdeps/x86_64/Implies: Likewise.
38468 2012-05-30  David S. Miller  <davem@davemloft.net>
38470         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38471         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38472         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38473         (FP_TRAPPING_EXCEPTIONS): Define.
38474         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38475         (FP_TRAPPING_EXCEPTIONS): Define.
38476         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38477         subnormals only when inexact has been signalled or underflow
38478         exceptions are enabled.
38479         (_FP_PACK_CANONICAL): Likewise.
38481 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38483         [BZ #14183]
38484         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38485         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38487 2012-05-30  Richard Henderson  <rth@twiddle.net>
38489         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38490         with #ifndef NOT_IN_libc.
38492         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38493         marked to avoid plt entry.
38495 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38497         [BZ #14112]
38498         * Makeconfig (default-abi): New macro.
38499         (abi-includes): Likewise.
38500         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38501         $(abi-$(default-abi)-lib-soname) for soname if defined.
38502         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38503         abi-variants.
38504         * Makefile (installed-stubs): Likewise.
38505         * include/stubs-biarch.h: Removed.
38506         * scripts/lib-names.awk: Only handle one library at a time.
38507         * scripts/soversions.awk: Remove WORDSIZE support.
38508         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38509         entries.
38510         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38511         Removed.
38512         (syscall-list-default-condition): Likewise.
38513         (syscall-list-default-condition): Likewise.
38514         (syscall-list-includes): Likewise.
38515         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38516         syscall-list-* with abi-*.  Handle undefined abi-variants.
38517         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38518         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38519         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38520         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38521         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38522         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38523         Removed.
38524         (syscall-list-32-options): Likewise.
38525         (syscall-list-32-condition): Likewise.
38526         (syscall-list-64-options): Likewise.
38527         (syscall-list-64-condition): Likewise.
38528         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38529         macro.
38530         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38531         Renamed to ...
38532         (abi-*): This.
38533         (abi-64-ld-soname): New macro.
38534         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38535         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38536         Renamed to ...
38537         (abi-*): This.
38538         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38539         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38541 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38543         * sysdeps/unix/sysv/linux/kernel-features.h
38544         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38545         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38546         include <kernel-features.h>.
38547         [!__NR_ftruncate64]: Remove conditional code.
38548         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38549         [__NR_ftruncate64]: Make code unconditional.
38550         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38551         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38552         include <kernel-features.h>.
38553         [!__NR_ftruncate64]: Remove conditional code.
38554         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38555         [__NR_ftruncate64]: Make code unconditional.
38556         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38558         include <kernel-features.h>.
38559         [!__NR_ftruncate64]: Remove conditional code.
38560         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38561         [__NR_ftruncate64]: Make code unconditional.
38562         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38564         include <kernel-features.h>.
38565         [!__NR_ftruncate64]: Remove conditional code.
38566         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38567         [__NR_ftruncate64]: Make code unconditional.
38568         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38570         * configure.in (libc_cv_fpie): Weaken to a compile test using
38571         LIBC_TRY_CC_OPTION.
38572         * configure: Regenerated.
38574 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38580         Refreshed.
38581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38587         Refreshed.
38589 2012-05-27  David S. Miller  <davem@davemloft.net>
38591         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38592         (___Q_zero): New.
38593         (__Q_simulate_exceptions): Return void.  Change to simulate
38594         exceptions by writing into the %fsr.
38595         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38596         (__Qp_handle_exceptions): Likewise.
38597         (numbers): Delete.
38598         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38599         __Qp_handle_exceptions.
38600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38601         __Qp_handle_exceptions.
38602         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38603         as unused and give dummy FP_RND_NEAREST initializer.
38604         (FP_INHIBIT_RESULTS): Define.
38605         (___Q_simulate_exceptions): Update declaration.
38606         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38607         formatting.
38608         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38609         as unused and give dummy FP_RND_NEAREST initializer.
38610         (__Qp_handle_exceptions): Update declaration.
38611         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38612         formatting.
38614 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38616         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38617         the temporary FPU control word.
38618         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38619         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38620         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38621         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38622         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38623         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38624         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38625         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38626         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38627         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38628         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38630 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38632         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38633         fields.
38635 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38637         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38638         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38639         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38640         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38641         Likewise.
38642         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38643         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38644         Likewise.
38646 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38648         * po/h.po: Update from translation team.
38650 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38652         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38654         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38655         handling of denormals.
38656         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38657         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38658         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38659         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38660         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38661         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38662         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38663         Likewise.
38665 2012-05-26  Marek Polacek  <polacek@redhat.com>
38667         [BZ #14152]
38668         * math/libm-test.inc (fma_test): Don't always expect underflow
38669         exception.
38671 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38673         [BZ #12416]
38674         * elf/tst-execstack.c: Include stackinfo.h.
38675         (do_test): Adjust test case to ensure that pthread_getattr_np
38676         behaviour remains the same after marking stack executable.
38678 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38680         * sysdeps/unix/sysv/linux/kernel-features.h
38681         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38682         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38683         kernel-features.h.
38684         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38685         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38686         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38687         kernel-features.h.
38688         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38689         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38691 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38693         * configure.in: Define the default includes to being none.
38694         * configure: Regenerated.
38696 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38698         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38699         * sysdeps/x86_64/setjmp.S: Likewise.
38700         * sysdeps/i386/bsd-setjmp.S: Likewise.
38701         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38702         * sysdeps/i386/setjmp.S: Likewise.
38703         * sysdeps/i386/__longjmp.S: Likewise.
38704         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38705         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38707         * include/stap-probe.h: New file.
38708         * configure.in: Handle --enable-systemtap.
38709         * configure: Regenerated.
38710         * config.h.in (USE_STAP_PROBE): New #undef.
38711         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38712         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38713         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38715 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38717         [BZ #13717]
38718         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38719         to 2.4.0 where earlier.
38720         * sysdeps/unix/sysv/linux/configure: Regenerated.
38721         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38722         <kernel-features.h>.
38723         [__ASSUME_32BITUIDS]: Make code unconditional.
38724         [!__ASSUME_32BITUIDS]: Remove conditional code.
38725         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38726         <kernel-features.h>.
38727         [__ASSUME_32BITUIDS]: Make code unconditional.
38728         [!__ASSUME_32BITUIDS]: Remove conditional code.
38729         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38730         [__ASSUME_32BITUIDS]: Make code unconditional.
38731         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38732         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38733         <kernel-features.h>.
38734         [__ASSUME_32BITUIDS]: Make code unconditional.
38735         [!__ASSUME_32BITUIDS]: Remove conditional code.
38736         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38737         <kernel-features.h>.
38738         [__ASSUME_32BITUIDS]: Make code unconditional.
38739         [!__ASSUME_32BITUIDS]: Remove conditional code.
38740         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38741         <kernel-features.h>.
38742         [__ASSUME_32BITUIDS]: Make code unconditional.
38743         [!__ASSUME_32BITUIDS]: Remove conditional code.
38744         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38745         <kernel-features.h>.
38746         [__ASSUME_32BITUIDS]: Make code unconditional.
38747         [!__ASSUME_32BITUIDS]: Remove conditional code.
38748         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38749         <kernel-features.h>.
38750         [__ASSUME_32BITUIDS]: Make code unconditional.
38751         [!__ASSUME_32BITUIDS]: Remove conditional code.
38752         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38753         <kernel-features.h>.
38754         [__ASSUME_32BITUIDS]: Make code unconditional.
38755         [!__ASSUME_32BITUIDS]: Remove conditional code.
38756         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38757         <kernel-features.h>.
38758         [__ASSUME_32BITUIDS]: Make code unconditional.
38759         [!__ASSUME_32BITUIDS]: Remove conditional code.
38760         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38761         <kernel-features.h>.
38762         [__ASSUME_32BITUIDS]: Make code unconditional.
38763         [!__ASSUME_32BITUIDS]: Remove conditional code.
38764         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38765         <kernel-features.h>.
38766         [__ASSUME_32BITUIDS]: Make code unconditional.
38767         [!__ASSUME_32BITUIDS]: Remove conditional code.
38768         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38769         <kernel-features.h>.
38770         [__ASSUME_32BITUIDS]: Make code unconditional.
38771         [!__ASSUME_32BITUIDS]: Remove conditional code.
38772         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38773         <kernel-features.h>.
38774         [__NR_setresgid] (__setresgid): Do not declare.
38775         [__ASSUME_32BITUIDS]: Make code unconditional.
38776         [!__ASSUME_32BITUIDS]: Remove conditional code.
38777         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38778         <kernel-features.h>.
38779         [__NR_setresuid] (__setresuid): Do not declare.
38780         [__ASSUME_32BITUIDS]: Make code unconditional.
38781         [!__ASSUME_32BITUIDS]: Remove conditional code.
38782         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38783         <kernel-features.h>.
38784         [__ASSUME_32BITUIDS]: Make code unconditional.
38785         [!__ASSUME_32BITUIDS]: Remove conditional code.
38786         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38787         <kernel-features.h>.
38788         [__ASSUME_32BITUIDS]: Make code unconditional.
38789         [!__ASSUME_32BITUIDS]: Remove conditional code.
38790         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38791         <kernel-features.h>.
38792         [__ASSUME_32BITUIDS]: Make code unconditional.
38793         [!__ASSUME_32BITUIDS]: Remove conditional code.
38794         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38795         <kernel-features.h>.
38796         [__ASSUME_32BITUIDS]: Make code unconditional.
38797         [!__ASSUME_32BITUIDS]: Remove conditional code.
38798         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38799         <kernel-features.h>.
38800         [__ASSUME_32BITUIDS]: Make code unconditional.
38801         [!__ASSUME_32BITUIDS]: Remove conditional code.
38802         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38803         <kernel-features.h>.
38804         [__ASSUME_32BITUIDS]: Make code unconditional.
38805         [!__ASSUME_32BITUIDS]: Remove conditional code.
38806         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38807         <kernel-features.h>.
38808         [__ASSUME_32BITUIDS]: Make code unconditional.
38809         [!__ASSUME_32BITUIDS]: Remove conditional code.
38810         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38811         <kernel-features.h>.
38812         [__ASSUME_32BITUIDS]: Make code unconditional.
38813         [!__ASSUME_32BITUIDS]: Remove conditional code.
38814         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38815         <kernel-features.h>.
38816         [__ASSUME_32BITUIDS]: Make code unconditional.
38817         [!__ASSUME_32BITUIDS]: Remove conditional code.
38818         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38819         <kernel-features.h>.
38820         [__ASSUME_32BITUIDS]: Make code unconditional.
38821         [!__ASSUME_32BITUIDS]: Remove conditional code.
38822         * sysdeps/unix/sysv/linux/kernel-features.h
38823         (__ASSUME_SETRESUID_SYSCALL): Remove.
38824         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38825         (__ASSUME_32BITUIDS): Likewise.
38826         (__ASSUME_LDT_WORKS): Likewise.
38827         (__ASSUME_O_DIRECTORY): Likewise.
38828         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38829         architecture but not kernel version.
38830         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38831         (__ASSUME_MMAP2_SYSCALL): Likewise.
38832         (__ASSUME_STAT64_SYSCALL): Likewise.
38833         (__ASSUME_IPC64): Likewise.
38834         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38835         <kernel-features.h>.
38836         [__ASSUME_32BITUIDS]: Make code unconditional.
38837         [!__ASSUME_32BITUIDS]: Remove conditional code.
38838         * sysdeps/unix/sysv/linux/opendir.c: Do not include
38839         <kernel-features.h>.
38840         [__ASSUME_O_DIRECTORY]: Make code unconditional.
38841         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38842         132096]: Remove conditional code.
38843         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38844         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38845         <kernel-features.h>.
38846         [__ASSUME_32BITUIDS]: Make code unconditional.
38847         [!__ASSUME_32BITUIDS]: Remove conditional code.
38848         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38849         <kernel-features.h>.
38850         [__ASSUME_32BITUIDS]: Make code unconditional.
38851         [!__ASSUME_32BITUIDS]: Remove conditional code.
38852         * sysdeps/unix/sysv/linux/setegid.c: Do not include
38853         <kernel-features.h>.
38854         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38855         unconditional.
38856         (__setresgid): Do not declare.
38857         [__ASSUME_32BITUIDS]: Make code unconditional.
38858         [!__ASSUME_32BITUIDS]: Remove conditional code.
38859         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38860         <kernel-features.h>.
38861         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38862         unconditional.
38863         (__setresuid): Do not declare.
38864         [__ASSUME_32BITUIDS]: Make code unconditional.
38865         [!__ASSUME_32BITUIDS]: Remove conditional code.
38866         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38867         <kernel-features.h>.
38868         [__ASSUME_32BITUIDS]: Make code unconditional.
38869         [!__ASSUME_32BITUIDS]: Remove conditional code.
38870         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38871         <kernel-features.h>.
38872         [__ASSUME_32BITUIDS]: Make code unconditional.
38873         [!__ASSUME_32BITUIDS]: Remove conditional code.
38875 2012-05-25  Richard Henderson  <rth@twiddle.net>
38877         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38878         dl_hwcap to ifunc resolver.
38879         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38880         elf_ifunc_invoke.
38881         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38882         dl_hwcap to ifunc resolver.
38883         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38885 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38887         [BZ #14153]
38888         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38889         for |x| <= 2**-26, not 2**-57.
38890         * math/libm-test.inc (acos_test): Do not allow spurious underflow
38891         exception.
38893 2012-05-24  Jeff Law  <law@redhat.com>
38895         * stdio-common/Makefile (tests): Add bug25.
38896         * stdio-common/bug25.c: New test.
38898 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38900         [BZ #13576]
38901         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38902         multiple of MALLOC_ALIGNMENT in size.
38903         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38905 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38907         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38908         Require >= 256.
38909         (FILENAME_MAX): Use macro-int-constant.
38910         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
38911         (_IOFBF): Use macro-int-constant.
38912         (_IOLBF): Likewise.
38913         (_IONBF): Likewise.
38914         (SEEK_CUR): Likewise.
38915         (SEEK_END): Likewise.
38916         (SEEK_SET): Likewise.
38917         (TMP_MAX): Likewise.
38918         (EOF): Use macro-int-constant.  Require < 0.
38919         (NULL): Use macro-constant.  Require == 0.
38920         (stdin): Require type to be FILE *.
38921         (stdout): Likewise.
38922         (stderr): Likewise.
38923         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38924         macro-int-constant.
38925         (EXIT_SUCCESS): Likewise.
38926         (NULL): Use macro-constant.  Require == 0.
38927         (RAND_MAX): Use macro-int-constant.
38928         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38929         [C99-based standards] (strtof): Require function.
38930         [C99-based standards] (strtold): Likewise.
38931         [C99-based standards] (strtoll): Likewise.
38932         [C99-based standards] (strtoull): Likewise.
38933         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38934         [ISO || ISO99 || ISO11] (limits.h): Likewise.
38935         [ISO || ISO99 || ISO11] (math.h): Likewise.
38936         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38937         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38938         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38940 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
38942         [BZ #14132]
38943         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38944         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38945         * intl/dgettext.c (DCGETTEXT): Likewise.
38946         * intl/gettext.c (DCGETTEXT): Likewise.
38947         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38948         * posix/regex_internal.h (gettext): Likewise.
38949         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38950         Remove declaration.
38951         * include/argz.h (__argz_count_internal)
38952         (__argz_stringify_internal): Remove declaration.
38953         (__argz_count, __argz_stringify): Declare hidden proto.
38954         * intl/dcgettext.c: Remove use of INTDEF.
38955         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38956         * string/argz-stringify.c: Likewise.
38957         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38958         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38959         Declare hidden proto.
38960         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38961         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38962         Declare hidden proto.
38963         * include/stdio.h (__asprintf_internal): Don't declare.
38964         (__asprintf): Don't define as macro.  Declare hidden proto.
38965         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38966         (__fsetlocking): Declare hidden proto.
38967         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38968         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38969         hidden proto.
38970         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38971         (_IO_setlinebuf): Remove use of INTUSE.
38972         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38973         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38974         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38975         Remove declaration.
38976         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38977         (_IO_do_flush): Remove use of INTUSE.
38978         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38979         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38980         (_IO_adjust_column, _IO_least_wmarker)
38981         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38982         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38983         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38984         (_IO_default_doallocate, _IO_wdefault_doallocate)
38985         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38986         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38987         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38988         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38989         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38990         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38991         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38992         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38993         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38994         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38995         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38996         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38997         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38998         proto.
38999         (_IO_flush_all_internal, _IO_adjust_column_internal)
39000         (_IO_default_uflow_internal, _IO_default_finish_internal)
39001         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39002         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39003         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39004         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39005         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39006         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39007         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39008         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39009         (_IO_file_close_internal, _IO_file_close_it_internal)
39010         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39011         (_IO_file_init_internal, _IO_file_attach_internal)
39012         (_IO_file_fopen_internal, _IO_file_read_internal)
39013         (_IO_file_sync_internal, _IO_file_seek_internal)
39014         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39015         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39016         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39017         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39018         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39019         (_IO_list_all_internal, _IO_link_in_internal)
39020         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39021         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39022         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39023         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39024         (_IO_do_write_internal, _IO_padn_internal)
39025         (_IO_getline_info_internal, _IO_getline_internal)
39026         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39027         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39028         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39029         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39030         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39031         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39032         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39033         with libc_hidden_ver, remove use of INTUSE.
39034         * libio/genops.c: Likewise.
39035         * libio/freopen.c: Likewise.
39036         * libio/freopen64.c: Likewise.
39037         * libio/iofclose.c: Likewise.
39038         * libio/iofdopen.c: Likewise.
39039         * libio/iofflush.c: Likewise.
39040         * libio/iofflush_u.c: Likewise.
39041         * libio/iofgets.c: Likewise.
39042         * libio/iofgets_u.c: Likewise.
39043         * libio/iofopen.c: Likewise.
39044         * libio/iofopncook.c: Likewise.
39045         * libio/iofread.c: Likewise.
39046         * libio/iofread_u.c: Likewise.
39047         * libio/ioftell.c: Likewise.
39048         * libio/iofwrite.c: Likewise.
39049         * libio/iogetline.c: Likewise.
39050         * libio/iogets.c: Likewise.
39051         * libio/iogetwline.c: Likewise.
39052         * libio/iopadn.c: Likewise.
39053         * libio/iopopen.c: Likewise.
39054         * libio/ioseekoff.c: Likewise.
39055         * libio/ioseekpos.c: Likewise.
39056         * libio/iosetbuffer.c: Likewise.
39057         * libio/iosetvbuf.c: Likewise.
39058         * libio/ioungetc.c: Likewise.
39059         * libio/ioungetwc.c: Likewise.
39060         * libio/iovdprintf.c: Likewise.
39061         * libio/iovsprintf.c: Likewise.
39062         * libio/iovsscanf.c: Likewise.
39063         * libio/memstream.c: Likewise.
39064         * libio/obprintf.c: Likewise.
39065         * libio/oldfileops.c: Likewise.
39066         * libio/oldiofclose.c: Likewise.
39067         * libio/oldiofdopen.c: Likewise.
39068         * libio/oldiofopen.c: Likewise.
39069         * libio/oldiopopen.c: Likewise.
39070         * libio/oldstdfiles.c: Likewise.
39071         * libio/putc.c: Likewise.
39072         * libio/setbuf.c: Likewise.
39073         * libio/setlinebuf.c: Likewise.
39074         * libio/stdfiles.c: Likewise.
39075         * libio/strops.c: Likewise.
39076         * libio/vasprintf.c: Likewise.
39077         * libio/vscanf.c: Likewise.
39078         * libio/vsnprintf.c: Likewise.
39079         * libio/vswprintf.c: Likewise.
39080         * libio/wfiledoalloc.c: Likewise.
39081         * libio/wfileops.c: Likewise.
39082         * libio/wgenops.c: Likewise.
39083         * libio/wmemstream.c: Likewise.
39084         * libio/wstrops.c: Likewise.
39085         * libio/__fpurge.c: Likewise.
39086         * libio/__fsetlocking.c: Likewise.
39087         * assert/assert.c: Likewise.
39088         * debug/fgets_chk.c: Likewise.
39089         * debug/fgets_u_chk.c: Likewise.
39090         * debug/fread_chk.c: Likewise.
39091         * debug/fread_u_chk.c: Likewise.
39092         * debug/gets_chk.c: Likewise.
39093         * debug/obprintf_chk.c: Likewise.
39094         * debug/vasprintf_chk.c: Likewise.
39095         * debug/vdprintf_chk.c: Likewise.
39096         * debug/vsnprintf_chk.c: Likewise.
39097         * debug/vsprintf_chk.c: Likewise.
39098         * malloc/mtrace.c: Likewise.
39099         * misc/error.c: Likewise.
39100         * misc/syslog.c: Likewise.
39101         * stdio-common/asprintf.c: Likewise.
39102         * stdio-common/fxprintf.c: Likewise.
39103         * stdio-common/getw.c: Likewise.
39104         * stdio-common/isoc99_fscanf.c: Likewise.
39105         * stdio-common/isoc99_scanf.c: Likewise.
39106         * stdio-common/isoc99_vfscanf.c: Likewise.
39107         * stdio-common/isoc99_vscanf.c: Likewise.
39108         * stdio-common/isoc99_vsscanf.c: Likewise.
39109         * stdio-common/printf-prs.c: Likewise.
39110         * stdio-common/printf_fp.c: Likewise.
39111         * stdio-common/printf_fphex.c: Likewise.
39112         * stdio-common/printf_size.c: Likewise.
39113         * stdio-common/putw.c: Likewise.
39114         * stdio-common/scanf.c: Likewise.
39115         * stdio-common/sprintf.c: Likewise.
39116         * stdio-common/tmpfile.c: Likewise.
39117         * stdio-common/vfprintf.c: Likewise.
39118         * stdio-common/vfscanf.c: Likewise.
39119         * stdlib/strfmon_l.c: Likewise.
39120         * sunrpc/openchild.c: Likewise.
39121         * sunrpc/xdr_stdio.c: Likewise.
39122         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39123         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39125 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39127         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39129         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39130         in the third column, to generate for the shared library an IFUNC
39131         that uses _dl_vdso_vsym.
39132         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39133         * Makeconfig (object-suffixes-noshared): New variable.
39135         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39136         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39137         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39138         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39140         [BZ #14132]
39141         * include/sys/time.h (__gettimeofday): Remove macro.
39142         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39143         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39144         Remove INTDEF.
39145         (__gettimeofday): Add libc_hidden_def.
39146         (gettimeofday): Add libc_hidden_weak.
39147         * sysdeps/mach/gettimeofday.c: Likewise.
39148         * sysdeps/posix/gettimeofday.c: Likewise.
39149         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39150         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39151         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39152         (__gettimeofday_internal): Remove strong_alias.
39153         (__gettimeofday): Add libc_hidden_def.
39154         (gettimeofday): Add libc_hidden_weak.
39155         * sysdeps/unix/syscalls.list (gettimeofday):
39156         Remove __gettimeofday_internal alias.
39158 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39159             H.J. Lu  <hongjiu.lu@intel.com>
39161         [BZ #12495]
39162         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39163         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39164         (largebin_index_32_big): New.
39165         (largebin_index): Use it for 16-byte alignment.
39166         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39167         correction with front_misalign.
39169 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39173         Likewise.
39174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39175         Likewise.
39176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39177         Likewise.
39178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39179         Likewise.
39180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39181         Likewise.
39182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39183         Likewise.
39184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39185         Likewise.
39186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39187         Likewise.
39188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39189         Likewise.
39190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39191         Likewise.
39192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39193         Likewise.
39194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39195         Likewise.
39197         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39198         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39200 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39202         [BZ #10846]
39203         [BZ #14036]
39204         * math/libm-test.inc (exp_test): Add test from bug 14036.
39205         (pow_test): Add test from bug 10846.
39207         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39208         and other flags.
39209         (special_function): Do not include flags in test name.
39210         (parse_args): Likewise.
39211         * sysdeps/i386/fpu/libm-test-ulps: Update.
39212         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39213         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39214         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39217         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39218         exceptions.
39219         * math/libm-test.inc ("Philosophy"): Update comment about
39220         exception testing.
39221         (UNDERFLOW_EXCEPTION): New macro.
39222         (UNDERFLOW_EXCEPTION_OK): Likewise.
39223         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39224         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39225         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39226         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39227         (INVALID_EXCEPTION_OK): Update value.
39228         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39229         (OVERFLOW_EXCEPTION_OK): Likewise.
39230         (IGNORE_ZERO_INF_SIGN): Likewise.
39231         (test_exceptions): Handle underflow exceptions.
39232         (acos_test): Update for underflow exception expectations.
39233         (cexp_test): Likewise.
39234         (clog_test): Likewise.
39235         (clog10_test): Likewise.
39236         (csqrt_test): Likewise.
39237         (ctan_test): Likewise.
39238         (ctanh_test): Likewise.
39239         (exp_test): Likewise.
39240         (exp10_test): Likewise.
39241         (exp2_test): Likewise.
39242         (expm1_test): Likewise.
39243         (fma_test): Likewise.
39244         (j0_test): Likewise.
39245         (jn_test): Likewise.
39246         (nexttoward_test): Likewise.
39247         (pow_test): Likewise.
39248         (scalbn_test): Likewise.
39249         (scalbln_test): Likewise.
39250         (tan_test): Likewise.
39251         (y1_test): Likewise.
39252         * sysdeps/i386/fpu/libm-test-ulps: Update.
39253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39255 2012-05-23  David S. Miller  <davem@davemloft.net>
39257         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39258         (__libc_sigaction): Remove unused local variables.
39260 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39262         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39264 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39266         mktime: avoid signed integer overflow
39267         * time/mktime.c (__mktime_internal): Do not mishandle the case
39268         where diff == INT_MIN.
39270         mktime: simplify computation of average
39271         * time/mktime.c (ranged_convert): Use new time_t_avg function
39272         instead of rolling our own (probably-slower) code.
39274         mktime: do not assume signed right shift propagates sign bit
39275         * time/mktime.c (isdst_differ): New static function.
39276         (__mktime_internal): No need to normalize tm_isdst now.
39277         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39278         tm_isdst values.
39280         mktime: merge another wrapv change from gnulib
39281         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39282         from some compilers.
39284         mktime: remove incorrect attempt at unusual arithmetics
39285         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39286         The code didn't really work on such machines anyway.
39287         (TYPE_MINIMUM): Assume two's complement.
39288         (twos_complement_arithmetic): Verify that long_int and time_t
39289         are two's complement (or unsigned, in the latter case).
39291         mktime: check signed shifts on long_int and time_t, too
39292         * time/mktime.c (SHR): Check that shifts work as desired
39293         on the types long_int and time_t too, as SHR is used on
39294         such types.
39296         mktime: do not assume 'long' is wide enough
39297         * time/mktime.c (verify): Move decl up.
39298         (long_int): New type.
39299         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39300         to remove assumption in the code that 'long' is wide enough to
39301         store year values.  This assumption is not true on x32 and on
39302         some non-glibc platforms.
39304         mktime: merge wrapv change from gnulib
39305         * time/mktime.c (WRAPV): New macro.
39306         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39307         (guess_time_tm, __mktime_internal): Do not assume that signed
39308         integer overflow wraps around; modern compilers generate code
39309         where this assumption is no longer valid.
39311 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39313         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39314         Replace "jmp L(pseudo_end)" with "ret".
39315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39316         Likewise.
39318 2012-05-23  Andreas Jaeger  <aj@suse.de>
39320         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39321         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39323 2012-05-23  Andreas Jaeger  <aj@suse.de>
39324             Maximilian Attems  <max@stro.at>
39326         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39327         New macros.
39329 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39331         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39332         code so that pseudo_end is just ret and the stack pointer is
39333         correct also for static library in error case.
39335 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39337         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39338         move to syscalls.list.
39339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39344         * manual/install.texi (Running make install): Do not mention Linux
39345         kernel version for which pt_chown is not needed.
39346         (Linux): Do not mention problems with nscd with 2.0 kernels.
39347         * INSTALL: Regenerated.
39349 2012-05-23  Andreas Jaeger  <aj@suse.de>
39351         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39352         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39353         macro.
39354         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39355         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39356         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39357         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39358         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39359         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39360         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39361         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39362         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39363         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39364         * sysdeps/unix/sysv/linux/bits/in.h
39365         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39367 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39369         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39370         (PREPARE_VERSION): Just use assert instead, it will be elided
39371         under [NDEBUG] anyway.
39373 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39375         * sysdeps/unix/sysv/linux/Makefile: Include
39376         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39377         (sysdep_routines): Remove sysctl.
39378         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39379         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39380         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39381         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39382         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39384 2012-05-22  Andreas Jaeger  <aj@suse.de>
39386         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39387         that pseudo_end is just ret and the stack pointer is correct also
39388         for static library in error case.
39390 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39392         [BZ #14122]
39393         * nss/nsswitch.c (defconfig_entries): New variable.
39394         (__nss_database_lookup): Don't leak defconfig entries.
39395         (nss_parse_service_list): Don't leak on error paths.
39396         (free_database_entries): New function.
39397         (free_defconfig): New function.
39398         (free_mem): Move common code to free_database_entries.
39400 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39402         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39403         Add arch_prctl.
39404         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39406         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39407         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39408         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39409         New macro.
39410         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39411         (INTERNAL_SYSCALL_TYPES): Likewise.
39412         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39413         (LOAD_REGS_TYPES_[1-6]): Likewise.
39414         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39415         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39417 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39419         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39420         copysignl for GLIBC_2_0.
39421         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39422         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39424         logbl for GLIBC_2_0.
39425         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39426         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39428 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39430         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39431         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39433         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39434         Use "neg %eax".
39436         * time/mktime.c: Update copyright years.
39438 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39440         mktime: merge comment-quoting-style change from gnulib
39441         * time/mktime.c: Quote 'like this' in comments.
39442         The GNU coding standards suggest that we no longer quote `like this',
39443         as "`" and "'" are typically rendered asymmetrically nowadays.
39444         The typical gnulib style is to quote 'like this' when quoting
39445         code, and "like this" when quoting English.
39447         * time/mktime.c (compile-command): Add "-I.".
39449         mktime: merge mktime-internal.h change from gnulib
39450         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39452         mktime: merge time_r change from gnulib
39453         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39455         mktime: merge DEBUG change from gnulib
39456         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39457         case system <time.h> has a #define.
39459         mktime: merge <sys/types.h> change from gnulib
39460         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39461         since <time.t> is now guaranteed to define time_t.
39463         mktime: merge HAVE_CONFIG_H change from gnulib
39464         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39466 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39469         Use "neg %eax".
39471         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39472         __rlim_t cast.
39473         (struct rusage): Use anonymous union to pad each field to
39474         __syscall_slong_t.
39476 2012-05-21  David S. Miller  <davem@davemloft.net>
39478         * Makefules (o-iterator): Remove .s cases.
39479         (compile-command.s): Delete.
39480         (COMPILE.s): Delete.
39481         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39483 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39485         * configure.in (libc_cv_predef_stack_protector): Only consider
39486         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39487         * configure: Regenerated.
39489 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39491         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39492         New macro.  Use R*LP on int and pointer.
39493         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39494         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39495         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39496         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39498         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39499         [__WORDSIZE_TIME64_COMPAT32] instead of
39500         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39501         (struct utmp): Likewise.
39502         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39503         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39504         Renamed to ...
39505         (__WORDSIZE_TIME64_COMPAT32): This.
39506         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39507         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39508         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39509         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39510         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39511         (__WORDSIZE_TIME64_COMPAT32): New macro.
39513 2012-05-21  Andreas Jaeger  <aj@suse.de>
39515         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39516         only if [SHARED]. Add prototype for __wcschr_ia32.
39518 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39520         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39521         of %rbp unmolested in the jmp_buf while mangling the low bits.
39522         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39523         unmolested high bits of %rbp while demangling the low bits.
39524         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39526 2012-05-21  Andreas Jaeger  <aj@suse.de>
39528         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39529         * sunrpc/svc_simple.c: Use it for registerrpc.
39530         * sunrpc/xcrypt.c: Use it for passwd2des.
39532         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39534 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39536         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39537         Don't define if [__SYSCALL_WORDSIZE != 32].
39538         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39539         New macro.
39541 2012-05-21  Bruno Haible  <bruno@clisp.org>
39542             Andreas Jaeger  <aj@suse.de>
39544         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39545         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39546         inptr and inend for must_buffer_ch.
39547         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39548         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39549         * stdio-common/Makefile (tests): Remove bug15.
39550         (bug15-ENV): Remove macro.
39551         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39552         anymore.
39554 2012-05-19  Andreas Jaeger  <aj@suse.de>
39555             Roland McGrath  <roland@hack.frob.com>
39557         * manual/contrib.texi: Completely rewritten. It contains now an
39558         alphabetical list of contributors and their contributions.
39560 2012-05-21  Richard Henderson  <rth@twiddle.net>
39562         * misc/getauxval.c (__getauxval): Use unsigned long int.
39563         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39564         (getauxval): Use unsigned long int.
39566 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39568         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39570 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39572         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39573         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39574         __alignof__ (long double).
39576 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39580 2012-05-20  Richard Henderson  <rth@twiddle.net>
39582         * misc/getauxval.c: New file.
39583         * misc/sys/auxv.h: New file.
39584         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39585         (routines): Add getauxval.
39586         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39587         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39588         * elf/dl-sysdep.c (_dl_auxv): Remove.
39589         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39590         * elf/dl-support.c (_dl_auxv): New variable.
39591         (_dl_aux_init): Initialize it.
39592         * manual/startup.texi (Auxiliary Vector): New node.
39593         * sysdeps/generic/bits/hwcap.h: New file.
39594         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39595         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39596         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39597         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39598         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39599         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39601         Update.
39602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39605         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39611 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39615 2012-05-19  David S. Miller  <davem@davemloft.net>
39617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39619 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39621         [BZ #14123]
39622         * math/s_ccosh.c: Include <float.h>
39623         (__ccosh): Avoid internal overflow calculating sinh and cosh
39624         values before multiplying by sin and cos values.
39625         * math/s_ccoshf.c: Likewise.
39626         * math/s_ccoshl.c: Likewise.
39627         * math/s_csin.c: Likewise.
39628         * math/s_csinf.c: Likewise.
39629         * math/s_csinl.c: Likewise.
39630         * math/s_csinh.c: Likewise.
39631         * math/s_csinhf.c: Likewise.
39632         * math/s_csinhl.c: Likewise.
39633         * math/libm-test.inc (ccos_test): Add more tests.
39634         (ccosh_test): Likewise.
39635         (csin_test): Likewise.
39636         (csinh_test): Likewise.
39637         * sysdeps/i386/fpu/libm-test-ulps: Update.
39638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39640 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39642         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39643         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39645         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39647 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39649         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39650         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39651         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39652         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39653         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39654         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39655         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39656         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39657         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39658         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39659         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39660         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39661         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39662         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39663         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39664         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39665         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39666         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39667         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39668         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39669         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39670         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39671         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39672         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39673         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39674         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39675         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39676         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39677         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39678         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39679         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39681 2012-05-18  Andreas Jaeger  <aj@suse.de>
39683         * csu/.gitignore: Delete.
39685 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39687         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39688         (timex): Use __syscall_slong_t.
39690 2012-05-18  Andreas Jaeger  <aj@suse.de>
39691             Carlos O'Donell  <carlos_odonell@mentor.com>
39693         * manual/install.texi (Configuring and compiling): Update
39694         description about files modified in the source directory.
39695         * INSTALL: Regenerated.
39697 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39699         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39700         value.  Use "or" to set return value to -1.
39701         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39702         negate return value.
39704 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39706         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39707         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39708         failure if the compiler has Graphite support disabled.
39709         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39710         Likewise.
39711         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39712         (CFLAGS-memmove.c): Likewise.
39713         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39714         Likewise.
39716 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39718         * sysdeps/x86_64/x32/_itoa.h: New file.
39720         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39721         getdents system call only if kernel and user dirents have the
39722         same d_ino and d_off.
39724         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39725         LLONG_MAX != LONG_MAX.
39726         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39727         (_fitoa_word): Likewise.
39729         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39730         years.
39731         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39732         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39733         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39735         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39736         include <bits/wordsize.h>.  Check __x86_64__ instead of
39737         __WORDSIZE.
39738         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39739         if __x86_64__ is defined.  Use anonymous union on fpstate.
39741         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39742         anonymous union.
39744 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39746         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39747         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39748         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39749         Refer to _rtld_local_ro instead of _rtld_global_ro.
39750         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39751         Likewise.
39752         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39753         Likewise.
39754         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39755         Likewise.
39756         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39757         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39758         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39760         * sysdeps/powerpc/powerpc32/dl-machine.c
39761         (__elf_machine_runtime_setup) [PROF]: Don't reference
39762         _dl_prof_resolve.
39764 2012-05-18  Andreas Jaeger  <aj@suse.de>
39766         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39767         function only available for GCCs before 3.4 since GCC 3.4
39768         introduced a builtin.
39769         (lrint): Likewise.
39770         (llrintf): Likewise.
39771         (llrint): Likewise.
39772         (fmaxf): Likewise.
39773         (fmax): Likewise.
39774         (fminf): Likewise.
39775         (fmin): Likewise.
39776         (rint): Likewise.
39777         (rintf): Likewise.
39778         (nearbyint): Likewise.
39779         (nearbyintf): Likewise.
39780         (ceil): Likewise.
39781         (ceilf): Likewise.
39782         (floor): Likewise.
39783         (floorf): Likewise.
39785 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39787         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39788         on both fields and cast pointer to __syscall_ulong_t.
39790         * bits/types.h (__fsword_t): New type.
39791         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39792         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39793         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39794         (__FSWORD_T_TYPE): Likewise.
39795         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39796         (__FSWORD_T_TYPE): Likewise.
39797         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39798         (__FSWORD_T_TYPE): Likewise.
39799         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39800         (__FSWORD_T_TYPE): Likewise.
39801         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39802         __SWORD_TYPE with __fsword_t.
39803         (statfs64): Likewise.
39805 2012-05-17  David S. Miller  <davem@davemloft.net>
39807         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39809 2012-05-17  Andreas Jaeger  <aj@suse.de>
39811         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39812         warning.
39814 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39816         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39818 2012-05-17  Andreas Jaeger  <aj@suse.de>
39820         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39821         when it is used.
39823 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39825         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39827 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39829         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39830         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39832 2012-05-17  Andreas Jaeger  <aj@suse.de>
39833             Carlos O'Donell  <carlos_odonell@mentor.com>
39835         [BZ #14059]
39836         * sysdeps/x86_64/multiarch/init-arch.h
39837         (bit_YMM_Usable): Rename to...
39838         (bit_AVX_Usable): ... this.
39839         (bit_FMA4_Usable): New macro.
39840         (bit_XMM_state): New macro.
39841         (bit_YMM_state): New macro.
39842         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39843         [__ASSEMBLER__] (index_AVX_Usable): ... this.
39844         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39845         (CPUID_OSXSAVE): New macro.
39846         (CPUID_AVX): New macro.
39847         (CPUID_FMA4): New macro.
39848         (index_YMM_Usable): Rename to...
39849         (index_AVX_Usable): ... this.
39850         (HAS_AVX): Use HAS_ARCH_FEATURE.
39851         (HAS_FMA4): Likewise.
39852         (HAS_YMM_USABLE): Remove.
39853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39854         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39855         are present.
39856         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39857         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39858         * sysdeps/x86_64/multiarch/Makefile: Likewise.
39859         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39860         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39862 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39864         * math/libm-test.c: Support platforms without multiple rounding modes.
39865         * math/bug-nextafter.c: Support platforms without FP exceptions.
39866         * math/bug-nexttoward.c: Likewise.
39867         * math/test-fenv.c: Likewise.
39868         * math/test-misc.c: Likewise.
39869         * stdlib/bug-getcontext.c: Likewise.
39871 2012-05-17  Andreas Jaeger  <aj@suse.de>
39873         * manual/examples/search.c (critter_cmp): Change signature to
39874         avoid warnings.
39875         * manual/string.texi (Collation Functions): Likewise.
39877 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39879         * bits/types.h: Fold copyright years.
39880         * bits/typesizes.h: Likewise.
39881         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39882         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39883         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39884         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39885         * time/time.h: Likewise.
39887 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
39889         [BZ #208]
39890         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39891         in instead of returning them.  Return void.
39892         (__libc_mallinfo): Accumulate over all arenas.
39893         (__malloc_stats): Adjust for change in int_mallinfo interface.
39895 2012-05-16  Roland McGrath  <roland@hack.frob.com>
39897         [BZ #10375]
39898         * configure.in (NM): Add AC_CHECK_TOOL for it.
39899         (libc_extra_cflags): New substituted variable.
39900         Check for -fstack-protector being used implicitly.
39901         * configure: Regenerated.
39902         * config.make.in (config-extra-cflags): New variable,
39903         gets @libc_extra_cflags@.
39904         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39906         [BZ #10375]
39907         * configure.in: Check for _FORTIFY_SOURCE being predefined.
39908         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39909         * configure: Regenerated.
39910         * config.make.in (CPPUNDEFS): New substituted variable.
39911         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39912         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39913         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39915 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39917         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39918         (mq_attr): Use __syscall_slong_t.
39920 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39922         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39923         Check __x86_64__ instead of __WORDSIZE.
39924         (_STAT_VER_LINUX): Likewise.
39925         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
39926         __syscall_ulong_t and __syscall_slong_t.
39927         (stat64): Likewise.
39929 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39931         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39933 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39935         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39937 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39939         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39940         __syscall_ulong_t.
39942         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39943         include <bits/wordsize.h>.  Check __x86_64__ instead of
39944         __WORDSIZE.
39945         (greg_t): Use "__extension__ long long int" if __x86_64__ is
39946         defined.
39947         (mcontext_t): Replace "unsigned long" with "unsigned long long".
39949         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39950         include <bits/wordsize.h>.  Check __x86_64__ instead of
39951         __WORDSIZE.
39952         (user_regs_struct): Use "__extension__ unsigned long long"
39953         instead of "unsigned long" if __x86_64__ is defined.
39954         (user): Likewise.  Pad after pointer field if __ILP32__ is
39955         defined.
39957 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
39959         * configure.in (makeinfo): Require version 4.5 or later.  Allow
39960         versions 5 to 9.
39961         * configure: Regenerated.
39962         * manual/install.texi (texinfo): Increase version requirement to
39963         4.5 or later.
39964         * INSTALL: Regenerated.
39966         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39968 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39970         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39972         * sysdeps/x86_64/x32/ffs.c: New file.
39974         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39975         __syscall_ulong_t.
39976         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39977         defined.  Use __syscall_ulong_t.
39978         (shminfo): Use __syscall_ulong_t.
39979         (shm_info): Likewise.
39981         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39982         __syscall_ulong_t.
39984         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39985         <bits/wordsize.h>.
39986         (msgqnum_t): Use __syscall_ulong_t.
39987         (msglen_t): Likewise.
39988         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
39989         __syscall_ulong_t.
39991         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39992         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39994         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39996         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39997         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39999         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40000         __syscall_slong_t.
40002         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40003         include <bits/wordsize.h>.  Check __x86_64__ instead of
40004         __WORDSIZE.
40006         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40007         "unsigned long long int" if __x86_64__ is defined.
40008         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40010         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40011         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40012         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40014         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40015         <stdint.h>.
40016         (GET_PC): Cast to uintptr_t first.
40017         (GET_FRAME): Likewise.
40018         (GET_STACK): Likewise.
40020         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40021         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40022         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40023         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40024         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40025         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40026         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40027         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40028         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40029         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40030         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40031         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40032         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40033         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40034         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40035         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40036         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40037         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40038         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40039         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40040         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40041         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40042         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40043         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40044         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40045         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40046         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40047         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40048         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40050 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40052         * Makerules (+depfiles): Also collect depfiles from .oS in
40053         $(extra-objs).
40054         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40055         .oS, $(libnldbl-routines)).
40057         * Makerules (native-compile-mkdep-flags): Define.
40058         * sunrpc/Makefile (extra-objs): Add $(addprefix
40059         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40060         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40061         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40062         calling $(make-target-directory).
40064 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40066         * bits/types.h (__snseconds_t): Removed.
40067         * time/time.h (struct timespec): Replace __snseconds_t with
40068         __syscall_slong_t.
40069         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40070         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40071         Likewise.
40072         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40073         (__SNSECONDS_T_TYPE): Likewise.
40074         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40075         (__SNSECONDS_T_TYPE): Likewise.
40076         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40077         (__SNSECONDS_T_TYPE): Likewise.
40079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40081         * sysdeps/mach/hurd/bits/typesizes.h
40082         (__SYSCALL_SLONG_TYPE): New macro.
40083         (__SYSCALL_ULONG_TYPE): Likewise.
40085 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40087         * bits/types.h (__syscall_slong_t): New type.
40088         (__syscall_ulong_t): Likewise.
40090         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40091         (__SYSCALL_ULONG_TYPE): Likewise.
40092         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40093         (__SYSCALL_SLONG_TYPE): Likewise.
40094         (__SYSCALL_ULONG_TYPE): Likewise.
40095         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40096         (__SYSCALL_SLONG_TYPE): Likewise.
40097         (__SYSCALL_ULONG_TYPE): Likewise.
40098         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40099         (__SYSCALL_SLONG_TYPE): Likewise.
40100         (__SYSCALL_ULONG_TYPE): Likewise.
40102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40104         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40105         Add sigaltstack-offsets.sym.
40106         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40107         <sigaltstack-offsets.h>.
40108         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40109         longjmp_msg pointer.
40110         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40111         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40112         signal stack.
40113         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40115 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40117         * elf/stackguard-macros.h: Remove file.
40118         * sysdeps/generic/stackguard-macros.h: New file.
40119         * sysdeps/i386/stackguard-macros.h: Likewise.
40120         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40121         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40122         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40123         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40124         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40125         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40126         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40127         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40128         <elf/stackguard-macros.h>.
40130         [BZ #14109]
40131         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40132         __aligned__ in attribute.
40133         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40134         (gregset_t): Likewise.
40136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40138         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40139         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40140         * sysdeps/x86_64/x32/Implies-after: New file.
40142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40144         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40145         and access return value for _dl_profile_fixup.  Use R10_LP to
40146         load frame size.
40148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40150         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40154         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40155         * sysdeps/x86_64/x32/sysdep.h: New file.
40157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40159         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40160         * sysdeps/x86_64/setjmp.S: Likewise.
40162 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40164         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40165         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40166         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40167         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40168         remove unused global constant.
40170 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40172         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40173         include of <not-cancel.h>.
40175 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40177         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40179 2012-05-15  Jeff Law  <law@redhat.com>
40180             Andreas Jaeger  <aj@suse.de>
40182         [BZ #13594]
40183         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40184         out from...
40185         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40186         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40187         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40188         code changing __hst_map_handle.map.
40190 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40192         * configure.in (sysnames): Look for Implies-before and Implies-after
40193         files.
40194         * configure: Regenerated.
40196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40198         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40199         8-byte data alignment with LP_SIZE alignment.
40201 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40203         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40204         into R10_LP.
40206 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40208         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40210 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40212         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40213         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40214         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40215         Likewise.
40216         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40218 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40220         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40221         (stackinfo_sub_sp): Likewise.
40223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40225         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40226         RAX_LP.
40228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40230         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40231         into R*_LP.
40233 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40235         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40236         sizes into R*_LP.
40238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40240         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40244         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40245         into R11_LP and load __x86_64_shared_cache_size_half into
40246         R8_LP.
40248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40250         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40251         R8_LP.
40253 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40255         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40256         logb for POWER7.
40257         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40258         logbf for POWER7.
40259         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40260         logbl for POWER7.
40261         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40262         powerpc32/power7/fpu/s_logb.c via #include.
40263         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40264         powerpc32/power7/fpu/s_logbf.c via #include.
40265         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40266         powerpc32/power7/fpu/s_logbl.c via #include.
40268 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40270         * README.libm: Remove file.
40272 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40274         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40275         count for x32.  Use R*_LP and omit operand-size suffix.
40277 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40279         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40280         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40281         * sysdeps/x86_64/x32/shlib-versions: New file.
40283 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40285         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40286         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40287         Use _dl_fatal_printf instead.
40289 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40291         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40292         set if not set by the user.  Do not allow for being unset.
40293         * sysdeps/unix/sysv/linux/configure: Regenerated.
40295 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40297         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40298         the `q' suffix from lea and replace .quad with ASM_ADDR.
40300 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40302         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40303         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40304         instead of $17.
40305         (PTR_DEMANGLE): Likewise.
40307 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40309         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40310         (LP_OP): Likewise.
40311         (ASM_ADDR): Likewise.
40312         (RAX_LP): Likewise.
40313         (RBP_LP): Likewise.
40314         (RBX_LP): Likewise.
40315         (RCX_LP): Likewise.
40316         (RDI_LP): Likewise.
40317         (RSI_LP): Likewise.
40318         (RSP_LP): Likewise.
40319         (R8_LP): Likewise.
40320         (R9_LP): Likewise.
40321         (R10_LP): Likewise.
40322         (R10_LP): Likewise.
40323         (R11_LP): Likewise.
40324         (R12_LP): Likewise.
40325         (R13_LP): Likewise.
40326         (R14_LP): Likewise.
40327         (R15_LP): Likewise.
40329 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40331         * sysdeps/x86_64/x32/dl-machine.h: New file.
40333 2012-05-14  Andreas Jaeger  <aj@suse.de>
40335         * manual/Makefile (subdir): Remove export of subdir.
40336         (all): Remove target.
40337         (.PHONY): Remove all from list.
40338         (mkinstalldirs): Remove.
40339         (.PHONY): Remove installdirs from list.
40340         ($(inst_infodir)/libc.info): Use make-target-directory.
40341         (installdirs): Remove.
40342         (subdir_%): Remove.
40343         (glibc-targets): Remove.
40344         (lib): Remove.
40345         (stubs): Remove.
40346         ($(objpfx)stubs ../po/manual.pot): Remove.
40347         ($(objpfx)stamp%): Remove.
40348         (make-target-directory): Remove.
40349         (subdir_install): Remove.
40350         (routines): Remove.
40351         (aux): Remove.
40352         (sources): Remove.
40353         (objects): Remove.
40354         (headers): Remove.
40356         [BZ #13750]
40357         * manual/.gitignore: Remove, it's not needed anymore.
40358         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40359         all files in it.
40360         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40361         directory.
40362         (texis): Renamed to $(objpfx)texis.
40363         (texis-path): New, contains path to generated files.
40364         (chapters.%): Use texis-path for complete path, add extra argument
40365         libc-texinfo.sh.
40366         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40367         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40368         (summary,texi, stamp-summary): Use complete path of
40369         files. Generate files in build dir.
40370         (dir-add.texi): Build in build dir.
40371         (libm-err.texi,stamp-libm-err): Likewise.
40372         (version.texi, stamp-version): Likewise.
40373         (.%c.texi): Likewise.
40374         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40375         (mostlyclean): Remove target.
40376         (realclean): Remove target.
40377         (generated): Add new variable with contents from mostlyclean and
40378         realclean, remove entries duplicated in common-mostlyclean, add
40379         stamp-libm-err and stamp-version.
40380         (generated-dirs): Add libc directory.
40381         ($(inst_infodir)/libc.info): Install files from build dir.
40383         * manual/install.texi (Configuring and compiling): Adjust since
40384         the info files are not part of the tar ball anymore.
40386 2012-05-14  Andreas Jaeger  <aj@suse.de>
40388         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40389         variable.
40391 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40393         [BZ #13717]
40394         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40395         to 2.2.0 where earlier.
40396         * sysdeps/unix/sysv/linux/configure: Regenerated.
40397         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40398         Remove conditional code.
40399         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40400         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40401         Remove conditional code.
40402         [!__NR_lchown]: Likewise.
40403         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40404         [__NR_lchown]: Likewise.
40405         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40406         comment referencing __ASSUME_LCHOWN_SYSCALL.
40407         * sysdeps/unix/sysv/linux/i386/sigaction.c
40408         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40409         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40410         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40411         Remove conditional code.
40412         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40413         (__protocol_available): Remove #if 0 code.
40414         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40415         conditional code.
40416         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40417         * sysdeps/unix/sysv/linux/kernel-features.h
40418         (__ASSUME_GETCWD_SYSCALL): Don't define.
40419         (__ASSUME_REALTIME_SIGNALS): Likewise.
40420         (__ASSUME_PREAD_SYSCALL): Likewise.
40421         (__ASSUME_PWRITE_SYSCALL): Likewise.
40422         (__ASSUME_POLL_SYSCALL): Likewise.
40423         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40424         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40425         non-SPARC.
40426         (__ASSUME_SIOCGIFNAME): Don't define.
40427         (__ASSUME_MSG_NOSIGNAL): Likewise.
40428         (__ASSUME_SENDFILE): Define unconditionally.
40429         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40430         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40431         conditional code.
40432         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40433         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40434         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40435         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40436         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40437         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40438         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40440         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40441         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40443         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40444         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40446         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40447         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40449         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40450         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40452         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40453         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40455         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40456         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40458         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40459         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40461         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40462         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40463         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40464         Remove conditional code.
40465         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40466         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40467         Remove conditional code.
40468         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40469         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40470         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40471         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40472         Remove conditional code.
40473         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40474         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40475         Remove conditional code.
40476         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40477         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40478         Remove conditional code.
40479         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40480         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40481         Remove conditional code.
40482         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40483         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40484         Remove conditional code.
40485         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40486         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40487         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40488         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40489         * sysdeps/unix/sysv/linux/sigaction.c
40490         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40491         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40492         * sysdeps/unix/sysv/linux/sigpending.c
40493         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40494         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40495         * sysdeps/unix/sysv/linux/sigprocmask.c
40496         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40497         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40498         * sysdeps/unix/sysv/linux/sigsuspend.c
40499         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40500         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40501         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40502         (__libc_missing_rt_sigs): Remove.
40503         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40504         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40505         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40506         Remove conditional code.
40507         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40508         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40509         return 1.
40510         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40511         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40512         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40513         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40515 2012-05-14  Andreas Jaeger  <aj@suse.de>
40517         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40518         it's not used in glibc.
40519         (__coshm1): Likewise.
40520         (__acosh1p): Likewise.
40521         (__sgn): Likewise.
40523         * manual/string.texi (Copying and Concatenation): Add missing
40524         variable in concat example.
40525         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40527 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40529         [BZ #14103]
40530         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40531         __builtin_clzl with __builtin_clzll.
40533 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40535         [BZ #14104]
40536         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40537         libc_freeres_ptr.
40539 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40541         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40542         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40543         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40544         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40546 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40548         * NEWS: Update ia64 info.
40550 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40552         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40553         used as bcopy.
40555 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40557         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40558         * sysdeps/unix/syscalls.list (dup3): Likewise.
40559         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40560         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40562 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40564         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40565         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40567 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40569         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40570         thread pointer.
40571         (TLS_IE): Use mov/add instead of movq/addq to load thread
40572         pointer.
40573         (TLS_GD_PREFIX): New.
40574         (TLS_GD): Use it.
40576 2012-05-11  David S. Miller  <davem@davemloft.net>
40578         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40579         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40580         (_FPU_SETCW): Likewise.
40582 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40584         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40585         is 32-byte aligned.
40587 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40589         [BZ #11837]
40590         * iconvdata/gb18030.c: Update tables.
40591         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40592         characters specially.
40593         (BODY for TO_LOOP): Add encoding of missing ranges.
40595 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40597         [BZ #13673]
40598         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40599         * sysdeps/mach/hurd/dup3.c: Likewise.
40600         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40601         * sysdeps/powerpc/memmove.c:: Likewise.
40603 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40605         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40606         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40608 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40610         * elf/elf.h (R_X86_64_RELATIVE64): New.
40611         (R_X86_64_NUM): Updated.
40612         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40613         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40614         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40615         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40616         tst-quad1pie tst-quad2pie
40617         (modules-names): Add tst-quadmod1 tst-quadmod2.
40618         ($(objpfx)tst-quad1): New dependency.
40619         ($(objpfx)tst-quad2): Likewise.
40620         ($(objpfx)tst-quad1pie): Likewise.
40621         ($(objpfx)tst-quad2pie): Likewise.
40622         * sysdeps/x86_64/tst-quad1.c: New file.
40623         * sysdeps/x86_64/tst-quad1pie.c: New file.
40624         * sysdeps/x86_64/tst-quad2.c: Likewise.
40625         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40626         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40627         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40628         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40629         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40631 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40633         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40634         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40635         * streams/stropts.h (t_scalar_t): Define type.
40637         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40638         (_PATH_PRESERVE): Set to "/var/lib".
40639         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40641         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40642         instead of int.
40644         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40645         if __dir_mkfile succeeded.
40647         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40648         checking for _hurd_dtablesize.  Unlock it right after having
40649         finished _hurd_dtable allocation.
40651 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40653         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40654         * sysdeps/mach/hurd/configure: Regenerated.
40655         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40656         special-casing to...
40657         * sysdeps/gnu/configure.in: ... this new file.
40658         * sysdeps/unix/sysv/linux/configure: Regenerated.
40659         * sysdeps/gnu/configure: New generated file.
40661         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40662         for Linux: use nsec instead of usec, as well as:
40663         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40664         members of type struct timespec.
40665         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40666         New macros.
40667         (struct stat64): Likewise.
40668         (_STATBUF_ST_NSEC): New macro.
40669         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40671         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40672         __strtoul_internal rather than strtoul.
40674 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40676         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40677         and reject them.
40679 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40681         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40682         which preserves existing values.
40683         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40685 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40687         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40688         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40689         greater than FD_SETSIZE.
40691 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40693         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40694         allocated, call __vm_protect to finish enabling the existing space, and
40695         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40696         allocate the remainder.
40698 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40700         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40701         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40703 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40705         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40706         sysdeps/mach/hurd/readlink.c.
40708         * posix/tst-sysconf.c (posix_options): Only use
40709         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40710         _POSIX_SYNCHRONIZED_IO when they are defined
40711         * sysdeps/mach/hurd/bits/posix_opt.h:
40712         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40713         (_XOPEN_REALTIME): Undefine macro.
40714         (_XOPEN_REALTIME_THREADS): Undefine macro.
40715         (_XOPEN_SHM): Undefine macro.
40716         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40717         macro to -1.
40718         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40719         macro to -1.
40720         (_POSIX_ASYNC_IO): Undefine macro.
40721         (_POSIX_PRIORITIZED_IO): Undefine macro.
40722         (_POSIX_SPIN_LOCKS): Define macro to -1.
40724         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40725         SA_NODEFER, SA_RESETHAND.
40726         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40727         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40728         F_DUPFD_CLOEXEC.
40730 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40732         * elf/Makefile (pldd-modules): Define unconditionally.
40734 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40736         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40738 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40740         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40741         Return ENOENT when name is empty.
40742         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40744 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40746         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40748         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40750 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40752         Fix mlock in all cases except non-readable pages.
40753         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40754         instead of VM_PROT_ALL as parameter to __vm_wire function.
40756         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40757         (__mkdir): When path is `/', just fail with EEXIST.
40758         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40760 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40762         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40763         <sys/uio.h> (for writev).
40764         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40765         and <sys/param.h> (for MIN).
40767 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40769         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40770         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40771         if interrupted.
40773 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40775         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40776         Depend on against $(link-rpcuserlibs).
40778 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40780         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40781         (__libc_stack_end): Do not use attribute_relro.
40782         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40783         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40784         to libthread-provided value.
40785         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40786         attribute_relro.
40788 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40790         [BZ #3748]
40791         * bits/libc-lock.h (__libc_once_get): New macro.
40792         * sysdeps/mach/bits/libc-lock.h: Likewise.
40793         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40794         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40795         instead of using implementation details.
40797         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40798         * libio/freopen.c: Likewise.
40799         * libio/freopen64.c: Likewise.
40800         * misc/syslog.c: Likewise.
40801         * nscd/connections.c: Likewise.
40802         * nscd/netgroupcache.c: Likewise.
40803         * sysdeps/posix/getcwd.c: Likewise.
40805 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40807         * math/w_ilogbf.c: Add #include <limits.h>.
40809 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40811         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40812         path instead of returning without unlocking.
40814         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40815         immediate-write ioctls.
40816         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40818 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40820         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40821         __builtin_frame_address instead of making assumptions about the
40822         location of the return address relative to DATA.  Force early load of
40823         the return address.
40824         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40825         __builtin_frame_address.
40827         dup3 for GNU Hurd.
40828         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40829         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40830         implement dup3 and do some further code clean-ups.
40831         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40832         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40834 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40836         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40838         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40839         HURD_CRITICAL_END around holding _hurd_dtable_lock.
40840         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40841         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40842         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40843         d->port.lock.
40845         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40846         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
40847         when handler == SIG_ERR, not when handler != SIG_ERR.
40849 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40851         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40852         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40853         definitions.
40855         accept4 for GNU Hurd.
40856         * include/sys/socket.h (__libc_accept4): New prototype.
40857         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
40858         to implement __libc_accept4.
40859         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40860         __libc_accept4.
40861         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40863         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40864         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40865         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40866         signal-defines.sym.
40868 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40870         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40872 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40874         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40875         assertion on O_CLOEXEC flag.
40876         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40877         * hurd/intern-fd.c: Likewise.
40878         * hurd/port2fd.c: Likewise.
40880 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40882         [BZ #3906]
40883         * bits/in.h (IPV6_PKTINFO): Define new macro.
40884         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40886 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40888         [BZ #13954]
40889         [BZ #13955]
40890         [BZ #13956]
40891         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40892         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40893         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40894         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40895         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40896         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40897         * math/libm-test.inc (logb_test) : Additional logb tests.
40899 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
40900             Andreas Jaeger  <aj@suse.de>
40902         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40903         * configure: Regenerated.
40904         * config.h.in (LINK_OBSOLETE_RPC): New macro.
40905         * config.make.in (link-obsolete-rpc): New substituted variable.
40906         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40907         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40908         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40909         (shared-only-routines): Don't set it under [link-obsolete-rpc],
40910         so that libc.a contains the symbols.
40911         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40912         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40913         * sunrpc/auth_none.c: Likewise.
40914         * sunrpc/auth_unix.c: Likewise.
40915         * sunrpc/authdes_prot.c: Likewise.
40916         * sunrpc/authuxprot.c: Likewise.
40917         * sunrpc/clnt_gen.c: Likewise.
40918         * sunrpc/clnt_perr.c: Likewise.
40919         * sunrpc/clnt_raw.c: Likewise.
40920         * sunrpc/clnt_simp.c: Likewise.
40921         * sunrpc/clnt_tcp.c: Likewise.
40922         * sunrpc/clnt_udp.c: Likewise.
40923         * sunrpc/clnt_unix.c: Likewise.
40924         * sunrpc/des_crypt.c: Likewise.
40925         * sunrpc/des_soft.c: Likewise.
40926         * sunrpc/get_myaddr.c: Likewise.
40927         * sunrpc/key_call.c: Likewise.
40928         * sunrpc/key_prot.c: Likewise.
40929         * sunrpc/netname.c: Likewise.
40930         * sunrpc/pm_getmaps.c: Likewise.
40931         * sunrpc/pm_getport.c: Likewise.
40932         * sunrpc/pmap_clnt.c: Likewise.
40933         * sunrpc/pmap_prot.c: Likewise.
40934         * sunrpc/pmap_prot2.c: Likewise.
40935         * sunrpc/pmap_rmt.c: Likewise.
40936         * sunrpc/publickey.c: Likewise.
40937         * sunrpc/rpc_cmsg.c: Likewise.
40938         * sunrpc/rpc_common.c: Likewise.
40939         * sunrpc/rpc_dtable.c: Likewise.
40940         * sunrpc/rpc_prot.c: Likewise.
40941         * sunrpc/rpc_thread.c: Likewise.
40942         * sunrpc/rtime.c: Likewise.
40943         * sunrpc/svc.c: Likewise.
40944         * sunrpc/svc_auth.c: Likewise.
40945         * sunrpc/svc_raw.c: Likewise.
40946         * sunrpc/svc_run.c: Likewise.
40947         * sunrpc/svc_tcp.c: Likewise.
40948         * sunrpc/svc_udp.c: Likewise.
40949         * sunrpc/svc_unix.c: Likewise.
40950         * sunrpc/svcauth_des.c: Likewise.
40951         * sunrpc/xcrypt.c: Likewise.
40952         * sunrpc/xdr.c: Likewise.
40953         * sunrpc/xdr_array.c: Likewise.
40954         * sunrpc/xdr_float.c: Likewise.
40955         * sunrpc/xdr_intXX_t.c: Likewise.
40956         * sunrpc/xdr_mem.c: Likewise.
40957         * sunrpc/xdr_rec.c: Likewise.
40958         * sunrpc/xdr_ref.c: Likewise.
40959         * sunrpc/xdr_sizeof.c: Likewise.
40960         * sunrpc/xdr_stdio.c: Likewise.
40962 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40964         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40965         change.  Update copyright years.
40967 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40969         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40971 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
40972             Joseph Myers  <joseph@codesourcery.com>
40973             Paul Pluzhnikov  <ppluzhnikov@google.com>
40975         [BZ #14012]
40976         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40977         requiring rpcgen.
40978         [cross-compiling] (extra-libs): Likewise.
40979         [cross-compiling] (extra-libs-others): Likewise.
40980         [cross-compiling] (librpcsvc-routines): Likewise.
40981         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40982         [cross-compiling] (omit-deps): Likewise.
40983         (sunrpc-CPPFLAGS): New variable.
40984         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40985         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40986         (cross-rpcgen-objs): New variable.
40987         (extra-objs): Append $(cross-rpcgen-objs).
40988         ($(cross-rpcgen-objs)): New rule.
40989         ($(objpfx)cross-rpcgen): Likewise.
40990         (rpcgen-cmd): Define to use $(built-program-file).  Expand
40991         comment.
40992         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40993         ($(objpfx)x%.stmp): Likewise.
40994         * sunrpc/proto.h [IS_IN_build] (_): Define.
40995         [IS_IN_build] (_libc_intl_domainname): Likewise.
40997 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40999         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41000         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41001         and R_X86_64_TPOFF64.
41003 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41005         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41006         sysdeps/unix/sysv/syscalls.list.
41007         (stime): Likewise.
41008         (utime): Likewise.
41009         * sysdeps/unix/sysv/syscalls.list: Remove file.
41011 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41013         [BZ #3440]
41014         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41015         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41016         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41017         (__LC_IDENTIFICATION): Make these macros useful in #if
41018         expressions, as required by C99.
41020 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41022         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41023         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41024         after this.
41026 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41028         * stdlib/longlong.h: Updated from GCC.
41030 2012-05-09  Andreas Jaeger  <aj@suse.de>
41032         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41033         default is first entry.
41034         (run_mode): Set type.
41035         (main): Remove informal message about syslog.
41036         (options): Fix typo.
41038         [BZ #14053]
41039         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41040         to asm.
41041         (lrint): Likewise.
41042         (llrintf): Likewise.
41043         (llrint): Likewise.
41044         (rint): Likewise.
41045         (rintf): Likewise.
41046         (nearbyint): Likewise.
41047         (nearbyintf): Likewise.
41049 2012-05-09  Andreas Jaeger  <aj@suse.de>
41050             Pedro Alves  <palves@redhat.com>
41052         * nscd/nscd.c (run_mode): Use enum.
41053         (main): Cleanup coding style issue.
41055 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41056             Andreas Jaeger  <aj@suse.de>
41058         * nscd/nscd.c (go_background): Replaced with...
41059         (run_mode): ... this.
41060         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41061         (options): Add -F --foreground.
41062         (main): Implement it.
41063         (parse_opt): Parse it.
41065 2012-05-09  Andreas Jaeger  <aj@suse.de>
41067         [BZ #14083]
41068         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41069         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41070         -Wconversion warning.
41071         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41072         Likewise.
41074 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41076         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41077         == 0.
41078         (LC_ALL): Use macro-int-constant.
41079         (LC_COLLATE): Likewise.
41080         (LC_CTYPE): Likewise.
41081         (LC_MESSAGES): Likewise.
41082         (LC_MONETARY): Likewise.
41083         (LC_NUMERIC): Likewise.
41084         (LC_TIME): Likewise.
41085         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41086         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41087         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41088         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41089         Specify type.
41090         [C99-based standards] (float_t): Expect type.
41091         [C99-based standards] (double_t): Expect type.
41092         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41093         type.
41094         [C99-based standards] (HUGE_VALL): Likewise.
41095         [C99-based standards] (INFINITY): Likewise.
41096         [C99-based standards] (NAN): Likewise.
41097         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41098         [C99-based standards] (FP_NAN): Likewise.
41099         [C99-based standards] (FP_NORMAL): Likewise.
41100         [C99-based standards] (FP_SUBNORMAL): Likewise.
41101         [C99-based standards] (FP_ZERO): Likewise.
41102         [C99-based standards] (FP_FAST_FMA): Use
41103         optional-macro-int-constant.  Specify type.  Require == 1.
41104         [C99-based standards] (FP_FAST_FMAF): Likewise.
41105         [C99-based standards] (FP_FAST_FMAL): Likewise.
41106         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41107         [C99-based standards] (FP_ILOGBNAN): Likewise.
41108         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41109         Specify type.
41110         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41111         [C99-based standards] (math_errhandling): Specify type.
41112         [ISO99 || ISO11] (signgam): Do not allow.
41113         [non-C99-based standards] (copysignf): Do not allow.
41114         [non-C99-based standards] (exp2f): Likewise.
41115         [non-C99-based standards] (log2f): Likewise.
41116         [non-C99-based standards] (modff): Allow.
41117         [non-C99-based standards] (erff): Do not allow.
41118         [non-C99-based standards] (erfcf): Likewise.
41119         [non-C99-based standards] (gammaf): Likewise.
41120         [non-C99-based standards] (hypotf): Likewise.
41121         [non-C99-based standards] (j0f): Likewise.
41122         [non-C99-based standards] (j1f): Likewise.
41123         [non-C99-based standards] (jnf): Likewise.
41124         [non-C99-based standards] (lgammaf): Likewise.
41125         [non-C99-based standards] (tgammaf): Likewise.
41126         [non-C99-based standards] (y0f): Likewise.
41127         [non-C99-based standards] (y1f): Likewise.
41128         [non-C99-based standards] (ynf): Likewise.
41129         [non-C99-based standards] (isnanf): Likewise.
41130         [non-C99-based standards] (acoshf): Likewise.
41131         [non-C99-based standards] (asinhf): Likewise.
41132         [non-C99-based standards] (atanhf): Likewise.
41133         [non-C99-based standards] (cbrtf): Likewise.
41134         [non-C99-based standards] (expm1f): Likewise.
41135         [non-C99-based standards] (ilogbf): Likewise.
41136         [non-C99-based standards] (log1pf): Likewise.
41137         [non-C99-based standards] (logbf): Likewise.
41138         [non-C99-based standards] (nextafterf): Likewise.
41139         [non-C99-based standards] (remainderf): Likewise.
41140         [non-C99-based standards] (rintf): Likewise.
41141         [non-C99-based standards] (scalbf): Likewise.
41142         [non-C99-based standards] (copysignl): Likewise.
41143         [non-C99-based standards] (exp2l): Likewise.
41144         [non-C99-based standards] (log2l): Likewise.
41145         [non-C99-based standards] (modfl): Allow.
41146         [non-C99-based standards] (erfl): Do not allow.
41147         [non-C99-based standards] (erfcl): Likewise.
41148         [non-C99-based standards] (gammal): Likewise.
41149         [non-C99-based standards] (hypotl): Likewise.
41150         [non-C99-based standards] (j0l): Likewise.
41151         [non-C99-based standards] (j1l): Likewise.
41152         [non-C99-based standards] (jnl): Likewise.
41153         [non-C99-based standards] (lgammal): Likewise.
41154         [non-C99-based standards] (tgammal): Likewise.
41155         [non-C99-based standards] (y0l): Likewise.
41156         [non-C99-based standards] (y1l): Likewise.
41157         [non-C99-based standards] (ynl): Likewise.
41158         [non-C99-based standards] (isnanl): Likewise.
41159         [non-C99-based standards] (acoshl): Likewise.
41160         [non-C99-based standards] (asinhl): Likewise.
41161         [non-C99-based standards] (atanhl): Likewise.
41162         [non-C99-based standards] (cbrtl): Likewise.
41163         [non-C99-based standards] (expm1l): Likewise.
41164         [non-C99-based standards] (ilogbl): Likewise.
41165         [non-C99-based standards] (log1pl): Likewise.
41166         [non-C99-based standards] (logbl): Likewise.
41167         [non-C99-based standards] (nextafterl): Likewise.
41168         [non-C99-based standards] (remainderl): Likewise.
41169         [non-C99-based standards] (rintl): Likewise.
41170         [non-C99-based standards] (scalbl): Likewise.
41171         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41172         [non-C99-based standards] (FP_*): Do not allow.
41173         [C99-based standards] (FP_*): Change to
41174         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41175         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41176         allow.
41177         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41178         (SIG_ERR): Likewise.
41179         [X/Open-based standards] (SIG_HOLD): Likewise.
41180         (SIG_IGN): Likewise.
41181         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41182         positive value.
41183         (SIGFPE): Likewise.
41184         (SIGILL): Likewise.
41185         (SIGINT): Likewise.
41186         (SIGSEGV): Likewise.
41187         (SIGTER): Likewise.
41188         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41189         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41190         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41191         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41192         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41193         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41194         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41195         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41196         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41197         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41198         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41199         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41200         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41201         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41202         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41203         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41204         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41205         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41206         [X/Open-based standards] (SIGTRAP): Likewise.
41207         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41208         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41209         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41210         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41211         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41212         allow.
41214 2012-05-08  Ian Wienand  <ianw@vmware.com>
41216         [BZ #14080]
41217         * time/tzset.c (__tzset_parse_tz): Update default rules for
41218         daylight time changes in the Energy Policy Act of 2005.
41220 2012-05-09  Andreas Jaeger  <aj@suse.de>
41222         [BZ #13983]
41223         * elf/ldconfig.c (parse_conf): Change string to make clear that
41224         ldconfig only issued a warning if ld.so.conf does not exist.
41226 2012-05-08  David S. Miller  <davem@davemloft.net>
41228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41229         movxtod instead of popping the value on the stack.
41231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41233 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41235         * config.h.in: Add HAVE_ARM_PCS_VFP.
41237 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41239         [BZ #13979]
41240         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41241         checking but the checks are disabled for any reason.
41243 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41245         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41246         and ELF64_R_TYPE with ELFW(R_TYPE).
41248 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41250         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41251         (ulimit): Likewise.
41253         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41254         (settimeofday): Likewise.
41256 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41258         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41259         a struct th_u2 inside the union, and move tu_block/tu_code into
41260         a new th_u3 union of tu_block/tu_code inside of that.  Move
41261         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41262         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41263         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41264         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41265         (th_stuff): Change to th_u1.tu_stuff.
41266         (th_data): Define.
41267         (th_msg): Change to th_u1.th_u2.tu_data.
41269 2012-05-07  David S. Miller  <davem@davemloft.net>
41271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41273         [BZ #14074]
41274         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41275         (SETUP_PIC_REG): Use it.
41276         (SETUP_PIC_REG_LEAF): Use it.
41278 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41280         [BZ #13885]
41281         [BZ #13923]
41282         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41283         USE_AS_EXPM1L.
41284         (EXPL_FINITE): Likewise.
41285         (FLDLOG): Likewise.
41286         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41287         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41288         e_expl.S.
41289         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41290         USE_AS_EXPM1L.
41291         (EXPL_FINITE): Likewise.
41292         (FLDLOG): Likewise.
41293         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41294         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41295         e_expl.S.
41296         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41297         test of -max_value argument for long double.
41298         * sysdeps/i386/fpu/libm-test-ulps: Update.
41299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41301 2012-05-06  David S. Miller  <davem@davemloft.net>
41303         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41304         quad soft-float symbols whose references which are compiler
41305         generated.
41306         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41308 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41310         [BZ #13884]
41311         [BZ #13914]
41312         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41313         USE_AS_EXP10L.
41314         (EXPL_FINITE): Likewise.
41315         (FLDLOG): Likewise.
41316         (c0): Likewise.
41317         (c1): Likewise.
41318         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41319         Adjust comments for base varying.
41320         (__expl_finite): Change alias to EXPL_FINITE.
41321         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41322         e_expl.S.
41323         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41324         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41325         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41326         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41327         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41328         USE_AS_EXP10L.
41329         (EXPL_FINITE): Likewise.
41330         (FLDLOG): Likewise.
41331         (c0): Likewise.
41332         (c1): Likewise.
41333         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41334         Adjust comments for base varying.
41335         (__expl_finite): Change alias to EXPL_FINITE.
41336         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41337         tests for bugs.
41338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41340         [BZ #14064]
41341         * math/libm-test.inc (check_float_internal): Correct ulp
41342         calculation for subnormal expected results.
41344 2012-05-06  Andreas Jaeger  <aj@suse.de>
41346         * Makeconfig (+math-flags): New, set to -frounding-math.
41347         (+cflags): Add +math-flags so that all of glibc gets compiled with
41348         it.
41350         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41352 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41354         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41355         Disable one test.
41357         [BZ #13787]
41358         [BZ #13922]
41359         [BZ #14036]
41360         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41361         (__ieee754_expl): Allow for and saturate large arguments.
41362         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41363         (u_threshold): Likewise.
41364         (__exp): Call __ieee754_exp before checking for overflow and
41365         underflow.
41366         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41367         (u_threshold): Likewise.
41368         (__expf): Call __ieee754_expf before checking for overflow and
41369         underflow.
41370         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41371         (u_threshold): Likewise.
41372         (__expl): Call __ieee754_expl before checking for overflow and
41373         underflow.
41374         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41375         (__ieee754_expl): Allow for and saturate large arguments.
41376         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41377         missing overflow exception on overflow.
41378         (expm1_test): Do not allow missing overflow exception on overflow.
41380         * sysdeps/i386/fpu/e_expl.c: Move to ...
41381         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41382         rather than using inline asm.
41383         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41384         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41385         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41387         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41388         (nice): Likewise.
41389         (poll): Likewise.
41390         (signal): Likewise.
41391         (time): Likewise.
41392         (times): Likewise.
41394 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41396         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41397         sysdeps/unix/common/syscalls.list.
41398         (fchmod): Likewise.
41399         (fchown): Likewise.
41400         (ftruncate): Likewise.
41401         (getrusage): Likewise.
41402         (gettimeofday): Likewise.
41403         (setpgid): Likewise.
41404         (setregid): Likewise.
41405         (setreuid): Likewise.
41406         (sigaction): Likewise.
41407         (truncate): Likewise.
41408         (vhangup): Likewise.
41409         * sysdeps/unix/common/syscalls.list: Remove file.
41410         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41411         * sysdeps/unix/sysv/linux/Implies: Likewise.
41413 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41415         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41417         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41418         Moved to ...
41419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41420         Here.
41421         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41422         to ...
41423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41424         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41425         to ...
41426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41427         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41428         to ...
41429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41430         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41431         to ...
41432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41433         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41434         to ...
41435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41436         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41437         to ...
41438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41439         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41440         to ...
41441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41442         Here.
41443         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41444         to ...
41445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41446         Here.
41447         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41448         to ...
41449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41450         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41451         Moved to ...
41452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41453         Here.
41454         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41455         to ...
41456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41458 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41460         * sysdeps/unix/common/bits/dirent.h: Remove file.
41461         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41463         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41464         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41465         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41466         * sysdeps/unix/bsd/isatty.c: Likewise.
41467         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41468         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41469         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41471 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41473         [BZ #13563]
41474         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41475         long double comparison inaccuracies.
41476         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41479 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41481         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41482         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41484 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41486         [BZ #14049]
41487         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41488         nonzero digits before rounding a hex value.
41489         * stdlib/tst-strtod.c (tests): Add another test.
41491 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41493         * sysdeps/s390/fpu/libm-test-ulps: Update.
41495 2012-05-03  Andreas Jaeger  <aj@suse.de>
41497         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41498         does not get optimized out.
41499         (malloc_opt_barrier): New.
41501 2012-05-03  Andreas Jaeger  <aj@suse.de>
41502             Roland McGrath  <roland@hack.frob.com>
41504         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41505         intermediate file deletion.
41506         (generated): Add .symlist files.
41508 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41510         [BZ #13775]
41511         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41512         Redirect under this condition.
41513         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41514         [__USE_GNU] (__dprintf_chk): Not under this condition.
41515         [__USE_GNU] (__vdprintf_chk): Likewise.
41516         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41517         under this condition.
41518         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41519         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41520         [__USE_XOPEN2K8] (vdprintf): Likewise.
41521         [__USE_GNU] (__dprintf_chk): Not under this condition.
41522         [__USE_GNU] (__vdprintf_chk): Likewise.
41523         [__USE_GNU] (dprintf): Likewise.
41524         [__USE_GNU] (vdprintf): Likewise.
41526 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41528         * elf/Makefile (common-generated): Set this instead of generated for
41529         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41530         $(all-built-dso)-derived lists.
41532 2012-05-03  Andreas Jaeger  <aj@suse.de>
41534         * sysdeps/i386/fpu/libm-test-ulps: Update.
41536         * FAQ: Removed.
41537         * FAQ.in: Likewise.
41538         * scripts/gen-FAQ.pl: Likewise.
41539         * manual/install.texi (Installation): Point to online location of
41540         FAQ.
41541         * Makefile (files-for-dist): Remove FAQ.
41542         (FAQ): Remove.
41544 2012-05-02  Allan McRae  <allan@archlinux.org>
41546         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41547         (LDFLAGS-reldepmod5.so): Likewise.
41548         (LDFLAGS-reldep6mod1.so): Likewise.
41549         (LDFLAGS-reldep6mod4.so): Likewise.
41550         (LDFLAGS-reldep8mod3.so): Likewise.
41551         (LDFLAGS-unload4mod1.so): Likewise.
41552         (LDFLAGS-unload4mod2.so): Likewise.
41553         (LDFLAGS-tst-initorder): Likewise.
41554         (LDFLAGS-tst-initordera2.so): Likewise.
41555         (LDFLAGS-tst-initordera3.so): Likewise.
41556         (LDFLAGS-tst-initordera4.so): Likewise.
41557         (LDFLAGS-tst-initorderb2.so): Likewise.
41558         (LDFLAGS-noload): Likewise.
41559         (LDFLAGS-next): Likewise.
41560         (LDFLAGS-order2mod1.so): Likewise.
41561         (LDFLAGS-order2mod2.so): Likewise.
41562         (LDFLAGS-tst-initorder2): Likewise.
41563         (LDFLAGS-tst-initorder2a.so): Likewise.
41564         (LDFLAGS-tst-initorder2b.so): Likewise.
41565         (LDFLAGS-tst-initorder2c.so): Likewise.
41566         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41568 2012-05-02  David S. Miller  <davem@davemloft.net>
41570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41572 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41574         [BZ #14055]
41575         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41577 2012-05-02  Andreas Jaeger  <aj@suse.de>
41579         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41580         since we manipulate rounding mode.
41581         (CPPFLAGS-test-idouble.c): Likewise.
41582         (CPPFLAGS-test-ifloat.c): Likewise.
41583         (CFLAGS-test-ldouble.c): Likewise.
41584         (CFLAGS-test-double.c): Likewise.
41585         (CFLAGS-test-float.c): Likewise.
41586         (CFLAGS-test-misc.c): Likewise.
41587         (CFLAGS-test-test-fenv.c): Likewise.
41589 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41591         [BZ #2550]
41592         [BZ #2570]
41593         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41594         comparisons to determine direction to adjust input.
41596 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41598         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41599         output to the target.
41601         * scripts/localplt.awk: New file.
41602         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41603         (check-localplt-CFLAGS): Variable removed.
41604         ($(all-built-dso:=.jmprel)): New static pattern rule.
41605         (generated): Add those targets.
41606         (localplt-built-dso): New variable.
41607         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41609         * elf/check-localplt.c: File removed.
41611         * scripts/check-execstack.awk: New file.
41612         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41613         (check-execstack-CFLAGS): Variable removed.
41614         ($(objpfx)check-execstack.h): Target removed.
41615         ($(objpfx)execstack-default): New target.
41616         (generated): Add that instead of check-execstack.h.
41617         ($(all-built-dso:=.phdr)): New static pattern rule.
41618         (generated): Add those targets.
41619         * elf/check-execstack.c: File removed.
41621         * scripts/check-textrel.awk: New file.
41622         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41623         (check-textrel-CFLAGS): Variable removed.
41624         (all-built-dso): Use := to define.o
41625         ($(all-built-dso:=.dyn)): New static pattern rule.
41626         (generated): Add those targets.
41627         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41628         * config.make.in (READELF): New substituted variable.
41629         * elf/check-textrel.c: File removed.
41631 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41633         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41634         allow.
41635         * conform/data/ctype.h-data [C99-based standards] (isblank):
41636         Expect function.
41637         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41638         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41639         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41640         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41641         Specify type.  Require positive value.
41642         (EILSEQ): Likewise.
41643         (ERANGE): Likewise.
41644         [ISO || POSIX] (EILSEQ): Do not expect.
41645         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41646         Specify type.  Require positive value.
41647         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41648         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41649         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41650         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41651         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41652         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41653         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41654         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41655         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41656         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41657         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41658         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41659         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41660         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41661         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41662         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41663         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41664         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41665         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41666         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41667         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41668         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41669         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41670         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41671         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41672         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41673         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41674         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41675         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41676         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41677         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41678         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41679         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41680         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41681         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41682         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41683         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41684         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41685         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41686         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41687         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41688         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41689         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41690         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41691         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41692         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41693         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41694         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41695         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41696         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41697         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41698         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41699         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41700         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41701         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41702         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41703         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41704         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41705         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41706         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41707         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41708         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41709         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41710         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41711         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41712         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41713         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41714         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41715         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41716         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41717         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41718         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41719         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41720         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41721         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41722         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41723         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41724         Require >= 2.
41725         (FLT_ROUNDS): Expect as macro, not constant.
41726         (FLT_MANT_DIG): Use macro-int-constant.
41727         (DBL_MANT_DIG): Likewise.
41728         (LDBL_MANT_DIG): Likewise.
41729         (FLT_DIG): Likewise.
41730         (DBL_DIG): Likewise.
41731         (LDBL_DIG): Likewise.
41732         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41733         (DBL_MIN_EXP): Likewise.
41734         (LDBL_MIN_EXP): Likewise.
41735         (FLT_MAX_EXP): Use macro-int-constant.
41736         (DBL_MAX_EXP): Likewise.
41737         (LDBL_MAX_EXP): Likewise.
41738         (FLT_MAX_10_EXP): Likewise.
41739         (DBL_MAX_10_EXP): Likewise.
41740         (LDBL_MAX_10_EXP): Likewise.
41741         (FLT_MAX): Use macro-constant.
41742         (DBL_MAX): Likewise.
41743         (LDBL_MAX): Likewise.
41744         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41745         (DBL_EPSILON): Likewise.
41746         (LDBL_EPSILON): Likewise.
41747         (FLT_MIN): Likewise.
41748         (DBL_MIN): Likewise.
41749         (LDBL_MIN): Likewise.
41750         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41751         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41752         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41753         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41754         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41755         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41756         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41757         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41758         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41759         [ISO11] (FLT_TRUE_MIN): Likewise.
41760         [ISO11] (LDBL_TRUE_MIN): Likewise.
41761         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41762         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41763         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41764         (SCHAR_MAX): Likewise.
41765         (UCHAR_MAX): Likewise.
41766         (CHAR_MIN): Likewise.
41767         (CHAR_MAX): Likewise.
41768         (MB_LEN_MAX): Use macro-int-constant.
41769         (SHRT_MIN): Use macro-int-constant.  Specify type.
41770         (SHRT_MAX): Likewise.
41771         (USHRT_MAX): Likewise.
41772         (INT_MAX): Likewise.
41773         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41774         bound negative.
41775         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41776         bound with "U".
41777         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41778         bound with "L".
41779         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41780         bound negative.  Suffix upper bound with "L".
41781         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41782         bound with "UL".
41783         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41784         Specify type.
41785         [C99-based standards] (LLONG_MAX): Likewise.
41786         [C99-based standards] (ULLONG_MAX): Likewise.
41787         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41788         == 0.
41789         [ISO11] (max_align_t): Require type.
41790         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41792         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41793         from $CFLAGS, without defining away __attribute__ calls.
41794         (checknamespace): Use $CFLAGS_namespace.
41796         * conform/conformtest.pl (@keywords): Only include C99 keywords
41797         for standards based on C99 or C11.
41799         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41800         Disable tests.
41801         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41802         UNIX98]: Likewise.
41804         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41805         usability of symbols in #if.
41807         * conform/conformtest.pl: If macro or constant types start
41808         "promoted:", expect the symbol to be of the following type
41809         promoted by the integer promotions.
41811         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41812         in one place.  Also handle "macro-constant".
41814         * conform/conformtest.pl: Only accept expected macro values with
41815         "==".  Parse all "macro" lines in one place.
41816         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41818         * conform/conformtest.pl: Handle braced types on "constant" lines
41819         instead of handling "typed-constant".
41820         * conform/data/signal.h-data: Use "constant" instead of
41821         "typed-constant".
41823         * conform/conformtest.pl: Handle "optional-" at start of lines in
41824         one place rather than duplicating several cases.  Handle each
41825         format of "macro" line with initial "optional-".
41827         * conform/conformtest.pl: Only accept expected constant or
41828         optional-constant values with "==".  Parse all "constant" lines in
41829         one place.  Parse all "optional-constant" lines in one place.
41830         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41831         * conform/data/fmtmsg.h-data: Likewise.
41832         * conform/data/netinet/in.h-data: Likewise.
41833         * conform/data/tar.h-data: Likewise.
41834         * conform/data/limits.h-data: Use "==" form on "constant" and
41835         "optional-constant" lines.
41837         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41838         Use -std=c99 for XOPEN2K.
41839         (@knownproblems): Remove.
41840         (newtoken): Don't check %isknown.
41842         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41843         Do not expect macro.
41844         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41845         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41846         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41847         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41848         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41849         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41850         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41851         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41852         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41853         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41854         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41855         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41856         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41857         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41858         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41859         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41860         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41861         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41862         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41863         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41864         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41865         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41866         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41867         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41868         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41869         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41870         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41871         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41872         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41873         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41874         [XPG3] (acosh): Likewise.
41875         [XPG3] (asinh): Likewise.
41876         [XPG3] (atanh): Likewise.
41877         [XPG3] (cbrt): Likewise.
41878         [XPG3] (expm1): Likewise.
41879         [XPG3] (ilogb): Likewise.
41880         [XPG3] (log1p): Likewise.
41881         [XPG3] (logb): Likewise.
41882         [XPG3] (nextafter): Likewise.
41883         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41884         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41885         [XPG3] (remainder): Likewise.
41886         [XPG3] (rint): Likewise.
41887         [XPG3 || XPG4 || UNIX98] (round): Likewise.
41888         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41889         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41890         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41891         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41892         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41893         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41894         [UNIX98 || XOPEN2K] (scalb): Expect.
41895         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41896         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41897         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41898         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41899         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41900         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41901         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41902         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41903         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41904         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41905         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41906         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41907         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41908         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41909         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41910         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41911         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41912         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41913         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41914         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41915         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41916         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41917         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41918         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41919         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41920         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41921         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41922         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41923         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41924         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41925         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41926         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41927         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41928         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41929         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41930         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41931         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41932         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41933         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41934         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41935         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41936         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41937         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41938         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41939         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41940         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41941         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41942         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41943         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41944         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41945         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41946         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41947         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41948         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41949         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41950         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41951         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41952         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41953         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41954         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41955         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41956         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41957         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41958         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41959         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41960         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41961         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41962         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41963         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41964         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41965         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41966         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41967         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41968         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41969         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41970         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41971         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41972         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41973         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41974         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41975         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41976         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41977         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41978         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41979         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41980         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41981         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41982         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41983         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41984         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41985         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41986         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41987         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41988         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41989         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41990         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41991         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41992         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41993         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41994         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41995         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41996         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41997         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41998         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41999         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42000         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42001         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42002         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42003         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42004         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42005         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42006         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42007         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42008         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42009         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42010         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42011         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42012         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42013         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42014         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42015         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42016         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42017         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42018         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42019         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42020         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42021         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42022         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42023         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42024         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42025         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42026         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42027         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42028         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42029         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42030         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42031         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42033         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42034         _XOPEN_SOURCE_EXTENDED for XPG4.
42036         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42038         * Makeconfig (localtime): Remove variable.
42039         (inst_localtime-file): Likewise.
42041 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42044         Update.
42045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42046         Update.
42047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42048         Update.
42049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42050         Update.
42051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42052         Update.
42053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42054         Update.
42055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42056         Update.
42057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42058         Update.
42059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42060         Update.
42062 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42064         [BZ #2550]
42065         [BZ #2570]
42066         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42067         comparisons to determine direction to adjust input.
42068         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42069         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42070         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42071         Likewise.
42072         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42073         Likewise.
42074         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42075         Likewise.
42076         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42077         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42078         Likewise.
42079         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42080         Likewise.
42081         * math/libm-test.inc (nexttoward_test): Add more tests.
42083 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42085         [BZ #14040]
42086         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42087         in version GLIBC_2.1, not GLIBC_2.0.
42088         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42089         Likewise.
42091 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42093         [BZ #13942]
42094         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42095         (1 - x) * (1 + x).
42096         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42097         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42098         * math/libm-test.inc (acos_test): Add more tests.
42099         (asin_test): Likewise.
42100         * sysdeps/i386/fpu/libm-test-ulps: Update.
42101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42103         [BZ #14034]
42104         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42105         of square root.
42106         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42107         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42108         * math/libm-test.inc (acos_test_tonearest): New function.
42109         (acos_test_towardzero): Likewise.
42110         (acos_test_downward): Likewise.
42111         (acos_test_upward): Likewise.
42112         (asin_test_tonearest): Likewise.
42113         (asin_test_towardzero): Likewise.
42114         (asin_test_downward): Likewise.
42115         (asin_test_upward): Likewise.
42116         (main): Call the new functions.
42117         * sysdeps/i386/fpu/libm-test-ulps: Update.
42118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42120         [BZ #13884]
42121         [BZ #13924]
42122         * math/e_exp10.c: Include <float.h>.
42123         (__ieee754_exp10): Handle underflow here rather than multiplying
42124         large negative argument by M_LN10.
42125         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42126         of __ieee754_expf.
42127         * math/e_exp10l.c: Include <float.h>.
42128         (__ieee754_exp10l): Handle underflow here rather than multiplying
42129         large negative argument by M_LN10l.
42130         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42131         spurious overflow exception on underflow.
42133 2012-04-29  Marek Polacek  <polacek@redhat.com>
42135         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42136         (__fortify_function): New macro.
42137         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42138         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42139         __extern_always_inline.
42140         * libio/bits/stdio2.h: Likewise.
42141         * libio/bits/stdio.h: Likewise.
42142         * string/string.h: Likewise.
42143         * string/bits/string3.h: Likewise.
42144         * include/stdio.h: Likewise.
42145         * stdlib/bits/stdlib.h: Likewise.
42146         * stdlib/stdlib.h: Likewise.
42147         * rt/bits/mqueue2.h: Likewise.
42148         * rt/mqueue.h: Likewise.
42149         * posix/bits/unistd.h: Likewise.
42150         * posix/unistd.h: Likewise.
42151         * io/bits/poll2.h: Likewise.
42152         * io/bits/fcntl2.h: Likewise.
42153         * io/fcntl.h: Likewise.
42154         * io/sys/poll.h: Likewise.
42155         * misc/bits/syslog.h: Likewise.
42156         * misc/bits/syslog-ldbl.h: Likewise.
42157         * misc/sys/syslog.h: Likewise.
42158         * socket/bits/socket2.h: Likewise.
42159         * socket/sys/socket.h: Likewise.
42160         * debug/tst-chk1.c: Likewise.
42161         * wcsmbs/bits/wchar2.h: Likewise.
42162         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42163         * wcsmbs/wchar.h: Likewise.
42165 2012-04-29  Andreas Jaeger  <aj@suse.de>
42167         * Makerules (tests): Remove enable-check-abi protection.
42168         (check-abi-warn): Remove.
42169         (check-abi-%): Remove check-abi-warn usage.
42171         * configure.in: Remove check-abi configure option.
42172         * configure: Regenerated.
42173         * config.make.in (enable-check-abi): Remove.
42175 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42177         [BZ #14033]
42178         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42179         double functions to double *_finite functions.
42181         [BZ #13941]
42182         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42183         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42184         LDBL_MIN_EXP.
42185         * stdio-common/Makefile (tests): Add tst-sprintf3.
42186         * stdio-common/tst-sprintf3.c: New file.
42188         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42189         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42191 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42193         * conform/conformtest.pl: Remove duplicate typed-constant
42194         handling.
42196 2012-04-28  David S. Miller  <davem@davemloft.net>
42198         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42199         (check-abi-%): Remove AWK script prerequisite and explicit
42200         abilist directory.
42201         (check-abi): Rewrite to just diff the symlist with the abilist.
42202         (config-tls, config-abi-config): Delete, no longer used.
42203         (update-abi-%): Remove AWK script and explicit abilist directory.
42204         (update-abi): Rewrite to simply compare and conditionally copy the
42205         symlist and the sysdep abilist file.  Remove update-abi-config
42206         checks.
42207         * abilist/ld.abilist: Remove.
42208         * abilist/libBrokenLocale.abilist: Remove.
42209         * abilist/libanl.abilist: Remove.
42210         * abilist/libcrypt.abilist: Remove.
42211         * abilist/libdl.abilist: Remove.
42212         * abilist/librt.abilist: Remove.
42213         * abilist/libthread_db.abilist: Remove.
42214         * abilist/libutil.abilist: Remove.
42215         * scripts/extract-abilist.awk: Remove.
42216         * scripts/merge-abilist.awk: Remove.
42217         * sysdeps/generic/libcidn.abilist: New file.
42218         * sysdeps/generic/libnss_compat.abilist: New file.
42219         * sysdeps/generic/libnss_db.abilist: New file.
42220         * sysdeps/generic/libnss_dns.abilist: New file.
42221         * sysdeps/generic/libnss_files.abilist: New file.
42222         * sysdeps/generic/libnss_hesiod.abilist: New file.
42223         * sysdeps/generic/libnss_nis.abilist: New file.
42224         * sysdeps/generic/libnss_nisplus.abilist: New file.
42225         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42226         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42227         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42228         file.
42229         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42230         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42231         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42232         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42233         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42234         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42235         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42236         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42237         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42238         file.
42239         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42240         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42241         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42242         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42243         file.
42244         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42245         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42246         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42247         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42248         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42249         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42250         file.
42251         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42252         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42253         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42254         file.
42255         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42256         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42257         New file.
42258         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42259         New file.
42260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42261         New file.
42262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42263         New file.
42264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42265         New file.
42266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42267         New file.
42268         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42269         New file.
42270         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42271         New file.
42272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42273         New file.
42274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42275         New file.
42276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42277         New file.
42278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42279         New file.
42280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42281         New file.
42282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42283         file.
42284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42285         New file.
42286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42287         New file.
42288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42289         file.
42290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42291         New file.
42292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42293         New file.
42294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42295         file.
42296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42297         New file.
42298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42299         New file.
42300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42301         New file.
42302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42303         New file.
42304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42305         New file.
42306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42307         New file.
42308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42310         file.
42311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42312         New file.
42313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42314         file.
42315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42316         file.
42317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42318         file.
42319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42320         file.
42321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42322         file.
42323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42324         New file.
42325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42326         file.
42327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42328         file.
42329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42330         New file.
42331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42332         file.
42333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42335         file.
42336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42337         New file.
42338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42339         file.
42340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42341         file.
42342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42343         file.
42344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42345         file.
42346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42347         file.
42348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42349         New file.
42350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42351         file.
42352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42353         file.
42354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42355         New file.
42356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42357         file.
42358         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42359         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42360         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42361         file.
42362         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42363         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42364         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42365         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42366         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42367         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42368         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42369         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42370         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42371         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42374         file.
42375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42376         New file.
42377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42378         file.
42379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42380         file.
42381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42382         file.
42383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42384         file.
42385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42386         file.
42387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42388         New file.
42389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42390         New file.
42391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42392         file.
42393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42394         New file.
42395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42396         file.
42397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42399         file.
42400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42401         New file.
42402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42403         file.
42404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42405         file.
42406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42407         file.
42408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42409         file.
42410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42411         file.
42412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42413         New file.
42414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42415         New file.
42416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42417         file.
42418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42419         New file.
42420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42421         file.
42423 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42425         * conform/conformtest.pl: Fix typo in handling typed-constant from
42426         allow-header.
42428 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42430         * README: Cut down references to pre-2.6 Linux kernels and
42431         Linuxthreads.  Update lists of configurations in libc and ports
42432         and sort alphabetically.  Say "or newer" with Linux kernel version
42433         requirements.
42435         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42437 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42439         [BZ #887]
42440         * math/libm-test.inc (logb_test_downward): New test to expose
42441         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42442         rounding mode.
42444 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42446         [BZ #14027]
42447         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42448         to be done.
42449         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42450         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42452 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42454         * sysdeps/unix/i386/brk.S: Remove file.
42455         * sysdeps/unix/i386/dl-brk.S: Likewise.
42456         * sysdeps/unix/i386/pipe.S: Likewise.
42457         * sysdeps/unix/i386/sigreturn.S: Likewise.
42458         * sysdeps/unix/i386/syscall.S: Likewise.
42459         * sysdeps/unix/i386/vfork.S: Likewise.
42460         * sysdeps/unix/i386/wait.S: Likewise.
42462         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42463         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42465         * configure.in (arm*-none*): Do not allow without
42466         --enable-hacker-mode.
42467         (netbsd*): Remove case setting base_os.
42468         (386bsd*): Likewise.
42469         (freebsd*): Likewise.
42470         (bsdi*): Likewise.
42471         (osf*): Likewise.
42472         (sunos*): Likewise.
42473         (ultrix*): Likewise.
42474         (newsos*): Likewise.
42475         (dynix*): Likewise.
42476         (*bsd*): Likewise.
42477         (sysv*): Likewise.
42478         (isc*): Likewise.
42479         (esix*): Likewise.
42480         (sco*): Likewise.
42481         (minix*): Likewise.
42482         (irix4*): Likewise.
42483         (irix6*): Likewise.
42484         (solaris[2-9]*): Likewise.
42485         (none): Likewise.
42486         * configure: Regenerated.
42488 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42490         [BZ #11521]
42491         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42492         overflow or cancellation in calculating denominator.
42493         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42494         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42495         down expression to avoid unexpected rounding in newer GCCs.
42496         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42498 2012-04-26  David S. Miller  <davem@davemloft.net>
42500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42501         long-double compat symbols.
42502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42516 2012-04-25  David S. Miller  <davem@davemloft.net>
42518         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42519         HWCAP_* values only after the memory barriers have been defined.
42520         (atomic_full_barrier): Define.
42521         (atomic_read_barrier): Define.
42522         (atomic_write_barrier): Define.
42524 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42526         * shlib-versions: Add libgcc_s version information.
42527         * sysdeps/generic/libgcc_s.h: Remove.
42528         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42529         libgcc_s.h.
42530         * sysdeps/gnu/unwind-resume.c: Likewise.
42531         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42533 2012-04-25  David S. Miller  <davem@davemloft.net>
42535         * sysdeps/unix/sparc/brk.S: Delete.
42536         * sysdeps/unix/sparc/dl-brk.S: Delete.
42537         * sysdeps/unix/sparc/pipe.S: Delete.
42538         * sysdeps/unix/sparc/sysdep.S: Delete.
42539         * sysdeps/unix/sparc/sysdep.h: Delete.
42540         * sysdeps/unix/sparc/vfork.S: Delete.
42541         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42542         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42543         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42544         (ret_ERRVAL, r0, r1, MOVE): Define.
42545         (JUMPTARGET): Remove.
42546         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42547         sysdeps/unix/sparc/sysdep.h
42548         (ENTRY, END): Remove.
42549         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42551 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42553         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42554         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42555         -DIS_IN_build.
42557         * timezone/README: Update upstream location and email address for
42558         tzcode and tzdata.
42559         * timezone/zdump.c: Update from tzcode 2012b.
42560         * timezone/zic.c: Likewise.
42562         * configure.in (libc_cv_as_needed): Remove test.
42563         * configure: Regenerated.
42564         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42565         conditional definition.
42566         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42567         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42568         * config.make.in (have-as-needed): Remove variable.
42570 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42571             Paul Pluzhnikov  <ppluzhnikov@google.com>
42573         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42574         strings correctly.
42576 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42578         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42579         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42580         * sysdeps/sh/strlen.S: Likewise.
42582 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42584         * sysdeps/unix/fork.S: Remove file.
42585         * sysdeps/unix/i386/fork.S: Likewise.
42586         * sysdeps/unix/sparc/fork.S: Likewise.
42588         * sysdeps/unix/system.c: Remove file.
42589         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42591         * sysdeps/unix/getegid.S: Remove file.
42592         * sysdeps/unix/geteuid.S: Likewise.
42594 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42596         * scripts/check-localplt.awk: New file.
42597         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42598         of diff.
42599         * scripts/data/localplt-generic.data: Add a comment.
42601         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42602         NODE when __dir_mkfile failed.
42603         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42604         Reported by Ludovic Courtès <ludo@gnu.org>.
42606 2012-04-24  Andreas Jaeger  <aj@suse.de>
42608         * Makerules (common-clean): Also remove gen-as-const-headers
42609         files.
42611 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42613         * Makerules (native-compile): Do not change working directory for
42614         build.  Use $(OUTPUT_OPTION) in command.
42615         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42617 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42619         [BZ #13886]
42620         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42621         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42622         * math/libm-test.inc (floor_test): Add more tests.
42623         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42625 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42627         * sysdeps/unix/getdents.c: Remove file.
42628         * sysdeps/unix/sysv/getdents.c: Likewise.
42629         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42631         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42632         sysdeps/unix/mman/syscalls.list.
42633         (mmap): Likewise.
42634         (mprotect): Likewise.
42635         (msync): Likewise.
42636         (munmap): Likewise.
42637         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42638         * sysdeps/unix/mman/syscalls.list: Remove.
42639         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42641         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42642         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42643         * configure: Regenerated.
42644         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42645         $(libgcc_s_suffix).
42646         * config.make.in (libgcc_s_suffix): Remove variable.
42648 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42650         * sysdeps/unix/sysv/gethostname.c: Move to ...
42651         * sysdeps/posix/gethostname.c: ... here.
42653         * sysdeps/unix/execve.S: Remove file.
42655         * sysdeps/unix/_exit.S: Remove file.
42657 2012-04-23  Andreas Jaeger  <aj@suse.de>
42659         [BZ #13739]
42660         * manual/Makefile: Remove make dist support, there's no
42661         need for a stand-alone documentation tar ball.
42662         (TEXI2DVI): Define always, it's not in Makeconfig.
42663         (dist): Removed.
42664         (tar-it): Removed.
42665         (edition): Removed.
42666         (glibc-doc-$(edition).tar): Removed
42667         (%.Z): Removed.
42668         (%.gz): Removed.
42669         (%.uu): Removed.
42670         (ETAGS): Remove, it's in Makeconfig.
42671         (move-if-change): Remove, it's in Makeconfig.
42673 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42675         [BZ #13970]
42676         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42677         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42678         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42679         (strtod_l, strtof_l, strtold_l): Remove __wur.
42680         It is not necessarily an error to ignore strtol's return value.
42681         One can reliably look at the stored endptr to decide whether
42682         the number had valid syntax.
42684 2012-04-21  Andreas Jaeger  <aj@suse.de>
42686         [BZ #13739]
42687         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42689 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42691         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42692         * sysdeps/unix/sysv/Versions: Remove file.
42694 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42696         [BZ #13927]
42697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42699 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42701         [BZ #7064]
42702         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42703         version from __vm86.
42705 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42707         * sysdeps/unix/common/lxstat.c: Remove file.
42708         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42710         * sysdeps/unix/sysv/Makefile: Remove file.
42712         * sysdeps/unix/sysv/direct.h: Remove file.
42714         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42715         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42716         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42717         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42718         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42719         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42720         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42722         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42724         * sysdeps/unix/xmknod.c: Remove file.
42725         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42727         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42729         * sysdeps/unix/sysv/i386/time.S: Remove file.
42731         * sysdeps/unix/fxstat.c: Remove file.
42732         * sysdeps/unix/xstat.c: Likewise.
42733         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42735         * sysdeps/unix/sysv/sigaction.c: Remove file.
42737         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42738         (sysdep_headers): Remove variable.
42739         [termio.h not in sysdep_headers] (generated): Likewise.
42740         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42741         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42742         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42743         * sysdeps/unix/sysv/tcflow.c: Likewise.
42744         * sysdeps/unix/sysv/tcflush.c: Likewise.
42745         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42746         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42747         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42748         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42749         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42751         * sysdeps/unix/siglist.c: Remove file.
42753         * sysdeps/unix/getppid.S: Remove file.
42755         * sysdeps/unix/mkdir.c: Remove file.
42756         * sysdeps/unix/rmdir.c: Likewise.
42758 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42760         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42761         ERR_MAX value.
42762         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42763         errlist-compat value.
42765 2012-04-18  David S. Miller  <davem@davemloft.net>
42767         * sysdeps/generic/memcopy.h (reg_char): Delete.
42768         * debug/strcat_chk.c: Use char, not reg_char.
42769         * debug/strcpy_chk.c: Likewise.
42770         * debug/strncat_chk.c: Likewise.
42771         * debug/strncpy_chk.c: Likewise.
42772         * string/memchr.c: Likewise.
42773         * string/memrchr.c: Likewise.
42774         * string/rawmemchr.c: Likewise.
42775         * string/strcat.c: Likewise.
42776         * string/strchr.c: Likewise.
42777         * string/strchrnul.c: Likewise.
42778         * string/strcmp.c: Likewise.
42779         * string/strcpy.c: Likewise.
42780         * string/strncat.c: Likewise.
42781         * string/strncmp.c: Likewise.
42782         * string/strncpy.c: Likewise.
42784 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42786         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42787         __builtin_memcopy is called when src and dest ranges are known to not
42788         overlap.
42790 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42792         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42793         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42794         fwd_align_merge macro call.
42795         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42796         bwd_align_merge macro call.
42797         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42799 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42801         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42802         bwd_align_merge macros.
42803         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42804         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42805         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42807 2012-04-18  David S. Miller  <davem@davemloft.net>
42809         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42811 2012-04-18  Andreas Jaeger  <aj@suse.de>
42813         [BZ# 6794]
42814         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42815         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42816         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42818         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42819         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42820         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42822         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42823         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42824         Adjust for changed ldbl-128 files.
42826         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42827         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42828         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42830 2012-04-17  David S. Miller  <davem@davemloft.net>
42832         * sysdeps/sparc/sparc32/memcopy.h: Delete.
42834 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
42836         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42837         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42838         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42839         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42840         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42841         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42843 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42845         [BZ #6794]
42846         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42847         * math/libm-test.inc: Add ilogb errno and exception tests.
42848         * math/w_ilogb.c: New file: ilogb wrapper.
42849         * math/w_ilogbf.c: New file: ilogbf wrapper.
42850         * math/w_ilogbl.c: New file: ilogbl wrapper.
42851         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42852         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42853         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42854         exception being thrown with 0.0 as argument.
42855         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42856         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42857         exception being thrown with 0.0 as argument.
42858         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42859         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42860         exception being thrown with 0.0 as argument.
42861         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42862         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42863         exception being thrown with 0.0 as argument.
42864         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42865         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42866         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42867         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42868         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42869         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42870         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42871         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42872         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42874 2012-04-17  Petr Baudis  <pasky@ucw.cz>
42876         * include/sys/uio.h: Change __vector to __iovec to avoid clash
42877         with altivec.
42879 2012-04-16  Marek Polacek  <polacek@redhat.com>
42881         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42883 2012-04-16  Marek Polacek  <polacek@redhat.com>
42885         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42886         operands of fdivp instruction.
42888 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42890         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42891         * elf/tst-auditmod3b.c: Likewise.
42892         * elf/tst-auditmod4b.c: Likewise.
42893         * elf/tst-auditmod5b.c: Likewise.
42894         * elf/tst-auditmod6b.c: Likewise.
42895         * elf/tst-auditmod6c.c: Likewise.
42896         * elf/tst-auditmod7b.c: Likewise.
42897         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42898         * sysdeps/x86_64/preconfigure.in: Likewise.
42899         * sysdeps/x86_64/preconfigure: Regenerated.
42901 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42903         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42904         __ILP32__.
42906 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
42908         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42909         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42911 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
42913         [BZ #13973]
42914         * locale/iso-639.def: Fix gl language name. Spotted by
42915         Yaron Shahrabani.
42917 2012-04-12  Roland McGrath  <roland@hack.frob.com>
42919         [BZ #2074]
42920         * libio/libio.h (__io_write_fn): Update comment.
42922 2012-04-12  Petr Baudis  <pasky@ucw.cz>
42924         [BZ #2074]
42925         * stdio.texi (Hook Functions): The user provided writer function
42926         is not allowed to return -1.
42928 2012-04-11  David S. Miller  <davem@davemloft.net>
42930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42932 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
42934         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42935         Add a leading slash to rtkaio.
42937 2012-04-11  Jim Meyering  <meyering@redhat.com>
42939         [BZ #11959]
42940         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42941         It is not necessarily an error to ignore fwrite's return
42942         value.  One can reliably use ferror to test for errors after
42943         the fact.
42945 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42947         * bits/types.h (__snseconds_t): New type.
42948         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42950         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42951         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42952         (__SNSECONDS_T_TYPE): Likewise.
42953         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42954         (__SNSECONDS_T_TYPE): Likewise.
42955         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42956         (__SNSECONDS_T_TYPE): Likewise.
42958 2012-04-10  Andreas Jaeger  <aj@suse.de>
42960         [BZ #2636]
42961         * manual/time.texi (Processor Time): Return type of times is
42962         elapsed real time since an arbitrary point in the past.
42963         (CPU Time): Move CLK_TCK from here...
42964         (Processor Time): ...to here.  Correct description.
42965         * manual/conf.texi (Constants for Sysconf): Correct description of
42966         _SC_CLK_TCK.
42968 2012-04-10  David S. Miller  <davem@davemloft.net>
42970         [BZ #13967]
42971         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42972         where the is a gap between DT_REL(A) and DT_JMPREL.
42974 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42976         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42977         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42978         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42980 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42982         * elf/dl-support.c (_dl_inhibit_cache): New variable.
42983         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42984         (dl_main): Handle --inhibit-cache.
42985         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42986         _dl_inhibit_cache.
42987         * elf/dl-load.c (_dl_map_object): Use it.
42988         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42990 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42992         [BZ #13872]
42993         * sysdeps/i386/fpu/e_powl.S (p78): New object.
42994         (__ieee754_powl): Saturate large exponents rather than testing for
42995         overflow of y*log2(x).
42996         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42997         * math/libm-test.inc (pow_test): Do not permit spurious overflow
42998         exceptions.
43000         [BZ #11521]
43001         * math/s_ctan.c: Include <float.h>.
43002         (__ctan): Avoid internal overflow or cancellation in calculating
43003         denominator.
43004         * math/s_ctanf.c: Likewise.
43005         * math/s_ctanl.c: Likewise.
43006         * math/s_ctanh.c: Likewise.
43007         * math/s_ctanhf.c: Likewise.
43008         * math/s_ctanhl.c: Likewise.
43009         * math/libm-test.inc (ctan_test): Add more tests.
43010         (ctanh_test): Likewise.
43011         * sysdeps/i386/fpu/libm-test-ulps: Update.
43012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43014 2012-04-09  Andreas Jaeger  <aj@suse.de>
43016         [BZ #6894]
43017         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43018         is an optional BSD extension.
43020         [BZ #10254]
43021         * manual/stdio.texi (Opening Streams): Document additional fopen
43022         parameters.
43024 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43026         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43027         %eax without telling the compiler.
43029 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43031         [BZ # 13963]
43032         * manual/install.texi: Use sourceware.org.
43034 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43036         [BZ #13873]
43037         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43038         (__ieee754_pow): Generate overflow and underflow using huge*huge
43039         and tiny*tiny rather than just returning constant infinity or zero
43040         for large exponents.
43041         * math/libm-test.inc (pow_test): Require overflow exceptions for
43042         applicable cases of large exponents.
43044         [BZ #706]
43045         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43046         (__ieee754_pow): Use iterative multiplication algorithm only for
43047         integer exponents with absolute value below 1024.  Check for odd
43048         integer exponents when using algorithm for real exponents.
43049         * math/libm-test.inc (pow_test): Add more tests.
43050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43052 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43054         [BZ #13705]
43055         * math/libm-test.inc (exp_test): Do not allow overflow exception
43056         on underflow test.
43058 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43060         [BZ #13705]
43061         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43062         instead of __kernel_standard_f.
43064 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43066         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43067         * sysdeps/x86_64/memset_chk.S: Likewise.
43069 2012-04-08  Andreas Jaeger  <aj@suse.de>
43071         [BZ #10153]
43072         * manual/startup.texi (Environment Access): Describe return value
43073         for putenv and setenv.
43075         [BZ #6895]
43076         * manual/filesys.texi (Directory Entries): Add description for
43077         DT_LNK.
43079         [BZ #6890]
43080         * manual/filesys.texi (Directory Entries): Clarify that it's file
43081         system not operating system in the description of DT_UNKNOWN.
43083         [BZ #6578]
43084         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43086 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43088         [BZ #6649]
43089         * manual/llio.texi (Opening and Closing Files): Add cross
43090         reference to explain mode argument.
43092 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43094         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43095         * sysdeps/x86_64/memset_chk.S: Likewise.
43097 2012-04-07  David S. Miller  <davem@davemloft.net>
43099         * elf/elf.h (R_SPARC_WDISP10): Define.
43100         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43101         R_SPARC_SIZE32.
43102         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43103         R_SPARC_SIZE64 and R_SPARC_H34.
43105 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43107         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43108         conditions and remove no longer applicable assertion.
43110 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43112         * bits/byteswap.h: Include <features.h>.
43113         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43114         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43116 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43118         * bits/byteswap.h (__bswap_16): Removed.
43119         Include <bits/byteswap-16.h> to get __bswap_16.
43120         * sysdeps/i386/bits/byteswap.h: Likewise.
43121         * sysdeps/s390/bits/byteswap.h: Likewise.
43122         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43123         * bits/byteswap-16.h: New file.
43124         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43125         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43126         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43127         * string/Makefile (headers): Add bits/byteswap-16.h.
43129 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43131         [BZ #13895]
43132         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43133         extra indirection.
43134         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43135         * nss/tst-nss-static.c: New.
43137 2012-04-06  Robert Millan  <rmh@gnu.org>
43139         [BZ #6486]
43140         * manual/llio.texi (File Position Primitive): lseek
43141         refers to WHENCE when it really means OFFSET.
43143 2012-04-06  Andreas Jaeger  <aj@suse.de>
43145         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43146         strncmp declarations.
43148         * abilist/libc.abilist: Add __poll and __ppoll.
43150 2012-04-05  David S. Miller  <davem@davemloft.net>
43152         * scripts/check-local-headers.sh: Accept a host triplet in the
43153         path matched by the exclude regexp.
43155         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43156         definition.
43157         * sysdeps/powerpc/powerpc32/dl-machine.h
43158         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43159         * sysdeps/s390/s390-32/dl-machine.h
43160         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43161         * sysdeps/sparc/sparc32/dl-machine.h
43162         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43163         * sysdeps/sparc/sparc64/dl-machine.h
43164         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43166         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43167         lazy binding.
43168         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43169         undefined symbol errors.
43171         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43172         DT_NEEDED entries.
43174 2012-04-05  Michael Matz  <matz@suse.de>
43176         [BZ #13592]
43177         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43179 2012-04-05  Andreas Jaeger  <aj@suse.de>
43181         [BZ #13908]
43182         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43183         comment.
43185 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43187         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43188         which ROUND is no valid rounding mode.
43190 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43192         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43193         read again.
43194         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43196 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43198         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43199         an exception using FPU order intentionally.
43201 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43203         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43204         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43205         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43206         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43208 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43210         [BZ #12340]
43211         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43212         EINVAL when BUFLEN is too smal.
43214 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43216         [BZ #13553]
43217         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43218         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43220 2012-04-03  Andreas Jaeger  <aj@suse.de>
43222         [BZ #13938]
43223         * manual/setjmp.texi (System V contexts): Fix sentence.
43225         [BZ #13926]
43226         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43227         New macro for this case.
43228         [!__GNUC__] (__bswap_64): New inline function for this case.
43229         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43230         * bits/byteswap.h: Likewise.
43231         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43232         ull, guard with __GLIBC_HAVE_LONG_LONG.
43234         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43235         __GLIBC_HAVE_LONG_LONG.
43237         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43238         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43240 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43242         [BZ #13691]
43243         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43244         inptr and inend, rather than using last_ch.
43246 2012-04-02  David S. Miller  <davem@davemloft.net>
43248         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43249         * stdio-common/printf-parse.h (read_int): Change return type to
43250         'int', return -1 on INT_MAX overflow.
43251         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43252         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43253         overflows INT_MAX.  Check for overflow of in-format-string precision
43254         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43255         SIZE_MAX not INT_MAX for integer overflow test.
43256         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43257         skip the construct in the format string but do not record anything.
43258         * stdio-common/bug22.c: Adjust to test both width/prevision
43259         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43260         explicitly for proper errno values.
43262 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43264         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43265         CHAR_MAX.
43266         * string/test-strcmp.c [! WIDE]: Likewise.
43267         * time/tst-mktime2.c: Likewise for INT_MAX.
43268         * string/test-string.h: #include <sys/param.h> for MIN.
43270         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43271         * sysdeps/i386/init-first.c (init): Likewise.
43272         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43273         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43274         * sysdeps/sh/init-first.c (init): Likewise.
43276 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43278         * po/ru.po: Update from translation team.
43279         * po/vi.po: Likewise.
43281 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43283         * resolv/nss_dns/dns-host.c: Merge copyright years.
43285 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43287         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43288         Optimize memcpy with prefetch if
43289         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43290         src, dst pointers have unequal 16 byte alignments.
43292 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43294         [BZ #13928]
43295         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43296         from a CNAME entry and return the minimum ttl for the query.
43297         (gaih_getanswer_slice): Likewise.
43299 2012-03-30  Jeff Law  <law@redhat.com>
43301         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43302         due to long keys.
43303         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43304         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43306         * resolv/nss_dns/dns-host.c: Update copyright year.
43308 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43310         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43311         requests to save a system call.  Fix check that all bytes are sent.
43313         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43314         comments for sendmmsg.
43316 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43318         [BZ #13691]
43319         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43320         with only 1 character between 0x0041 and 0x01b0.
43321         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43322         * wcsmbs/tst-mbsnrtowcs.c: New file.
43324 2012-03-29  David S. Miller  <davem@davemloft.net>
43326         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43327         small copies by hand.
43329 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43331         [BZ #13761]
43332         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43333         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43334         group memberships.
43336 2012-03-28  David S. Miller  <davem@davemloft.net>
43338         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43339         that branches into memcpy.
43340         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43341         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43342         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43343         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43344         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43345         bits.
43346         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43347         implementation too.
43348         * sysdeps/sparc/mempcpy.S: New file.
43350         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43351         the IFUNC routine in the libc case.
43352         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43354         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43355         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43356         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43357         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43358         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43359         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43360         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43361         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43363         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43364         loop to 256 bytes instead of 64 bytes and fix test signedness.
43366         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43367         * sysdeps/sparc/sparc32/Makefile: rather than here...
43368         * sysdeps/sparc/sparc64/Makefile: and here.
43370 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43372         * malloc/mallocbug.c: Avoid warnings about unused variables.
43374 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43376         [BZ #13760]
43377         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43378         in the right place. Discard and retry query if response is
43379         larger than input buffer size.
43381 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43383         [BZ #369]
43384         [BZ #2678]
43385         [BZ #3866]
43386         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43387         x for large integer exponent.
43388         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43389         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43390         sign of result as needed afterwards.
43391         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43392         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43393         result for underflowing pow the same as for overflow.
43394         (__kernel_standard_l): Handle powl overflow and underflow here
43395         rather than calling __kernel_standard.
43396         * math/libm-test.inc (pow_test): Add more tests.
43398         [BZ #3868]
43399         [BZ #13879]
43400         [BZ #13910]
43401         [BZ #13911]
43402         [BZ #13912]
43403         [BZ #13913]
43404         [BZ #13915]
43405         [BZ #13916]
43406         [BZ #13917]
43407         [BZ #13918]
43408         [BZ #13919]
43409         [BZ #13920]
43410         [BZ #13921]
43411         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43412         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43413         (__kernel_standard_l): New function.
43414         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43415         __kernel_standard.
43416         * math/w_acosl.c (__acosl): Likewise.
43417         * math/w_asinl.c (__asinl): Likewise.
43418         * math/w_atan2l.c (__atan2l): Likewise.
43419         * math/w_atanhl.c (__atanhl): Likewise.
43420         * math/w_coshl.c (__coshl): Likewise.
43421         * math/w_exp10l.c (__exp10l): Likewise.
43422         * math/w_exp2l.c (__exp2l): Likewise.
43423         * math/w_fmodl.c (__fmodl): Likewise.
43424         * math/w_hypotl.c (__hypotl): Likewise.
43425         * math/w_j0l.c (__j0l, __y0l): Likewise.
43426         * math/w_j1l.c (__j1l, __y1l): Likewise.
43427         * math/w_jnl.c (__jnl, __ynl): Likewise.
43428         * math/w_lgammal.c (__lgammal): Likewise.
43429         * math/w_log10l.c (__log10l): Likewise.
43430         * math/w_log2l.c (__log2l): Likewise.
43431         * math/w_logl.c (__logl): Likewise.
43432         * math/w_powl.c (__powl): Likewise.
43433         * math/w_remainderl.c (__remainderl): Likewise.
43434         * math/w_scalbl.c (sysv_scalbl): Likewise.
43435         * math/w_sinhl.c (__sinhl): Likewise.
43436         * math/w_sqrtl.c (__sqrtl): Likewise.
43437         * math/w_tgammal.c (__tgammal): Likewise.
43438         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43439         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43440         * math/libm-test.inc (acos_test): Add more tests.
43441         (acosh_test): Likewise.
43442         (asin_test): Likewise.
43443         (atanh_test): Likewise.
43444         (exp_test): Likewise.
43445         (exp10_test): Likewise.
43446         (exp2_test): Likewise.
43447         (expm1_test): Likewise.
43448         (lgamma_test): Likewise.
43449         (log_test): Likewise.
43450         (log10_test): Likewise.
43451         (log1p_test): Likewise.
43452         (log2_test): Likewise.
43453         (pow_test): Do not allow some spurious overflow exceptions.
43454         (sqrt_test): Add more tests.
43455         (tgamma_test): Likewise.
43456         (y0_test): Likewise.
43457         (y1_test): Likewise.
43458         (yn_test): Likewise.
43460 2012-03-27  Anton Blanchard  <anton@samba.org>
43462         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43463         MAP_HUGETLB.
43464         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43465         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43466         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43468 2012-03-27  David S. Miller  <davem@davemloft.net>
43470         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43472         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43473         have-as-vis3 check.
43475 2012-03-27  Andreas Jaeger  <aj@suse.de>
43477         * sysdeps/x86_64/elf/configure.in: Moved to ...
43478         * sysdeps/x86_64/configure.in: ... here.
43479         * sysdeps/x86_64/elf/start.S: Moved to ...
43480         * sysdeps/x86_64/start.S: ... here.
43481         * sysdeps/x86_64/elf/configure: Delete.
43483         * sysdeps/x86_64/configure.in: Merge contents from
43484         sysdeps/i386/configure.in (without i686 check).
43486         * sysdeps/i386/elf/Versions: Merge into ...
43487         * sysdeps/i386/Versions: ... this.
43488         * sysdeps/i386/elf/Versions: Delete file.
43489         * sysdeps/i386/elf/start.S: Moved to ...
43490         * sysdeps/i386/start.S: ...here.
43491         * sysdeps/i386/elf/configure.in: Merge into...
43492         * sysdeps/i386/configure.in: ...here.
43493         * sysdeps/i386/elf/configure.in: Delete file.
43494         * sysdeps/i386/elf/configure: Delete file.
43496         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43497         * debug/backtracesyms.c: ... here.
43498         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43499         * debug/backtracesymsfd.c: ... here.
43500         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43501         * sysdeps/generic/ifunc-sel.h: ... here.
43503         * sysdeps/unix/i386/start.c: Delete file.
43504         * sysdeps/unix/sparc/start.c: Delete file.
43505         * sysdeps/unix/start.c: Delete file.
43507         * sysdeps/sh/elf/configure.in: Moved to ...
43508         * sysdeps/sh/configure.in: ... here.
43509         * sysdeps/sh/elf/start.S: Moved to ...
43510         * sysdeps/sh/start.S: ... here.
43511         * sysdeps/sh/elf/configure: Delete file.
43513         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43514         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43515         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43516         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43517         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43518         * sysdeps/powerpc/powerpc64/start.S: here.
43519         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43520         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43521         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43522         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43523         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43525         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43526         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43527         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43528         * sysdeps/powerpc/powerpc32/start.S: ... here.
43529         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43530         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43531         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43533         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43534         * sysdeps/powerpc/ifunc-sel.h: ... here.
43535         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43536         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43538         * sysdeps/sparc/elf/configure.in: Moved to ...
43539         * sysdeps/sparc/configure.in: ... here.
43540         * sysdeps/sparc/elf/configure: Delete file.
43541         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43542         * sysdeps/sparc/sparc32/start.S: ... here.
43543         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43544         * sysdeps/sparc/sparc64/start.S: ... here.
43545         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43546         * sysdeps/sparc/sparc32/Makefile: ... this.
43547         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43548         * sysdeps/sparc/sparc64/Makefile: ... this.
43550         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43551         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43552         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43553         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43554         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43555         * sysdeps/s390/s390-32/setjmp.S: ... here.
43556         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43557         * sysdeps/s390/s390-32/configure.in: ... here.
43558         * sysdeps/s390/s390-32/elf/configure: Delete file.
43559         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43560         * sysdeps/s390/s390-32/start.S: ... here.
43562         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43563         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43564         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43565         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43566         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43567         * sysdeps/s390/s390-64/setjmp.S: ... here.
43568         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43569         * sysdeps/s390/s390-64/configure.in: ... here
43570         * sysdeps/s390/s390-64/elf/configure: Delete file.
43571         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43572         * sysdeps/s390/s390-64/start.S: ... here.
43573         * sysdeps/s390/s390-64/elf/configure: Delete.
43575         * configure.in: Remove support for elf directories in sysdeps.
43577         * configure: Regenerated.
43578         * sysdeps/i386/configure: Regenerated.
43579         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43580         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43581         * sysdeps/s390/s390-32/configure: Regenerated.
43582         * sysdeps/s390/s390-64/configure: Regenerated.
43583         * sysdeps/sh/configure: Regenerated.
43584         * sysdeps/sparc/configure: Regenerated.
43585         * sysdeps/x86_64/configure: Regenerated.
43587 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43591         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43592         denormal result into account.
43594 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43596         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43597         Reported by Allan McRae <allan@archlinux.org>.
43599 2012-03-23  Jeff Law  <law@redhat.com>
43601         * nss/getnssent.c (__nss_getent): Fix typo.
43603 2012-03-23  David S. Miller  <davem@davemloft.net>
43605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43607 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43609         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43610         to pad to uint64_t for each field.
43611         (dl_tls_index): Replace unsigned long with uint64_t.
43613 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43614         Paul Pluzhnikov  <ppluzhnikov@google.com>
43616         [BZ #6528]
43617         * grp/Makefile (otherlibs): Don't set it.
43618         * inet/Makefile (otherlibs): Likewise.
43619         * login/Makefile (otherlibs): Likewise.
43620         * nscd/Makefile (otherlibs): Likewise.
43621         * posix/Makefile (otherlibs): Likewise.
43622         * pwd/Makefile (otherlibs): Likewise.
43623         * rt/Makefile (otherlibs): Likewise.
43624         * sunrpc/Makefile (otherlibs): Likewise.
43625         * nss/Makefile (otherlibs): Likewise.
43626         Add libnss_files to routines and static-only-routines.
43627         ($(objpfx)getent): Remove rule.
43628         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43629         static-only-routines.
43631 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43633         [BZ #13892]
43634         * math/s_cexp.c: Include <float.h>.
43635         (__cexp): Handle exp result overflowing not necessarily
43636         overflowing both real and imaginary parts of result.
43637         * math/s_cexpf.c: Likewise.
43638         * math/s_cexpl.c: Likewise.
43639         * math/libm-test.inc (cexp_test): Add more tests.
43640         * sysdeps/i386/fpu/libm-test-ulps: Update.
43641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43643 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43645         * include/link.h (ELFW): New macro.
43646         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43647         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43649 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43651         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43652         with uint64_t.
43654 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43656         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43657         declaration.
43658         (struct La_x32_retval): Likewise.
43660 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43662         * sysdeps/x86_64/preconfigure.in: New file.
43663         * sysdeps/x86_64/preconfigure: New generated file.
43665 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43667         [BZ #13824]
43668         * math/e_exp2l.c: Include <float.h>.
43669         (__ieee754_exp2l): Handle overflow and underflow cases
43670         separately.  Only pass fractional part of argument to
43671         __ieee754_expl.
43672         * math/libm-test.inc (exp2_test): Add more tests.
43674         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43675         negating x to take absolute value.
43676         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43677         Likewise.
43678         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43679         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43680         Likewise.
43681         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43682         computing low part if x was negated.
43683         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43685 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43687         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43688         la_x32_gnu_pltexit.
43689         (pltexit): Cast int_retval to ptrdiff_t.
43690         * elf/tst-auditmod3b.c: Likewise.
43691         * elf/tst-auditmod4b.c: Likewise.
43692         * elf/tst-auditmod5b.c: Likewise.
43693         * elf/tst-auditmod6b.c: Likewise.
43694         * elf/tst-auditmod6c.c: Likewise.
43695         * elf/tst-auditmod7b.c: Likewise.
43697         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43698         and x32_gnu_pltexit.
43700         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43701         __ELF_NATIVE_CLASS.
43702         (La_x32_regs): New macro.
43703         (La_x32_retval): Likewise.
43704         (la_x32_gnu_pltenter): New function prototype.
43705         (la_x32_gnu_pltexit): Likewise.
43707 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43709         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43710         exponent.
43712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43714         * configure.in (libc_cv_cc_nofma): Check for option to disable
43715         generation of FMA instructions.
43716         * configure: Regenerate.
43717         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43718         * sysdeps/ieee754/dbl-64/Makefile: New file.
43719         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43720         Remove brandred-fma4.
43721         (CFLAGS-brandred-fma4.c): Remove.
43722         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43723         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43724         define.
43725         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43726         define.
43728 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43730         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43731         LLONG_MAX != LONG_MAX.
43732         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43733         (_fitoa_word): Likewise.
43734         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43735         LLONG_MAX != LONG_MAX.
43736         * stdio-common/_itowa.h: Include <_itoa.h>.
43737         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43738         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43739         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43740         only if not defined.
43741         (_ITOA_WORD_TYPE): Likewise.
43742         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43743         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43745 2012-03-21  David S. Miller  <davem@davemloft.net>
43747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43749 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43751         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43752         of x86_64 when setting libc_cv_slibdir, libdir and
43753         libc_cv_localedir.
43754         * sysdeps/unix/sysv/linux/configure: Regenerated.
43756 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43758         * manual/lang.texi (Old Varargs): Remove section.
43759         (How Variadic): Update menu.
43760         (va_start): Do not mention varargs.h.
43762 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43763             Joseph Myers  <joseph@codesourcery.com>
43765         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43766         link test.
43767         * configure: Regenerated.
43769 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43771         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43772         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43773         conformtest.pl
43775 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43777         * NOTES: Remove.
43778         * Makefile (files-for-dist): Remove NOTES.
43779         (NOTES): Remove rule.
43780         * README: Don't refer to NOTES.
43781         * manual/creature.texi: Don't include macros.texi.
43782         * manual/intro.texi (creature.texi): Remove comment referring to
43783         NOTES.
43785         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43786         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43787         * configure: Regenerated.
43788         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43789         LIBC_TRY_CC_OPTION.
43790         (libc_cv_as_i686): Likewise.
43791         (libc_cv_cc_avx): Likewise.
43792         (libc_cv_cc_sse2avx): Likewise.
43793         (libc_cv_cc_fma4): Likewise.
43794         (libc_cv_cc_novzeroupper): Likewise.
43795         * sysdeps/i386/configure: Regenerated.
43797         [BZ #13883]
43798         * sysdeps/i386/fpu/s_cexp.S: Remove.
43799         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43800         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43801         * math/libm-test.inc (cexp_test): Add more tests.
43802         * sysdeps/i386/fpu/libm-test-ulps: Update.
43803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43805 2012-03-21  Allan McRae  <allan@archlinux.org>
43807         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43809 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43811         [BZ #13871]
43812         * math/w_exp2.c: Do not include <float.h>.
43813         (o_threshold, u_threshold): Remove.
43814         (__exp2): Calculate result before checking finiteness and calling
43815         __kernel_standard.
43816         * math/w_exp2f.c: Likewise.
43817         * math/w_exp2l.c: Likewise.
43818         * math/libm-test.inc (exp2_test): Require overflow exception for
43819         1e6 input.
43821         [BZ #3866]
43822         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43823         range of signed 64-bit integers before using fistpll.  Remove
43824         checks for whether integers fit in mantissa bits.
43825         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43826         the range of signed 32-bit integers before using fistpl.  Remove
43827         checks for whether integers fit in mantissa bits.
43828         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43829         (__ieee754_powl): Test for y outside the range of signed 64-bit
43830         integers before using fistpll.  Reduce 64-bit values to 63-bit
43831         ones as needed.
43832         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43833         divide-by-zero is raised for zero to large negative powers.
43834         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43835         (__ieee754_powl): Test for y outside the range of signed 64-bit
43836         integers before using fistpll.  Reduce 64-bit values to 63-bit
43837         ones as needed.
43838         * math/libm-test.inc (pow_test): Add more tests.
43840 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43842         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43843         <stdio-common/_itoa.h>.
43844         * debug/segfault.c: Likewise.
43845         * elf/dl-cache.c: Likewise.
43846         * elf/dl-minimal.c: Likewise.
43847         * elf/dl-misc.c: Likewise.
43848         * elf/dl-sysdep.c: Likewise.
43849         * elf/dl-version.c: Likewise.
43850         * elf/rtld.c: Likewise.
43851         * hurd/hurdsock.c: Likewise.
43852         * hurd/lookup-retry.c: Likewise.
43853         * malloc/malloc.c: Likewise.
43854         * malloc/mtrace.c: Likewise.
43855         * nscd/nscd_getgr_r.c: Likewise.
43856         * nscd/nscd_getpw_r.c: Likewise.
43857         * nscd/nscd_getserv_r.c: Likewise.
43858         * posix/getopt_init.c: Likewise.
43859         * posix/wordexp.c: Likewise.
43860         * stdio-common/_itoa.c: Likewise.
43861         * stdio-common/printf_fphex.c: Likewise.
43862         * stdio-common/vfprintf.c: Likewise.
43863         * string/_strerror.c: Likewise.
43864         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43865         * sysdeps/i386/i686/hp-timing.h: Likewise.
43866         * sysdeps/mach/_strerror.c: Likewise.
43867         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43868         * sysdeps/mach/hurd/sethostid.c: Likewise.
43869         * sysdeps/mach/hurd/xmknodat.c: Likewise.
43870         * sysdeps/mach/xpg-strerror.c: Likewise.
43871         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43872         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43873         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43874         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43875         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43876         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43877         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43878         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43879         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43880         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43881         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43882         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43883         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43884         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43885         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43886         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43887         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43888         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43889         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43890         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43891         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43893         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43895         * stdio-common/_itoa.h: Moved to ...
43896         * sysdeps/generic/_itoa.h: Here.
43898         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43900         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43901         instead of "_itoa.h" and "_itowa.h".
43902         * stdio-common/vfprintf.: Likewise.
43904 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43906         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43907         <bits/wordsize.h>.
43908         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43909         (__signbit): Likwise.
43910         (llrintf): Likwise.
43911         (llrint): Likwise.
43913 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43915         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43916         __WORDSIZE != 64.
43918 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
43920         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43921         OVERFLOW_EXCEPTION_OK.
43922         * math/libm-test.inc ("Philosophy"): Update comment about
43923         exception testing.
43924         (OVERFLOW_EXCEPTION): Define.
43925         (OVERFLOW_EXCEPTION_OK): Likewise.
43926         (INVALID_EXCEPTION_OK): Renumber.
43927         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43928         (IGNORE_ZERO_INF_SIGN): Likewise.
43929         (test_exceptions): Handle FE_OVERFLOW.
43930         (exp10_test): Expect overflow exceptions.
43931         (exp2_test): Likewise.
43932         (expm1_test): Likewise.
43933         (nextafter_test): Likewise.
43934         (pow_test): Likewise.
43935         (scalbn_test): Likewise.
43936         (scalbln_test): Likewise.
43938 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43940         * sysdeps/x86_64/bits/atomic.h
43941         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43942         64bit integer.
43943         (atomic_exchange_acq): Likewise.
43944         (__arch_exchange_and_add_body): Likewise.
43945         (__arch_add_body): Likewise.
43946         (atomic_add_negative): Likewise.
43947         (atomic_add_zero): Likewise.
43949 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43951         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43952         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43954 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43956         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43957         Check __x86_64__ instead of __WORDSIZE.
43959 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43961         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43963 2012-03-19  David S. Miller  <davem@davemloft.net>
43965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43967         * sysdeps/sparc/fpu/fenv_private.h: New file.
43968         * sysdeps/sparc/fpu/math_private.h: Use it.
43969         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43970         Remove.
43971         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43972         (libc_feholdexcept_setroundl): Remove.
43973         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43974         Remove.
43975         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43976         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43978 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43980         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43981         int64_t instead of long int.
43982         (INSERT_WORDS64): Likwise.
43984 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43986         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43987         _Unwind_GetCFA return to _Unwind_Ptr first.
43989 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
43991         [BZ #13629]
43992         * math/s_clog.c: Include <float.h>.
43993         (__clog): Scale large or subnormal inputs.
43994         * math/s_clogf.c: Likewise.
43995         * math/s_clogl.c: Likewise.
43996         * math/s_clog10.c: Include <float.h>.
43997         (M_LOG10_2): Define.
43998         (__clog10): Scale large or subnormal inputs.
43999         * math/s_clog10f.c: Likewise.
44000         * math/s_clog10l.c: Likewise.
44001         * math/libm-test.inc (clog_test): Add more tests.
44002         (clog10_test): Likewise.
44003         * sysdeps/i386/fpu/libm-test-ulps: Update.
44004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44006         [BZ #11451]
44007         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44008         x and y.
44009         * math/libm-test.inc (atan2_test): Add another test.
44011         * Makerules (common-objdir-compile): Remove.
44012         * sysdeps/unix/Makefile (config-generated): Do not add
44013         $(unix-generated) to variable.
44014         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44015         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44016         Remove rule.
44017         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44018         Likewise.
44019         [generic bits/local_lim.h] (before-compile): Do not append to
44020         variable.
44021         [generic bits/local_lim.h] (common-generated): Likewise.
44022         [generic sys/param.h] (before-compile): Do not append to variable.
44023         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44024         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44025         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44026         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44027         include.
44028         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44029         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44030         [generic sys/param.h] ($(addprefix
44031         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44032         [generic sys/param.h] (common-generated): Do not append to
44033         variable.
44034         [generic sys/param.h] (sysdep_headers): Likewise.
44035         [generic bits/errno.h] (before-compile): Do not append to
44036         variable.
44037         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44038         rule.
44039         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44040         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44041         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44042         [generic bits/errno.h] (common-generated): Do not append to
44043         variable.
44044         [generic bits/ioctls.h] (before-compile): Do not append to
44045         variable.
44046         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44047         rule.
44048         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44049         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44050         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44051         rule.
44052         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44053         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44054         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44055         [generic bits/ioctls.h] (common-generated): Do not append to
44056         variable.
44057         [generic sys/syscall.h] (syscall.h): Remove variable.
44058         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44059         rule.
44060         [generic sys/syscall.h] (before-compile): Do not append to
44061         variable.
44062         [generic sys/syscall.h] (common-generated): Likewise.
44063         * sysdeps/unix/errnos-tmpl.c: Remove file.
44064         * sysdeps/unix/errnos.awk: Likewise.
44065         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44066         * sysdeps/unix/ioctls.awk: Likewise.
44067         * sysdeps/unix/mk-local_lim.c: Likewise.
44068         * sysdeps/unix/snarf-ioctls: Likewise.
44070 2012-03-19  Richard Henderson  <rth@twiddle.net>
44072         * sysdeps/i386/fpu/fenv_private.h: New file.
44073         * sysdeps/i386/fpu/math_private.h: Use it.
44074         (math_opt_barrier, math_force_eval): Remove.
44075         (libc_feholdexcept_setround_53bit): Remove.
44076         (libc_feupdateenv_53bit): Remove.
44077         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44078         (math_opt_barrier, math_force_eval): Remove.
44079         (libc_feholdexcept): Remove.
44080         (libc_feholdexcept_setround): Remove.
44081         (libc_fetestexcept, libc_fesetenv): Remove.
44082         (libc_feupdateenv_test): Remove.
44083         (libc_feupdateenv, libc_feholdsetround): Remove.
44084         (libc_feresetround): Remove.
44086         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44087         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44089         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44090         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44091         (libc_feupdateenv_testl): New.
44092         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44093         (libc_feupdateenv_testf): New.
44094         (libc_feupdateenv): Use libc_feupdateenv_test.
44095         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44096         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44098         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44099         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44100         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44101         (libc_feresetround_noex): New.
44102         (libc_feresetround_noexf): New.
44103         (libc_feresetround_noexl): New.
44104         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44105         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44106         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44107         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44108         SET_RESTORE_ROUND.
44109         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44110         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44111         (__cos): Likewise.
44112         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44113         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44114         SET_RESTORE_ROUND_NOEX.
44115         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44116         SET_RESTORE_ROUND_NOEXF.
44117         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44118         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44119         (libc_feholdsetroundf): New.
44120         (libc_feresetround, libc_feresetroundf): New.
44122         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44123         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44124         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44126         * sysdeps/generic/math_private.h: Include <fenv.h>.
44127         (default_libc_feholdexcept): New.
44128         (default_libc_feholdexcept_setround): New.
44129         (default_libc_fesetenv, default_libc_feupdateenv): New.
44130         (libc_feholdexcept): Only define if undefined.
44131         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44132         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44133         (libc_feholdexcept_setroundl): Likewise.
44134         (libc_feholdexcept_setround_53bit): Likewise.
44135         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44136         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44137         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44138         (libc_feupdateenv_53bit): Likewise.
44139         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44140         (libc_feholdexcept): Convert from macro to inline function.
44141         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44142         (libc_fesetenv, libc_feupdateenv): Likewise.
44144         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44145         not previously defined.
44146         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44147         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44148         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44149         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44150         * sysdeps/ieee754/flt-32/math_private.h: New file.
44151         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44152         math_private.h below SET_FLOAT_WORD.
44153         (__isnan, __isinf_ns, __finite): Remove.
44154         (__isnanf, __isinf_nsf, __finitef): Remove.
44156 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44160 2012-03-17  David S. Miller  <davem@davemloft.net>
44162         [BZ #6471]
44163         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44164         for 2.16.
44166 2012-03-16  David S. Miller  <davem@davemloft.net>
44168         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44169         warnings.
44171         [BZ #6471]
44172         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44173         properly.
44174         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44175         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44176         sysdep_routines when subdir is sysvipc.
44177         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44178         __getshmlba helper.
44180         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44182 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44184         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44185         [__LP64__].
44187 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44189         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44190         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44191         (__lround): Renamed to ...
44192         (__llround): This.  Replace long int with long long int.
44193         Define lround functions as aliases of llround functions.
44194         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44196 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44198         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44199         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44200         adresses to uintptr_t.  Replace "long int" and "unsigned long
44201         int" with "greg_t" on va_arg.
44203 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44205         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44206         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44208         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44209         Move e_machine check before EI_CLASS check.  Handle x32
44210         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44211         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44212         SKIP_EM_IA_64 and include
44213         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44215         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44216         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44217         (add_system_dir): New macro.
44219         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44220         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44222 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44224         [BZ #2551]
44225         [BZ #2552]
44226         [BZ #2553]
44227         [BZ #2554]
44228         [BZ #2562]
44229         [BZ #2563]
44230         [BZ #2565]
44231         [BZ #2566]
44232         [BZ #2576]
44233         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44234         (y0): Likewise.
44235         * math/w_j0f.c (j0f): Likewise.
44236         (y0f): Likewise.
44237         * math/w_j0l.c (__j0l): Likewise.
44238         (__y0l): Likewise.
44239         * math/w_j1.c (j1): Likewise.
44240         (y1): Likewise.
44241         * math/w_j1f.c (j1f): Likewise.
44242         (y1f): Likewise.
44243         * math/w_j1l.c (__j1l): Likewise.
44244         (__y1l): Likewise.
44245         * math/w_jn.c (jn): Likewise.
44246         (yn): Likewise.
44247         * math/w_jnf.c (jnf): Likewise.
44248         (ynf): Likewise.
44249         * math/w_jnl.c (__jnl): Likewise.
44250         (__ynl): Likewise.
44251         * math/libm-test.inc (j0_test): Add more tests.
44252         (j1_test): Likewise.
44253         (jn_test): Likewise.  Add trailing semicolon to existing test.
44254         (y0_test): Likewise.
44255         (y1_test): Likewise.
44256         * sysdeps/i386/fpu/libm-test-ulps: Update.
44257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44259         [BZ #13851]
44260         [BZ #13854]
44261         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44262         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44263         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44264         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44265         (__tanl): Set errno for infinite argument.
44266         * sysdeps/i386/fpu/mptan.c: Remove.
44267         * sysdeps/i386/fpu/s_tan.S: Likewise.
44268         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44269         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44270         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44271         * math/libm-test.inc (tan_test): Add more tests and enable more
44272         tests for double and long double.
44273         * sysdeps/i386/fpu/libm-test-ulps: Update.
44274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44276 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44278         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44279         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44281 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44283         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44284         * configure.in: Use it for both main tree and add-ons.
44285         * configure: Regenerated.
44287 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44289         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44291 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44293         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44294         in comment.
44296         [BZ #13851]
44297         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44298         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44299         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44300         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44301         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44302         infinite argument.
44303         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44304         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44305         != 0 for prec == 2.
44306         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44307         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44308         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44309         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44310         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44311         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44312         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44313         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44314         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44315         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44316         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44317         * math/libm-test.inc (cos_test): Add more tests and enable more
44318         tests for long double.
44319         (sin_test): Likewise.
44320         (sincos_test): Likewise.
44321         * sysdeps/i386/fpu/libm-test-ulps: Update.
44322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44324 2012-03-16  David S. Miller  <davem@davemloft.net>
44326         * sysdeps/sparc/fpu/math_private.h: New file.
44328 2012-03-15  David S. Miller  <davem@davemloft.net>
44330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44331         file.
44332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44334         file.
44335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44337         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44338         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44339         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44340         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44341         sysdep routines.
44342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44344         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44345         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44347         * sysdeps/sparc/sparc-ifunc.h: New file.
44348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44349         sparc-ifunc.h
44350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44352         Likewise.
44353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44354         Likewise.
44355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44359         Likewise.
44360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44365         Likewise.
44366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44367         Likewise.
44368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44373         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44374         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44375         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44377         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44385         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44386         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44387         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44388         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44389         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44390         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44391         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44393 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44395         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44396         scaling.
44397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44399 2012-03-15  Andreas Jaeger  <aj@suse.de>
44401         [BZ #13852]
44402         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44403         ieee754/flt-32 implementation for sin, cos and sincos.
44404         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44405         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44406         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44407         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44408         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44409         ieee754/flt-32 implementation for tan.
44411         * math/libm-test.inc (cos_test): Enable some large input tests for
44412         float as well
44413         (sin_test): Likewise.
44414         (sincos_test): Likewise.
44415         (tan_test): Add tests for large input.
44417         * sysdeps/i386/fpu/libm-test-ulps: Update.
44419 2012-03-15  Andreas Jaeger  <aj@suse.de>
44421         [BZ #13658]
44422         * math/libm-test.inc (cos_test): Add more test cases.
44423         (sin_test): Likewise.
44424         (sincos_test): Likewise.
44426 2012-03-15  Andreas Jaeger  <aj@suse.de>
44428         [BZ #13837]
44429         * math/libm-test.inc (cos_test): Add a test case for large input
44430         value.
44431         (sin_test): Likewise.
44432         (sincos_test): Likewise.
44434 2012-03-15  Andreas Jaeger  <aj@suse.de>
44435             Joseph Myers  <joseph@codesourcery.com>
44437         [BZ #13658]
44438         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44439         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44440         * sysdeps/i386/fpu/branred.c: Likewise.
44441         * sysdeps/i386/fpu/dosincos.c: Likewise.
44442         * sysdeps/i386/fpu/mpa.c: Likewise.
44443         * sysdeps/i386/fpu/s_cos.S: Likewise.
44444         * sysdeps/i386/fpu/s_sin.S: Likewise.
44445         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44446         * sysdeps/i386/fpu/sincos32.c: Likewise.
44448         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44449         Define.
44450         (libc_feupdateenv_53bit): Define.
44451         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44452         Define.
44453         (libc_feupdateenv_53bit): Define.
44455         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44456         53 bit (without extend i386 double precision).
44458         * math/libm-test.inc (sincos_test): Add tests for large input.
44459         (sin): Likewise.
44460         (cos): Likewise.
44462         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44464 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44468 2012-03-15  David S. Miller  <davem@davemloft.net>
44470         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44471         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44472         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44473         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44486         file.
44487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44489         file.
44490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44492         file.
44493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44495         file.
44496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44497         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44498         fmin/fmax sysdep routines.
44499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44501 2012-03-14  David S. Miller  <davem@davemloft.net>
44503         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44504         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44505         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44506         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44507         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44508         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44509         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44510         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44514         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44515         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44516         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44518         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44520         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44521         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44522         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44523         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44524         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44525         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44526         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44527         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44528         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44529         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44530         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44531         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44532         routines.
44533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44534         file.
44535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44537         file.
44538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44540         file.
44541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44543         file.
44544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44546         file.
44547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44549         file.
44550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44551         file.
44552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44553         file.
44554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44555         file.
44556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44557         New file.
44558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44559         file.
44560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44561         file.
44562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44564         file.
44565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44567         file.
44568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44570         file.
44571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44573         VIS3 routines.
44575         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44576         New file.
44578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44580         * sysdeps/sparc/configure.in: New file.
44581         * sysdeps/sparc/configure: Generate.
44582         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44583         * configure: Regenerate.
44584         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44585         * config.make.in (have-as-vis3): New.
44586         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44587         available use -Av9d instead of -Av9a.
44588         * sysdeps/sparc/sparc64/Makefile: Likewise.
44589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44591         New file.
44592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44593         file.
44594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44595         New file.
44596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44597         file.
44598         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44599         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44600         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44601         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44602         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44604         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44605         fzeros/fnegs to load 0x80000000 into a float register instead of
44606         using the stack.
44607         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44609 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44611         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44612         bits/syscall.h.
44613         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44614         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44615         ($(inst_includedir)/bits/syscall.h): Remove rule.
44616         ($(objpfx)bits/syscall.d): Include instead of
44617         $(objpfx)syscall-list.d.
44618         (generated): Change syscall-list.h and syscall-list.d to
44619         bits/syscall.h and bits/syscall.d.
44621 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44623         [BZ #13846]
44624         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44626 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44628         [BZ #13841]
44629         * math/s_csqrt.c: Include <float.h>.
44630         (__csqrt): Scale large or subnormal inputs.
44631         * math/s_csqrtf.c: Likewise.
44632         * math/s_csqrtl.c: Likewise.
44633         * math/libm-test.inc (csqrt_test): Add more tests.
44634         * sysdeps/i386/fpu/libm-test-ulps: Update.
44635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44637         [BZ #13840]
44638         * math/libm-test.inc (hypot_test): Add more tests.
44640 2012-03-13  David S. Miller  <davem@davemloft.net>
44642         [BZ #13840]
44643         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44644         double-precision for the calculation instead of scaling.
44646 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44648         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44649         manipulate bits before adding and subtracting TWO52[sx].
44650         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44651         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44652         Likewise.
44653         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44655 2012-03-13  David S. Miller  <davem@davemloft.net>
44657         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44658         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44659         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44660         rtld-global-offsets.h
44661         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44663         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44664         large parameters.
44666         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44668         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44669         'err' in the ifdef scope in which it is actually used.
44671         * nss/nss_db/db-init.c: Include string.h
44673 2012-03-12  David S. Miller  <davem@davemloft.net>
44675         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44676         masking out of the most significant byte of random value used.
44677         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44678         Fix coding style in previous change.
44680         * sysdeps/unix/sysv/linux/kernel-features.h
44681         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44682         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44683         expression.
44684         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44685         later.
44687 2012-03-11  David S. Miller  <davem@davemloft.net>
44689         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44690         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44691         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44692         for 'resultvar' otherwise things get truncated on 64-bit.
44694         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44695         Fix masking out of the most significant byte of random value used.
44697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44699 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44703 2012-03-09  David S. Miller  <davem@davemloft.net>
44705         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44706         variables with appropriate CPP guards.
44707         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44708         from the frame pointer, not the stack pointer.  Correct layout
44709         comments.  Fix test on resulting framesize and the management of
44710         the outregs buffer for pltexit.  Preserve floating point return
44711         values across _dl_call_pltexit call.
44712         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44713         framesize and the management of the outregs buffer for pltexit.
44714         Preserve floating point return values across _dl_call_pltexit
44715         call.
44716         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44717         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44718         (la_sparc64_gnu_pltexit): New functions.
44719         (print_exit): Fix format string for return register value.
44721 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44723         * sunrpc/Makefile (others): Add rpcgen.
44724         ($(objpfx)rpcgen): Remove special build rule and dependency on
44725         libc.
44726         * sunrpc/rpcgen.c: New file.
44728 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44730         [BZ #13673]
44731         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44732         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44733         * sysdeps/i386/crti.S: Likewise.
44734         * sysdeps/i386/crtn.S: Likewise.
44735         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44736         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44737         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44738         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44739         * sysdeps/sh/crti.S: Likewise.
44740         * sysdeps/sh/crtn.S: Likewise.
44741         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44743         [BZ #13673]
44744         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44745         with URL.
44746         * locale/programs/locfile-kw.gperf: Likewise.
44747         * locale/programs/charmap-kw.h: Regenerated.
44748         * locale/programs/locfile-kw.h: Likewise.
44750         [BZ #13673]
44751         * intl/plural.y: Replace FSF snail mail address with URL.
44752         * intl/plural.c: Regenerated.
44754 2012-03-09  Richard Henderson  <rth@twiddle.net>
44756         * include/math_private.h: Remove file.
44757         * math/math_private.h: Move file ...
44758         * sysdeps/generic/math_private.h: ... here.
44760         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44761         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44762         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44764         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44765         and <math_private.h>.
44766         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44767         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44768         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44769         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44770         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44771         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44772         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44773         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44774         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44775         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44776         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44777         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44778         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44779         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44780         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44781         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44782         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44783         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44784         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44785         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44786         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44787         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44788         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44789         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44790         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44791         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44792         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44793         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44794         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44795         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44796         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44797         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44798         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44799         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44800         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44801         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44802         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44803         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44804         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44805         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44806         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44807         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44808         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44809         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44810         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44811         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44812         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44813         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44814         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44815         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44816         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44817         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44818         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44819         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44820         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44821         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44822         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44823         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44824         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44825         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44826         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44827         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44828         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44829         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44830         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44831         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44832         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44833         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44834         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44835         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44836         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44837         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44838         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44839         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44840         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44841         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44842         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44843         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44844         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44845         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44846         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44847         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44848         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44849         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44850         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44851         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44852         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44853         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44854         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44855         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44856         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44857         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44858         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44859         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44860         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44861         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44862         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44863         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44864         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44865         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44866         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44867         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44868         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44869         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44870         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44871         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44872         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44873         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44874         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44875         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44876         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44877         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44878         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44879         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44880         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44881         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44882         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44883         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44884         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44885         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44886         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44887         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44888         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44889         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44890         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44891         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44892         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44893         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44894         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44895         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44896         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44897         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44898         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44899         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44900         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44901         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44902         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44903         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44904         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44905         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44906         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44907         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44908         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44909         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44910         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44911         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44912         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44913         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44914         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44915         * sysdeps/ieee754/k_standard.c: Likewise.
44916         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44917         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44918         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44919         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44920         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44921         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44922         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44923         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44924         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44925         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44926         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44927         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44928         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44929         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44930         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44931         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44932         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44933         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44934         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44935         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44936         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44937         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44938         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44939         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44940         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44941         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44942         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44943         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44944         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44945         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44946         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44947         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44948         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44949         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44950         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44951         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44952         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44953         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44954         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44955         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44956         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44957         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44958         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44959         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44960         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44961         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44962         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44963         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44964         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44965         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44966         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44967         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44968         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44969         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44970         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44971         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44972         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44973         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44974         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44975         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44976         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44977         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44978         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44979         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44980         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44981         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44982         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44983         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44984         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44985         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44986         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44987         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44988         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44989         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44990         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44991         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44992         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44993         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44994         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44995         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44996         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44997         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44998         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44999         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45000         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45001         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45002         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45003         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45004         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45005         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45006         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45007         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45008         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45009         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45010         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45011         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45012         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45013         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45014         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45015         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45016         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45017         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45018         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45019         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45020         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45021         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45022         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45023         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45024         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45025         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45026         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45027         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45028         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45029         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45030         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45031         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45032         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45033         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45034         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45035         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45036         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45037         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45038         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45039         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45040         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45041         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45042         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45043         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45044         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45045         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45046         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45047         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45048         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45049         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45050         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45051         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45052         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45053         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45054         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45055         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45056         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45057         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45058         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45059         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45060         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45061         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45062         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45063         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45064         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45065         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45066         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45067         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45068         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45069         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45070         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45071         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45072         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45073         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45074         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45075         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45076         * sysdeps/ieee754/s_lib_version.c: Likewise.
45077         * sysdeps/ieee754/s_matherr.c: Likewise.
45078         * sysdeps/ieee754/s_signgam.c: Likewise.
45079         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45080         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45081         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45082         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45083         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45084         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45085         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45086         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45087         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45088         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45089         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45090         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45091         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45092         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45093         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45094         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45095         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45096         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45097         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45098         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45099         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45101 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45103         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45104         * sunrpc/rpc_main.c: Likewise.
45105         * sunrpc/rpc_svcout.c: Likewise.
45107 2012-03-09  David S. Miller  <davem@davemloft.net>
45109         * include/math_private.h: New file.
45111 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45113         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45114         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45115         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45116         from <bits/socket_type.h>.
45117         (enum __socket_type): Don't define here.
45118         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45119         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45120         bits/socket_type.h.
45122         [BZ #13566]
45123         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45124         checking __USE_GNU.
45126         * Makerules ($(inst_includedir)/%.h): New rule.
45127         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45128         (install-others): Remove variable setting.
45129         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45131 2012-03-08  Richard Henderson  <rth@twiddle.net>
45133         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45134         from macro to inline function; merge with the
45135         !__LIBC_INTERNAL_MATH_INLINES version.
45136         (__ieee754_sqrtf): Likewise.
45138         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45139         to inline function.
45140         (__rintf, __floor, __floorf): Likewise.
45142         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45143         macro to inline function.
45144         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45146         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45147         not <math/math_private.h>.
45149 2012-03-08  David S. Miller  <davem@davemloft.net>
45151         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45152         copyright year.
45153         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45155 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45157         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45158         normalization.
45159         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45160         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45162 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45164         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45165         be defined individually, they must be defined as a block.  Define
45166         S for printing a string instead of hidint the different by using a
45167         macro for adding the 'l'.
45168         * stdio-common/tst-fphex-wide.c: Adjust.
45170 2012-03-07  Marek Polacek  <polacek@redhat.com>
45172         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45174 2012-03-08  Marek Polacek  <polacek@redhat.com>
45176         [BZ #13806]
45177         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45178         * stdio-common/tst-fphex.c: Define a few macros to make the
45179         test reusable.  Use them.
45180         * stdio-common/tst-fphex-wide.c: New file.
45182 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45184         [BZ #6911]
45185         * manual/macros.texi (gnusystems): New macro.
45186         (nongnusystems): Likewise.
45187         (gnulinuxhurdsystems): Likewise.
45188         (gnuhurdsystems): Likewise..
45189         (gnulinuxsystems): Likewise.
45190         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45191         variants of the GNU system, not "GNU system".
45192         * manual/conf.texi: Likewise.
45193         * manual/errno.texi: Likewise.  Update example of errno macro
45194         expansion.
45195         * manual/filesys.texi: Likewise.
45196         (getumask): Document as specific to GNU/Hurd.
45197         * manual/install.texi: Likewise.  Reword some references to
45198         GNU/Linux.
45199         * manual/intro.texi: Likewise.
45200         * manual/io.texi: Likewise.
45201         (File Name Portability): Detail which constraints are inapplicable
45202         to all GNU systems and which are only inapplicable to GNU/Hurd.
45203         * manual/job.texi: Likewise.
45204         * manual/llio.texi: Likewise.
45205         (O_NOCTTY): Document as present on GNU/Linux.
45206         * manual/maint.texi: Likewise.
45207         * manual/memory.texi: Likewise.
45208         * manual/pattern.texi: Likewise.
45209         * manual/pipe.texi: Likewise.
45210         * manual/process.texi: Likewise.
45211         * manual/resource.texi: Likewise.
45212         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45213         child on GNU/Hurd.
45214         * manual/setjmp.texi: Likewise.
45215         * manual/signal.texi: Likewise.
45216         * manual/startup.texi: Likewise.
45217         * manual/stdio.texi: Likewise.
45218         * manual/terminal.texi: Likewise.
45219         (ONLCR): Document as POSIX.
45220         (OXTABS): Document availability on GNU/Linux as XTABS.
45221         (ONOEOT): Document availability separately from other bits.
45222         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45223         * manual/time.texi: Likewise.
45224         * manual/users.texi: Likewise.
45225         * INSTALL: Regenerated.
45226         * sysdeps/gnu/errlist.c: Regenerated.
45228         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45229         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45230         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45231         puts.
45232         * configure: Regenerated.
45234 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45236         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45237         default includes instead of AC_HEADER_CHECK.
45238         * sysdeps/i386/configure: Regenerated.
45240         [BZ #10716]
45241         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45242         * math/s_cacoshf.c (__cacoshf): Likewise.
45243         * math/s_cacoshl.c (__cacoshl): Likewise.
45244         * math/s_casinh.c (__casinh): Set signs of result from argument.
45245         * math/s_casinhf.c (__casinhf): Likewise.
45246         * math/s_casinhl.c (__casinhl): Likewise.
45247         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45248         (casinh_test): Add more tests.
45249         * sysdeps/i386/fpu/libm-test-ulps: Update.
45250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45252 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45254         * po/zh_TW.po: Update from translation team.
45256         * login/Makefile (distribute): Remove variable.
45257         * catgets/Makefile: Likewise.
45258         * mach/Makefile: Likewise.
45259         * malloc/Makefile: Likewise.
45260         * misc/Makefile: Likewise.
45261         * iconv/Makefile: Likewise.
45262         * nscd/Makefile: Likewise.
45263         * hurd/Makefile: Likewise.
45264         * manual/Makefile: Likewise.
45265         * locale/Makefile: Likewise.
45266         * intl/Makefile: Likewise.
45267         * conform/Makefile: Likewise.
45268         * nss/Makefile: Likewise.
45269         * time/Makefile: Likewise.
45270         * soft-fp/Makefile: Likewise.
45271         * dirent/Makefile: Likewise.
45272         * gmon/Makefile: Likewise.
45273         * po/Makefile: Likewise.
45274         * rt/Makefile: Likewise.
45275         * socket/Makefile: Likewise.
45276         * math/Makefile: Likewise.
45277         * signal/Makefile: Likewise.
45278         * debug/Makefile: Likewise.
45279         * elf/Makefile: Likewise.
45280         * timezone/Makefile: Likewise.
45281         * stdlib/Makefile: Likewise.
45282         * iconvdata/Makefile: Likewise.
45283         * sunrpc/Makefile: Likewise.
45284         * io/Makefile: Likewise.
45285         * argp/Makefile: Likewise.
45286         * inet/Makefile: Likewise.
45287         * hesiod/Makefile: Likewise.
45288         * grp/Makefile: Likewise.
45289         * csu/Makefile: Likewise.
45290         * wctype/Makefile: Likewise.
45291         * crypt/Makefile: Likewise.
45292         * libio/Makefile: Likewise.
45293         * string/Makefile: Likewise.
45294         * nis/Makefile: Likewise.
45295         * resolv/Makefile: Likewise.
45296         * stdio-common/Makefile: Likewise.
45297         * wcsmbs/Makefile: Likewise.
45298         * dlfcn/Makefile: Likewise.
45299         * posix/Makefile: Likewise.
45301         [BZ #6959]
45302         * timezone/Makefile: Don't install timezone files, just the programs
45303         and scripts.
45305 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45307         * nss/databases.def: Add missing gshadow entry.
45309         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45311 2012-03-06  Marek Polacek  <polacek@redhat.com>
45313         [BZ #13726]
45314         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45315         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45316         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45317         * stdio-common/tst-long-dbl-fphex.c: New file.
45319 2012-03-06  David S. Miller  <davem@davemloft.net>
45321         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45322         (set_obp_int): New function.
45323         (get_obp_int): New function.
45324         (__get_clockfreq_via_dev_openprom): Likewise.
45325         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45326         Avoid unused variable warnings on 'val' and use builtin_expect.
45327         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45328         __builtin_expect.
45329         (INLINE_CLONE_SYSCALL): Likewise.
45331 2012-03-05  David S. Miller  <davem@davemloft.net>
45333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45335 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45339         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45340         only for |x| >= 40.
45341         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45343 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45345         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45346         Replace gettimeofday with __vdso_gettimeofday.
45348         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45349         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45350         __vdso_clock_gettime and __vdso_getcpu.
45352         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45353         time with __vdso_time.
45355 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45357         * manual/lang.texi (size_t): Note types to which size_t may be
45358         equivalent with the GNU C Library, but do not describe when
45359         differences between them are significant.
45361 2012-03-05  Andreas Jaeger  <aj@suse.de>
45363         * sysdeps/i386/fpu/libm-test-ulps: Update.
45365 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45367         [BZ #3976]
45368         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45369         (__ieee754_pow): Save and restore rounding mode and use
45370         round-to-nearest for main computations.
45371         * math/libm-test.inc (pow_test_tonearest): New function.
45372         (pow_test_towardzero): Likewise.
45373         (pow_test_downward): Likewise.
45374         (pow_test_upward): Likewise.
45375         (main): Call the new functions.
45376         * sysdeps/i386/fpu/libm-test-ulps: Update.
45377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45379         [BZ #3976]
45380         * math/libm-test.inc (cosh_test_tonearest): New function.
45381         (cosh_test_towardzero): Likewise.
45382         (cosh_test_downward): Likewise.
45383         (cosh_test_upward): Likewise.
45384         (sinh_test_tonearest): Likewise.
45385         (sinh_test_towardzero): Likewise.
45386         (sinh_test_downward): Likewise.
45387         (sinh_test_upward): Likewise.
45388         (main): Call the new functions.
45389         * sysdeps/i386/fpu/libm-test-ulps: Update.
45390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45392 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45394         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45395         default stack guard is set in last bytes.
45396         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45398 2012-03-05  Kees Cook  <keescook@chromium.org>
45400         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45402         [BZ #13656]
45403         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45404         possibly allocate from heap instead of stack.
45405         * stdio-common/bug-vfprintf-nargs.c: New file.
45406         * stdio-common/Makefile (tests): Add nargs overflow test.
45408 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45412 2012-03-03  Marek Polacek  <polacek@redhat.com>
45414         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45415         * math/math_private.h: Likewise.
45416         * stdlib/tst-strtod.c: Likewise.
45417         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45418         * sysdeps/x86_64/bits/atomic.h: Likewise.
45420 2012-03-02  David S. Miller  <davem@davemloft.net>
45422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45426         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45427         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45428         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45429         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45431 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45433         [BZ #13792]
45434         * manual/examples/README: New file, says the example source files
45435         can be used under GPL>=2.
45436         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45437         line containing just "*/".
45438         * manual/examples/add.c: Add copyright header (GPL>=2).
45439         * manual/examples/argp-ex1.c: Likewise.
45440         * manual/examples/argp-ex2.c: Likewise.
45441         * manual/examples/argp-ex3.c: Likewise.
45442         * manual/examples/argp-ex4.c: Likewise.
45443         * manual/examples/atexit.c: Likewise.
45444         * manual/examples/db.c: Likewise.
45445         * manual/examples/dir.c: Likewise.
45446         * manual/examples/dir2.c: Likewise.
45447         * manual/examples/execinfo.c: Likewise.
45448         * manual/examples/filecli.c: Likewise.
45449         * manual/examples/filesrv.c: Likewise.
45450         * manual/examples/fmtmsgexpl.c: Likewise.
45451         * manual/examples/genpass.c: Likewise.
45452         * manual/examples/inetcli.c: Likewise.
45453         * manual/examples/inetsrv.c: Likewise.
45454         * manual/examples/isockad.c: Likewise.
45455         * manual/examples/longopt.c: Likewise.
45456         * manual/examples/memopen.c: Likewise.
45457         * manual/examples/memstrm.c: Likewise.
45458         * manual/examples/mkfsock.c: Likewise.
45459         * manual/examples/mkisock.c: Likewise.
45460         * manual/examples/mygetpass.c: Likewise.
45461         * manual/examples/pipe.c: Likewise.
45462         * manual/examples/popen.c: Likewise.
45463         * manual/examples/rprintf.c: Likewise.
45464         * manual/examples/search.c: Likewise.
45465         * manual/examples/select.c: Likewise.
45466         * manual/examples/setjmp.c: Likewise.
45467         * manual/examples/sigh1.c: Likewise.
45468         * manual/examples/sigusr.c: Likewise.
45469         * manual/examples/stpcpy.c: Likewise.
45470         * manual/examples/strdupa.c: Likewise.
45471         * manual/examples/strftim.c: Likewise.
45472         * manual/examples/strncat.c: Likewise.
45473         * manual/examples/subopt.c: Likewise.
45474         * manual/examples/swapcontext.c: Likewise.
45475         * manual/examples/termios.c: Likewise.
45476         * manual/examples/testopt.c: Likewise.
45477         * manual/examples/testpass.c: Likewise.
45478         * manual/examples/timeval_subtract.c: Likewise.
45480         [BZ #13792]
45481         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45482         function to ...
45483         * manual/timeval_subtract.c.texi: ... here, new file.
45485 2012-03-02  David S. Miller  <davem@davemloft.net>
45487         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45489 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45491         [BZ #3976]
45492         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45493         (__sin): Save and restore rounding mode and use round-to-nearest
45494         for all computations.
45495         (__cos): Save and restore rounding mode and use round-to-nearest
45496         for all computations.
45497         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45498         <fenv.h>.
45499         (tan): Save and restore rounding mode and use round-to-nearest for
45500         all computations.
45501         * math/libm-test.inc (cos_test_tonearest): New function.
45502         (cos_test_towardzero): Likewise.
45503         (cos_test_downward): Likewise.
45504         (cos_test_upward): Likewise.
45505         (sin_test_tonearest): Likewise.
45506         (sin_test_towardzero): Likewise.
45507         (sin_test_downward): Likewise.
45508         (sin_test_upward): Likewise.
45509         (tan_test_tonearest): Likewise.
45510         (tan_test_towardzero): Likewise.
45511         (tan_test_downward): Likewise.
45512         (tan_test_upward): Likewise.
45513         (main): Call the new functions.
45514         * sysdeps/i386/fpu/libm-test-ulps: Update.
45515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45517         [BZ #10135]
45518         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45519         small n, then large n, before computing and testing k+n.
45520         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45521         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45522         Likewise.
45523         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45524         Likewise.
45525         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45526         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45527         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45528         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45529         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45530         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45531         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45532         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45533         * math/libm-test.inc (scalbn_test): Add more tests.
45534         (scalbln_test): Likewise.
45536         * manual/filesys.texi (mode_t): Describe constraints on size and
45537         signedness, not exact equivalence to a particular type.
45538         (ino_t): Likewise.
45539         (ino64_t): Likewise.
45540         (dev_t): Likewise.
45541         (nlink_t): Likewise.
45542         (blkcnt_t): Likewise.
45543         (blkcnt64_t): Likewise.
45544         * manual/llio.texi (off_t): Likewise.
45546         [BZ #3976]
45547         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45548         (__ieee754_exp): Save and restore rounding mode and use
45549         round-to-nearest for all computations.
45550         * math/libm-test.inc (exp_test_tonearest): New function.
45551         (exp_test_towardzero): Likewise.
45552         (exp_test_downward): Likewise.
45553         (exp_test_upward): Likewise.
45554         (main): Call the new functions.
45555         * sysdeps/i386/fpu/libm-test-ulps: Update.
45556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45558 2012-03-01  Chris Demetriou  <cgd@google.com>
45560         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45561         have predictable order.
45563 2012-03-01  David S. Miller  <davem@davemloft.net>
45565         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45567         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45568         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45569         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45570         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45572         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45573         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45574         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45576         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45577         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45578         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45579         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45580         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45584         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45585         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45586         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45588         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45589         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45590         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45591         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45592         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45593         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45594         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45595         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45596         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45597         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45598         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45599         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45600         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45601         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45602         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45603         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45604         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45605         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45606         * sysdeps/sparc/elf/configure: Regenerated.
45608 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45610         * configure.in (AS, LD): Require binutils 2.20 or later.
45611         * configure: Regenerated.
45612         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45613         as required minimum version.
45614         * INSTALL: Regenerated.
45616         [BZ #2541]
45617         [BZ #4108]
45618         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45619         before squaring exponent.
45620         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45621         bottom long double and 27 bits of top long double before squaring
45622         exponent.
45623         * math/libm-test.inc (erfc_test): Add more tests.
45624         * sysdeps/i386/fpu/libm-test-ulps: Update.
45625         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45628 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45630         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45631         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45632         containing bit-fields.
45633         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45634         * soft-fp/single.h (_FP_UNION_S): Likewise.
45635         * soft-fp/double.h (_FP_UNION_D): Likewise.
45637 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45639         [BZ #13786]
45640         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45641         not include ../strcmp.S.
45642         [USE_AS_STRNCASECMP_L]: Likewise.
45643         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45644         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45645         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45646         (__strncasecmp_l_ia32): Define as alias to
45647         __strncasecmp_l_nonascii.
45649         [BZ #5794]
45650         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45651         * sysdeps/i386/fpu/libm-test-ulps: Update.
45652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45654         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45657 2012-02-29  Jeff Law  <law@redhat.com>
45659         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45660         out of bounds read.
45662 2012-02-29  Marek Polacek  <polacek@redhat.com>
45664         [BZ #13706]
45665         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45666         * elf/Makefile: Add rules to run tst-unused-dep.out.
45668 2012-02-28  David S. Miller  <davem@davemloft.net>
45670         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45671         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45672         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45673         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45674         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45675         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45677 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45679         * math/libm-test.inc (llround_test): Move one test from
45680         lround_test.  Use TEST_f_L in moved test.
45681         (lround_test): Move misplaced test to llround_test.  Add testcase
45682         from bug 2561.
45684 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45686         * sysdeps/x86_64/fpu/e_expf.S: New file.
45687         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45689 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45691         [BZ #13637]
45692         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45693         of remain_len that may cause incomplete multi-byte character and
45694         false match.
45695         * posix/bug-regex33.c: New file.
45696         * posix/Makefile (tests): Add bug-regex33.
45698 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45700         * manual/macros.texi: New file.
45701         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45702         * manual/libc.texinfo: Include macros.texi.
45703         * manual/creatute.texi: Likewise.
45704         * manual/install.texi: Likewise.
45705         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45706         @glibcadj{} in references to the GNU C Library.
45707         * manual/charset.texi: Likewise.
45708         * manual/conf.texi: Likewise.
45709         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45710         when not using those macros.
45711         * manual/creature.texi: Likewise.
45712         * manual/crypt.texi: Likewise.
45713         * manual/errno.texi: Likewise.
45714         * manual/filesys.texi: Likewise.
45715         * manual/header.texi: Likewise.
45716         * manual/install.texi: Likewise.
45717         * manual/intro.texi: Likewise.
45718         * manual/io.texi: Likewise.
45719         * manual/job.texi: Likewise.
45720         * manual/lang.texi: Likewise.
45721         * manual/libc.texiinfo: Likewise.
45722         * manual/llio.texi: Likewise.
45723         * manual/locale.texi: Likewise.
45724         * manual/maint.texi: Likewise.
45725         * manual/math.texi: Likewise.
45726         * manual/memory.texi: Likewise.
45727         * manual/message.texi: Likewise.
45728         * manual/nss.texi: Likewise.
45729         * manual/pattern.texi: Likewise.
45730         * manual/process.texi: Likewise.
45731         * manual/resource.texi: Likewise.
45732         * manual/search.texi: Likewise.
45733         * manual/setjmp.texi: Likewise.
45734         * manual/signal.texi: Likewise.
45735         * manual/socket.texi: Likewise.
45736         * manual/startup.texi: Likewise.
45737         * manual/stdio.texi: Likewise.
45738         * manual/string.texi: Likewise.
45739         * manual/sysinfo.texi: Likewise.
45740         * manual/syslog.texi: Likewise.
45741         * manual/terminal.texi: Likewise.
45742         * manual/time.texi: Likewise.
45743         * manual/users.texi: Likewise.
45744         * INSTALL: Regenerated.
45745         * NOTES: Regenerated.
45746         * sysdeps/gnu/errlist.c: Regenerated.
45748 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45750         * include/dirent.h: Include <dirstream.h> before
45751         <dirent/dirent.h>.
45753 2012-02-28  David S. Miller  <davem@davemloft.net>
45755         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45756         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45757         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45758         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45760 2012-02-27  David S. Miller  <davem@davemloft.net>
45762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45764         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45765         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45768         frame pointer instead of stack pointer relative arg slot.
45769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45770         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45771         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45773 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45775         [BZ #3992]
45776         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45778 2012-02-27  David S. Miller  <davem@davemloft.net>
45780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45784         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45785         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45786         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45787         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45789 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45791         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45792         later.  Allow versions 5-9.
45793         * configure: Regenerated.
45794         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45795         required minimum version and 4.6 as recommended version.  Do not
45796         mention bugs in GCC 2.7 and 2.8.
45797         * INSTALL: Regenerated.
45799 2012-02-27  David S. Miller  <davem@davemloft.net>
45801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45805         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45806         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45807         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45808         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45810         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45811         manipulate bits before adding and subtracting TWO112[sx].
45812         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45814 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45816         [BZ #13775]
45817         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45818         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45819         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45820         being in POSIX, because they are in 1003.1-2008.
45822         * rt/tst-aio.c: Include <fcntl.h>.
45823         * rt/tst-aio7.c: Likewise.
45824         * rt/tst-aio64.c: Likewise.
45826         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45828 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45830         * manual/install.texi (--with-headers): Describe headers as
45831         interface headers, not private headers.
45832         (Specific advice for GNU/Linux systems): Describe use of headers
45833         from "make headers_install", not private headers from older
45834         kernels.
45835         * INSTALL: Regenerated.
45836         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45837         Change to 2.6.19.
45838         * sysdeps/unix/sysv/linux/configure: Regenerated.
45840         * manual/llio.texi (fclean): Remove documentation.
45842         * manual/Makefile (libc-texi-generated): New variable.  Include
45843         version.texi.
45844         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45845         $(libc-texi-generated), not duplicated list of files.
45846         (version.texi, stamp-version): New rules.
45847         (realclean): Remove $(libc-texi-generated), not individual files
45848         from that list.  Do not remove dir-add.texinfo.
45849         * manual/libc.texinfo: Comment out uses of edition numbers and
45850         references to printed manual.  Remove last-updated dates.
45851         (EDITION): Comment out.
45852         (ISBN): Likewise.
45853         (VERSION, UPDATED): Remove.
45854         (version.texi): Include.
45856 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
45858         * sysdeps/posix/spawni.c: Include <signal.h>.
45859         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45860         * sysdeps/pthread/aio_fsync.c: Likewise.
45862 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
45864         * conform/Makefile (tests): Run only when not cross-compiling and
45865         when fast-check is not defined.
45867         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45868         * conform/data/limits.h-data: Fixes for POSIX2008.
45869         * conform/run-conformtest.sh: Run all tests.
45870         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45871         headers.
45872         * include/bits/dlfcn.h: Likewise.
45873         * include/langinfo.h: Likewise.
45874         * include/monetary.h: Likewise.
45875         * include/sys/poll.h: Likewise.
45877         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45878         for __USE_GNU.
45879         * posix/spawn.h: Define __need_sigset_t.
45880         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45881         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45882         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
45883         to get sigevent_t only.
45884         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45885         only for __USE_GNU.
45886         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45887         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45888         process_vm_writev only for __USE_GNU.
45889         * termios/termios.h: Declare tcgetsid also for POSIX2008.
45891         * conform/Makefile: For now ignore errors from run-conformtest.
45892         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
45893         POSIX to avoid namespace pollution.  Don't prepend headers.
45894         * conform/data/aio.h-data: Fixes for POSIX testing.
45895         * conform/data/fcntl.h-data: Likewise.
45896         * conform/data/glob.h-data: Likewise.
45897         * conform/data/grp.h-data: Likewise.
45898         * conform/data/pthread.h-data: Likewise.
45899         * conform/data/pwd.h-data: Likewise.
45900         * conform/data/signal.h-data: Likewise.
45901         * conform/data/spawn.h-data: Likewise.
45902         * conform/data/stdio.h-data: Likewise.
45903         * conform/data/stdlib.h-data: Likewise.
45904         * conform/data/stropts.h-data: Likewise.
45905         * conform/data/sys/mman.h-data: Likewise.
45906         * conform/data/sys/stat.h-data: Likewise.
45907         * conform/data/sys/types.h-data: Likewise.
45908         * conform/data/sys/wait.h-data: Likewise.
45909         * conform/data/time.h-data: Likewise.
45910         * conform/data/unistd.h-data: Likewise.
45911         * conform/data/utime.h-data: Likewise.
45913         * io/sys/stat.h: fchmod was always in POSIX.
45914         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45915         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45916         * rt/aio.h: Define __need_timespec before including <time.h>.
45917         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45918         struct.  Add forward declaration of pthread_attr_t and use it in
45919         sigevent.
45920         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45921         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45922         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45923         always remove CLK_TCK definition.
45925 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
45927         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45929 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
45931         * conform/run-conformtest.sh: New file.
45932         * conform/Makefile: Run run-conformtest for tests.
45933         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
45934         support.
45936         * conform/data/uchar.h-data: New file.
45937         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45938         * conform/data/arpa/inet.h-data: Likewise.
45939         * conform/data/assert.h-data: Likewise.
45940         * conform/data/complex.h-data: Likewise.
45941         * conform/data/cpio.h-data: Likewise.
45942         * conform/data/ctype.h-data: Likewise.
45943         * conform/data/dirent.h-data: Likewise.
45944         * conform/data/dlfcn.h-data: Likewise.
45945         * conform/data/errno.h-data: Likewise.
45946         * conform/data/fcntl.h-data: Likewise.
45947         * conform/data/float.h-data: Likewise.
45948         * conform/data/fmtmsg.h-data: Likewise.
45949         * conform/data/fnmatch.h-data: Likewise.
45950         * conform/data/ftw.h-data: Likewise.
45951         * conform/data/glob.h-data: Likewise.
45952         * conform/data/grp.h-data: Likewise.
45953         * conform/data/iconv.h-data: Likewise.
45954         * conform/data/inttypes.h-data: Likewise.
45955         * conform/data/langinfo.h-data: Likewise.
45956         * conform/data/libgen.h-data: Likewise.
45957         * conform/data/limits.h-data: Likewise.
45958         * conform/data/locale.h-data: Likewise.
45959         * conform/data/math.h-data: Likewise.
45960         * conform/data/monetary.h-data: Likewise.
45961         * conform/data/mqueue.h-data: Likewise.
45962         * conform/data/ndbm.h-data: Likewise.
45963         * conform/data/net/if.h-data: Likewise.
45964         * conform/data/netdb.h-data: Likewise.
45965         * conform/data/netinet/in.h-data: Likewise.
45966         * conform/data/nl_types.h-data: Likewise.
45967         * conform/data/poll.h-data: Likewise.
45968         * conform/data/pthread.h-data: Likewise.
45969         * conform/data/pwd.h-data: Likewise.
45970         * conform/data/regex.h-data: Likewise.
45971         * conform/data/sched.h-data: Likewise.
45972         * conform/data/search.h-data: Likewise.
45973         * conform/data/semaphore.h-data: Likewise.
45974         * conform/data/setjmp.h-data: Likewise.
45975         * conform/data/signal.h-data: Likewise.
45976         * conform/data/spawn.h-data: Likewise.
45977         * conform/data/stdarg.h-data: Likewise.
45978         * conform/data/stdio.h-data: Likewise.
45979         * conform/data/stdlib.h-data: Likewise.
45980         * conform/data/string.h-data: Likewise.
45981         * conform/data/strings.h-data: Likewise.
45982         * conform/data/stropts.h-data: Likewise.
45983         * conform/data/sys/ipc.h-data: Likewise.
45984         * conform/data/sys/mman.h-data: Likewise.
45985         * conform/data/sys/msg.h-data: Likewise.
45986         * conform/data/sys/resource.h-data: Likewise.
45987         * conform/data/sys/select.h-data: Likewise.
45988         * conform/data/sys/sem.h-data: Likewise.
45989         * conform/data/sys/shm.h-data: Likewise.
45990         * conform/data/sys/socket.h-data: Likewise.
45991         * conform/data/sys/stat.h-data: Likewise.
45992         * conform/data/sys/statvfs.h-data: Likewise.
45993         * conform/data/sys/time.h-data: Likewise.
45994         * conform/data/sys/timeb.h-data: Likewise.
45995         * conform/data/sys/times.h-data: Likewise.
45996         * conform/data/sys/types.h-data: Likewise.
45997         * conform/data/sys/uio.h-data: Likewise.
45998         * conform/data/sys/un.h-data: Likewise.
45999         * conform/data/sys/utsname.h-data: Likewise.
46000         * conform/data/sys/wait.h-data: Likewise.
46001         * conform/data/syslog.h-data: Likewise.
46002         * conform/data/tar.h-data: Likewise.
46003         * conform/data/termios.h-data: Likewise.
46004         * conform/data/utime.h-data: Likewise.
46005         * conform/data/utmpx.h-data: Likewise.
46006         * conform/data/varargs.h-data: Likewise.
46007         * conform/data/wchar.h-data: Likewise.
46008         * conform/data/wctype.h-data: Likewise.
46009         * conform/data/wordexp.h-data: Likewise.
46011         * include/stropts.h: New file.
46012         * include/uchar.h: New file.
46013         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46014         * include/assert.h: Likewise.
46015         * include/ctype.h: Likewise.
46016         * include/dirent.h: Likewise.
46017         * include/dlfcn.h: Likewise.
46018         * include/fcntl.h: Likewise.
46019         * include/fnmatch.h: Likewise.
46020         * include/glob.h: Likewise.
46021         * include/grp.h: Likewise.
46022         * include/libio.h: Likewise.
46023         * include/locale.h: Likewise.
46024         * include/math.h: Likewise.
46025         * include/net/if.h: Likewise.
46026         * include/netdb.h: Likewise.
46027         * include/netinet/in.h: Likewise.
46028         * include/pthread.h: Likewise.
46029         * include/pwd.h: Likewise.
46030         * include/regex.h: Likewise.
46031         * include/sched.h: Likewise.
46032         * include/search.h: Likewise.
46033         * include/setjmp.h: Likewise.
46034         * include/signal.h: Likewise.
46035         * include/stdio.h: Likewise.
46036         * include/stdlib.h: Likewise.
46037         * include/string.h: Likewise.
46038         * include/sys/cdefs.h: Likewise.
46039         * include/sys/mman.h: Likewise.
46040         * include/sys/msg.h: Likewise.
46041         * include/sys/resource.h: Likewise.
46042         * include/sys/select.h: Likewise.
46043         * include/sys/socket.h: Likewise.
46044         * include/sys/stat.h: Likewise.
46045         * include/sys/statvfs.h: Likewise.
46046         * include/sys/time.h: Likewise.
46047         * include/sys/times.h: Likewise.
46048         * include/sys/uio.h: Likewise.
46049         * include/sys/utsname.h: Likewise.
46050         * include/sys/wait.h: Likewise.
46051         * include/termios.h: Likewise.
46052         * include/time.h: Likewise.
46053         * include/ulimit.h: Likewise.
46054         * include/unistd.h: Likewise.
46055         * include/utime.h: Likewise.
46056         * include/wchar.h: Likewise.
46057         * include/wctype.h: Likewise.
46058         * include/wordexp.h: Likewise.
46060         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46062         * time/time.h: TIME_UTC must be a macro.
46063         Make timespec_get available for ISO C11 only as well.
46065 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46067         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46068         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46070 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46072         * configure.in: Use -o not -a in test for unsupported multi-arch.
46074 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46076         * manual/texinfo.tex: Update to version 2012-01-19.16.
46078 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46080         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46082 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46084         [BZ #13738]
46085         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46086         * manual/fdl-1.3.texi: New file.
46087         * manual/fdl-1.1.texi: File removed.
46089         [BZ #13738]
46090         * manual/libc.texinfo (FDL_VERSION): New @set.
46091         Use it for mention of FDL in cover text.
46092         (Documentation License): Use it in @include file name.
46094 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46095             Roland McGrath  <roland@hack.frob.com>
46097         [BZ #5461]
46098         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46099         (not LONG_LONG_MAX and LONG_LONG_MIN.
46100         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46101         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46102         name.
46103         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46105 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46107         [BZ #2547]
46108         [BZ #11365]
46109         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46110         manipulate bits before adding and subtracting TWO23[sx].
46111         * math/libm-test.inc (nearbyint_test): Add more tests.
46113 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46115         [BZ #2548]
46116         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46117         bits before adding and subtracting TWO23[sx].
46118         * math/libm-test.inc (rint_test): Add more tests.
46119         (rint_test_tonearest): Likewise.
46120         (rint_test_towardzero): Likewise.
46121         (rint_test_downward): Likewise.
46122         (rint_test_upward: Likewise.
46124 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46126         [BZ #10110]
46127         * include/stdc-predef.h: New file.  Extracted from features.h.
46128         * include/features.h: Include stdc-predef.h.
46129         * Makefile (headers): Add stdc-predef.h.
46130         * CONFORMANCE (Compiler limitations): Update.
46132 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46134         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46136 2012-02-21  David S. Miller  <davem@davemloft.net>
46138         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46139         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46141 2012-02-20  David S. Miller  <davem@davemloft.net>
46143         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46144         using a normal save/restore sequence, rather than allocating a
46145         dummy stack frame just to store a frame pointer and restore.
46146         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46148 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46150         * manual/install.texi: Fix stray word in line-wrapped comment.
46152 2012-02-20  David S. Miller  <davem@davemloft.net>
46154         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46155         both binutils and gcc support GOTDATA.
46157         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46158         "rd %pc" in the PIC register setup sequences.
46160         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46161         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46162         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46163         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46164         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46165         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46166         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46167         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46168         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46169         (SYSCALL_ERROR_HANDLER): Likewise.
46170         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46171         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46172         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46173         (SYSCALL_ERROR_HANDLER): Likewise.
46175         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46176         (HAVE_GCC_GOTDATA): New.
46177         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46178         relocation support in both binutils and gcc.
46179         * sysdeps/sparc/elf/configure: Regenerate.
46181         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46182         * sysdeps/sparc/sparc32/elf/configure: Delete.
46183         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46184         * sysdeps/sparc/sparc64/elf/configure: Delete.
46185         * sysdeps/sparc/elf/configure.in: New file.
46186         * sysdeps/sparc/elf/configure: Generate.
46188         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46189         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46190         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46191         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46192         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46194 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46196         * manual/install.texi: Do not mention specific glibc version
46197         numbers.
46198         * manual/libc.texinfo (VERSION, UPDATED): Update.
46199         (@copying): Use @copyright{} and range of years.
46201 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46203         [BZ #13695]
46204         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46205         [crti.S not in sysdirs] (generated): Do not append.
46206         [crti.S not in sysdirs] (omit-deps): Likewise.
46207         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46208         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46209         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46210         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46211         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46212         Likewise.
46213         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46214         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46215         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46216         * csu/defs.awk: Remove file.
46217         * sysdeps/generic/initfini.c: Likewise.
46218         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46219         variable.
46220         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46221         Likewise.
46223 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46225         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46226         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46227         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46228         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46229         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46230         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46231         <bits/epoll.h>.
46232         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46233         (__EPOLL_PACKED): Define to empty if not defined by
46234         <bits/epoll.h>.
46235         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46237         bits/epoll.h.
46239 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46241         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46242         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46243         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46244         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46245         <bits/timerfd.h>.
46246         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46247         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46248         bits/timerfd.h.
46250 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46252         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46253         in C locale.
46254         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46255         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46256         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46259 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46261         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46262         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46264 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46266         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46267         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46268         defined.
46269         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46270         Likewise.
46271         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46272         entry for 2.16.
46274 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46276         * math/w_acos.c: Use non-signaling floating-point comparisons.
46277         * math/w_acosf.c: Likewise.
46278         * math/w_acosh.c: Likewise.
46279         * math/w_acoshf.c: Likewise.
46280         * math/w_acoshl.c: Likewise.
46281         * math/w_acosl.c: Likewise.
46282         * math/w_asin.c: Likewise.
46283         * math/w_asinf.c: Likewise.
46284         * math/w_asinl.c: Likewise.
46285         * math/w_atanh.c: Likewise.
46286         * math/w_atanhf.c: Likewise.
46287         * math/w_atanhl.c: Likewise.
46288         * math/w_exp2.c: Likewise.
46289         * math/w_exp2f.c: Likewise.
46290         * math/w_exp2l.c: Likewise.
46291         * math/w_j0.c: Likewise.
46292         * math/w_j0f.c: Likewise.
46293         * math/w_j0l.c: Likewise.
46294         * math/w_j1.c: Likewise.
46295         * math/w_j1f.c: Likewise.
46296         * math/w_j1l.c: Likewise.
46297         * math/w_jn.c: Likewise.
46298         * math/w_jnf.c: Likewise.
46299         * math/w_log.c: Likewise.
46300         * math/w_log10.c: Likewise.
46301         * math/w_log10f.c: Likewise.
46302         * math/w_log10l.c: Likewise.
46303         * math/w_log2.c: Likewise.
46304         * math/w_log2f.c: Likewise.
46305         * math/w_log2l.c: Likewise.
46306         * math/w_logf.c: Likewise.
46307         * math/w_logl.c: Likewise.
46308         * math/w_sqrt.c: Likewise.
46309         * math/w_sqrtf.c: Likewise.
46310         * math/w_sqrtl.c: Likewise.
46311         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46312         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46313         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46314         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46315         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46317 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46319         [BZ #9739]
46320         * manual/string.texi (strnlen): Use correct parameter name in
46321         equivalent expression.
46323 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46325         [BZ #11174]
46326         * manual/users.texi (seteuid): Consistently use neweuid for
46327         argument name.
46329 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46331         [BZ #13704]
46332         * manual/nss.texi (Services in the NSS configuration): Correct
46333         list of services in example configuration file.
46335 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46337         [BZ #11322]
46338         * manual/arith.texi: Remove statements about negative zero
46339         behaving identically to zero.
46341 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46343         [BZ #5993]
46344         * manual/install.texi: Do not document upgrading from libc5.
46346 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46348         [BZ #4596]
46349         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46351 2012-02-18  David S. Miller  <davem@davemloft.net>
46353         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46354         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46355         %o7 across the call.
46356         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46357         instead.
46358         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46359         SETUP_PIC_REG_LEAF.
46360         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46361         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46362         * sysdeps/sparc/crtn.S: Likewise.
46364 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46366         * aout/Makefile: Remove.
46368 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46370         [BZ #13058]
46371         * manual/examples/argp-ex1.c (main): Format definition in GNU
46372         style.
46373         * manual/examples/argp-ex2.c (main): Likewise.
46374         * manual/examples/argp-ex3.c (main): Likewise.
46375         * manual/examples/argp-ex4.c (main): Likewise.
46376         * manual/examples/longopt.c (main): Use new-style prototype
46377         definition.
46378         * manual/examples/strncat.c (main): Specify return type and use
46379         (void) for arguments.
46380         * manual/examples/subopt.c (main): Use char **argv argument.
46382 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46384         [BZ #5077]
46385         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46386         rounding modes.
46388 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46390         [BZ #6907]
46391         * manual/string.texi (strchr): Change when strchrnul is
46392         recommended.
46394 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46396         [BZ #174]
46397         * manual/locale.texi (setlocale): Document LOCPATH.
46399 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46401         [BZ #10210]
46402         * manual/process.texi (execle): Move @dots{} before last argument.
46404 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46406         [BZ #12047]
46407         * manual/charset.texi (Generic Charset Conversion): Fix typo
46408         (LC_TYPE -> LC_CTYPE).
46410 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46412         [BZ #5805]
46413         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46414         (scalbnf): Likewise.
46415         (scalbnl): Likewise.
46416         (scalbln): Likewise.
46417         (scalblnf): Likewise.
46418         (scalblnl): Likewise.
46419         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46420         (vwarnx): Likewise.
46421         (verr): Likewise.
46422         (verrx): Likewise.
46423         * manual/filesys.texi (telldir): Use braces around return type.
46424         * manual/llio.texi (mmap): Add space after comma.
46425         (mmap64): Likewise.
46426         * manual/math.texi (jn): Use @var{} on parameter names.
46427         (jnf): Likewise.
46428         (jnl): Likewise.
46429         (yn): Likewise.
46430         (ynf): Likewise.
46431         (ynl): Likewise.
46432         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46433         line.
46434         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46435         "...".
46436         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46437         (sched_get_priority_max): Likewise.
46438         * manual/signal.texi (sigvec): Add space after comma.
46439         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46440         names.
46441         (if_indextoname): Likewise.
46442         (if_freenameindex): Likewise.
46443         (sendto): Use ',' instead of '.' in prototype.
46444         * manual/startup.texi (syscall): Use @dots{} instead of literal
46445         "...".
46446         * manual/stdio.texi (__fpending): Separate initial words of
46447         paragraph from @deftypefun line.
46448         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46449         "...".
46450         (vsyslog): Use @var{} on parameter names.
46451         * manual/terminal.texi (stty): Use @var{} on parameter names.
46452         * manual/users.texi (getutmp): Use @var{} on parameter names.
46453         (getutmpx): Likewise.
46455 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46457         [BZ #6884]
46458         * manual/stdio.texi (fopen): Fix typos in description of
46459         ",ccs=STRING".
46461 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46463         [BZ #4026]
46464         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46465         get clock_id definition.
46467 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46469         [BZ #4822]
46470         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46471         (madvise): Cast every argument to void on its own.
46473 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46475         [BZ #9902]
46476         * manual/startup.texi (Exit Status): Fix typo.
46478 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46480         [BZ #10140]
46481         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46482         * manual/examples/argp-ex2.c: Likewise.
46483         * manual/examples/argp-ex3.c: Likewise.
46485 2012-02-16  Richard Henderson  <rth@redhat.com>
46487         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46488         * sysdeps/s390/s390-32/initfini.c: Remove.
46489         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46490         * sysdeps/s390/s390-64/initfini.c: Remove.
46492 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46494         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46495         compiler output for sysdeps/generic/initfini.c.
46496         * sysdeps/sh/elf/initfini.c: Remove file.
46498 2012-02-16  David S. Miller  <davem@davemloft.net>
46500         [BZ #11494]
46501         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46503         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46504         * sysdeps/sparc/crti.S: New file.
46505         * sysdeps/sparc/crtn.S: New file.
46506         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46507         * sysdeps/sparc/sparc64/Makefile: Likewise.
46509 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46511         [BZ #3335]
46512         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46514 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46516         [BZ #4822]
46517         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46519         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46520         (write, read, close): Likewise.
46521         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46523 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46525         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46526         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46527         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46528         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46529         <bits/signalfd.h>.
46530         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46531         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46532         bits/signalfd.h.
46534 2012-02-14  Marek Polacek  <polacek@redhat.com>
46536         * sysdeps/x86_64/crti.S: New file.
46537         * sysdeps/x86_64/crtn.S: New file.
46538         * sysdeps/x86_64/elf/initfini.c: Remove file.
46540 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46542         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46543         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46544         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46545         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46546         <bits/inotify.h>.
46547         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46548         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46549         bits/inotify.h.
46551 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46553         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46554         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46555         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46556         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46557         <bits/eventfd.h>.
46558         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46560         bits/eventfd.h.
46562 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46564         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46565         __feraiseexcept instead of feraiseexcept.
46567         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46568         nanosleep invocations.
46569         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46570         strings, and add error checking for a nanosleep invocations.
46572 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46574         Replace FSF snail mail address with URLs, as per GNU coding standards.
46575         Most of the snail mail addresses were wrong anyway, and omitting
46576         them makes the source code easier to maintain.  Almost all of the
46577         changes are to license notices and to locale LC_IDENTIFICATION
46578         addresses, except for this one:
46579         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46580         not its snail mail address.
46582 2012-02-09  Richard Henderson  <rth@twiddle.net>
46584         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46585         of kernel-features.h.
46587         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46589 2012-02-08  Marek Polacek  <polacek@redhat.com>
46591         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46592         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46593         * sysdeps/gnu/_G_config.h: Likewise.
46594         * sysdeps/generic/_G_config.h: Likewise.
46596 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46598         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46599         tests.
46600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46602         * sysdeps/powerpc/powerpc32/crti.S: New file.
46603         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46604         * sysdeps/powerpc/powerpc64/crti.S: New file.
46605         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46607         * Makeconfig (have-initfini): Don't set.
46608         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46609         * configure.in (nopic_initfini): Don't substitute.
46610         * config.h.in (HAVE_INITFINI): Don't #undef.
46611         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46612         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46614 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46616         Support crti.S and crtn.S provided directly by architectures.
46617         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46618         [crti.S in sysdirs] (omit-deps): Likewise.
46619         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46620         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46621         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46622         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46623         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46624         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46625         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46626         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46627         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46628         compiler output for sysdeps/generic/initfini.c.
46629         * sysdeps/i386/elf/Makefile: Remove file.
46630         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46632 2012-02-07  Marek Polacek  <polacek@redhat.com>
46634         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46635         * sysdeps/gnu/_G_config.h: Likewise.
46636         * sysdeps/mach/hurd/_G_config.h: Likewise.
46638 2012-02-07  Marek Polacek  <polacek@redhat.com>
46640         * math/Makefile (tests): Add tst-CMPLX2.
46641         * math/tst-CMPLX2.c: New file.
46643 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46645         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46647         * math/libm-test.inc (jn_test): Add missing L suffix.
46649 2012-02-06  Marek Polacek  <polacek@redhat.com>
46651         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46652         * sysdeps/i386/fpu/e_powf.S: Likewise.
46653         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46654         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46655         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46656         * sysdeps/i386/fpu/e_pow.S: Likewise.
46657         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46658         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46659         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46660         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46661         * sysdeps/i386/fpu/e_log2.S: Likewise.
46662         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46663         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46664         * sysdeps/i386/fpu/e_powl.S: Likewise.
46665         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46666         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46667         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46668         * sysdeps/i386/fpu/e_logl.S: Likewise.
46669         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46670         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46671         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46672         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46673         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46674         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46675         * sysdeps/i386/fpu/e_log.S: Likewise.
46676         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46677         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46678         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46679         * sysdeps/i386/fpu/e_logf.S: Likewise.
46680         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46681         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46682         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46683         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46684         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46685         * sysdeps/i386/fpu/e_log10.S: Likewise.
46686         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46687         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46688         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46689         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46690         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46691         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46692         * sysdeps/i386/asm-syntax.h: Likewise.
46693         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46694         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46695         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46696         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46697         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46698         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46699         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46700         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46701         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46702         * sysdeps/powerpc/sysdep.h: Likewise.
46703         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46704         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46706 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46708         [BZ #411]
46709         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46711 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46713         * sysdeps/i386/sysdep.h: Include <features.h>.
46714         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46715         version.
46717 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46719         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46720         Define.
46721         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46722         LOAD_PIC_REG_STR.
46724 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46726         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46727         (SETUP_PIC_REG): Use GET_PC_THUNK.
46728         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46729         macro.
46731 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46733         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46734         for non-PIC compilation.
46735         (SETUP_PIC_REG): Add .p2align directive.
46736         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46737         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46738         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46739         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46740         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46741         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46742         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46743         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46744         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46745         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46746         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46747         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46748         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46749         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46750         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46751         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46752         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46753         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46754         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46755         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46756         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46757         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46758         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46759         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46760         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46761         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46762         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46763         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46764         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46765         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46766         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46767         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46768         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46769         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46770         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46771         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46772         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46773         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46774         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46775         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46776         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46778 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46780         * math/tst-CMPLX.c: Include <stdio.h>.
46782 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46784         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46785         float.
46786         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46787         * sysdeps/sparc/bits/mathdef.h: Likewise.
46789 2012-01-31  Marek Polacek  <polacek@redhat.com>
46791         * libio/libio.h: Don't define _PARAMS.
46792         * locale/programs/config.h: Don't define PARAMS.
46793         * stdlib/strtol_l.c: Likewise.
46794         (__strtol_l): Remove PARAMS from the prototype.
46796 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46798         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46799         names.  Just use the correct names.  Remove unnecessary wrapper
46800         functions.
46801         * malloc/arena.c: Likewise.
46802         * malloc/hooks.c: Likewise.
46804         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46805         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46806         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46808 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46810         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46811         into tail calls.
46812         (update_get_addr): New function.
46813         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46814         GET_ADDR_MODULE parameter.
46816 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46818         * crypt/cert.c: Remove __STDC__ conditionals.
46819         * crypt/crypt-entry.c: Likewise.
46820         * crypt/crypt_util.c: Likewise.
46821         * libio/filedoalloc.c: Likewise.
46822         * libio/fileops.c: Likewise.
46823         * libio/genops.c: Likewise.
46824         * libio/iofclose.c: Likewise.
46825         * libio/iofdopen.c: Likewise.
46826         * libio/iofopen.c: Likewise.
46827         * libio/iofopen64.c: Likewise.
46828         * libio/iogetdelim.c: Likewise.
46829         * libio/iopopen.c: Likewise.
46830         * libio/obprintf.c: Likewise.
46831         * libio/oldfileops.c: Likewise.
46832         * libio/oldiofclose.c: Likewise.
46833         * libio/oldiofdopen.c: Likewise.
46834         * libio/oldiofopen.c: Likewise.
46835         * libio/oldiopopen.c: Likewise.
46836         * libio/wfiledoalloc.c: Likewise.
46837         * libio/wgenops.c: Likewise.
46838         * locale/programs/xmalloc.c: Likewise.
46839         * misc/syslog.c: Likewise.
46840         * stdio-common/xbug.c: Likewise.
46841         * string/memchr.c: Likewise.
46842         * string/memcmp.c: Likewise.
46843         * string/memrchr.c: Likewise.
46844         * string/rawmemchr.c: Likewise.
46845         * sysdeps/posix/getcwd.c: Likewise.
46846         * time/strftime_l.c: Likewise.
46848 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46850         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46851         * config.make.in (config-cflags-sse2avx): Define.
46852         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46853         Fix typo.
46855 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
46857         * scripts/config.guess: Update from upstream config git repository.
46858         * scripts/config.sub: Likewise.
46860 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
46862         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46863         (EM_NUM): Update.
46864         (R_TILEPRO_*, R_TILEGX_*): New macros.
46866         * scripts/firstversions.awk: Fix bug in version range handling.
46868         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46870         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46872         * include/sys/epoll.h: New file.
46873         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46874         libc_hidden_def.
46876 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
46878         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46879         Avoid unnecessary __WORDSIZE == 64 test.
46880         (fmaxf): Use VEX format if possible.
46881         (fmax): Likewise.
46882         (fminf): Likewise.
46883         (fmin): Likewise.
46885         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46886         * math/math_private.h: Remove libc_fegetround* and
46887         libc_fesetround*.
46888         * sysdeps/i386/configure.in: Check for -msse2avx.
46889         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46890         also if SSE2AVX is defined.
46891         Remove libc_fegetround* and libc_fesetround*.
46892         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46893         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
46894         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46895         of HAS_YMM_USABLE.
46896         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46897         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46898         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46899         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46900         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46902         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46904 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46906         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46907         size is not set.
46908         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46910 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
46912         [BZ #13618]
46913         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46914         relocation.
46915         * Makeconfig (libm): Define.
46916         * elf/Makefile: Add rules to build and run tst-relsort1.
46917         * elf/tst-relsort1.c: New file.
46918         * elf/tst-relsort1mod1.c: New file.
46919         * elf/tst-relsort1mod2.c: New file.
46921 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
46923         * math/s_ldexp.c: Remove __STDC__ conditionals.
46924         * math/s_ldexpf.c: Likewise.
46925         * math/s_ldexpl.c: Likewise.
46926         * math/s_nextafter.c: Likewise.
46927         * math/s_nexttowardf.c: Likewise.
46928         * math/s_significand.c: Likewise.
46929         * math/s_significandf.c: Likewise.
46930         * math/s_significandl.c: Likewise.
46931         * math/w_jnl.c: Likewise.
46932         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46933         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46934         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46935         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46936         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46937         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46938         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46939         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46940         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46941         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46942         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46943         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46944         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46945         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46946         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46947         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46948         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46949         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46950         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46951         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46952         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46953         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46954         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46955         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46956         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46957         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46958         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46959         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46960         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46961         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46962         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46963         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46964         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46965         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46966         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46967         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46968         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46969         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46970         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46971         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46972         * sysdeps/ieee754/k_standard.c: Likewise.
46973         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46974         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46975         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46976         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46977         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46978         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46979         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46980         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46981         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46982         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46983         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46984         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46985         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46986         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46987         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46988         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46989         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46990         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46991         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46992         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46993         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46994         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46995         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46996         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46997         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46998         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46999         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47000         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47001         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47002         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47003         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47004         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47005         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47006         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47007         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47008         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47009         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47010         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47011         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47012         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47013         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47014         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47015         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47016         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47017         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47018         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47019         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47020         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47021         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47022         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47023         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47024         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47025         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47026         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47027         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47028         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47029         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47030         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47031         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47032         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47033         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47034         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47035         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47036         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47037         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47038         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47039         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47040         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47041         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47042         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47043         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47044         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47045         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47046         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47047         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47048         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47049         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47050         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47051         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47052         * sysdeps/ieee754/s_matherr.c: Likewise.
47053         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47054         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47055         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47056         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47058 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47060         * crypt/md5.h: Remove __STDC__ conditionals.
47061         * libio/libioP.h: Likewise.
47062         * locale/programs/config.h: Likewise.
47063         * sysdeps/generic/sysdep.h: Likewise.
47064         * sysdeps/i386/asm-syntax.h: Likewise.
47065         * sysdeps/s390/asm-syntax.h: Likewise.
47066         * sysdeps/unix/sysdep.h: Likewise.
47067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47070 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47072         * libio/libio.h: Remove __STDC__ conditionals.
47073         * malloc/obstack.h: Likewise.
47074         * math/complex.h: Likewise.
47075         * math/math.h: Likewise.
47076         * sysdeps/generic/_G_config.h: Likewise.
47077         * sysdeps/gnu/_G_config.h: Likewise.
47078         * sysdeps/mach/hurd/_G_config.h: Likewise.
47079         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47080         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47081         * sysdeps/sparc/bits/mathdef.h: Likewise.
47083 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47085         [BZ #13583]
47086         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47087         Clean up HAS_* macros.
47088         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47089         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47090         possible.
47091         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47092         HAS_AVX.
47093         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47094         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47095         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47096         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47097         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47099 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47101         * elf/tst-unique3.cc (gets): Remove declaration.
47102         * elf/tst-unique3lib.cc (gets): Likewise.
47103         * elf/tst-unique3lib2.cc (gets): Likewise.
47104         * elf/tst-unique4.cc (gets): Likewise.
47106 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47108         * include/stdio.h: Add C++ protection.  Add gets declarations and
47109         definitions.
47110         * debug/tst-chk1.c: Don't declare gets here.
47111         * stdio-common/tst-gets.c: Likewise.
47113 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47115         * posix/glob: Remove directory.
47117 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47119         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47121 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47123         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47124         of the non-standard EPFNOSUPPORT.
47126 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47128         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47129         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47130         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47132 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47134         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47136 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47138         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47139         transient errors.
47140         * nscd/grpcache.c (cache_addgr): Likewise.
47141         * nscd/hstcache.c (cache_addhst): Likewise.
47142         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47143         * nscd/pwdcache.c (cache_addpw): Likewise.
47144         * nscd/servicescache.c (cache_addserv): Likewise.
47146 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47148         * malloc/malloc.c: Various cleanups.
47149         * malloc/hooks.c: Likewise.
47151         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47152         * stdlib/bug-fmtmsg1.c: New file.
47154         * stdlib/fmtmsg.c (init): Add missing unlock.
47155         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47157 2012-01-12  Marek Polacek  <polacek@redhat.com>
47159         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47160         and _GNU_SOURCE.
47162 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47164         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47165         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47166         macro to ensure uniqueness of label name.
47167         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47168         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47170 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47172         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47174         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47175         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47176         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47177         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47179 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47181         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47183         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47184         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47185         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47187         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47189         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47190         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47191         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47192         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47194         * math/bits/math-finite.h: Add ldexp support.
47196 2012-01-10  Marek Polacek  <polacek@redhat.com>
47198         * locale/programs/localedef.h (show_archive_content): Add noreturn
47199         attribute.
47201 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47203         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47205 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47207         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47209         * io/Makefile (headers): Add bits/poll2.h.
47211 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47214         typo #include statement.
47216 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47218         * include/sys/cdefs.h: Define __attribute_alloc_size.
47219         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47220         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47221         * elf/pldd.c: Likewise.
47222         * iconv/iconv_charmap.c: Likewise.
47223         * iconv/iconvconfig.c: Likewise.
47224         * iconv/strtab.c: Likewise.
47225         * locale/programs/locale.c: Likewise.
47226         * locale/programs/localedef.h: Likewise.
47227         * locale/programs/simple-hash.c: Likewise.
47228         * nscd/nscd.h: Likewise.
47229         * nss/makedb.c: Likewise.
47230         * sysdeps/generic/ldconfig.h: Likewise.
47231         * locale/programs/localedef.c: Remove xmalloc prototype.
47232         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47234 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47236         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47237         appropriate.
47239 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47241         * math/Makefile (tests): Add tst-CMPLX.
47242         * math/tst-CMPLX.c: New file.
47244         * math/complex.h (CMPLXL): Fix typo.
47246         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47247         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47248         GLIBC_2.16.
47249         * debug/tst-chk1.c: Add poll and ppoll tests.
47250         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47251         * include/sys/poll.h: Add hidden proto for ppoll.
47252         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47253         * sysdeps/mach/hurd/ppoll.c: Likewise.
47254         * io/ppoll.c: Likewise.
47255         * debug/poll_chk.c: New file.
47256         * debug/ppoll_chk.c: New file.
47257         * include/bits/poll2.h: New file.
47258         * io/bits/poll2.h: New file.
47260         [BZ #1350]
47261         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47263         * configure.in: static is always set to yes.  Remove.
47264         * config.make.in: Don't set build-static.
47265         * Makeconfig: Remove use of build-static.
47266         * dlfcn/Makefile: Likewise.
47267         * elf/Makefile: Likewise.
47268         * math/Makefile: Likewise.
47269         * misc/Makefile: Likewise.
47270         * nptl/Makefile: Likewise.
47271         * sysdeps/mach/hurd/Makefile: Likewise.
47273         * configure.in: PWD_P is not used anymore.
47274         * config.make.in: Remove PWD_P entry.
47276         * configure.in: Remove last remnants of RANLIB.
47277         No need to check for signed size_t anymore.
47278         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47279         and IA-64.
47280         Remove __builtin_expect test because we require at least gcc 3.4.
47281         * aclocal.m4: Likewise.
47283         * wcsmbs/mbrtoc16.c: Implement using towc function.
47284         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47285         * wcsmbs/wcsmbsload.c: Likewise.
47286         * iconv/gconv_simple.c: Likewise.
47287         * iconv/gconv_int.h: Likewise.
47288         * iconv/gconv_builtin.h: Likewise.
47289         * iconv/iconv_prog.c: Remove CHAR16 handling.
47291         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47293         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47295         * configure.in: Remove --with-elf and --enable-bounded options.
47296         Dont set base_machine for ia64.  More non-ELF conditions removed.
47297         Remove testing and setting of leading underscore information.
47298         * config.make.in (build-bounded): Set to no.
47299         * config.h.in: Remove NO_UNDERSCORES entry.
47300         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47301         them.
47302         * csu/start.c: Remove !NO_UNDERSCORE code.
47303         * locale/localeinfo.h: Likewise.
47304         * sysdeps/generic/machine-gmon.h: Likewise.
47305         * sysdeps/generic/sysdep.h: Likewise.
47306         * sysdeps/i386/sysdep.h: Likewise.
47307         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47308         * sysdeps/mach/sysdep.h: Likewise.
47309         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47310         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47311         * sysdeps/sh/sysdep.h: Likewise.
47312         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47313         * sysdeps/unix/i386/sysdep.S: Likewise.
47314         * sysdeps/unix/sparc/start.c: Likewise.
47315         * sysdeps/unix/sparc/sysdep.S: Likewise.
47316         * sysdeps/unix/sparc/sysdep.h: Likewise.
47317         * sysdeps/unix/start.c: Likewise.
47318         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47319         * sysdeps/x86_64/sysdep.h: Likewise.
47321 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47323         [BZ #13553]
47324         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47325         for non-gcc.
47326         * argp/argp-fmtstream.h: Use const instead __const.
47327         * argp/argp.h: Likewise.
47328         * assert/assert.h: Likewise.
47329         * bits/fenv.h: Likewise.
47330         * bits/sched.h: Likewise.
47331         * bits/sigset.h: Likewise.
47332         * bits/sigthread.h: Likewise.
47333         * catgets/nl_types.h: Likewise.
47334         * conform/data/pthread.h-data: Likewise.
47335         * crypt/crypt-private.h: Likewise.
47336         * crypt/crypt.h: Likewise.
47337         * crypt/crypt_util.c: Likewise.
47338         * ctype/ctype.h: Likewise.
47339         * debug/execinfo.h: Likewise.
47340         * debug/mbsnrtowcs_chk.c: Likewise.
47341         * debug/mbsrtowcs_chk.c: Likewise.
47342         * debug/wcsnrtombs_chk.c: Likewise.
47343         * debug/wcsrtombs_chk.c: Likewise.
47344         * debug/wcstombs_chk.c: Likewise.
47345         * dirent/dirent.h: Likewise.
47346         * dlfcn/dlfcn.h: Likewise.
47347         * elf/neededtest4.c: Likewise.
47348         * grp/grp.h: Likewise.
47349         * gshadow/gshadow.h: Likewise.
47350         * iconv/gconv.h: Likewise.
47351         * iconv/gconv_int.h: Likewise.
47352         * iconv/gconv_simple.c: Likewise.
47353         * iconv/iconv.h: Likewise.
47354         * iconv/loop.c: Likewise.
47355         * iconv/skeleton.c: Likewise.
47356         * include/aio.h: Likewise.
47357         * include/aliases.h: Likewise.
47358         * include/argz.h: Likewise.
47359         * include/arpa/inet.h: Likewise.
47360         * include/assert.h: Likewise.
47361         * include/dirent.h: Likewise.
47362         * include/dlfcn.h: Likewise.
47363         * include/execinfo.h: Likewise.
47364         * include/fcntl.h: Likewise.
47365         * include/fenv.h: Likewise.
47366         * include/glob.h: Likewise.
47367         * include/grp.h: Likewise.
47368         * include/libintl.h: Likewise.
47369         * include/mntent.h: Likewise.
47370         * include/netdb.h: Likewise.
47371         * include/pwd.h: Likewise.
47372         * include/rpc/netdb.h: Likewise.
47373         * include/sched.h: Likewise.
47374         * include/search.h: Likewise.
47375         * include/shadow.h: Likewise.
47376         * include/signal.h: Likewise.
47377         * include/stdio.h: Likewise.
47378         * include/stdlib.h: Likewise.
47379         * include/string.h: Likewise.
47380         * include/sys/socket.h: Likewise.
47381         * include/sys/stat.h: Likewise.
47382         * include/sys/statfs.h: Likewise.
47383         * include/sys/statvfs.h: Likewise.
47384         * include/sys/syslog.h: Likewise.
47385         * include/sys/time.h: Likewise.
47386         * include/sys/uio.h: Likewise.
47387         * include/time.h: Likewise.
47388         * include/unistd.h: Likewise.
47389         * include/utmp.h: Likewise.
47390         * include/wchar.h: Likewise.
47391         * include/wctype.h: Likewise.
47392         * inet/aliases.h: Likewise.
47393         * inet/arpa/inet.h: Likewise.
47394         * inet/netinet/ether.h: Likewise.
47395         * inet/netinet/in.h: Likewise.
47396         * intl/libintl.h: Likewise.
47397         * io/bits/fcntl2.h: Likewise.
47398         * io/fcntl.h: Likewise.
47399         * io/ftw.h: Likewise.
47400         * io/sys/poll.h: Likewise.
47401         * io/sys/stat.h: Likewise.
47402         * io/sys/statfs.h: Likewise.
47403         * io/sys/statvfs.h: Likewise.
47404         * io/utime.h: Likewise.
47405         * libio/bits/stdio.h: Likewise.
47406         * libio/bits/stdio2.h: Likewise.
47407         * libio/libio.h: Likewise.
47408         * libio/libioP.h: Likewise.
47409         * libio/stdio.h: Likewise.
47410         * locale/lc-ctype.c: Likewise.
47411         * locale/locale.h: Likewise.
47412         * login/utmp.h: Likewise.
47413         * malloc/arena.c: Likewise.
47414         * malloc/malloc.c: Likewise.
47415         * malloc/malloc.h: Likewise.
47416         * malloc/mcheck.c: Likewise.
47417         * malloc/mtrace.c: Likewise.
47418         * math/bits/mathcalls.h: Likewise.
47419         * math/fenv.h: Likewise.
47420         * math/math_private.h: Likewise.
47421         * misc/bits/error.h: Likewise.
47422         * misc/bits/syslog.h: Likewise.
47423         * misc/err.h: Likewise.
47424         * misc/error.h: Likewise.
47425         * misc/fstab.h: Likewise.
47426         * misc/mntent.h: Likewise.
47427         * misc/regexp.h: Likewise.
47428         * misc/search.h: Likewise.
47429         * misc/sgtty.h: Likewise.
47430         * misc/sys/mman.h: Likewise.
47431         * misc/sys/syslog.h: Likewise.
47432         * misc/sys/uio.h: Likewise.
47433         * misc/sys/xattr.h: Likewise.
47434         * misc/ttyent.h: Likewise.
47435         * nis/rpcsvc/ypclnt.h: Likewise.
47436         * nss/nss.h: Likewise.
47437         * posix/bits/unistd.h: Likewise.
47438         * posix/fnmatch.h: Likewise.
47439         * posix/glob.h: Likewise.
47440         * posix/sched.h: Likewise.
47441         * posix/spawn.h: Likewise.
47442         * posix/sys/wait.h: Likewise.
47443         * posix/unistd.h: Likewise.
47444         * posix/wordexp.h: Likewise.
47445         * pwd/pwd.h: Likewise.
47446         * resolv/netdb.h: Likewise.
47447         * resource/sys/resource.h: Likewise.
47448         * rt/aio.h: Likewise.
47449         * rt/bits/mqueue2.h: Likewise.
47450         * rt/mqueue.h: Likewise.
47451         * shadow/shadow.h: Likewise.
47452         * signal/signal.h: Likewise.
47453         * socket/send.c: Likewise.
47454         * socket/sendto.c: Likewise.
47455         * socket/sys/socket.h: Likewise.
47456         * stdio-common/printf.h: Likewise.
47457         * stdlib/bits/stdlib.h: Likewise.
47458         * stdlib/fmtmsg.h: Likewise.
47459         * stdlib/monetary.h: Likewise.
47460         * stdlib/stdlib.h: Likewise.
47461         * stdlib/ucontext.h: Likewise.
47462         * streams/stropts.h: Likewise.
47463         * string/argz.h: Likewise.
47464         * string/bits/string2.h: Likewise.
47465         * string/string.h: Likewise.
47466         * string/strings.h: Likewise.
47467         * sunrpc/rpc/auth.h: Likewise.
47468         * sunrpc/rpc/auth_des.h: Likewise.
47469         * sunrpc/rpc/clnt.h: Likewise.
47470         * sunrpc/rpc/netdb.h: Likewise.
47471         * sunrpc/rpc/pmap_clnt.h: Likewise.
47472         * sunrpc/rpc/xdr.h: Likewise.
47473         * sysdeps/generic/inttypes.h: Likewise.
47474         * sysdeps/generic/net/if.h: Likewise.
47475         * sysdeps/generic/sys/swap.h: Likewise.
47476         * sysdeps/gnu/net/if.h: Likewise.
47477         * sysdeps/gnu/utmpx.h: Likewise.
47478         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47479         * sysdeps/i386/i486/bits/string.h: Likewise.
47480         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47481         * sysdeps/s390/bits/string.h: Likewise.
47482         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47483         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47484         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47485         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47486         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47487         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47488         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47489         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47490         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47491         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47492         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47493         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47494         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47495         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47496         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47497         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47498         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47499         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47500         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47501         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47502         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47503         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47504         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47505         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47506         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47507         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47508         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47509         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47510         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47511         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47512         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47513         * sysvipc/sys/ipc.h: Likewise.
47514         * sysvipc/sys/msg.h: Likewise.
47515         * sysvipc/sys/sem.h: Likewise.
47516         * sysvipc/sys/shm.h: Likewise.
47517         * termios/termios.h: Likewise.
47518         * time/sys/time.h: Likewise.
47519         * time/time.h: Likewise.
47520         * wcsmbs/bits/wchar2.h: Likewise.
47521         * wcsmbs/uchar.h: Likewise.
47522         * wcsmbs/wchar.h: Likewise.
47523         * wctype/wctype.h: Likewise.
47525         [BZ #13551]
47526         * Makeconfig: Remove all but ELF support including AIX support.
47527         * Makerules: Likewise.
47528         * config.h.in: Likewise.
47529         * config.make.in: Likewise.
47530         * configure: Likewise.
47531         * configure.in: Likewise.
47532         * csu/Makefile: Likewise.
47533         * csu/version.c: Likewise.
47534         * debug/Makefile: Likewise.
47535         * dlfcn/Makefile: Likewise.
47536         * elf/Makefile: Likewise.
47537         * extra-lib.mk: Likewise.
47538         * iconv/Makefile: Likewise.
47539         * include/libc-symbols.h: Likewise.
47540         * include/shlib-compat.h: Likewise.
47541         * resolv/Makefile: Likewise.
47542         * resolv/res_libc.c: Likewise.
47543         * rt/Makefile: Likewise.
47544         * sysdeps/i386/asm-syntax.h: Likewise.
47545         * sysdeps/i386/sysdep.h: Likewise.
47546         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47547         * sysdeps/mach/sysdep.h: Likewise.
47548         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47549         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47550         * sysdeps/s390/asm-syntax.h: Likewise.
47551         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47552         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47553         * sysdeps/sh/sysdep.h: Likewise.
47554         * sysdeps/unix/sparc/sysdep.h: Likewise.
47555         * sysdeps/wordsize-32/divdi3.c: Likewise.
47556         * sysdeps/x86_64/sysdep.h: Likewise.
47558         * argp/Versions: Remove _argp_unlock_xxx.
47560         [BZ #13559]
47561         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47562         * abilist/libBrokenLocale.abilist: Likewise.
47563         * abilist/libanl.abilist: Likewise.
47564         * abilist/libc.abilist: Likewise.
47565         * abilist/libcrypt.abilist: Likewise.
47566         * abilist/libdl.abilist: Likewise.
47567         * abilist/libm.abilist: Likewise.
47568         * abilist/libnsl.abilist: Likewise.
47569         * abilist/libpthread.abilist: Likewise.
47570         * abilist/libresolv.abilist: Likewise.
47571         * abilist/librt.abilist: Likewise.
47572         * abilist/libthread_db.abilist: Likewise.
47573         * abilist/libutil.abilist: Likewise.
47574         * abilist/libnss_db.abilist: New file.
47576         * scripts/abilist.awk: Add support for indirect functions.
47578         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47580         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47582         * shlib-versions: Remove entries for ports architectures.
47584         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47585         files in ports.
47586         * elf/stackguard-macros.h: Remove support for IA-64.
47587         * elf/tst-auditmod1.c: Likewise.
47588         * sysdeps/generic/ldsodefs.h: Likewise.
47590         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47591         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47592         configure files.
47594         [BZ #13552]
47595         * configure.in: Remove --enable-omitfp support.
47596         * FAQ.in: Adjust.
47597         * config.make.in: Likewise.
47598         * Makeconfig: Likewise.
47599         * manual/install.texi: Likewise.
47601         In case anyone cares, the IA-64 architecture could move to ports.
47602         * sysdeps/ia64/*: Removed.
47603         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47604         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47606         [BZ #13555]
47607         * configure.in: Remove entries for unsupported architectures.
47609         [BZ #13533]
47610         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47611         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47612         routines.
47613         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47614         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47615         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47616         fall back to using wcrtomb.
47617         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47618         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47619         renaming.
47620         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47621         * wcsmbs/tst-c16c32-1.c: New file.
47623         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47624         local variable.
47626         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47628         * elf/tst-unique3.cc: Add explicit declaration of gets.
47629         * elf/tst-unique3lib.cc: Likewise.
47630         * elf/tst-unique3lib2.cc: Likewise.
47631         * elf/tst-unique4.cc: Likewise.
47633         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47635 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47637         [BZ #13566]
47638         * assert/assert.h (static_assert): Don't define for C++.
47639         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47640         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47642 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47644         * iconv/loop.c (single loop): Fix assertion in storing of
47645         remaining bytes.
47647         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47649 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47651         * posix/getconf.c: Update copyright year.
47652         * nss/getent.c: Likewise.
47653         * nss/makedb.c: Likewise.
47654         * iconv/iconvconfig.c: Likewise.
47655         * iconv/iconv_prog.c: Likewise.
47656         * elf/ldconfig.c: Likewise.
47657         * elf/pldd.c: Likewise.
47658         * elf/sotruss.ksh: Likewise.
47659         * catgets/gencat.c: Likewise.
47660         * csu/version.c: Likewise.
47661         * elf/ldd.bash.in: Likewise.
47662         * elf/sprof.c (print_version): Likewise.
47663         * locale/programs/locale.c: Likewise.
47664         * locale/programs/localedef.c: Likewise.
47665         * login/programs/pt_chown.c: Likewise.
47666         * nscd/nscd.c (print_version): Likewise.
47667         * debug/xtrace.sh: Likewise.
47668         * malloc/memusage.sh: Likewise.
47669         * malloc/mtrace.pl: Likewise.
47670         * debug/catchsegv.sh: Likewise.
47672 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47674         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47675         pure attribute.
47677 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47679         [BZ #13533]
47680         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47681         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47682         transformations.
47683         * iconv/gconv_int.h: Likewise.
47684         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47685         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47686         from libc for GLIBC_2.16.
47687         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47688         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47689         * wcsmbs/uchar.h: Really define mbstate_t.
47690         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47691         * wcsmbs/c16rtomb.c: New file.
47692         * wcsmbs/mbrtoc16.c: New file.
47693         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47694         for C/POSIX locale.
47695         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47696         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47698         * wcsmbs/wchar.h: Add missing __restrict.
47700 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47702         [BZ #13532]
47703         * time/Makefile (routines): Add timespec_get.
47704         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47705         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47706         timespec for ISO C11.
47707         * time/timespec_get.c: New file.
47708         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47709         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47711         [BZ #13531]
47712         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47713         * stdlib/stdlib.h: Declare aligned_alloc.
47714         * Versions.def: Add GLIBC_2.16 for libc.
47715         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47717         [BZ 13527]
47718         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47719         ISO C11.
47721         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47722         code.
47724         [BZ #13528]
47725         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47727         [BZ #13529]
47728         * assert/assert.h (static_assert): Define.
47730         * version.h: Update for 2.16 development version.
47732         [BZ #13526]
47733         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47734         _ISOC11_SOURCE.
47736         * version.h (RELEASE): Bump for 2.15 release.
47737         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47739         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47740         Patch by Marek Polacek <mpolacek@redhat.com>.
47742         * bits/byteswap.h: Protect long long constants with __extension__.
47743         * sysdeps/i386/bits/byteswap.h: Likewise.
47744         * sysdeps/ia64/bits/byteswap.h: Likewise.
47745         * sysdeps/s390/bits/byteswap.h: Likewise.
47746         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47748 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47750         [BZ #13540]
47751         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47752         destination buffer.
47753         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47755 2011-12-23  Marek Polacek  <polacek@redhat.com>
47757         * elf/dl-addr.c (determine_info): Add inline keyword.
47758         * elf/tst-auditmod4b.c (check_avx): Likewise.
47759         * elf/tst-auditmod6b.c (check_avx): Likewise.
47760         * elf/tst-auditmod6c.c (check_avx): Likewise.
47761         * elf/tst-auditmod7b.c (check_avx): Likewise.
47763 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47765         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47766         !__SSE_MATH__.
47768 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47770         [BZ #13540]
47771         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47772         processing for last bytes.
47774 2011-08-06  Bruno Haible  <bruno@clisp.org>
47776         [BZ #13061]
47777         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47778         U+0385, not to U+1FEE.
47780         [BZ #13062]
47781         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47782         entry for U+00A5 U+0301.
47784 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47786         [BZ #13166]
47787         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47788         buffer for the output is too small.
47790         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47791         optimization.
47793         [BZ #13185]
47794         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47795         SSE flags if possible.
47797 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47799         [BZ #13540]
47800         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47801         processing for last bytes.
47803 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47805         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47806         (syscall-list-default-options, syscall-list-default-condition)
47807         (syscall-list-includes): Define.
47808         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47809         list of ABIs and options and #if conditions for each ABI.  Do not
47810         handle common syscalls between ABIs specially.
47811         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47812         Remove.
47813         (syscall-list-variants, syscall-list-32bit-options)
47814         (syscall-list-32bit-condition, syscall-list-64bit-options)
47815         (syscall-list-64bit-condition): Define.
47816         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47817         (syscall-list-variants, syscall-list-32bit-options)
47818         (syscall-list-32bit-condition, syscall-list-64bit-options)
47819         (syscall-list-64bit-condition): Define.
47820         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47821         Remove.
47822         (syscall-list-variants, syscall-list-32bit-options)
47823         (syscall-list-32bit-condition, syscall-list-64bit-options)
47824         (syscall-list-64bit-condition): Define.
47825         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47826         Remove.
47827         (syscall-list-variants, syscall-list-32bit-options)
47828         (syscall-list-32bit-condition, syscall-list-64bit-options)
47829         (syscall-list-64bit-condition): Define.
47831 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47833         * locale/iso-639.def: Add brx entry.
47835         [BZ #13328]
47836         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47837         Proposed by Mariusz_Cukr <marcukr@op.pl>.
47839         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47840         __feraiseexcept_renamed.
47842 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47844         [BZ #13538]
47845         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47846         EPOLLET with unsigned values.
47847         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47848         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47850         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47851         to large cancellation.
47852         * math/s_cacoshf.c: Likewise.
47853         * math/s_cacoshl.c: Likewise.
47855 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
47857         [BZ #13305]
47858         [BZ #12786]
47859         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47860         * math/s_cacoshf.c: Likewise.
47861         * math/s_cacoshl.c: Likewise.
47863 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47865         [BZ #13439]
47866         * iconv/gconv.h: Define __GCONV_SWAP.
47867         * iconvdata/unicode.c: The swap bit must be stored in __flags.
47868         * iconvdata/utf-16.c: Likewise.
47869         * iconvdata/utf-32.c: Likewise.
47871 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
47873         [BZ #13524]
47874         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47875         numerator after shifting it by one limb.
47877 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
47879         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47880         under [__USE_EXTERN_INLINES].
47882 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47884         [BZ #13446]
47885         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47887 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47889         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47890         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47891         optimized code.
47892         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47893         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47894         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47895         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47896         for strncasecmp/strncasecmp_l compilation.
47897         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47898         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47900 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
47902         [BZ #13484]
47903         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47904         of __asm__.
47906 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47908         [BZ #13506]
47909         * time/tzfile.c (__tzfile_read): Check values from file header.
47911 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47913         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47914         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47915         * powerpc/powerpc32/dl-start.S: Likewise.
47916         * powerpc/powerpc32/elf/start.S: Likewise.
47917         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47918         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47919         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47920         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47921         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47922         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47923         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47924         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47925         * powerpc/powerpc32/fpu/s_round.S: Likewise.
47926         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47927         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47928         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47929         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47930         * powerpc/powerpc32/memset.S: Likewise.
47931         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47932         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47933         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47934         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47935         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47936         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47937         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47938         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47939         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47940         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47941         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47942         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47943         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47945 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47947         * math/libm-test.inc: Added more nearbyint tests.
47948         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47949         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47950         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47951         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47953 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
47955         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47956         FD_CLOEXEC.
47958 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47960         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47961         Add wcscpy-ssse3 wcscpy-c.
47962         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47963         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47964         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47965         * sysdeps/x86_64/wcschr.S: New file.
47966         * sysdeps/x86_64/wcsrchr.S: New file.
47967         * string/test-strcmp.c: Remove checking of wcscmp function for
47968         wrong alignments.
47969         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47970         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47971         wcsrchr-sse2 wcsrchr-c.
47972         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47973         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47974         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47975         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47976         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47977         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47978         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47979         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47980         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47981         * wcsmbc/wcschr.c (WCSCHR): New macro.
47983 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47985         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47986         * wcsmbs/test-wcsrchr.c: New file.
47987         * string/test-strrchr.c: Add wcsrchr support.
47988         (WIDE): New macro.
47989         * wcsmbs/test-wcscpy.c: New file.
47990         * string/test-strcpy.c: Add wcscpy support.
47991         (WIDE): New macro.
47993 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
47995         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47996         the inner loop.
47998 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48000         [BZ #13472]
48001         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48003 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48005         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48006         Minor optimizations.
48008         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48009         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48010         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48012 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48014         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48015         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48016         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48017         for gcc to avoid warnings.
48018         * inet/Makefile (tests): Add tst-checks.
48019         * inet/tst-checks.c: New file.
48021         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48022         warning.
48024         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48025         __wmemcmp_sse2.
48027         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48028         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48030         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48032 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48034         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48035         problem.
48037         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48039 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48041         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48042         conditional on GCC version.
48043         (__arch_compare_and_exchange_val_8_acq)
48044         (__arch_compare_and_exchange_val_16_acq)
48045         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48046         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48047         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48049 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48051         * sysdeps/sh/backtrace.c: New file.
48053 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48055         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48056         parenthesis.
48058 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48060         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48061         falling back to utime.
48063 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48065         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48066         expectations for float.
48068 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48070         * locale/weight.h (findidx): Add parameter len.
48071         * locale/weightwc.h (findidx): Likewise.
48072         * posix/fnmatch_loop.c (FCT): Adjust caller.
48073         * posix/regcomp.c (build_equiv_class): Likewise.
48074         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48075         * posix/regexec.c (check_node_accept_bytes): Likewise.
48076         * string/strcoll_l.c (STRCOLL): Likewise.
48077         * string/strxfrm_l.c (STRXFRM): Likewise.
48079 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48081         * Makefile.in: Remove CVSOPT handling.
48082         * configure.in: Remove use of AC_REVISION.
48083         * iconvdata/Makefile (distribute): No need to filter out CVS.
48084         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48085         handling.
48087 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48089         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48090         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48091         [USE_AS_STRNCASECMP_L]: Likewise.
48092         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48093         NO_TLS_DIRECT_SEG_REFS.
48094         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48095         Fix argument offsets for non-PIC.
48096         [USE_AS_STRNCASECMP_L]: Likewise.
48097         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48098         NO_TLS_DIRECT_SEG_REFS.
48100 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48102         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48103         O_CLOEXEC.
48104         * locale/loadlocale.c (_nl_load_locale): Likewise.
48106 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48108         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48109         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48110         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48111         (SYSCALL_GETTIME): Set errno on error.
48113         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48114         count references to noai6ai_cached.
48116 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48118         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48120         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48121         FD_CLOEXEC for /proc/self/maps.
48123         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48124         FD_CLOEXEC for /proc/meminfo.
48126         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48127         gai.conf.
48129         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48130         FD_CLOEXEC for given file.
48132         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48134         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48135         FD_CLOEXEC for /etc/hosts.
48136         (_gethtent): Likewise.
48138         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48140         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48141         cancellation and set FD_CLOEXEC for /etc/netgroup.
48143         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48144         reading /etc/publickey.
48146         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48147         allow cancellation when reading /etc/group.
48149         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48150         cancellation.
48151         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48153         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48154         when using data file.
48156         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48158         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48159         (write_nis_obj): Use "c" and "e" in fopen.
48161         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48163         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48165         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48167         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48169         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48170         locale.alias.
48172         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48174         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48176         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48178         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48179         file parsing and set FD_CLOEXEC.
48181 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48183         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48185 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48187         * malloc/arena.c (arena_get2): Don't call reused_arena when
48188         _int_new_arena failed.
48190 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48192         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48193         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48194         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48195         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48196         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48197         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48198         to compile strcasecmp and strncasecmp.
48199         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48200         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48202         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48204 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48206         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48207         locale-defines.sym to gen-as-const-headers.
48208         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48209         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48210         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48211         to compile strcasecmp and strncasecmp.
48212         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48213         strcasecmp_l and strncasecmp_l.
48214         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48215         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48216         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48217         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48218         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48219         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48220         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48221         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48222         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48223         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48224         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48226 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48228         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48229         result of SYSDEP_GETTIME_CPU to retval.
48230         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48231         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48233         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48234         variable.
48236         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48237         mantissa words.
48238         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48240         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48241         from unused variable.
48243         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48244         DWARF definitions.
48245         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48246         for assembling.
48248         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48249         over namespaces.
48251         * sunrpc/rpc_prot.c (rejected): Fix case value.
48253         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48254         unsigned long long int to avoid warnings in shift.
48256         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48257         of use of trans.
48258         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48259         variable tmp.
48261         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48262         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48263         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48265         * nis/nis_table.c (nis_list): Use variable of correct type for
48266         result of __follow_path call.
48268 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48270         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48271         of math functions ceil, trunc, floor, round, and sqrt, when
48272         avaliable on the platform.
48273         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48274         name clash.
48275         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48276         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48277         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48279 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48281         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48282         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48284 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48286         * include/unistd.h: Fix __readlink return type.
48287         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48289 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48291         * stdlib/ucontext.h: Undo last change for makecontext.
48293 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48295         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48297         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48298         * setjmp/setjmp.h: Mark functions as non-leaf.
48299         * setjmp/bits/setjmp2.h: Likewise.
48300         * stdlib/ucontext.h: Likewise.
48302 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48304         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48305         (reused_arena): Don't check arena limit.
48306         (arena_get2): Atomically check arena limit.
48308 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48310         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48311         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48313         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48314         instructions.
48316 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48318         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48319         handler when locking.
48321         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48322         Fix size of allocated buffer.
48324 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48326         [BZ #10103]
48327         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48328         declarations for long double functions.
48329         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48331         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48333 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48335         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48336         installed.
48338         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48339         is disabled.
48341 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48343         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48345 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48347         * include/alloca.h (stackinfo_alloca_round): Define.
48348         (extend_alloca): Use it.
48349         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48350         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48351         here.
48353         * scripts/check-local-headers.sh: Ignore libaudit.h.
48355         * nscd/Makefile (extra-objs): Make recursively expanded.
48357 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48359         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48360         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48362         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48363         * posix/tst-rfc3484-2.c: Likewise.
48364         * posix/tst-rfc3484-3.c: Likewise.
48366         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48367         process_vm_writev.
48368         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48369         process_vm_writev.
48370         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48371         process_vm_writev from libc using GLIBC_2.15 version.
48373         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48375 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48377         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48378         stack usage.
48380 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48382         [BZ #13367]
48383         * nss/getent.c (initgroups_keys): Show error message in case no group
48384         names are given.
48386         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48387         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48388         __bump_nl_timestamp.
48389         * nscd/connections (nscd_init): When host database is served open
48390         netlink socket and request notification about configuration changes.
48391         (main_loop_poll): Track netlink file descriptor and bump timestamp
48392         in case data becomes available.
48393         (main_loop_epoll): Likewise.
48394         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48395         (database_pers_head): Add extra_data fileds.
48396         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48397         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48398         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48399         Adjust caller.
48400         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48401         in6ai data, call __free_in6ai.
48402         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48403         Add -DHAVE_NETLINK.
48404         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48405         interface information.  Reuse previous data if netlink timestamp
48406         is not changed.
48407         (__bump_nl_timestamp): New function.
48408         (__free_in6ai): New function.
48410 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48412         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48413         close_not_cancel_no_status here.
48414         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48416 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48418         [BZ #13276]
48419         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48420         return value.
48422         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48423         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48424         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48426 2011-07-03  Andreas Jaeger  <aj@suse.de>
48428         [BZ #10709]
48429         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48430         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48431         * math/libm-test.inc (sin_test): Add test case.
48433 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48435         [BZ #13337]
48436         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48437         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48439         * elf/chroot_canon.c (chroot_canon): Cleanups.
48441         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48443         [BZ #13335]
48444         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48445         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48447         * string/test-strchr.c: Make usable for strchrnul testing.
48448         * string/test-strchrnul.c: New file.
48449         * string/Makefile (strop-tests): Add strchrnul.
48451         * po/it.po: Update from translation team.
48452         * po/es.po: Likewise.
48454 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48456         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48457         the three constants needed as parameters.  Drop the others.
48458         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48459         __m128i_strloadu_tolower.
48460         Create and initialize variable zero and use it in all the places
48461         where _mm_setzero_si128 was used.
48463         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48464         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48465         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48466         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48467         anymore.
48468         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48469         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48470         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48471         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48472         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48473         __mpranred, __mptan.
48474         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48475         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48476         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48477         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48478         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48479         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48480         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48481         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48482         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48484 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48486         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48487         redefine if SHARED.
48488         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48490         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48491         wide char related routines to wcsmbs subdir.
48493 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48495         [BZ #13344]
48496         * misc/sys/cdefs.h (__THROWNL): Define.
48497         * posix/unistd.h: Use __THREADNL instead of __THREAD
48498         for memory synchronization functions.
48500 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48502         [BZ #13349]
48503         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48504         doesn't exist.
48505         * manual/stdio.texi (Obstack Streams): Node removed.
48507 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48509         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48510         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48511         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48513         * math/math_private.h (math_force_eval): Allow non-addressable
48514         arguments.
48515         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48517 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48519         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48520         file is not needed.
48522         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48523         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48524         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48525         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48526         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48527         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48528         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48529         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48530         Add AVX variants.
48531         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48532         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48533         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48534         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48535         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48536         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48537         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48538         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48539         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48540         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48541         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48542         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48543         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48544         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48545         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48546         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48547         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48548         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48549         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48551         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48552         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48554         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48555         place.  Use VEX encoding when compiling for AVX.
48557 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48559         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48560         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48562         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48564 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48566         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48567         useless if() expression.
48568         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48569         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48570         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48571         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48572         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48573         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48574         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48575         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48576         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48577         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48578         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48579         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48580         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48581         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48582         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48583         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48584         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48585         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48586         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48588         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48590 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48592         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48593         condition.
48594         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48596 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48598         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48599         .text section.  Avoid duplicate constants.
48600         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48601         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48602         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48603         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48604         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48605         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48606         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48607         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48608         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48609         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48610         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48611         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48612         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48613         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48614         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48615         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48616         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48617         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48618         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48619         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48620         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48621         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48622         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48623         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48624         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48625         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48626         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48627         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48628         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48629         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48630         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48631         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48632         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48633         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48634         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48635         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48636         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48637         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48638         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48639         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48640         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48641         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48642         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48643         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48644         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48646 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48648         * sysdeps/x86_64/dla.h: Move to ...
48649         * sysdeps/x86_64/fpu/dla.h: ...here.
48650         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48651         situations.  Use __builtin_fma only for gcc 4.6 and up.
48653         * config.make.in: Add have-mfma4 entry.
48654         * configure.in: Substitute libc_cv_cc_fma4.
48655         * math/Makefile (dbl-only-routines): Add sincostab.
48656         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48657         Use __sincostab not sincos.
48658         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48659         name is a macro.
48660         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48661         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48662         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48663         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48664         using __copysign.
48665         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48666         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48667         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48668         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48669         and __inv.
48670         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48671         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48672         __copysign.
48673         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48674         define aliases when function name is a macro.
48675         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48676         sysdeps/ieee754/dbl-64/sincos.tbl.
48677         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48678         fma4-enabled routines.
48679         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48680         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48681         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48682         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48683         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48684         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48685         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48686         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48687         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48688         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48689         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48690         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48691         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48692         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48693         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48694         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48695         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48696         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48697         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48698         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48699         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48700         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48701         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48702         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48703         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48704         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48705         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48706         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48707         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48708         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48710         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48711         rename.
48712         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48713         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48714         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48715         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48716         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48717         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48718         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48719         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48721 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48723         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48725 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48727         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48729         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48730         prediction.
48731         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48733         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48734         Remove unused variable magic_bits.
48735         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48737         * string/strnlen.c: Define and use STRNLEN macro.
48738         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48739         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48740         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48741         * wcsmbs/wcslen.c: Define and use WCSLEN.
48742         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48743         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48744         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48745         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48746         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48747         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48748         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48750 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48753         strnlen-sse2-no-bsf.
48754         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48755         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48756         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48757         Add strnlen support.
48758         (USE_AS_STRNLEN): New macro.
48759         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48760         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48761         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48762         * sysdeps/x86_64/wcslen.S: New file.
48764 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48766         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48767         XMM-moves are used for copying on small sizes.
48769 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48771         * wcsmbs/Makefile (strop-tests): Add wcschr.
48772         * wcsmbs/test-wcschr.c: New file.
48773         * string/test-strchr.c: Update.
48774         Add wcschr support.
48775         (WIDE): New macro.
48777 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48779         * wcsmbs/Makefile (strop-tests): Add wcslen.
48780         * wcsmbs/test-wcslen.c: New file.
48781         * string/test-strlen.c: Update.
48782         Add wcslen support.
48783         (WIDE): New macro.
48785 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48787         * po/it.po: Update from translation team.
48789 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48791         * sysdeps/x86_64/wcscmp.S: Update.
48792         Fix wrong comparison semantics.
48793         wcscmp shall use signed comparison not unsigned.
48794         Don't use substraction to avoid overflow bug.
48795         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48796         * wcsmbc/wcscmp.c: Likewise.
48797         * string/test-strcmp.c: Likewise.
48798         Add new tests to check cases with negative values.
48800 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48802         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48803         * sysdeps/x86_64/dla.h: ...here.  New file.
48804         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48805         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48806         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48807         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48808         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48809         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48810         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48811         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48812         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48814 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48816         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48817         __ynl_finite aliases.
48819 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48821         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48823         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48824         define DLA_FMA.
48825         [DLA_FMA] (EMULV): Use DLA_FMA.
48826         [DLA_FMA] (MUL12): Use EMULV.
48827         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48828         that are not needed.
48829         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48830         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48831         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48832         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48833         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48834         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48835         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48837 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
48839         * math/s_nan.c: Undef __nan.
48840         * math/s_nanf.c: Undef __nanf.
48841         * math/s_nanl.c: Undef __nanl.
48842         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48843         "math_private.h".
48845 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48847         * math/s_catan.c: Add branch predictions.
48848         * math/s_catanf.c: Likewise.
48849         * math/s_catanh.c: Likewise.
48850         * math/s_catanhf.c: Likewise.
48851         * math/s_catanhl.c: Likewise.
48852         * math/s_catanl.c: Likewise.
48853         * math/s_cexp.c: Likewise.
48854         * math/s_cexpf.c: Likewise.
48855         * math/s_cexpl.c: Likewise.
48856         * math/s_clog.c: Likewise.
48857         * math/s_clog10.c: Likewise.
48858         * math/s_clog10f.c: Likewise.
48859         * math/s_clog10l.c: Likewise.
48860         * math/s_clogf.c: Likewise.
48861         * math/s_clogl.c: Likewise.
48862         * math/s_csqrt.c: Likewise.
48863         * math/s_csqrtf.c: Likewise.
48864         * math/s_csqrtl.c: Likewise.
48865         * math/s_ctanf.c: Likewise.
48866         * math/s_ctanh.c: Likewise.
48867         * math/s_ctanhf.c: Likewise.
48868         * math/s_ctanhl.c: Likewise.
48869         * math/s_ctanl.c: Likewise.
48871         * math/math_private.h: Define __nan, __nanf, __nanl.
48872         * math/s_cacosh.c: Include <math_private.h>.
48873         * math/s_cacoshl.c: Likewise.
48874         * math/s_casinh.c: Likewise.
48875         * math/s_casinhf.c: Likewise.
48876         * math/s_casinhl.c: Likewise.
48877         * math/s_ccos.c: Rely entire on ccosh.
48878         * math/s_ccosf.c: Rely entire on ccoshf.
48879         * math/s_ccosl.c: Rely entirely on ccoshl.
48880         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
48881         Remove tests for FE_INVALID.
48882         * math/s_ccoshf.c: Likewise.
48883         * math/s_ccoshl.c: Likewise.
48884         * math/s_csin.c: Likewise.
48885         * math/s_csinf.c: Likewise.
48886         * math/s_csinh.c Likewise.
48887         * math/s_csinhf.c: Likewise.
48888         * math/s_csinhl.c: Likewise.
48889         * math/s_csinl.c: Likewise.
48890         * math/s_ctan.c: Likewise.
48891         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48892         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48893         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48895 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
48897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48898         compilation problems.
48900         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48901         __builtin_expect.
48903 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
48905         * sysdeps/i386/configure.in: Test for -mfma4 option.
48906         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48907         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48908         COMMON_CPUID_INDEX_80000001.
48909         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48910         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48911         use it if FMA3 is not supported.
48912         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48914         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48915         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48917 2011-10-20  Andreas Schwab  <schwab@redhat.com>
48919         [BZ #12892]
48920         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48921         it would create a cycle with a link time dependency.
48923 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
48925         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48926         instruction.
48927         * string/Makefile (strop-tests): Add rawmemchr.
48928         * string/test-rawmemchr.c: New file.
48930         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48931         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
48932         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
48933         when compiling str{,n}casecmp and when AVX is available.  Hook up
48934         new optimized code in initializers.
48936 2011-10-19  Andreas Schwab  <schwab@redhat.com>
48938         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48939         __feraiseexcept instead of feraiseexcept.
48941 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
48943         * math/math_private.h: Define defaults for libc_fetestexcept and
48944         libc_feupdateenv.
48945         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48946         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48947         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48948         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48949         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48950         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48951         libc_fetestexcept and libc_feupdateenv.
48953         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48954         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48955         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48956         * sysdeps/x86_64/fpu/math_private.h: Define special version of
48957         libc_feholdexcept_setround.
48959         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48960         Add s_nearbyint-c and s_nearbyintf-c.
48961         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48962         nearbyintf inlines.
48963         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48964         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48965         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48966         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48968         * math/math_private.h: Define defaults for libc_fegetround,
48969         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48970         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48971         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48972         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48973         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48974         standard functions.
48975         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48976         Remove comments and hacks for old compiler versions.
48977         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48978         libc_fegetround, libc_fesetround, libc_feholdexcept, and
48979         libc_feholdexceptl.
48981 2011-10-18  Andreas Schwab  <schwab@redhat.com>
48983         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48984         (__feraiseexcept_renamed): Add __NTH.
48985         (feraiseexcept): Add __NTH.  Rename local variables to fix
48986         namespace violations.
48988 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
48990         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48992         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48994         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48995         recently added interfaces.
48996         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48998         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48999         about macro parameter expansion.
49001         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49002         __NO_MATH_INLINES is defined.  Cleanups.
49004         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49005         and __floorf is target has SSE4.1.
49006         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49007         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49008         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49009         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49011         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49012         name.
49013         (floorf): Likewise.
49015         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49017 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49019         * misc/sys/cdefs.h: Fix last change.
49021         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49022         database lookup.
49024 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49026         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49028         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49029         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49030         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49031         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49032         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49033         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49034         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49035         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49036         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49037         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49038         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49039         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49040         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49041         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49042         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49043         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49044         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49045         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49046         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49047         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49048         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49049         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49051         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49052         ceil, ceilf, floor, floorf.
49054         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49055         Perform IRELATIVE relocations last.
49057         * elf/do-rel.h: Add another parameter nrelative, replacing the
49058         local variable with the same name.  Change name of the function
49059         to end in Rel or Rela (uppercase).
49060         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49061         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49062         elf_dynamic_do_##reloc function.
49064 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49066         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49067         is sufficient, at least on modern CPUs.
49069         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49071         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49072         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49074         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49075         __expl_finite.
49076         * math/bits/math-finite.h: Add entries for exp.
49077         * math/e_expl.c: Add __*_finite alias.
49078         * sysdeps/i386/fpu/e_exp.S: Likewise.
49079         * sysdeps/i386/fpu/e_expf.S: Likewise.
49080         * sysdeps/i386/fpu/e_expl.c: Likewise.
49081         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49082         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49083         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49084         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49085         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49086         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49087         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49089         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49090         is sufficient, at least on modern CPUs.
49092         * ctype/ctype-info.c (__ctype_init): Define.
49093         * include/ctype.h (__ctype_init): Declare.
49094         (__ctype_b_loc): The variable is always initialized.
49095         (__ctype_toupper_loc): Likewise.
49096         (__ctype_tolower_loc): Likewise.
49097         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49098         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49100 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49102         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49104         * configure.in: Also look in $cxxmachine/include for C++ system
49105         headers.
49107 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49109         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49110         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49111         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49112         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49113         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49114         (USE_AS_WMEMCMP): New macro.
49115         Fixing indents.
49116         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49117         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49118         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49119         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49120         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49121         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49122         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49123         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49124         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49125         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49126         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49127         (USE_AS_WMEMCMP): New macro.
49128         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49129         * sysdeps/string/test-memcmp.c: Update.
49130         Fix simple_wmemcmp.
49131         Add new tests.
49132         * wcsmbs/wmemcmp.c: Update.
49133         (WMEMCMP): New macro.
49134         Fix overflow bug.
49136 2011-10-12  Andreas Jaeger  <aj@suse.de>
49138         [BZ #13268]
49139         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49141 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49143         * libio/iofwide.c (do_length): Avoid warning.
49145         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49147 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49149         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49151         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49152         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49153         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49154         * sysdeps/i386/i686/fpu/e_log.S: New file.
49155         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49156         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49158         * ctype/ctype.h: Add support for inlined isXXX functions when
49159         compiling C++ code.
49161 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49163         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49165         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49167 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49169         [BZ #13291]
49170         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49172 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49174         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49175         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49176         feraiseexcept.
49178         * sysdeps/x86_64/memrchr.S: Check for zero size.
49180         * string/stratcliff.c: Add memrchr tests.
49182 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49184         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49185         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49186         rawmemchr-sse2 rawmemchr-sse2-bsf.
49187         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49188         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49189         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49190         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49191         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49192         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49193         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49194         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49195         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49196         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49197         * string/memrchr.c (MEMRCHR): New macro.
49199 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49201         Add integration with gcc's -ffinite-math-only and optimize wrapper
49202         functions in libm.
49203         * Versions.def: Define GLIBC_2.15 version for libm.
49204         * math/Makefile (headers): Add bits/math-finite.h.
49205         * math/bits/math-finite.h: New file.
49206         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49207         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49208         * math/e_acoshl.c: Add __*_finite alias.
49209         * math/e_acosl.c: Likewise.
49210         * math/e_asinl.c: Likewise.
49211         * math/e_atan2l.c: Likewise.
49212         * math/e_atanhl.c: Likewise.
49213         * math/e_coshl.c: Likewise.
49214         * math/e_exp10.c: Likewise.
49215         * math/e_exp10f.c: Likewise.
49216         * math/e_exp10l.c: Likewise.
49217         * math/e_exp2l.c: Likewise.
49218         * math/e_fmodl.c: Likewise.
49219         * math/e_gammal_r.c: Likewise.
49220         * math/e_hypotl.c: Likewise.
49221         * math/e_j0l.c: Likewise.
49222         * math/e_j1l.c: Likewise.
49223         * math/e_jnl.c: Likewise.
49224         * math/e_lgammal_r.c: Likewise.
49225         * math/e_log10l.c: Likewise.
49226         * math/e_log2l.c: Likewise.
49227         * math/e_logl.c: Likewise.
49228         * math/e_powl.c: Likewise.
49229         * math/e_sinhl.c: Likewise.
49230         * math/e_sqrtl.c: Likewise.
49231         * math/e_scalb.c: Completely rewritten and optimized.
49232         * math/e_scalbf.c: Likewise.
49233         * math/e_scalbl.c: Likewise.
49234         * math/w_acos.c: Likewise.
49235         * math/w_acosf.c: Likewise.
49236         * math/w_acosl.c: Likewise.
49237         * math/w_acosh.c: Likewise.
49238         * math/w_acoshf.c: Likewise.
49239         * math/w_acoshl.c: Likewise.
49240         * math/w_asin.c: Likewise.
49241         * math/w_asinf.c: Likewise.
49242         * math/w_asinl.c: Likewise.
49243         * math/w_atan2.c: Likewise.
49244         * math/w_atan2f.c: Likewise.
49245         * math/w_atan2l.c: Likewise.
49246         * math/w_atanh.c: Likewise.
49247         * math/w_atanhf.c: Likewise.
49248         * math/w_atanhl.c: Likewise.
49249         * math/w_exp10.c: Likewise.
49250         * math/w_exp10f.c: Likewise.
49251         * math/w_exp10l.c: Likewise.
49252         * math/w_fmod.c: Likewise.
49253         * math/w_fmodf.c: Likewise.
49254         * math/w_fmodl.c: Likewise.
49255         * math/w_j0.c: Likewise.
49256         * math/w_j0f.c: Likewise.
49257         * math/w_j0l.c: Likewise.
49258         * math/w_j1.c: Likewise.
49259         * math/w_j1f.c: Likewise.
49260         * math/w_j1l.c: Likewise.
49261         * math/w_jn.c: Likewise.
49262         * math/w_jnf.c: Likewise.
49263         * math/w_log.c: Likewise.
49264         * math/w_logf.c: Likewise.
49265         * math/w_logl.c: Likewise.
49266         * math/w_log10.c: Likewise.
49267         * math/w_log10f.c: Likewise.
49268         * math/w_log10l.c: Likewise.
49269         * math/w_log2.c: Likewise.
49270         * math/w_log2f.c: Likewise.
49271         * math/w_log2l.c: Likewise.
49272         * math/w_pow.c: Likewise.
49273         * math/w_powf.c: Likewise.
49274         * math/w_powl.c: Likewise.
49275         * math/w_remainder.c: Likewise.
49276         * math/w_remainderf.c: Likewise.
49277         * math/w_remainderl.c: Likewise.
49278         * math/w_scalb.c: Likewise.
49279         * math/w_scalbf.c: Likewise.
49280         * math/w_scalbl.c: Likewise.
49281         * math/w_sqrt.c: Likewise.
49282         * math/w_sqrtf.c: Likewise.
49283         * math/w_sqrtl.c: Likewise.
49284         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49285         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49286         used.
49287         * math/math_private.h: Declare __kernel_standard_f.
49288         * math/w_cosh.c: Remove cruft and optimize a bit.
49289         * math/w_coshf.c: Likewise.
49290         * math/w_coshl.c: Likewise.
49291         * math/w_exp2.c: Likewise.
49292         * math/w_exp2f.c: Likewise.
49293         * math/w_exp2l.c: Likewise.
49294         * math/w_hypot.c: Likewise.
49295         * math/w_hypotf.c: Likewise.
49296         * math/w_hypotl.c: Likewise.
49297         * math/w_lgamma.c: Likewise.
49298         * math/w_lgamma_r.c: Likewise.
49299         * math/w_lgammaf.c: Likewise.
49300         * math/w_lgammaf_r.c: Likewise.
49301         * math/w_lgammal.c: Likewise.
49302         * math/w_lgammal_r.c: Likewise.
49303         * math/w_sinh.c: Likewise.
49304         * math/w_sinhf.c: Likewise.
49305         * math/w_sinhl.c: Likewise.
49306         * math/w_tgamma.c: Likewise.
49307         * math/w_tgammaf.c: Likewise.
49308         * math/w_tgammal.c: Likewise.
49309         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49310         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49311         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49312         Minor optimizations.  Pretty printing.  Remove cruft.
49313         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49314         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49315         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49316         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49317         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49318         * sysdeps/i386/fpu/e_asin.S: Likewise.
49319         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49320         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49321         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49322         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49323         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49324         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49325         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49326         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49327         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49328         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49329         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49330         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49331         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49332         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49333         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49334         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49335         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49336         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49337         * sysdeps/i386/fpu/e_log.S: Likewise.
49338         * sysdeps/i386/fpu/e_log10.S: Likewise.
49339         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49340         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49341         * sysdeps/i386/fpu/e_log2.S: Likewise.
49342         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49343         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49344         * sysdeps/i386/fpu/e_logf.S: Likewise.
49345         * sysdeps/i386/fpu/e_logl.S: Likewise.
49346         * sysdeps/i386/fpu/e_pow.S: Likewise.
49347         * sysdeps/i386/fpu/e_powf.S: Likewise.
49348         * sysdeps/i386/fpu/e_powl.S: Likewise.
49349         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49350         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49351         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49352         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49353         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49354         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49355         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49356         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49357         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49358         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49359         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49360         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49361         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49362         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49363         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49364         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49365         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49366         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49367         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49368         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49369         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49370         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49371         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49372         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49373         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49374         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49375         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49376         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49377         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49378         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49379         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49380         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49381         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49382         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49383         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49384         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49385         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49386         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49387         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49388         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49389         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49390         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49391         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49392         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49393         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49394         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49395         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49396         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49397         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49398         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49399         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49400         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49401         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49402         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49403         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49404         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49405         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49406         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49407         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49408         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49409         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49410         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49411         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49412         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49413         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49414         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49415         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49416         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49417         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49418         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49419         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49420         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49421         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49422         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49423         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49424         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49425         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49426         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49427         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49428         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49429         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49430         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49431         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49432         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49433         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49434         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49435         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49436         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49437         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49438         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49439         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49440         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49441         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49442         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49443         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49444         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49445         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49446         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49447         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49448         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49449         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49450         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49451         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49452         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49453         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49454         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49455         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49456         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49457         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49458         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49459         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49460         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49461         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49462         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49463         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49464         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49465         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49466         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49467         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49468         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49469         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49470         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49471         (__isnanf): Likewise.
49472         (__isinf_ns): Likewise.
49473         (__isinf_nsf): Likewise.
49474         (__finite): Likewise.
49475         (__finitef): Likewise.
49476         (__ieee754_sqrt): Define as macro.
49477         (__ieee754_sqrtf): Define as macro.
49478         (__ieee754_sqrtl): Define as macro.
49479         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49480         inlined copy.
49481         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49482         __FINITE_MATH_ONLY__ consistent.
49483         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49485 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49487         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49488         of rawmemchr.
49490         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49492 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49494         * po/ja.po: Update from translation team.
49496 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49498         * locale/programs/locarchive.c (prepare_address_space): New function.
49499         (create_archive, enlarge_archive, open_archive): Use it.
49501         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49502         inside [SHARED], where it is used.
49504         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49506         * nss/getent.c (netgroup_keys): Remove unused variable.
49507         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49509 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49511         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49512         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49513         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49514         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49515         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49516         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49517         * math/Makefile (libm-calls): Add s_isinf_ns.
49518         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49519         * math/multc3.c: Likewise.
49520         * math/s_casin.c: Likewise.
49521         * math/s_casinf.c: Likewise.
49522         * math/s_casinl.c: Likewise.
49523         * math/s_ccos.c: Likewise.
49524         * math/s_ccosf.c: Likewise.
49525         * math/s_ccosl.c: Likewise.
49526         * math/s_ctan.c: Likewise.
49527         * math/s_ctanf.c: Likewise.
49528         * math/s_ctanh.c: Likewise.
49529         * math/s_ctanhf.c: Likewise.
49530         * math/s_ctanhl.c: Likewise.
49531         * math/s_ctanl.c: Likewise.
49532         * math/w_fmod.c: Likewise.
49533         * math/w_fmodf.c: Likewise.
49534         * math/w_fmodl.c: Likewise.
49535         * math/w_remainder.c: Likewise.
49536         * math/w_remainderf.c: Likewise.
49537         * math/w_remainderl.c: Likewise.
49538         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49539         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49540         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49541         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49542         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49543         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49544         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49545         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49547         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49548         of the number.
49549         * stdio-common/printf_fphex.c: Likewise.
49550         * stdio-common/printf_size.c: Likewise.
49552         * math/e_exp10.c: Include math_private.h using <...> not "...".
49553         * math/e_exp10f.c: Likewise.
49554         * math/e_exp10l.c: Likewise.
49555         * math/e_exp2l.c: Likewise.
49556         * math/e_j0l.c: Likewise.
49557         * math/e_j1l.c: Likewise.
49558         * math/e_jnl.c: Likewise.
49559         * math/e_lgammal_r.c: Likewise.
49560         * math/e_rem_pio2l.c: Likewise.
49561         * math/e_scalb.c: Likewise.
49562         * math/e_scalbf.c: Likewise.
49563         * math/e_scalbl.c: Likewise.
49564         * math/k_cosl.c: Likewise.
49565         * math/k_sinl.c: Likewise.
49566         * math/k_tanl.c: Likewise.
49567         * math/s_cacoshf.c: Likewise.
49568         * math/s_catan.c: Likewise.
49569         * math/s_catanf.c: Likewise.
49570         * math/s_catanh.c: Likewise.
49571         * math/s_catanhf.c: Likewise.
49572         * math/s_catanhl.c: Likewise.
49573         * math/s_catanl.c: Likewise.
49574         * math/s_ccosh.c: Likewise.
49575         * math/s_ccoshf.c: Likewise.
49576         * math/s_ccoshl.c: Likewise.
49577         * math/s_cexp.c: Likewise.
49578         * math/s_cexpf.c: Likewise.
49579         * math/s_cexpl.c: Likewise.
49580         * math/s_clog.c: Likewise.
49581         * math/s_clog10.c: Likewise.
49582         * math/s_clog10f.c: Likewise.
49583         * math/s_clog10l.c: Likewise.
49584         * math/s_clogf.c: Likewise.
49585         * math/s_clogl.c: Likewise.
49586         * math/s_csin.c: Likewise.
49587         * math/s_csinf.c: Likewise.
49588         * math/s_csinh.c: Likewise.
49589         * math/s_csinhf.c: Likewise.
49590         * math/s_csinhl.c: Likewise.
49591         * math/s_csinl.c: Likewise.
49592         * math/s_csqrt.c: Likewise.
49593         * math/s_csqrtf.c: Likewise.
49594         * math/s_csqrtl.c: Likewise.
49595         * math/s_ctan.c: Likewise.
49596         * math/s_ctanf.c: Likewise.
49597         * math/s_ctanh.c: Likewise.
49598         * math/s_ctanhf.c: Likewise.
49599         * math/s_ctanhl.c: Likewise.
49600         * math/s_ctanl.c: Likewise.
49601         * math/s_ldexp.c: Likewise.
49602         * math/s_ldexpf.c: Likewise.
49603         * math/s_ldexpl.c: Likewise.
49604         * math/s_significand.c: Likewise.
49605         * math/s_significandf.c: Likewise.
49606         * math/s_significandl.c: Likewise.
49607         * math/w_acos.c: Likewise.
49608         * math/w_acosf.c: Likewise.
49609         * math/w_acosh.c: Likewise.
49610         * math/w_acoshf.c: Likewise.
49611         * math/w_acoshl.c: Likewise.
49612         * math/w_acosl.c: Likewise.
49613         * math/w_asin.c: Likewise.
49614         * math/w_asinf.c: Likewise.
49615         * math/w_asinl.c: Likewise.
49616         * math/w_atan2.c: Likewise.
49617         * math/w_atan2f.c: Likewise.
49618         * math/w_atan2l.c: Likewise.
49619         * math/w_atanh.c: Likewise.
49620         * math/w_atanhf.c: Likewise.
49621         * math/w_atanhl.c: Likewise.
49622         * math/w_cosh.c: Likewise.
49623         * math/w_coshf.c: Likewise.
49624         * math/w_coshl.c: Likewise.
49625         * math/w_dremf.c: Likewise.
49626         * math/w_exp10.c: Likewise.
49627         * math/w_exp10f.c: Likewise.
49628         * math/w_exp10l.c: Likewise.
49629         * math/w_exp2.c: Likewise.
49630         * math/w_exp2f.c: Likewise.
49631         * math/w_fmod.c: Likewise.
49632         * math/w_fmodf.c: Likewise.
49633         * math/w_fmodl.c: Likewise.
49634         * math/w_hypot.c: Likewise.
49635         * math/w_hypotf.c: Likewise.
49636         * math/w_hypotl.c: Likewise.
49637         * math/w_j0.c: Likewise.
49638         * math/w_j0f.c: Likewise.
49639         * math/w_j0l.c: Likewise.
49640         * math/w_j1.c: Likewise.
49641         * math/w_j1f.c: Likewise.
49642         * math/w_j1l.c: Likewise.
49643         * math/w_jn.c: Likewise.
49644         * math/w_jnf.c: Likewise.
49645         * math/w_jnl.c: Likewise.
49646         * math/w_lgamma.c: Likewise.
49647         * math/w_lgamma_r.c: Likewise.
49648         * math/w_lgammaf.c: Likewise.
49649         * math/w_lgammaf_r.c: Likewise.
49650         * math/w_lgammal.c: Likewise.
49651         * math/w_lgammal_r.c: Likewise.
49652         * math/w_log.c: Likewise.
49653         * math/w_log10.c: Likewise.
49654         * math/w_log10f.c: Likewise.
49655         * math/w_log10l.c: Likewise.
49656         * math/w_log2.c: Likewise.
49657         * math/w_log2f.c: Likewise.
49658         * math/w_log2l.c: Likewise.
49659         * math/w_logf.c: Likewise.
49660         * math/w_logl.c: Likewise.
49661         * math/w_pow.c: Likewise.
49662         * math/w_powf.c: Likewise.
49663         * math/w_powl.c: Likewise.
49664         * math/w_remainder.c: Likewise.
49665         * math/w_remainderf.c: Likewise.
49666         * math/w_remainderl.c: Likewise.
49667         * math/w_scalb.c: Likewise.
49668         * math/w_scalbf.c: Likewise.
49669         * math/w_scalbl.c: Likewise.
49670         * math/w_sinh.c: Likewise.
49671         * math/w_sinhf.c: Likewise.
49672         * math/w_sinhl.c: Likewise.
49673         * math/w_sqrt.c: Likewise.
49674         * math/w_sqrtf.c: Likewise.
49675         * math/w_sqrtl.c: Likewise.
49676         * math/w_tgamma.c: Likewise.
49677         * math/w_tgammaf.c: Likewise.
49678         * math/w_tgammal.c: Likewise.
49680         * po/ja.po: Update from translation team.
49682 2011-09-29  Andreas Jaeger  <aj@suse.de>
49684         [BZ #13179]
49685         * sunrpc/netname.c (netname2host): Fix logic.
49687         [BZ #6779]
49688         [BZ #6783]
49689         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49690         correctly.
49691         * math/w_remainder.c (__remainder): Likewise.
49692         * math/w_remainderf.c (__remainderf): Likewise.
49693         * math/libm-test.inc (remainder_test): Add test cases.
49695 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49697         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49698         sdiv_qrnnd.
49700 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49702         * string/test-memcmp.c: Avoid unncessary #defines.
49703         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49705 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49707         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49708         Use new sse2 version for core i3 - i7 as it's faster
49709         than sse42 version.
49710         (bit_Prefer_PMINUB_for_stringop): New.
49711         * sysdeps/x86_64/rawmemchr.S: Update.
49712         Replace with faster SSE2 version.
49713         * sysdeps/x86_64/memrchr.S: New file.
49714         * sysdeps/x86_64/memchr.S: Update.
49715         Replace with faster SSE2 version.
49717 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49719         * elf/dl-load.c (lose): Add cast to avoid warning.
49721 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49723         * po/ca.po: Update from translation team.
49725         * inet/getnetgrent_r.c: Hook up nscd.
49726         * nscd/Makefile (routines): Add nscd_netgroup.
49727         (nscd-modules): Add netgroupcache.
49728         (CFLAGS-netgroupcache.c): Define.
49729         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49730         (cache_search): Add const to second parameter.
49731         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49732         INNETGR.
49733         (dbs): Add netgrdb entry.
49734         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49735         (verify_persistent_db): Handle netgrdb.
49736         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49737         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49738         GETFDNETGR.
49739         (netgroup_response_header): Define.
49740         (innetgroup_response_header): Define.
49741         (datahead): Add netgroup_response_header and innetgroup_response_header
49742         elements.
49743         * nscd/nscd.conf: Add entries for netgroup cache.
49744         * nscd/nscd.h (dbtype): Add netgrdb.
49745         (_PATH_NSCD_NETGROUP_DB): Define.
49746         (netgroup_iov_disabled): Declare.
49747         (xmalloc, xcalloc, xrealloc): Move declarations here.
49748         (cache_search): Adjust prototype.
49749         Add netgroup-related prototypes.
49750         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49751         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49752         (__nscd_innetgr): Declare.
49753         * nscd/selinux.c (perms): Use access_vector_t as element type and
49754         add netgroup-related initializers.
49755         * nscd/netgroupcache.c: New file.
49756         * nscd/nscd_netgroup.c: New file.
49757         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49758         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49759         For four parameters use innetgr.
49760         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49761         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49762         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49763         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49765         * nscd/connections.c (register_traced_file): Don't register file
49766         for disabled databases.
49768 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49770         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49772         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49773         from tree and freeing node.
49775 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49777         * nss/nsswitch.c (__nss_database_lookup): Handle
49778         nss_parse_service_list out of memory case.
49780 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49782         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49783         out of memory case.
49785 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49787         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49788         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49789         pass it down.
49790         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49791         elf_machine_rela, elf_machine_lazy_rel.
49792         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49793         (ELF_DYNAMIC_DO_REL): Likewise.
49794         (ELF_DYNAMIC_DO_RELA): Likewise.
49795         (ELF_DYNAMIC_RELOCATE): Likewise.
49796         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49797         to ELF_DYNAMIC_DO_REL.
49798         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49799         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49800         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49801         elf_machine_rela.
49802         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49803         skip_ifunc, don't call ifunc function if non-zero.
49804         (elf_machine_rela): Likewise.
49805         (elf_machine_lazy_rel): Likewise.
49806         (elf_machine_lazy_rela): Likewise.
49807         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49808         (elf_machine_lazy_rel): Likewise.
49809         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49810         Likewise.
49811         (elf_machine_lazy_rel): Likewise.
49812         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49813         Likewise.
49814         (elf_machine_lazy_rel): Likewise.
49815         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49816         (elf_machine_lazy_rel): Likewise.
49817         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49818         (elf_machine_lazy_rel): Likewise.
49819         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49820         (elf_machine_lazy_rel): Likewise.
49821         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49822         (elf_machine_lazy_rel): Likewise.
49823         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49824         (elf_machine_lazy_rel): Likewise.
49825         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49826         (elf_machine_lazy_rel): Likewise.
49828 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49830         * nss/nss_files/files-init.c (_nss_files_init): Use static
49831         initialization for all the *_traced_file variables.
49833 2011-09-28  Andreas Schwab  <schwab@redhat.com>
49835         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49837 2011-09-27  Roland McGrath  <roland@hack.frob.com>
49839         [BZ #13226]
49840         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49842 2011-09-27  Andreas Schwab  <schwab@redhat.com>
49844         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49845         Reread the line before reparsing it.
49847 2011-09-26  Andreas Schwab  <schwab@redhat.com>
49849         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49851 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
49852             Maxim Kuvyrkov  <maxim@codesourcery.com>
49853             Joseph Myers  <joseph@codesourcery.com>
49855         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49856         if needed for __stack_chk_guard.
49858 2011-09-19  Roland McGrath  <roland@hack.frob.com>
49860         * sysdeps/posix/spawni.c (script_execute): Always define it.
49861         It will be optimized away if unused.
49862         (maybe_script_execute): New function.
49863         (__spawni): Call it.
49865         * Makerules: Don't include tls.make.
49866         (config-tls): Always set to thread.
49867         * tls.make.c: File removed.
49869 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
49871         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49872         * config.make.in (CPPFLAGS-config): New substituted variable.
49874 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49876         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49878         [BZ #13192]
49879         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49880         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49882 2011-09-15  Roland McGrath  <roland@hack.frob.com>
49884         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49885         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49886         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49887         (CALL_FAIL): Likewise.
49888         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49889         (CALL_FAIL): Macro removed.
49890         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49892 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49894         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49895         for __FINITE_MATH_ONLY__ == 1.
49897 2011-09-15  Andreas Schwab  <schwab@redhat.com>
49899         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49900         __ieee754_sqrt instead of sqrt.
49901         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49902         __ieee754_sqrtf instead of sqrtf.
49903         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49904         __floorf instead of floorf.
49905         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49906         __floorf, __truncf instead of floorf, truncf.
49908 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
49910         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49912         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49913         __extern_always_inline.
49914         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49915         32-bit.
49917 2011-09-14  Andreas Schwab  <schwab@redhat.com>
49919         * elf/rtld.c (dl_main): Also relocate in dependency order when
49920         doing symbol dependency testing.
49922 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
49924         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49925         Always define `refsym'.
49927 2011-09-13  Andreas Schwab  <schwab@redhat.com>
49929         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49930         (__FD_ELT): Renamed from __FDELT.
49931         * misc/bits/select2.h (__FD_ELT): Likewise.
49932         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49933         __FD_MASK instead of __FDELT, __FDMASK.
49934         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49935         Likewise.
49936         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49937         Likewise.
49939         * elf/Makefile (gen-ldd): Fix pattern.
49941         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49942         (init_tls): Likewise.
49944 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
49946         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49948 2011-09-12  Andreas Schwab  <schwab@redhat.com>
49950         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49951         `struct cmsghdr *' instead of `void *'.
49952         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49953         Likewise.
49955 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
49957         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49958         if non-absolute.
49959         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49960         ldd_rewrite_script.
49962 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
49964         * configure.in: Remove --with-tls option.
49965         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49966         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49967         out in case it is missing.
49968         * sysdeps/ia64/elf/configure.in: Likewise.
49969         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49970         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49971         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49972         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49973         * sysdeps/sh/elf/configure.in: Likewise.
49974         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49975         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49976         * sysdeps/x86_64/elf/configure.in: Likewise.
49977         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49978         * sysdeps/mach/hurd/tls.h: Likewise.
49980         [BZ #13067]
49981         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49983         [BZ #13090]
49984         * configure.in: Fix use of AC_INIT.
49986         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49988 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
49990         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49991         __set_errno.
49992         * malloc/hooks.c: Likewise.
49994         [BZ #11929]
49995         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
49996         variables statically.
49997         (narenas): Initialize.
49998         (list_lock): Initialize.
49999         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50000         initializtion of main_arena and list_lock.  Small cleanups.
50001         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50002         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50003         Add initializers to main_arena and mp_.
50004         (malloc_state): Remove pagesize member.  Change all users to use
50005         GLRO(dl_pagesize).
50007         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50008         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50009         is always initialized.
50011         * malloc/malloc.c: Removed unused configurations and dead code.
50012         * malloc/arena.c: Likewise.
50013         * malloc/hooks.c: Likewise.
50014         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50016         * include/tls.h: Removed.  USE___THREAD must always be defined.
50017         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50018         * elf/dl-libc.c: Likewise.
50019         * elf/dl-tsd.c: Likewise.
50020         * include/errno.h: Likewise.
50021         * include/netdb.h: Likewise.
50022         * include/resolv.h: Likewise.
50023         * inet/herrno-loc.c: Likewise.
50024         * inet/herrno.c: Likewise.
50025         * malloc/arena.c: Likewise.
50026         * malloc/hooks.c: Likewise.
50027         * malloc/malloc.c: Likewise.
50028         * resolv/res-state.c: Likewise.
50029         * resolv/res_libc.c: Likewise.
50030         * sysdeps/i386/dl-machine.h: Likewise.
50031         * sysdeps/ia64/dl-machine.h: Likewise.
50032         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50033         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50034         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50035         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50036         * sysdeps/sh/dl-machine.h: Likewise.
50037         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50038         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50039         * sysdeps/unix/i386/sysdep.S: Likewise.
50040         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50041         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50043         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50046         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50047         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50050         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50051         * sysdeps/x86_64/dl-machine.h: Likewise.
50052         * tls.make.c: Likewise.
50054         * configure.in: Remove --with-__thread option.  Make tests for
50055         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50056         tls_model attribute fail if no support is available.  Remove
50057         USE_IN_LIBIO.
50058         * Makeconfig: Adjust for dropped configure option.  All features are
50059         now mandatory.
50060         * Makerules: Likewise.
50061         * Versions.def: Likewise.
50062         * argp/argp-fmtstream.c: Likewise.
50063         * argp/argp-fmtstream.h: Likewise.
50064         * argp/argp-help.c: Likewise.
50065         * assert/assert.c: Likewise.
50066         * config.h.in: Likewise.
50067         * config.make.in: Likewise.
50068         * configure: Likewise.
50069         * configure.in: Likewise.
50070         * csu/Versions: Likewise.
50071         * csu/init.c: Likewise.
50072         * elf/tst-audit2.c: Likewise.
50073         * elf/tst-tls10.c: Likewise.
50074         * elf/tst-tls10.h: Likewise.
50075         * elf/tst-tls11.c: Likewise.
50076         * elf/tst-tls12.c: Likewise.
50077         * elf/tst-tls14.c: Likewise.
50078         * elf/tst-tlsmod11.c: Likewise.
50079         * elf/tst-tlsmod12.c: Likewise.
50080         * elf/tst-tlsmod13.c: Likewise.
50081         * elf/tst-tlsmod13a.c: Likewise.
50082         * elf/tst-tlsmod14a.c: Likewise.
50083         * elf/tst-tlsmod15b.c: Likewise.
50084         * elf/tst-tlsmod16a.c: Likewise.
50085         * elf/tst-tlsmod16b.c: Likewise.
50086         * elf/tst-tlsmod7.c: Likewise.
50087         * elf/tst-tlsmod8.c: Likewise.
50088         * elf/tst-tlsmod9.c: Likewise.
50089         * gmon/gmon.c: Likewise.
50090         * grp/fgetgrent_r.c: Likewise.
50091         * grp/putgrent.c: Likewise.
50092         * hurd/fopenport.c: Likewise.
50093         * include/libc-symbols.h: Likewise.
50094         * include/tls.h: Likewise.
50095         * intl/gettextP.h: Likewise.
50096         * intl/loadinfo.h: Likewise.
50097         * locale/global-locale.c: Likewise.
50098         * locale/localeinfo.h: Likewise.
50099         * mach/devstream.c: Likewise.
50100         * malloc/arena.c: Likewise.
50101         * malloc/set-freeres.c: Likewise.
50102         * misc/err.c: Likewise.
50103         * misc/getttyent.c: Likewise.
50104         * misc/mntent_r.c: Likewise.
50105         * posix/getopt.c: Likewise.
50106         * posix/wordexp.c: Likewise.
50107         * pwd/fgetpwent_r.c: Likewise.
50108         * resolv/Versions: Likewise.
50109         * resolv/res_hconf.c: Likewise.
50110         * shadow/fgetspent_r.c: Likewise.
50111         * shadow/putspent.c: Likewise.
50112         * stdio-common/printf_fphex.c: Likewise.
50113         * stdio-common/tmpfile.c: Likewise.
50114         * stdlib/abort.c: Likewise.
50115         * stdlib/fmtmsg.c: Likewise.
50116         * sunrpc/auth_unix.c: Likewise.
50117         * sunrpc/clnt_perr.c: Likewise.
50118         * sunrpc/clnt_tcp.c: Likewise.
50119         * sunrpc/clnt_udp.c: Likewise.
50120         * sunrpc/clnt_unix.c: Likewise.
50121         * sunrpc/openchild.c: Likewise.
50122         * sunrpc/svc_simple.c: Likewise.
50123         * sunrpc/svc_tcp.c: Likewise.
50124         * sunrpc/svc_udp.c: Likewise.
50125         * sunrpc/svc_unix.c: Likewise.
50126         * sunrpc/xdr.c: Likewise.
50127         * sunrpc/xdr_array.c: Likewise.
50128         * sunrpc/xdr_rec.c: Likewise.
50129         * sunrpc/xdr_ref.c: Likewise.
50130         * sunrpc/xdr_stdio.c: Likewise.
50132 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50134         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50136 2011-07-03  Andreas Jaeger  <aj@suse.de>
50138         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50139         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50140         regenerate with gen-libm-tests.pl.
50142 2010-05-12  Petr Baudis  <pasky@suse.cz>
50144         [BZ #11589]
50145         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50146         around j0() zero points by switching to j1().
50147         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50148         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50149         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50150         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50152 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50154         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50155         instead of 0.
50156         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50157         instead of 0.
50158         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50159         Patch in part by Pavel Roskin <proski@gnu.org>.
50161         [BZ #13138]
50162         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50163         realloc.
50164         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50165         Free memory block if necessary.
50167         [BZ #12847]
50168         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50169         be NULL.  Don't lock in this case.
50171 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50173         * elf/elf.h (ELFOSABI_GNU): New macro.
50174         (ELFOSABI_LINUX): Define to that.
50176 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50178         * string/strncat.c (strncat): Undef the symbol in case it has been
50179         defined in bits/string.h.
50181 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50183         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50185         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50186         link map.
50188 2011-08-17  Andreas Jaeger  <aj@suse.de>
50190         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50192 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50193             Ian Lance Taylor  <iant@google.com>
50195         * math/libm-test.inc (lround_test): New testcase.
50196         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50198 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50200         * Makefile: Remove support for automatic cvs check-ins.
50201         * Makerules: Likewise.
50202         * config.make.in: Likewise.
50203         * configure.in: Likewise.
50204         * intl/Makefile: Likewise.
50205         * locale/Makefile: Likewise.
50206         * po/Makefile: Likewise.
50207         * posix/Makefile: Likewise.
50208         * sysdeps/gnu/Makefile: Likewise.
50209         * sysdeps/mach/hurd/Makefile: Likewise.
50210         * sysdeps/sparc/sparc32/Makefile: Likewise.
50212         [BZ #13118]
50213         * posix/Makefile (bug-regex32-ENV): Define.
50214         Patch by John Stanley <jpsinthemix@verizon.net>.
50216         * misc/Makefile (headers): Add bits/select2.h.
50217         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50218         * misc/bits/select2.h: New file.
50219         * include/bits/select2.h: New file.
50220         * debug/Makefile (routines): Add fdelt_chk.
50221         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50222         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50223         FD_ISSET.
50224         * debug/fdelt_chk.c: New file.
50226         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50227         * wcsmbs/test-wmemcmp.c: Likewise.
50228         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50229         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50231 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50233         * string/Makefile (strop-tests): Add memcmp.
50234         * string/test-wmemcmp.c: New file.
50235         * string/test-memcmp.c: Add wmemcmp support.
50237 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50239         [BZ #13153]
50240         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50241         2011-07-19 change.
50243         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50244         garbage value in a __mach_port_mod_refs call in the cases of the
50245         task-self and thread-self ports.
50247 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50249         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50251 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50253         * elf/dl-load.c (lose): Check for non-null L.
50255 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50257         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50259         * elf/dl-libc.c (dlerror_run): Pass back error code from
50260         dl_catch_error.
50262         [BZ #13123]
50263         * elf/dl-load.c (lose): Free l_origin if it is valid.
50265         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50266         names.
50267         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50268         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50269         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50270         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50271         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50272         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50274 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50276         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50277         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50278         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50279         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50280         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50281         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50282         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50283         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50284         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50285         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50287 2011-08-15  Alan Modra  <amodra@gmail.com>
50289         [BZ #13092]
50290         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50291         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50292         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50293         ppc_mcount to static-only-routines.
50294         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50295         __mcount_internal.
50296         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50297         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50299 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50301         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50302         for finite and infinity parameters.
50304 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50306         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50307         and add nop instructions for throughput optimization.
50308         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50310 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50312         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50313         aligned copy for power7 with vector-scalar instructions.
50314         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50316 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50318         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50319         AVX check.
50321 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50323         [BZ #13144]
50324         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50325         last change.
50327 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50329         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50330         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50331         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50332         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50333         clock_gettime.
50335 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50337         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50338         Forgot to demangle the pointer.
50340         * sysdeps/i386/sysdep.h: Define atom_text_section.
50341         * sysdeps/x86_64/sysdep.h: Likewise.
50342         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50343         section with atom_text_section.
50344         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50345         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50346         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50347         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50348         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50350         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50351         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50352         already be defined.  Change to take two parameters and don't assign
50353         result to variable.  Adjust all users.
50354         Define INTERNAL_GETTIME if not already defined.
50355         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50356         call.
50357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50358         HAVE_CLOCK_GETTIME_VSYSCALL.
50359         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50361         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50362         gettimeofday vsyscall, just use time.
50364 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50366         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50367         <errno.h>.
50369 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50371         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50372         syscall on x86-64.
50373         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50374         syscall.
50375         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50376         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50377         syscall if possible.
50379 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50381         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50382         e_ident.  Don't pass to find_mapsXX.
50383         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50385 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50388         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50389         * sysdeps/x86_64/multiarch/strchr.S: Update.
50390         Check bit_slow_BSF bit.
50391         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50392         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50393         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50395 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50397         [BZ #13134]
50398         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50399         before glibc 2.15.
50400         (tryshell): Define.
50401         (__spawni): Change last parameter to be flag.  Test
50402         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50403         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50404         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50405         * posix/spawni.c: Likewise.
50406         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50407         * posix/spawnp.c: Likewise.  Change normal version to use
50408         SPAWN_XFLAGS_USE_PATH.
50409         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50410         SPAWN_XFLAGS_TRY_SHELL.
50412         [BZ #13150]
50413         * posix/glob.h: Remove gcc 1.x support.
50415         [BZ #13068]
50416         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50418 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50420         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50421         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50422         strrchr-sse2-bsf
50423         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50424         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50425         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50426         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50427         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50428         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50430 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50432         * sysdeps/x86_64/wcscmp.S: New file.
50434         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50435         wcscmp-c wcscmp-sse2
50436         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50437         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50438         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50439         * wcsmbs/wcscmp.c: Allow renaming.
50441 2011-09-05  David S. Miller  <davem@davemloft.net>
50443         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50444         stack slot, rather than the struct return pointer slot.
50445         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50446         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50448         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50450 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50452         * po/ja.po: Update from translation team.
50454         [BZ #13144]
50455         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50456         kernel in 64-bit binaries.
50458 2011-09-01  David S. Miller  <davem@davemloft.net>
50460         * elf/elf.h (HWCAP_SPARC_*): Move to..
50461         * sysdeps/sparc/sysdep.h: this new file and add new values.
50462         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50463         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50464         _DL_HWCAP_COUNT to 24.
50465         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50466         entries.
50467         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50468         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50469         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50470         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50471         instead of magic constants.
50472         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50474 2011-08-31  David S. Miller  <davem@davemloft.net>
50476         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50477         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50478         Reimplement to do errno handling inline.
50479         (SYSCALL_ERROR_HANDLER): New macro.
50480         (__SYSCALL_STRING): Do not do errno handling in asm.
50481         (__CLONE_SYSCALL_STRING): Delete.
50482         (__INTERNAL_SYSCALL_STRING): Delete.
50483         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50484         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50485         (PSEUDO): Reimplement to do errno handling inline.
50486         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50487         (SYSCALL_ERROR_HANDLER): New macro.
50488         (__SYSCALL_STRING): Do not do errno handling in asm.
50489         (__CLONE_SYSCALL_STRING): Delete.
50490         (__INTERNAL_SYSCALL_STRING): Delete.
50491         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50492         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50493         i386.
50494         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50495         (inline_syscall*): Add 'err' argument.
50496         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50497         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50498         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50499         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50501         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50502         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50504 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50506         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50508 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50510         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50511         directive.
50513 2011-08-24  David S. Miller  <davem@davemloft.net>
50515         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50517 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50519         * elf/Makefile: Add rules to build and run unload8 test.
50520         * elf/unload8.c: New file.
50521         * elf/unload8mod1.c: New file.
50522         * elf/unload8mod1x.c: New file.
50523         * elf/unload8mod2.c: New file.
50524         * elf/unload8mod3.c: New file.
50526         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50527         it wasn't used.
50529 2011-08-23  David S. Miller  <davem@davemloft.net>
50531         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50532         subtract stack bias.
50533         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50534         %sp not %fp in calculations.
50535         (_JMPBUF_UNWINDS_ADJ): Likewise.
50537         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50538         (aio_suspend): Call it to force an exception region around the
50539         AIO_MISC_WAIT() invocation.
50541 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50543         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50544         backslash.
50546 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50548         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50549         protection macro.
50550         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50551         and <dl-machine.h>.
50552         (Elf64_FuncDesc): Remove.
50554 2011-08-22  David S. Miller  <davem@davemloft.net>
50556         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50557         sigaltstack check, add missing cfi directives.
50558         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50559         missing cfi directives, and sigaltstack handling.
50561 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50563         [BZ #11724]
50564         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50565         object is seen twice.
50566         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50568         * elf/Makefile (distribute): Add tst-initorder2.c.
50569         (tests): Add tst-initorder2.
50570         (modules-names): Add tst-initorder2a tst-initorder2b
50571         tst-initorder2c tst-initorder2d.  Add rules to build them.
50572         ($(objpfx)tst-initorder2.out): New rule.
50573         * elf/tst-initorder2.c: New file.
50574         * elf/tst-initorder2.exp: New file.
50576 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50578         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50580         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50581         dependencies back to end of function.
50583         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50584         $(elfobjdir)/ld.so.
50586 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50588         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50589         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50590         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50591         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50592         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50593         of __vdso_gettimeofday.
50594         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50595         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50596         attribute_hidden.
50597         (_libc_vdso_platform_setup): Remove initialization of
50598         __vdso_gettimeofday and __vdso_time.
50600 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50602         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50603         and fgetc_unlocked.
50604         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50605         getc_unlocked.
50607         * elf/dl-open.c (add_to_global): Report additions to the global scope
50608         for LD_DEBUG=scopes.
50609         (dl_open_worker): Also print scope of newly loaded dependencies.
50610         (_dl_show_scope): Indicate if there is no scope.
50612         [BZ #13114]
50613         * stdio-common/Makefile (tests): Add bug24.
50614         * stdio-common/bug24.c: New file.
50616 2011-08-19  Andreas Jaeger  <aj@suse.de>
50618         [BZ #13114]
50619         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50620         non-existant file when using close-on-exec mode.
50622 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50624         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50625         the very first instruction.
50627         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50628         the CFI state in the end.
50629         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50630         inclusion of dl-trampoline.h.
50631         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50633 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50635         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50636         expectations for long double.
50638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50639         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50641 2011-08-14  David S. Miller  <davem@davemloft.net>
50643         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50644         artificual limit depends upon the system page size.
50646 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50648         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50649         * resolv/Makefile: Define CFLAGS-libresolv.
50651 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50653         * nss/makedb.c (compute_tables): Make variables used in nested
50654         function static.
50656 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50658         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50659         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50660         if buffer was too small.
50662         * elf/pldd.c (main): Attach to all threads in the process.
50663         Rewrite /proc handling to use *at functions.
50665 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50667         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50668         specifies first scope to show.
50669         (dl_open_worker): Update callers.  Move printing scope of new
50670         object to before the relocation.
50671         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50672         * sysdeps/generic/ldsodefs.h: Update declaration.
50674         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50675         string for the scope number.
50677 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50679         * nscd/servicescache.c (cache_addserv): Make sure written is always
50680         initialized.
50682 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50684         * sysdeps/i386/i486/bits/atomic.h
50685         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50686         statement expression, so as to suppress "set but not used" warning.
50687         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50689         * string/strncat.c (STRNCAT): Use prototype definition.
50691         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50692         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50693         -Iprograms here.
50694         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50695         (localedef-modules): Add localedef.
50696         (locale-modules): Add locale.
50698         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50699         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50700         to avoid a warning.
50702 2011-08-14  David S. Miller  <davem@davemloft.net>
50704         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50705         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50707 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50709         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50710         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50711         * elf/rtld.c (dl_main): Set l_name of vDSO.
50712         Call _dl_show_scope when DL_DEBUG_SCOPES.
50713         (process_dl_debug): Recognize scopes flag and also set it for all.
50714         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50715         Declare _dl_show_scope.
50717         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50718         (do_dlopen): Pass caller_dlopen to dl_open.
50719         (__libc_dlopen_mode): Initialize caller_dlopen.
50721         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50722         of libc.  Make tolower call locale-independent.  Optimize a bit by
50723         using isdigit instead of isalnum.
50724         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50726 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50728         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50729         was a dependency or dynamically loaded.
50731 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50733         * intl/l10nflist.c: Allow architecture-specific pop function.
50734         * sysdeps/x86_64/l10nflist.c: New file.
50736         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50737         classification.
50739 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50741         * include/dirent.h: Add libc_hidden_proto for scandirat and
50742         scandirat64.  Don't declare __scandirat64.
50743         * dirent/scandirat.c: Add libc_hidden_def.
50744         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50745         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50747 2011-08-10  David S. Miller  <davem@davemloft.net>
50749         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50750         enum.
50751         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50752         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50753         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50755 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50757         * Versions.def [libc]: Add GLIBC_2.15.
50758         * dirent/Makefile (routines): Add scandirat and scandirat64.
50759         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50760         GLIBC_2.15.
50761         * dirent/dirent.h: Declare scandirat and scandirat64.
50762         * dirent/scandirat.c: New file.
50763         * dirent/scandirat64.c: New file.
50764         * sysdeps/wordsize-64/scandirat.c: New file.
50765         * sysdeps/wordsize-64/scandirat64.c: New file.
50766         * dirent/opendir.c: Define opendirat.
50767         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50768         using scandirat.
50769         * dirent/scandir64.c: Adjust for scandir.c change.
50770         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50771         __scandirat64, and __scandir_cancel_handler.
50772         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50773         additional parameter and use openat instead of open (outside of ld.so).
50774         Add new __opendir as wrapper around __opendirat.
50775         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50776         here without requiring old scandirat implementation.
50778 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50780         * dirent/scandir.c (cancel_handler): Renamed to
50781         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50782         defined.  Adjust users.
50783         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50784         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50786 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50788         * string/test-string.h (IMPL): Use __STRING to expand name and then
50789         stringify it.
50791         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50792         of cleanups.
50794 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50796         * string/Makefile: Update.
50797         (strop-tests): Append strncat.
50798         * string/test-wcscmp.c: New file.
50799         New comprehensive test for wcscmp.
50800         * string/test-strcmp.c: Update.
50801         (WIDE): New define.
50803 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50805         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50806         line.
50808 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50811         encoding to ACE if AI_IDN.
50813 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50815         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50816         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50818 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50820         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50821         Fix overflow bug in strncat.
50822         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50824         * string/test-strncat.c: Update.
50825         Add new tests for checking overflow bugs.
50827 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50829         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50830         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50831         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50832         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50833         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50834         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50835         * sysdeps/i386/i686/multiarch/strncat.S: New file.
50836         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50837         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50839         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50840         (USE_AS_STRCAT): Define.
50841         Add strcat and strncat support.
50842         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50844 2011-07-25  Andreas Schwab  <schwab@redhat.com>
50846         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50847         __n bigger than INT_MAX+1.
50848         (__strncmp_g): Likewise.
50850 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
50852         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50853         * libio/stido.h: Likewise.
50855         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50856         (AF_NFC): Define.
50857         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50858         (AF_NFC): Define.
50860         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50861         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50862         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50863         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50864         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50866         [BZ #13021]
50867         * scripts/test-installation.pl: Don't expect libnss_test1 to be
50868         installed.
50870         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50871         typo.
50872         (_dl_x86_64_save_sse): Likewise.
50874 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
50876         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50877         OSXSAVE.
50878         (_dl_x86_64_save_sse): Likewise.
50880         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50882         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50884 2011-07-21  Andreas Schwab  <schwab@redhat.com>
50886         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50887         change.
50888         (_dl_x86_64_save_sse): Use correct AVX check.
50890 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50892         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50893         bug in strncpy/strncat.
50894         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50896 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
50898         * string/tester.c (test_strcat): Add tests for different alignments
50899         of source and destination.
50900         (test_strncat): Likewise.
50902 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50904         [BZ #12852]
50905         * posix/glob.c (glob): Check passed in values before using them in
50906         expressions to avoid some overflows.
50907         (glob_in_dir): Likewise.
50909         [BZ #13007]
50910         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50911         check for AVX enablement so that we don't crash with old kernels and
50912         new hardware.
50913         * elf/tst-audit4.c: Add same checks here.
50914         * elf/tst-audit6.c: Likewise.
50916         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50918 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
50920         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50922 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50924         * po/cs.po: Update from translation team.
50925         * po/bg.po: Likewise.
50927 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
50929         * misc/sys/cdefs.h: Add support for const attribute.
50930         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50931         to gnu_dev_{major,minor,makedev} functions.
50933 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
50935         * intl/dcigettext.c (get_output_charset): Add missing bracket.
50937 2011-07-20  Andreas Schwab  <schwab@redhat.com>
50939         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50940         strlen results.
50942 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50944         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50945         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50946         register in order to avoid conflicts with the soft frame pointer
50947         being held in r11 when necessary.
50948         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50949         (INTERNAL_VSYSCALL_NCS): Likewise.
50951 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
50953         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50954         * elf/dl-fini.c (_dl_fini): Adjust caller.
50955         * elf/dl-close.c (_dl_close_worker): Likewise.
50956         * sysdeps/generic/ldsodefs.h: Adjust declaration.
50958 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50960         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50961         "aux_cache->nlibs < 0".
50963         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50964         in the reload-count case.
50966 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50969         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50970         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50971         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50972         * sysdeps/x86_64/multiarch/strcat.S: New file.
50973         * sysdeps/x86_64/multiarch/strncat.S: New file.
50974         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50975         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50976         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50977         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50978         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50979         (USE_AS_STRCAT): Define.
50980         Add strcat and strncat support.
50981         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50982         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50983         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50984         * string/strncat.c: Update.
50985         (USE_AS_STRNCAT): Define.
50986         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50987         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50988         and i7.
50989         * sysdeps/x86_64/multiarch/init-arch.h
50990         (bit_Prefer_PMINUB_for_stringop): New.
50991         (index_Prefer_PMINUB_for_stringop): Likewise.
50992         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50993         bit_Prefer_PMINUB_for_stringop.
50995 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50997         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50998         buffer64.
50999         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51000         of casting of buffer.
51001         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51002         buffer32 and buffer64.
51003         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51004         writes instead of casting of buffer.
51005         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51006         buffer32.
51007         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51008         casting of buffer.
51010 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51012         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51014 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51016         * nscd/nscd.c (termination_handler): Don't do anything for a database
51017         if it has not yet been initialized.
51019 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51021         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51023 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51025         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51027 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51029         * po/nl.po: Update from translation team.
51030         * po/sv.po: Likewise.
51032 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51034         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51035         now disallowed by GCC.
51037         * configure.in (use-default-link): Default to yes if a test -shared
51038         link meets our qualifications.
51039         * configure: Regenerated.
51041         * config.make.in (output-format): New variable.
51042         * configure.in: Check for ld --print-output-format support.
51043         * configure: Regenerated.
51044         * Makerules ($(common-objpfx)format.lds)
51045         [$(output-format) != unknown]: Just use $(output-format),
51046         instead of the linker-script munging.
51048 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51050         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51051         of $(common-objpfx)shlib.lds.
51052         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51054         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51055         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51057         * configure.in (-z relro check): Adjust test code to add a large
51058         writable data section after it.
51059         * configure: Regenerated.
51061 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51063         * configure.in (-z relro check): Fix test code to make the variable
51064         truly const.
51065         * configure: Regenerated.
51067 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51069         * nscd/nscd.h (struct traced_file): Define.
51070         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51071         elements.  Add traced_files.
51072         (inotify_fd): Declare.
51073         (register_traced_file): Declare.
51074         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51075         (inotify_fd): Export.
51076         (resolv_conf_descr): Remove.
51077         (nscd_init): Move inotify descriptor creation to main.
51078         Don't register files for notification here.
51079         (register_traced_file): New function.
51080         (invalidate_cache): Don't use reset_res to determine whether to call
51081         res_init, go through the list of registered files.
51082         (main_loop_poll): The inotify descriptors are now stored in the
51083         structures for the traced files.
51084         (main_loop_epoll): Likewise
51085         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51086         to __nss_disable_nscd.
51087         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51088         for a database anymore.  Check the records for all the registered
51089         files instead.
51090         * nss/Makefile (libnss_files-routines): Add files-init.
51091         (libnss_db-routines): Add db-init.
51092         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51093         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51094         * nss/nss_db/db-init.c: New file.
51095         * nss/nss_files/files-init.c: New file.
51096         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51097         __nss_lookup_function.
51098         (__nss_lookup_function): Call nss_load_library.
51099         (nss_load_all_libraries): New function.
51100         (__nss_disable_nscd): Take parameter with callback function for files
51101         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51102         used for the cached services.
51103         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51104         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51105         options for features to all the files in nscd.
51107         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51109 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51111         * csu/elf-init.c (__libc_csu_init): Comment typo.
51113 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51115         * po/pl.po: Update from translation team.
51116         * po/ja.po: Likewise.
51117         * po/ru.po: Likewise.
51118         * po/ko.po: Likewise.
51119         * po/fr.po: Likewise.
51121 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51123         * configure.in (.ctors/.dtors header and trailer check):
51124         Use an empirical test on a built program.
51125         * configure: Regenerated.
51127         * configure.in (-z relro check): Use an empirical test on a built DSO.
51128         Detect, but do not require, on ia64.
51129         * configure: Regenerated.
51131         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51132         Update tests that use readelf to use $READELF instead.
51133         * configure: Regenerated.
51135 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51137         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51138         if the result is not used.
51140 2011-07-05  Andreas Jaeger  <aj@suse.de>
51142         [BZ#9696]
51143         * stdlib/tst-strtod.c: Add testcase.
51145 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51147         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51148         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51149         The latter has a higher limit.  Take additional parameter to pass to
51150         the new function.
51151         (__pathconf): Pass file to __statfs_link_max.
51152         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51153         __statfs_link_max.
51154         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51155         __statfs_link_max.
51157         [BZ #12868]
51158         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51159         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51160         Handle Lustre.
51161         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51162         (__statfs_filesize_max): Likewise.
51163         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51165 2011-07-05  Andreas Jaeger  <aj@suse.de>
51167         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51169 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51171         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51172         `status' variable.
51173         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51174         Likewise.
51176 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51178         * Makefile (strop-tests): Add strncat.
51179         * string/test-strncat.c: New file.
51181 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51183         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51185 2011-06-21  Andreas Jaeger  <aj@suse.de>
51187         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51188         Copy rule from iconvdata/Makefile.
51190 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51192         [BZ #12922]
51193         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51194         but no long options are defined, just return 'W'.
51196 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51198         [BZ #9696]
51199         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51201 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51203         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51204         netgroups to read.
51205         (innetgr): Likewise.
51207 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51209         * config.make.in (install_root): Default to $(DESTDIR).
51211 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51213         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51215 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51217         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51219         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51220         containing directory rather than embedding absolute directory names.
51222         * scripts/check-local-headers.sh: Rewritten using awk.
51223         Match by word, not by line.  Print error messages for matches.
51224         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51226         * Makerules [shlib-lds-flags empty]:
51227         ($(common-objpfx)libc_pic.opts): New target.
51228         ($(common-objpfx)libc_pic.os.clean): New target.
51229         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51231         * config.make.in (OBJCOPY): New variable.
51232         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51233         * configure: Regenerated.
51235         * config.make.in (use-default-link): New variable.
51236         * configure.in (use_default_link): Grok --with-default-link to set it.
51237         * configure: Regenerated.
51238         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51239         (shlib-lds, shlib-lds-flags): Define to empty.
51241         * Makerules (shlib-lds): New variable.
51242         (shlib-lds-flags): New variable.
51243         (build-shlib, build-moduile, build-module-asneeded): Use it.
51244         ($(common-objpfx)libc.so): Use $(shlib-lds).
51245         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51246         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51248         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51249         DT_FLAGS/DT_FLAGS_1 with zero flags.
51251         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51252         linker script munging.
51254 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51256         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51257         as 128-bit value.
51258         * crypt/sha512.c (sha512_process_block): Perform total addition using
51259         128-bit if possible.
51260         (__sha512_finish_ctx): Likewise.
51261         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51262         as 64-bit value.
51263         * crypt/sha256.c (SWAP64): Define.
51264         (sha256_process_block): Perform total addition using 64-bit if
51265         possible.
51266         (__sha256_finish_ctx): Likewise.
51268 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51270         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51271         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51272         * nscd/hstcache.c (cache_addhst): Likewise.
51273         * nscd/grpcache.c (cache_addgr): Likewise.
51274         * nscd/aicache.c (addhstaiX): Likewise
51275         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51277 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51279         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51280         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51281         * nscd/hstcache.c (cache_addhst): Likewise.
51282         * nscd/grpcache.c (cache_addgr): Likewise.
51283         * nscd/aicache.c (addhstaiX): Likewise
51285 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51287         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51288         domain only when needed.
51290 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51293         is always restored.
51295 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51297         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51298         are re-adding the entry.
51299         * nscd/servicescache.c (cache_addserv): Likewise.
51301 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51303         * sysdeps/generic/dl-irel.h: fix protection against multiple
51304         inclusions.
51305         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51307 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51309         [BZ #12935]
51310         * malloc/memusage.sh: Fix quoting in message.
51311         * debug/xtrace.sh: Likewise.
51313         * configure.in: Remove support for --experimental-malloc option, make
51314         it the default.
51315         * config.make.in: Likewise.
51316         * malloc/Makefile: Likewise.
51318 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51320         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51321         two-byte characters.
51323 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51325         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51326         AC_CACHE_CHECK invocation.
51327         * configure: Regenerated.
51329         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51331 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51333         [BZ #12350]
51334         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51335         bit from old_res_options.
51337         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51339         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51340         value type for setfct.
51342 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51344         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51345         __gettimeofday instead of gettimeofday.
51347 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51349         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51351 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51353         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51355         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51356         info.
51358 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51361         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51362         strcpy-sse2-unaligned strncpy-sse2-unaligned
51363         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51364         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51365         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51366         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51367         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51368         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51369         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51370         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51371         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51372         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51373         (STRCPY): Support SSE2 and SSSE3 versions.
51375 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51377         [BZ #12874]
51378         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51379         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51380         kernels which artificially limit size of requests.
51382 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51384         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51385         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51386         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51387         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51388         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51389         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51390         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51391         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51392         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51393         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51394         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51395         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51396         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51397         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51398         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51400         Enable unaligned load optimization for Intel Core i3, i5 and i7
51401         processors.
51402         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51403         Define.
51404         (index_Fast_Unaligned_Load): Define.
51405         (HAS_FAST_UNALIGNED_LOAD): Define.
51407 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51409         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51411 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51413         [BZ #12907]
51414         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51415         until it is clear that the information is realy needed.
51416         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51418 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51422 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51424         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51425         /sys/devices/system/cpu/online if it is usable.
51427         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51428         reading the information from the /proc filesystem to once a second.
51430 2011-06-21  Andreas Jaeger  <aj@suse.de>
51432         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51433         NULL after inclusion of kernel headers.
51435 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51437         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51438         calls to internal_setent.
51440         [BZ #12885]
51441         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51442         addresses using gethostbyname4_r ignore IPv4 addresses.
51444         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51445         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51447         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51449 2011-06-20  David S. Miller  <davem@davemloft.net>
51451         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51452         inclusions.
51453         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51455         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51456         (elf_irel): Use it.
51457         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51458         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51459         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51460         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51461         * sysdeps/x86_64/dl-irel.h: Likewise.
51463         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51464         * elf/dl-sym.c: Likewise.
51466 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51468         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51469         need to dereference resplen2.
51471 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51473         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51475 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51477         * Makeconfig: Define vardbdir and inst_vardbdir.
51478         * nss/Makefile: Add rules to install db-Makefile.
51480         * nss/nss_db/db-XXX.c: Cleanup.
51482         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51483         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51484         GLIBC_PRIVATE.
51485         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51486         * nss/makedb.c: Implement -g option to specify that value strings
51487         are generated and should not be added to table iterated over for
51488         get*ent calls.
51489         * nss/nss_db/db-initgroups.c: New file.
51491         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51492         interface.
51494         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51495         (internal_getgrouplist): Adjust to name change.
51496         Update use_initgroups_entry if this is not the first call.
51497         * nss/databases.def: Add initgroups entry.
51499         * nss/makedb.c (compute_tables): Check result of multiple hash table
51500         sizes to minimize maximum chain length.
51502 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51504         * Versions.def: Add entry for libnss_db.
51505         * shlib-versions: Likewise.
51506         * nss/Makefile: Add rules to build libnss_db.
51507         * nss/Versions: Add libnss_db information.  Organize libnss_files
51508         entries better.
51509         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51510         makedb progra.  Some minor improvements to generate smaller files.
51511         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51512         here from...
51513         * nss/makedb.c: ...here.
51514         Improve database format to be smaller and require less memory at
51515         runtime.
51516         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51517         db anymore.
51518         * nss/nss_db/db-netgrp.c: Likewise.
51519         * nss/nss_db/db-open.c: Likewise.
51520         * nss/nss_files/flies-XXX.x: Adjust comments.
51521         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51522         * nss/nss_files/files-grp.c: Likewise.
51523         * nss/nss_files/files-hosts.c: Likewise.
51524         * nss/nss_files/files-network.c: Likewise.
51525         * nss/nss_files/files-proto.c: Likewise.
51526         * nss/nss_files/files-pwd.c: Likewise.
51527         * nss/nss_files/files-rpc.c: Likewise.
51528         * nss/nss_files/files-service.c: Likewise.
51529         * nss/nss_files/files-sgrp.c: Likewise.
51530         * nss/nss_files/files-spwd.c: Likewise.
51531         * nss/nss_db/db-alias.c: Removed.
51532         * nss/nss_db/dummy-db.h: Removed.
51534 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51536         * nss/makedb.c: Rewritten to not use database library.
51537         * nss/Makefile: Update to build new makedb program.
51539 2011-06-14  Andreas Jaeger  <aj@suse.de>
51541         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51542         memset declaration.
51544 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51546         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51547         tmpbuf.
51549 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51551         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51552         * elf/Makefile ($(objpfx)ld.so): Likewise.
51554         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51555         Don't list ld.so twice in dependencies.
51557         * posix/bug-regex31.c: Include <stdlib.h>.
51559         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51561         * nis/nss_compat/compat-spwd.c
51562         (getspent_next_nss_netgr): Remove unused variable.
51563         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51565         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51566         nonmembers" output to use the right array.
51568         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51570         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51572         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51573         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51574         * catgets/gencat.c (read_input_file): Likewise.
51575         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51577         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51578         variable definition inside #if's controlling its use.
51580         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51582         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51584         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51586         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51587         unreachable code.
51589         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51591         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51592         * configure: Regenerated.
51594         * Makerules: Revert last change.
51595         * elf/Makefile: Likewise.
51597 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51599         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51600         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51601         (reloc-link): Likewise.
51603 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51605         * elf/Makefile: Add rules to build pldd.
51606         * elf/pldd.c: New file.
51607         * elf/pldd-xx.c: New file.
51609 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51611         * version.h: Update for 2.15 development version.
51613 2011-06-07  David S. Miller  <davem@davemloft.net>
51615         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51616         ifuncs.
51617         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51618         elf_machine_lazy_rel): Likewise.
51619         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51620         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51621         elf_machine_lazy_rel): Likewise.
51622         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51623         dl_hwcap via passed in argument.
51624         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51625         Likewise.
51627 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51629         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51631 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51633         [BZ #12849]
51634         * manual/fdl-1.1.texi: New file, verbatim from:
51635         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51636         * manual/lgpl-2.1.texi: New file, verbatim from:
51637         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51638         * manual/Makefile (licenses): New variable, list those new file names.
51639         (texis): Use it.
51640         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51642         * manual/fdl.texi: File removed.
51643         * manual/lesser.texi: File removed.
51644         * manual/libc.texinfo (Copying, Documentation License):
51645         Use new @include file names, put @appendix directive before @include.
51647 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51649         [BZ #12841]
51650         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51651         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51652         (mq_open): Add __NTH.
51654 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51656         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51657         Assume Intel Core i3/i5/i7 processor if AVX is available.
51659 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51662         typo.
51664 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51666         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51667         memory.  Use alloca_account.  Fix memory leak when retrying.
51669 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51671         * version.h (RELEASE): Bump for 2.14 release.
51672         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51674         * config.make.in (RANLIB): Remove entry.
51676 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51678         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51679         (libc.pot): Work around missing support for .ksh extension in xgettext.
51681         [BZ #12684]
51682         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51683         if both request failed.
51684         (send_dg): In case of server errors clear resplen or *resplen2.
51686         [BZ #12454]
51687         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51688         when there are multiple maps.
51689         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51690         (_dl_fini): Remove test here.
51692         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51694 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51696         [BZ #12350]
51697         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51698         bit from old_res_options.
51699         (gaih_inet): Likewise.
51701         [BZ #11099]
51702         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51703         as signed.
51705         * resolv/res_init.c (res_setoptions): Make the code more compact.
51707         [BZ #11558]
51708         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51709         set RES_USEVC.
51711         [BZ #11634]
51712         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51714         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51716         [BZ #11781]
51717         * malloc/malloc.h: Declare malloc hook variables as volatile.
51719         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51720         in last patch.
51722         [BZ #11799]
51723         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51724         raise in the comment.
51725         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51726         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51727         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51729 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51731         [BZ #12811]
51732         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51733         grow the buffers more if it already has to be sufficient.
51734         (build_wcs_upper_buffer): Likewise.
51735         * posix/regexec.c (check_matching): Likewise.
51736         (clean_state_log_if_needed): Likewise.
51737         (extend_buffers): Don't enlarge buffers beyond size of the input
51738         buffer.
51739         Patches mostly by Emil Wojak <emil@wojak.eu>.
51740         * posix/bug-regex32.c: New file.
51741         * posix/Makefile (tests): Add bug-regex32.
51743         * locale/findlocale.c (_nl_find_locale): Return right away if
51744         _nl_explode_name failed.
51745         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51747         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51749         * debug/xtrace.sh: Unify messages.
51750         * malloc/memusage.sh: Likewise.
51752         [BZ #12813]
51753         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51754         time symbol from vDSO.  Substitute with vsyscall if not available.
51755         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51756         __vdso_time.
51758         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51759         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51760         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51761         Add sendmmsg and internal_sendmmsg.
51762         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51763         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51764         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51766         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51767         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51768         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51770 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51772         [BZ #12813]
51773         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51774         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51775         available.
51776         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51777         __vdso_getcpu.
51779         [BZ #12814]
51780         * iconvdata/Makefile (tests): Add bug-iconv9.
51781         * iconvdata/bug-iconv9.c: New file.
51783 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51785         [BZ #12814]
51786         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51788 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51790         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51791         (struct user_regs_struct): Change intcs field back to cs.
51793 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51795         * po/ja.po: Update from translation team.
51797 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51799         [BZ #12795]
51800         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51801         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51803 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51805         * stdlib/longlong.h: Update from GCC.
51807 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51809         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51810         parameter name.
51811         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51812         Add parameter name.
51813         (__sysconf): Pass it down.
51815 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51817         [BZ #12671]
51818         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51819         some situations.
51820         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51821         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51822         add in in __libc_use_alloca calls.  Adjust callers.
51823         (glob): Use malloc in some situations.
51825         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51826         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51827         pltexit.
51829 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51831         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51832         and CLOCK_BOOTTIME_ALARM.
51834         [BZ #12782]
51835         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51836         is returned.
51838         * string/_strerror.c (__strerror_r): Print negative errors as signed
51839         numbers.
51841         [BZ #12777]
51842         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51843         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51844         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51846         * configure.in: Fix typo in redirection and correct removal of test
51847         files in two cases.
51849         [BZ #12788]
51850         * locale/setlocale.c (new_composite_name): Fix test to check for
51851         identical name of all categories.
51853         [BZ #12792]
51854         * libio/filedoalloc.c (local_isatty): New function.
51855         (_IO_file_doallocate): Use local_isatty.
51856         * stdio-common/perror.c (perror): In case a new stream is used
51857         forward the stream error.
51858         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51859         error flag.
51861 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
51863         [BZ #11869]
51864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51865         alloca.
51866         * include/alloca.h (extend_alloca_account): Define.
51868         [BZ #11857]
51869         * posix/regex.h: Fix comments with documentation of user-accessible
51870         fields after compilation and describe correct free'ing of pattern
51871         after re_compile_pattern.
51872         Patch by Reuben Thomas <rrt@sc3d.org>.
51874 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
51876         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51877         and -mno-altivec to prevent the compiler from using Altivec and/or
51878         VSX instructions when the corresponding registers are not available.
51880 2011-05-19  Andreas Schwab  <schwab@redhat.com>
51882         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51884 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
51886         * libio/freopen.c (freopen): Use __dup2, not dup2.
51887         * libio/freopen64.c (freopen64): Likewise.
51889 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51891         [BZ #12775]
51892         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51893         * math/Makefile (tests): Add test-powl.
51894         (CFLAGS-test-powl.c): Define.
51895         * math/test-powl.c: New file.
51897 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51899         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51901 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
51903         [BZ #11837]
51904         * iconvdata/gb18030.c: Update to GB18020-2005.
51906 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
51908         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51909         RE_SYNTAX_POSIX_AWK): Update to match recent development.
51910         Patch by Aharon Robbins <arnold@skeeve.com>.
51912         [BZ #11892]
51913         * stdlib/putenv.c (putenv): Don't always create copy of the variable
51914         on the stack.
51916         [BZ #11895]
51917         * misc/pselect.c (__pselect): Handle timeout value errors hidden
51918         through underflows.
51920         [BZ #12766]
51921         * misc/error.c (error_at_line): Ensure file_name and old_file_name
51922         point to strings before performing equality test for error_one_per_line
51923         mode.
51925         [BZ #11697]
51926         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51928         [BZ #11820]
51929         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51930         (struct user_fpregs_struct): Avoid __uint*_t types.
51932         [BZ #6420]
51933         * malloc/mtrace.c (tr_where): Add additional parameter to point to
51934         symbol info.  Use it instead of calling _dl_addr locally.
51935         (lock_and_info): New function.
51936         (tr_freehook): Call lock_and_info and pass symbol info as additional
51937         parameter to tr_where.
51938         (tr_mallochook): Likewise.
51939         (tr_reallochook): Likewise.
51940         (tr_memalignhook): Likewise.
51942         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
51943         used and couldn't be at all thread-safe.
51945 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
51947         * libio/freopen.c (freopen): Don't close old file descriptor
51948         before the new one is opened.  Instead dup the new file descriptor
51949         to the old one after the new stream is created.
51950         * libio/freopen64.c (freopen64): Likewise.
51951         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51952         * libio/fileops.c (_IO_new_file_close_it): Handle new
51953         _IO_FLAGS2_NOCLOSE flag.
51954         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51955         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51956         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51957         _IO_FLAGS2_NOCLOSE flag.
51958         * include/unistd.h: Add hidden_proto for dup3.
51959         Define __have_dup3.
51960         * io/dup3.c: Define hidden symbol.
51961         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51963         [BZ #7101]
51964         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51965         when an incomplete long option is used.
51966         * posix/tst-getopt_long1.c: New file.
51967         * posix/Makefile (tests): Add tst-getopt_long1.
51969         [BZ #10138]
51970         * scripts/config.guess: Update from autoconf-2.68.
51971         * scripts/config.sub: Likewise.
51973         [BZ #10157]
51974         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51975         tests into ...
51976         (has_cpuclock): ...this.  New function.
51977         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51978         macro here based on has_cpuclock code.
51980         [BZ #10149]
51981         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51982         First byte (not low byte) is now always NUL.
51983         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51985         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51986         Use non-cancelable interfaces.
51988         [BZ #9809]
51989         * locale/iso-639.def: Add entry for Sorani.
51991         [BZ #11901]
51992         * include/stdlib.h: Move include protection to the right place.
51993         Define abort_msg_s.  Declare __abort_msg with it.
51994         * stdlib/abort.c (__abort_msg): Adjust type.
51995         * assert/assert.c (__assert_fail_base): New function.  Majority
51996         of code from __assert_fail.  Allocate memory for __abort_msg with
51997         mmap.
51998         (__assert_fail): Now call __assert_fail_base.
51999         * assert/assert-perr.c: Remove bulk of implementation.  Use
52000         __assert_fail_base.
52001         * include/assert.hL Declare __assert_fail_base.
52002         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52003         mmap.
52004         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52006 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52008         [BZ #11952]
52009         [BZ #12453]
52010         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52011         until all modules are registered in the DTV.
52012         * elf/Makefile: Add rules to build and run tst-tls19.
52013         * elf/tst-tls19.c: New file.
52014         * elf/tst-tls19mod1.c: New file.
52015         * elf/tst-tls19mod2.c: New file.
52016         * elf/tst-tls19mod3.c: New file.
52017         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52019         [BZ #12083]
52020         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52021         correctly.
52023         [BZ #12601]
52024         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52025         two-byte sequence errors.
52026         * iconvdata/Makefile (tests): Add bug-iconv8.
52027         * iconvdata/bug-iconv8.c: New file.
52029         [BZ #12626]
52030         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52031         buf2 definition.
52033         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52035         [BZ #12432]
52036         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52037         (dummy_getcfa): New function.
52038         (init): Get _Unwind_GetCFA address, use dummy if not found.
52039         (backtrace_helper): In recursion check, also check whether CFA changes.
52040         (__backtrace): Completely initialize arg.
52042         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52043         storing incomplete byte sequence in state object.  Avoid testing for
52044         guaranteed too small input if we know there is enough data available.
52046 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52048         * Makeconfig (+link-pie): Indent.
52049         * Rules (binaries-pie): Define if $(have-fpie) and
52050         $(build-shared).
52051         (binaries-shared): Also filter out $(binaries-pie).
52052         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52053         * nscd/Makefile (others-pie): Add nscd.
52054         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52055         ($(objpfx)nscd): Remove command override.
52056         * login/Makefile (others-pie): Add pt_chown.
52057         ($(objpfx)pt_chown): Remove command override.
52058         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52059         remove command overrides.
52061 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52063         * libio/tst_putwc.c: Fix error messages.
52065         [BZ #12724]
52066         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52067         currently writing and seek to current position when not.
52068         * libio/Makefile (tests): Add bug-fclose1.
52069         * libio/bug-fclose1.c: New file.
52071 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52073         [BZ #12511]
52074         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52075         don't set DF_1_NODELETE here.
52076         (do_lookup_x): When entering new entry test for copy relocation
52077         and if necessary set DF_1_NODELETE flag.
52078         * elf/tst-unique4.cc: New file.
52079         * elf/tst-unique4.h: New file.
52080         * elf/tst-unique4lib.cc: New file.
52081         * elf/Makefile: Add rules to build and run tst-unique4.
52082         Patch by Piotr Bury <pbury@goahead.com>.
52084 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52086         [BZ #12052]
52087         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52089         [BZ #12625]
52090         * misc/mntent_r.c (addmntent): Flush the stream after the output
52092         [BZ #12393]
52093         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52094         (is_trusted_path_normalize): Skip initial colon.  Append slash
52095         to empty buffer.  Duplicate is_trusted_path code but allow
52096         constructed patch to be prefix.
52097         (is_dst): Allow $ORIGIN followed by /.
52098         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52099         Correct testing of result of is_trusted_path_normalize
52100         (decompose_rpath): Fix warning.
52102 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52104         [BZ #11257]
52105         * grp/initgroups.c (internal_getgrouplist): When we found the service
52106         list through the initgroups entry in nsswitch.conf do not always
52107         continue on a successful lookup.  Don't always use the
52108         __nss_group_database value if it is set.
52109         * nss/nsswitch.conf (initgroups): Change action for successful db
52110         lookup to continue for compatibility.
52112 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52114         [BZ #11532]
52115         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52116         and CP774 modules.
52117         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52118         and CP774 modules.
52119         * iconvdata/tst-tables.sh: Likewise.
52120         * iconvdata/cp770.c: New file.
52121         * iconvdata/cp771.c: New file.
52122         * iconvdata/cp772.c: New file.
52123         * iconvdata/cp773.c: New file.
52124         * iconvdata/cp774.c: New file.
52125         * iconvdata/testdata/CP770: New file.
52126         * iconvdata/testdata/CP770..UTF8: New file.
52127         * iconvdata/testdata/CP771: New file.
52128         * iconvdata/testdata/CP771..UTF8: New file.
52129         * iconvdata/testdata/CP772: New file.
52130         * iconvdata/testdata/CP772..UTF8: New file.
52131         * iconvdata/testdata/CP773: New file.
52132         * iconvdata/testdata/CP773..UTF8: New file.
52133         * iconvdata/testdata/CP774: New file.
52134         * iconvdata/testdata/CP774..UTF8: New file.
52136         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52137         END CHARMAP line.
52138         * iconvdata/gen-8bit-gap.sh: Likewise.
52139         * iconvdata/gen-8bit.sh: Likewise.
52141         * locale/iso-639.def: Add ary entry.
52143         [BZ #11258]
52144         * locale/C-translit.h.in: Add U20A1 transliteration.
52146         [BZ #12178]
52147         * locale/iso-639.def: Add wae entry.
52148         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52150         [BZ #12545]
52151         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52152         for n.
52154         [BZ #12711]
52155         * locale/C-translit.h.in: Add entry for U20B9.
52156         Patch by pravin.d.s@gmail.com.
52158 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52160         [BZ #12713]
52161         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52162         ENAMETOOLONG use generic getcwd.
52163         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52164         in rtld.  Use *stat64.
52165         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52166         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52167         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52168         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52169         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52170         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52171         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52172         __fstatat64 macros.
52173         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52174         * dirent/rewinddir.c: Add libc_hidden_def.
52175         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52176         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52178         * include/dirent.h (__alloc_dir): Add flags parameter.
52179         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52180         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52181         __alloc_dir.
52182         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52183         from fdopendir if O_CLOEXEC is already set.
52185 2011-03-15  Alan Modra  <amodra@gmail.com>
52187         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52188         l_tls_firstbyte_offset non-zero.  Save padding offset in
52189         l_tls_firstbyte_offset for later use.
52190         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52191         freeing static tls block.
52193 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52195         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52196         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52197         being defined by the kernel headers.
52199 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52201         [BZ #12734]
52202         * resolv/resolv.h: Define RES_NOTLDQUERY.
52203         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52204         no-tld-query and set RES_NOTLDQUERY.
52205         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52206         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52207         modern BIND to search name as TLD unless forbidden.
52209 2011-05-07  Petr Baudis  <pasky@suse.cz>
52210             Ulrich Drepper  <drepper@gmail.com>
52212         [BZ #12393]
52213         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52214         (is_trusted_path): ...to here.
52215         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52216         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52217         using is_trusted_path_normalize() in setuid scripts.
52219 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52221         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52222         __BEGIN/__END_DECLS.
52224 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52226         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52227         NSS_STATUS_NOTFOUND if no record was found.
52229 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52231         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52232         (headers-not-in-tirpc): Remove rpc/netdb.h
52233         * resolv/netdb.h: Revert last change.
52235 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52237         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52238         circular dependency between libgcc.a and libc.a.
52240 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52242         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52243         * nis/Makefile: Don't install rpcsvc/*.
52244         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52245         instead of <rpc/types.h>.
52246         (MAXHOSTNAMELEN): Define.
52248 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52250         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52252 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52254         [BZ #12714]
52255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52256         gethostbyname4_r when IPv6 results are possible.
52258 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52260         [BZ #12723]
52261         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52262         _PC_PIPE_BUF handling.
52264 2011-04-30  Bruno Haible  <bruno@clisp.org>
52266         [BZ #12717]
52267         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52268         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52269         to 'int'.
52270         * inet/getnameinfo.c (getnameinfo): Likewise.
52272 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52274         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52275         to groups setting in database lookup.
52276         * nss/nsswitch.conf: Add initgroups entry.
52278 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52280         [BZ #12685]
52281         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52282         mode string.
52283         Patch by Eric Blake <eblake@redhat.com>.
52285 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52287         * sunrpc/Makefile (need-export-routines): Add svc_run.
52288         (routines): Remove svc_run.
52289         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52290         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52291         * sunrpc/svc_run.c (svc_run): Likewise.
52292         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52294 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52296         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52297         problem in reallocation in last patch.
52299 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52301         * sunrpc/Makefile: Move inclusion of Rules.
52303 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52305         * nss/nss_files/files-initgroups.c: New file.
52306         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52307         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52308         _nss_files_initgroups_dyn.
52310 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52312         * elf/elf.h (R_ARM_IRELATIVE): Define.
52314 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52316         * po/ru.po: Update from translation team.
52318 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52320         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52321         dependencies.
52323 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52325         [BZ #12653]
52326         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52327         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52328         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52329         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52330         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52332 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52334         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52335         differing bytes.
52336         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52337         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52338         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52340 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52342         [BZ #12420]
52343         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52344         storing it.
52345         * stdlib/bug-getcontext.c: New file.
52346         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52348 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52350         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52351         instructions into .machine "z9-109".
52352         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52353         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52355 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52357         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52358         between environment variables and auxiliary vector.
52360 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52362         * Makefile: Add rules to build linkobj/libc.so.
52363         * include/libc-symbols.h: Define libc_hidden_nolink.
52364         * include/rpc/auth.h: Mark functions which are to be hidden.
52365         * include/rpc/auth_des.h: Likewise.
52366         * include/rpc/auth_unix.h: Likewise.
52367         * include/rpc/clnt.h: Likewise.
52368         * include/rpc/des_crypt.h: Likewise.
52369         * include/rpc/key_prot.h: Likewise.
52370         * include/rpc/pmap_clnt.h: Likewise.
52371         * include/rpc/pmap_prot.h: Likewise.
52372         * include/rpc/pmap_rmt.h: Likewise.
52373         * include/rpc/rpc_msg.h: Likewise.
52374         * include/rpc/svc.h: Likewise.
52375         * include/rpc/svc_auth.h: Likewise.
52376         * include/rpc/xdr.h: Likewise.
52377         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52378         * nss/Makefile: Likewise.
52379         * sunrpc/Makefile: Don't install headers.  Build library with normal
52380         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52381         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52382         for the compat linking library.  Remove use of INTDEF/INTUSE.
52383         * sunrpc/auth_none.c: Likewise.
52384         * sunrpc/auth_unix.c: Likewise.
52385         * sunrpc/authdes_prot.c: Likewise.
52386         * sunrpc/authuxprot.c: Likewise.
52387         * sunrpc/clnt_gen.c: Likewise.
52388         * sunrpc/clnt_perr.c: Likewise.
52389         * sunrpc/clnt_raw.c: Likewise.
52390         * sunrpc/clnt_simp.c: Likewise.
52391         * sunrpc/clnt_tcp.c: Likewise.
52392         * sunrpc/clnt_udp.c: Likewise.
52393         * sunrpc/clnt_unix.c: Likewise.
52394         * sunrpc/des_crypt.c: Likewise.
52395         * sunrpc/des_soft.c: Likewise.
52396         * sunrpc/get_myaddr.c: Likewise.
52397         * sunrpc/key_call.c: Likewise.
52398         * sunrpc/key_prot.c: Likewise.
52399         * sunrpc/netname.c: Likewise.
52400         * sunrpc/pm_getmaps.c: Likewise.
52401         * sunrpc/pm_getport.c: Likewise.
52402         * sunrpc/pmap_clnt.c: Likewise.
52403         * sunrpc/pmap_prot.c: Likewise.
52404         * sunrpc/pmap_prot2.c: Likewise.
52405         * sunrpc/pmap_rmt.c: Likewise.
52406         * sunrpc/publickey.c: Likewise.
52407         * sunrpc/rpc_cmsg.c: Likewise.
52408         * sunrpc/rpc_common.c: Likewise.
52409         * sunrpc/rpc_dtable.c: Likewise.
52410         * sunrpc/rpc_prot.c: Likewise.
52411         * sunrpc/rpc_thread.c: Likewise.
52412         * sunrpc/rtime.c: Likewise.
52413         * sunrpc/svc.c: Likewise.
52414         * sunrpc/svc_auth.c: Likewise.
52415         * sunrpc/svc_authux.c: Likewise.
52416         * sunrpc/svc_raw.c: Likewise.
52417         * sunrpc/svc_run.c: Likewise.
52418         * sunrpc/svc_simple.c: Likewise.
52419         * sunrpc/svc_tcp.c: Likewise.
52420         * sunrpc/svc_udp.c: Likewise.
52421         * sunrpc/svc_unix.c: Likewise.
52422         * sunrpc/svcauth_des.c: Likewise.
52423         * sunrpc/xcrypt.c: Likewise.
52424         * sunrpc/xdr.c: Likewise.
52425         * sunrpc/xdr_array.c: Likewise.
52426         * sunrpc/xdr_float.c: Likewise.
52427         * sunrpc/xdr_intXX_t.c: Likewise.
52428         * sunrpc/xdr_mem.c: Likewise.
52429         * sunrpc/xdr_rec.c: Likewise.
52430         * sunrpc/xdr_ref.c: Likewise.
52431         * sunrpc/xdr_sizeof.c: Likewise.
52432         * sunrpc/xdr_stdio.c: Likewise.
52434 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52436         [BZ #12650]
52437         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52438         * sysdeps/ia64/dl-tls.h: Likewise.
52439         * sysdeps/powerpc/dl-tls.h: Likewise.
52440         * sysdeps/s390/dl-tls.h: Likewise.
52441         * sysdeps/sh/dl-tls.h: Likewise.
52442         * sysdeps/sparc/dl-tls.h: Likewise.
52443         * sysdeps/x86_64/dl-tls.h: Likewise.
52444         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52446 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52448         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52449         rpath element also skip the following colon.
52450         (expand_dynamic_string_token): Add is_path parameter and pass
52451         down to DL_DST_REQUIRED and _dl_dst_substitute.
52452         (decompose_rpath): Call expand_dynamic_string_token with
52453         non-zero is_path.  Ignore empty rpaths.
52454         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52455         with zero is_path.
52457 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52460         Make cancelable.
52462 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52464         [BZ #12655]
52465         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52466         Patch by Filipe David Manana <fdmanana@apache.org>.
52468 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52470         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52471         Maintain aligned stack.
52472         (CHECK_RSP): Remove unused macro.
52474 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52476         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52477         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52479 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52481         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52483         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52485 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52487         [BZ #12518]
52488         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52489         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52490         * sysdeps/x86_64/memmove.c: New file.
52491         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52492         (memcpy): Renamed to ...
52493         (__new_memcpy): This.
52494         (memcpy): Provide GLIBC_2_14 memcpy.
52495         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52496         (memcpy): Provide GLIBC_2_2_5 memcpy.
52498 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52500         [BZ #12631]
52501         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52503 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52505         * misc/syncfs.c: New file.
52506         * misc/Makefile (routines): Add syncfs.
52507         * posix/unistd.h: Declare syncfs.
52508         * sysdeps/unix/syscalls.list: Add syncfs.
52510 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52512         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52513         open_by_handle_at.
52514         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52515         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52517         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52518         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52519         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52520         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52522 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52524         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52525         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52526         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52527         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52528         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52529         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52530         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52532         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52533         sync_file_range.c with -fexceptions.
52534         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52535         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52536         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52537         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52538         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52539         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52540         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52541         sync_file_range as cancellation point
52542         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52543         now a wrapper around __call_sync_file_range with cancellation handling.
52544         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52545         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52546         function name to __call_sync_file_range.
52547         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52548         Add call_sync_file_range.
52550 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52553         bits/timex.h.
52555 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52557         * iconv/iconv.h: Fix typo in comment.
52558         * io/fcntl.h: Likewise.
52559         * libio/stdio.h: Likewise.
52560         * posix/spawn.h: Likewise.
52561         * posix/unistd.h: Likewise.
52562         * stdlib/stdlib.h: Likewise.
52563         * time/time.h: Likewise.
52564         * wcsmbs/wchar.h: Likewise.
52566         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52567         open_by_handle): Add.
52568         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52569         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52570         Augment a few comments.
52571         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52572         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52573         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52574         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52575         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52576         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52577         open_by_handle.
52579         * io/fcntl.h (AT_EMPTY_PATH): Define.
52581 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52583         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52584         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52585         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52586         to...
52587         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52588         * Versions.def: Add GLIBC_2.14.
52589         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52590         Export.
52592 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52594         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52595         round counter.
52596         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52598 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52600         [BZ #12597]
52601         * string/test-strncmp.c (do_page_test): New function.
52602         (check2): Likewise.
52603         (test_main): Call check2.
52604         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52606 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52608         [BZ #12587]
52609         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52610         Handle cache information in CPU leaf 4.
52611         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52613 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52615         [BZ #12583]
52616         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52617         character representation.
52618         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52620 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52622         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52623         END(__isnan) to END(__isnanf) to match function entry point/label
52624         EALIGN(__isnanf,...).
52626 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52628         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52630 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52632         [BZ #12510]
52633         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52634         copy from the symbol referenced in the relocation to initialize the
52635         used variable.
52636         Patch by Piotr Bury <pbury@goahead.com>.
52637         * elf/Makefile: Add rules to build and tst-unique3.
52638         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52639         * elf/tst-unique3.cc: New file.
52640         * elf/tst-unique3.h: New file.
52641         * elf/tst-unique3lib.cc: New file.
52642         * elf/tst-unique3lib2.cc: New file.
52644         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52646 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52648         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52649         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52650         to _start.
52652 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52654         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52655         to-be-loaded object along a path to loader is ld.so.
52657 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52658             Ulrich Drepper  <drepper@gmail.com>
52660         * sysdeps/x86_64/memset.S: After aligning destination, code
52661         branches to different locations depending on the value of
52662         misalignment, when multiarch is enabled. Fix this.
52664 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52666         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52667         Set _x86_64_preferred_memory_instruction for AMD processsors.
52668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52669         Set bit_Prefer_SSE_for_memop for AMD processors.
52671 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52673         * libio/fmemopen.c (fmemopen): Optimize a bit.
52675 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52677         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52679 2011-03-03  Roland McGrath  <roland@redhat.com>
52681         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52683 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52685         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52686         __bzero_ultra1 instead of __memset_ultra1.
52688 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52689             Ulrich Drepper  <drepper@gmail.com>
52691         [BZ #12509]
52692         * include/link.h (struct link_map): Add l_orig_initfini.
52693         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52694         returning unsuccessfully.
52695         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52696         close of a file loaded at startup, restore the original l_initfini
52697         list.
52698         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52699         list, store the pointer.
52700         * elf/Makefile ($(objpfx)noload-mem): New rule.
52701         (noload-ENV): Define.
52702         (tests): Add $(objpfx)noload-mem.
52703         * elf/noload.c: Include <memcheck.h>.
52704         (main): Call mtrace.  Close all opened handles.
52706 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52708         [BZ #12454]
52709         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52710         dependencies are missing.
52712 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52714         Fix __if_freereq crash: Unlike the generic version which uses free,
52715         Hurd needs munmap.
52716         * sysdeps/mach/hurd/ifreq.h: New file.
52718 2011-01-27  Petr Baudis  <pasky@suse.cz>
52719             Ulrich Drepper  <drepper@gmail.com>
52721         [BZ 12445]#
52722         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52723         to extend_alloca().
52724         * stdio-common/bug23.c: New file.
52725         * stdio-common/Makefile (tests): Add bug23.
52727 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52728             Ulrich Drepper  <drepper@gmail.com>
52730         [BZ #12489]
52731         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52732         before performing relro protection.  At old place add assertion
52733         to make sure nothing changed.
52735 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52736             Glauber de Oliveira Costa  <glommer@gmail.com>
52738         * elf/elf.h: Add new ARM TLS relocs.
52740 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52743         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52744         cast from r3.
52745         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52746         'tests' variable.
52747         * sysdeps/wordsize-64/tst-writev.c: New file.
52749 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52751         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52752         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52753         insns in _dl_start to prevent a TOC reference before relocs are
52754         resolved.
52756 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52758         [BZ #12469]
52759         * Makeconfig: Remove RANLIB definition.
52760         * Makerules: Don't use RANLIB.
52761         * aclocal.m4: Remove ranlib test.
52762         * configure.in: No need to check for ranlib.
52763         * elf/rtld-Rules: Don't use RANLIB.
52765 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52767         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52768         protection macro.
52769         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52770         inclusion protection macro.
52772         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52773         SIGRTMIN and SIGRTMAX and print information in that case only when
52774         SIGRTMIN is defined.
52776 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52778         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52779         arginfo fn returning -1.
52781         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52782         and thousands string is zero terminated.
52784 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52786         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52787         sysdeps/unix/sysv/linux/bits/socket.h.
52789 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52791         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52792         (__CPU_COUNT): Remove old macros.
52793         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52794         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52795         (__CPU_ALLOC, __CPU_FREE): Add macros.
52796         (__sched_cpualloc, __sched_cpufree): Add declarations.
52798 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52800         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52801         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52802         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52803         (readdhstai): Return value of addhstaiX call.
52804         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52805         (addgrbyX): Return value returned by cache_addgr.
52806         (readdgrbyname): Return value returned by addgrbyX.
52807         (readdgrbygid): Likewise.
52808         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52809         (addpwbyX): Return value returned by cache_addpw.
52810         (readdpwbyname): Return value returned by addhstbyX.
52811         (readdpwbyuid): Likewise.
52812         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52813         (addservbyX): Return value returned by cache_addserv.
52814         (readdservbyname): Return value returned by addservbyX:
52815         (readdservbyport): Likewise.
52816         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52817         (addhstbyX): Return value returned by cache_addhst.
52818         (readdhstbyname): Return value returned by addhstbyX.
52819         (readdhstbyaddr): Likewise.
52820         (readdhstbynamev6): Likewise.
52821         (readdhstbyaddrv6): Likewise.
52822         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52823         (readdinitgroups): Return value returned by addinitgroupsX.
52824         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52825         (prune_cache): Keep track of timeout value of re-added entries.
52826         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52827         * nscd/nscd.h: Adjust prototypes of readd* functions.
52829 2011-02-04  Roland McGrath  <roland@redhat.com>
52831         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52832         (nis_stats): Likewise.
52833         * nis/nis_modify.c (nis_modify): Likewise.
52834         * nis/nis_remove.c (nis_remove): Likewise.
52835         * nis/nis_add.c (nis_add): Likewise.
52837         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52839         * posix/fnmatch_loop.c: Add some consts.
52841         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52843 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
52845         [BZ #12460]
52846         * config.make.in (config-cflags-novzeroupper): Define.
52847         * configure.in: Substitute libc_cv_cc_novzeroupper.
52848         * elf/Makefile (AVX-CFLAGS): Define.
52849         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52850         (CFLAGS-tst-auditmod4a.c): Likewise.
52851         (CFLAGS-tst-auditmod4b.c): Likewise.
52852         (CFLAGS-tst-auditmod6b.c): Likewise.
52853         (CFLAGS-tst-auditmod6c.c): Likewise.
52854         (CFLAGS-tst-auditmod7b.c): Likewise.
52855         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52857 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
52859         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52860         function to the callback.
52861         Patch partly by Jiri Olsa <jolsa@redhat.com>.
52863 2011-02-02  Andreas Schwab  <schwab@redhat.com>
52865         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52866         of errno.
52868 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
52870         [BZ #11724]
52871         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52872         of constructors.
52873         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52874         of destructors.
52875         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52877         [BZ #11724]
52878         * elf/Makefile: Add rules to build and run new test.
52879         * elf/tst-initorder.c: New file.
52880         * elf/tst-initorder.exp: New file.
52881         * elf/tst-initordera1.c: New file.
52882         * elf/tst-initordera2.c: New file.
52883         * elf/tst-initordera3.c: New file.
52884         * elf/tst-initordera4.c: New file.
52885         * elf/tst-initorderb1.c: New file.
52886         * elf/tst-initorderb2.c: New file.
52887         * elf/tst-order-a1.c: New file.
52888         * elf/tst-order-a2.c: New file.
52889         * elf/tst-order-a3.c: New file.
52890         * elf/tst-order-a4.c: New file.
52891         * elf/tst-order-b1.c: New file.
52892         * elf/tst-order-b2.c: New file.
52893         * elf/tst-order-main.c: New file.
52894         New test case by George Gensure <werkt0@gmail.com>.
52896 2010-10-01  Andreas Schwab  <schwab@redhat.com>
52898         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52899         decoding ACE if AI_CANONIDN.
52901 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
52903         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52905 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
52907         * version.h (RELEASE): Bump for 2.13 release.
52908         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52910         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52912         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52913         MADV_NOHUGEPAGE.
52914         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52915         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52916         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52917         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52918         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52919         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52921         * posix/getconf.c: Update copyright year.
52922         * catgets/gencat.c: Likewise.
52923         * csu/version.c: Likewise.
52924         * debug/catchsegv.sh: Likewise.
52925         * debug/xtrace.sh: Likewise.
52926         * elf/ldconfig.c: Likewise.
52927         * elf/ldd.bash.in: Likewise.
52928         * elf/sprof.c (print_version): Likewise.
52929         * iconv/iconv_prog.c: Likewise.
52930         * iconv/iconvconfig.c: Likewise.
52931         * locale/programs/locale.c: Likewise.
52932         * locale/programs/localedef.c: Likewise.
52933         * malloc/memusage.sh: Likewise.
52934         * malloc/mtrace.pl: Likewise.
52935         * nscd/nscd.c (print_version): Likewise.
52936         * nss/getent.c: Likewise.
52938         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52939         PF_CAIF, and PF_ALG.
52940         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52942 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
52944         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52945         (modules-names): Use them.
52946         (ifunc-test-modules, ifunc-pie-tests): Define.
52947         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52948         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52949         (test-extras): Likewise.
52950         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52951         $(compile-command.c).
52952         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52953         (all-built-dso): Define.
52954         (check-textrel.out, check-execstack.out): Depend on it.
52956         * configure.in: Don't override --enable-multi-arch.
52958 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
52960         [BZ #6812]
52961         * nscd/hstcache.c (tryagain): Define.
52962         (cache_addhst): Return tryagain not notfound for temporary errors.
52963         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52964         failed.
52966 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
52968         [BZ #10563]
52969         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52970         to make the syscall.
52971         * sysdeps/unix/sysv/linux/setgroups.c: New file.
52973         [BZ #12378]
52974         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52975         and fall back to matching as normal character if the string ends before
52976         the matching ']' is found.  This is what POSIX requires.
52977         * posix/testfnm.c: Adjust test result.
52978         * posix/globtest.sh: Adjust test result.  Add new test.
52979         * posix/tst-fnmatch.input: Likewise.
52980         * posix/tst-fnmatch2.c: Add new test.
52982 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
52984         * elf/Makefile (check-execstack): Revert last change.  Depend on
52985         check-execstack.h.
52986         (check-execstack.h): New target.
52987         (generated): Add check-execstack.h.
52988         * elf/check-execstack.c: Include "check-execstack.h".
52989         (main): Revert last change.
52990         (handle_file): Return zero if GNU_STACK is absent and
52991         DEFAULT_STACK_PERMS doesn't include PF_X.
52993 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
52995         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52996         in child fails because the descriptor is already closed.
52997         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52998         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52999         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53001         [BZ #12397]
53002         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53003         syscall.
53005         [BZ #10484]
53006         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53007         temporary buffer used to handle multi lookups locally.
53008         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53010 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53012         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53013         loader is ld.so.
53015 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53017         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53018         alignment for SSE2.
53020 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53022         [BZ #12394]
53023         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53024         characters.  When rounding increased number of integer digits recompute
53025         number of groups.
53026         * stdio-common/tst-grouping.c: New file.
53027         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53029 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53031         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53032         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53034         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53035         void.
53036         * bits/select.h: Likewise.
53038 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53040         * po/ja.po: Update from translation team.
53042 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53044         [BZ #11155]
53045         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53046         implementation just like for lxstat, fxstatat, et al.
53048 2010-12-27  Jim Meyering  <meyering@redhat.com>
53050         [BZ #12348]
53051         * posix/regexec.c (build_trtable): Return failure indication upon
53052         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53054 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53056         [BZ #12201]
53057         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53058         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53059         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53060         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53062         [BZ #12207]
53063         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53065         [BZ #12204]
53066         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53067         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53069 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53071         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53072         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53073         script has SORT_BY_INIT_PRIORITY.
53074         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53075         NO_CTORS_DTORS_SECTIONS is defined.
53076         * elf/soinit.c: Likewise.
53077         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53078         NO_CTORS_DTORS_SECTIONS is defined.
53079         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53080         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53081         * sysdeps/sh/init-first.c: Likewise.
53082         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53084 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53086         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53087         always use the slow path.
53089 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53091         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53092         similar rule which adds the sysdep directories to the header search in
53093         order to pick up the correct platform stackinfo.h.
53094         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53095         perform test if it is, otherwise return successfully without testing.
53096         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53097         DEFAULT_STACK_PERMS define in stackinfo.h.
53098         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53099         defined in stackinfo.h.
53100         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53101         DEFAULT_STACK_PERMS defined in stackinfo.h.
53102         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53103         * sysdeps/ia64/stackinfo.h: Likewise.
53104         * sysdeps/s390/stackinfo.h: Likewise.
53105         * sysdeps/sh/stackinfo.h: Likewise.
53106         * sysdeps/sparc/stackinfo.h: Likewise.
53107         * sysdeps/x86_64/stackinfo.h: Likewise.
53108         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53109         PF_X for powerpc64.  Retain PF_X for powerpc32.
53111 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53113         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53114         accurately.
53115         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53116         GETDENTS_64BIT_ALIGNED.
53118 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53120         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53122 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53124         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53125         _GNU_SOURCE.
53127         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53128         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53129         Remove __restrict.
53130         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53131         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53133 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53135         [BZ #11655]
53136         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53137         are initialized.
53139 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53141         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53143 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53145         * po/it.po: Update from translation team.
53147 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53149         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53150         unused codes.
53152 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53154         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53156 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53158         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53159         specially.
53160         (gaih_getanswer_slice): Likewise.
53162 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53164         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53166 2010-05-31  Petr Baudis  <pasky@suse.cz>
53168         [BZ #11149]
53169         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53170         silently even in the chroot mode.
53172 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53174         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53175         last patch a bit.  Pretty printing
53177 2010-05-31  Petr Baudis <pasky@suse.cz>
53179         [BZ #10085]
53180         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53181         initialization of skip_initgroups_dyn.
53183 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53185         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53186         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53188 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53190         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53192 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53194         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53195         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53196         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53197         ($(objpfx)tst-fnmatch-mem): New rule.
53198         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53199         * posix/tst-fnmatch.c (main): Call mtrace.
53201 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53204         Support Intel processor model 6 and model 0x2c.
53206 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53208         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53209           signed comparison.
53211 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53213         [BZ #12205]
53214         * string/test-strncasecmp.c (check_result): New function.
53215         (do_one_test): Use it.
53216         (check1): New function.
53217         (test_main): Use it.
53218         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53219         Support strcasecmp and strncasecmp.
53221 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53223         [BZ #12194]
53224         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53225         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53227 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53229         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53230         IFUNC support.
53231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53232         memset-x86-64.
53233         * sysdeps/x86_64/multiarch/bzero.S: New file.
53234         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53235         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53236         * sysdeps/x86_64/multiarch/memset.S: New file.
53237         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53238         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53239         Set bit_Prefer_SSE_for_memop for Intel processors.
53240         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53241         Define.
53242         (index_Prefer_SSE_for_memop): Define.
53243         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53245 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53247         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53248         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53250 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53252         [BZ #12191]
53253         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53254         (__x86_64_raw_data_cache_size_half): Likewise.
53255         (__x86_64_raw_shared_cache_size): Likewise.
53256         (__x86_64_raw_shared_cache_size_half): Likewise.
53258         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53259         (__x86_64_raw_data_cache_size_half): Likewise.
53260         (__x86_64_raw_shared_cache_size): Likewise.
53261         (__x86_64_raw_shared_cache_size_half): Likewise.
53262         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53263         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53264         and __x86_64_raw_shared_cache_size_half.  Round
53265         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53266         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53267         to multiple of 256 bytes.
53269 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53271         [BZ #12167]
53272         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53273         of inacessible symlinks.  Verify result of symlink before returning it.
53274         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53275         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53277 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53279         * math/math.h (isinf): Fix typo in comment.
53281 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53283         * po/da.po: Update from translation team.
53285 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53287         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53288         is added to the list.
53290 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53291             Ulrich Drepper  <drepper@gmail.com>
53293         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53294         the global list here.  Move code to...
53295         (_dl_add_to_namespace_list): ...here.  New function.
53296         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53297         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53298         * elf/dl-load.c (lose): Don't remove the element from the list.
53299         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53300         (_dl_map_object): Likewise.
53302 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53304         [BZ #12159]
53305         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53306         into all bytes of SSE register.
53307         Patch by Richard Li <richardpku@gmail.com>.
53309 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53311         [BZ #12140]
53312         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53313         perturbing.
53315 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53317         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53318         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53319         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53320         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53322         submachine.
53323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53325 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53327         * include/dlfcn.h (__RTLD_SECURE): Define.
53328         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53329         mode & __RTLD_SECURE instead.
53330         (open_path): Rename preloaded parameter to secure.
53331         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53332         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53333         * elf/dl-deps.c (openaux): Likewise.
53334         * elf/rtld.c (struct map_args): Remove is_preloaded.
53335         (map_doit): Don't use it.
53336         (dl_main): Likewise.
53337         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53338         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53340 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53342         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53343         (sysd-rules-targets): Remove duplicates.
53344         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53345         rtld-%.$o dependency.
53347 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53349         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53350         _dl_map_object do it.
53352 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53354         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53355         fast fma builtins, define the macros in the C99 standard.
53356         (FP_FAST_FMAF): Likewise.
53357         (FP_FAST_FMAL): Likewise.
53358         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53360         * bits/mathdef.h: Update copyright year.
53361         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53363 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53365         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53366         builtins, define the macros in the C99 standard.
53367         (FP_FAST_FMAF): Likewise.
53368         (FP_FAST_FMAL): Likewise.
53369         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53370         multiply/add.
53371         (FP_FAST_FMAF): Likewise.
53373 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53375         [BZ #3268]
53376         * math/libm-test.inc (fma_test): Some new testcases.
53377         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53378         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53379         y and infinite z.  Do multiplication by C already in long double.
53380         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53381         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53382         y and infinite z.  Do bitwise or of inexact bit into u.d.
53383         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53384         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53385         * sysdeps/i386/fpu/s_fma.S: Removed.
53386         * sysdeps/i386/fpu/s_fmal.S: Removed.
53388 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53390         [BZ #3268]
53391         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53392         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53393         computation is not scheduled after fetestexcept.  Fix value
53394         of minimum denormal long double.
53396 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53398         [BZ #3268]
53399         * math/libm-test.inc (fma_test): Add some more tests.
53400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53401         correctly.
53403 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53405         * scripts/data/localplt-s390-linux-gnu.data: New file.
53406         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53408 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53410         [BZ #3268]
53411         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53412         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53413         instead of dbl-64.
53414         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53415         inlines.
53416         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53417         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53418         if one of x and y is very large and the other is subnormal.
53419         * sysdeps/s390/fpu/s_fmaf.c: New file.
53420         * sysdeps/s390/fpu/s_fma.c: New file.
53421         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53422         * sysdeps/powerpc/fpu/s_fma.S: New file.
53423         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53424         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53425         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53427 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53429         [BZ #3268]
53430         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53431         fma tests.
53432         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53433         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53434         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53435         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53436         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53437         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53438         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53440 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53442         [BZ #12078]
53443         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53444         * posix/bug-regex31.input: Add test case.
53446 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53448         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53449         * posix/bug-regex31.input: New file.
53451         [BZ #12078]
53452         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53453         (parse_sub_exp): Fix last change, use postorder.
53455         * posix/bug-regex31.c: New file.
53456         * posix/Makefile: Add rules to build and run bug-regex31.
53458         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53460         [BZ #12078]
53461         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53463         [BZ #12108]
53464         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53465         to have entries in sys_siglist.
53467         [BZ #12093]
53468         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53469         be NULL.
53471 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53473         [BZ #3268]
53474         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53475         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53476         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53477         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53478         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53479         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53480         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53481         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53482         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53483         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53484         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53485         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53486         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53487         * math/ftestexcept.c (fetestexcept): Likewise.
53488         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53489         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53490         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53491         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53492         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53493         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53494         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53496 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53498         [BZ #12107]
53499         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53500         newline.
53502 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53504         * string/bug-strstr1.c: New file.
53505         * string/Makefile: Add rules to build and run bug-strstr1.
53507 2010-10-05  Eric Blake  <eblake@redhat.com>
53509         [BZ #12092]
53510         * string/str-two-way.h (two_way_long_needle): Always clear memory
53511         when skipping input due to the shift table.
53513 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53515         [BZ #12005]
53516         * malloc/mcheck.c: Handle large requests.
53518         [BZ #12077]
53519         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53520         for strncmp and strncasecmp.
53521         * string/stratcliff.c: Add tests for strcmp and strncmp.
53522         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53524 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53526         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53527         __set_fpscr.
53529 2010-09-30  Andreas Jaeger  <aj@suse.de>
53531         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53532         (CGROUP_SUPER_MAGIC): Define.
53533         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53534         Handle btrfs and cgroup file systems.
53535         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53536         Likewise.
53538 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53540         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53541         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53543 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53545         [BZ #12067]
53546         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53547         trying to locate the ELF header.
53549 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53551         [BZ #11611]
53552         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53553         Mask out sign-bit copies when constructing f_fsid.
53555 2010-09-24  Petr Baudis <pasky@suse.cz>
53557         * debug/stack_chk_fail_local.c: Add missing licence exception.
53558         * debug/warning-nop.c: Likewise.
53560 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53562         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53563         implementing getdents64 using getdents syscall, set d_type if
53564         __ASSUME_GETDENTS32_D_TYPE.
53566 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53568         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53569         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53571 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53573         [BZ #12037]
53574         * posix/unistd.h: Undo change of feature selection for ftruncate from
53575         2010-01-11.
53577 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53579         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53580         detection.
53582 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53584         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53585         fanotify_mark.
53586         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53588 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53590         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53591         variables after CHECK_SP call.
53592         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53594 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53595             Ulrich Drepper  <drepper@redhat.com>
53597         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53598         re-relocationg ld.so.
53599         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53600         _dl_init_paths call.
53601         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53602         here anymore.
53604 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53606         * resolv/res_init.c (__res_vinit): Count the default server we added.
53608 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53609             Ulrich Drepper  <drepper@redhat.com>
53611         [BZ #11968]
53612         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53613         (____longjmp_chk): Use %ebx for saving value across system call.
53614         Add unwind info.
53616 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53618         * manual/Makefile: Don't mix pattern rules with normal rules.
53620 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53622         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53623         operation.
53624         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53625         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53626         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53627         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53628         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53629         Likewise.
53631 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53633         [BZ #11979]
53634         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53635         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53637 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53639         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53640         * sysdeps/x86_64/addmul_1.S: Likewise.
53641         * sysdeps/x86_64/lshift.S: Likewise.
53642         * sysdeps/x86_64/mul_1.S: Likewise.
53643         * sysdeps/x86_64/rshift.S: Likewise.
53644         * sysdeps/x86_64/sub_n.S: Likewise.
53645         * sysdeps/x86_64/submul_1.S: Likewise.
53647 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53649         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53650         Define __sched_param instead of SCHED_* and sched_param when
53651         <bits/sched.h> is included with __need_schedparam defined.
53652         * bits/sched.h [__need_schedparam]
53653         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53654         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53655         (__defined_schedparam): Define to 1.
53656         (__sched_param): New structure, identical to sched_param.
53657         (__need_schedparam): Undefine.
53659 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53661         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53662         (epoll_create1): Declare.
53664         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53666 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53668         [BZ #7066]
53669         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53670         shifting retval into place.
53672 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53674         * nis/rpcsvc/nis.h: Update copyright notice.
53675         * nis/rpcsvc/nis.x: Likewise.
53676         * nis/rpcsvc/nis_callback.h: Likewise.
53677         * nis/rpcsvc/nis_callback.x: Likewise.
53678         * nis/rpcsvc/nis_object.x: Likewise.
53679         * nis/rpcsvc/nis_tags.h: Likewise.
53680         * nis/rpcsvc/yp.h: Likewise.
53681         * nis/rpcsvc/yp.x: Likewise.
53682         * nis/rpcsvc/ypupd.h: Likewise.
53683         * nis/yp_xdr.c: Likewise.
53684         * nis/ypupdate_xdr.c: Likewise.
53686         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53687         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53688         (pmap_getport): Use __libc_rpc_getport.
53689         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53690         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53691         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53693 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53696         fanotify_mark.
53698 2010-08-27  Roland McGrath  <roland@redhat.com>
53700         * sysdeps/i386/i686/multiarch/Makefile
53701         (CFLAGS-varshift.c): New variable.
53703 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53705         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53706         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53708         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53710         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53712 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53714         * sysdeps/x86_64/strlen.S: Unroll the loop.
53715         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53716         strlen-sse2 strlen-sse2-bsf.
53717         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53718         __strlen_no_bsf if bit_Slow_BSF is set.
53719         (__strlen_sse42): Removed.
53720         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53721         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53723 2010-08-25  Roland McGrath  <roland@redhat.com>
53725         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53726         * sysdeps/x86_64/multiarch/varshift.c: New file.
53727         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53728         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53729         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53730         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53732 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53734         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53735         strlen-sse2 strlen-sse2-bsf.
53736         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53737         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53738         (__strlen_sse2): Removed.
53739         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53740         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53741         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53742         bit_Slow_BSF for Atom.
53743         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53744         (index_Slow_BSF): Define.
53745         (HAS_SLOW_BSF): Define.
53747 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53749         [BZ #10851]
53750         * resolv/res_init.c (__res_vinit): When no server address at all
53751         is given default to loopback.
53753 2010-08-24  Roland McGrath  <roland@redhat.com>
53755         * configure.in: Remove config-name.h generation.
53756         * configure: Regenerated.
53757         * config-name.in: File removed.
53758         * scripts/config-uname.sh: New file.
53759         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53760         ($(objdir)config-name.h): New target.
53762         * sunrpc/rpc_parse.h: Avoid nested comment.
53764 2010-08-24  Richard Henderson  <rth@redhat.com>
53765             Ulrich Drepper  <drepper@redhat.com>
53766             H.J. Lu  <hongjiu.lu@intel.com>
53768         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53770         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53771         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53772         _mm_alignr_epi8 with _mm_loadu_si128.
53773         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53774         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53775         (__m128i_shift_right): Removed.
53776         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53777         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53778         * sysdeps/x86_64/multiarch/varshift.h: New file.
53779         * sysdeps/x86_64/multiarch/varshift.S: New file.
53781 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53783         * configure.in: Move assembler checks to before sysdep dir checking.
53785 2010-08-20  Petr Baudis  <pasky@suse.cz>
53787         * LICENSES: Sync the sunrpc license.
53789 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53791         * sunrpc/auth_des.c: Update copyright notice once again.
53792         * sunrpc/auth_none.c: Likewise.
53793         * sunrpc/auth_unix.c: Likewise.
53794         * sunrpc/authdes_prot.c: Likewise.
53795         * sunrpc/authuxprot.c: Likewise.
53796         * sunrpc/bindrsvprt.c: Likewise.
53797         * sunrpc/clnt_gen.c: Likewise.
53798         * sunrpc/clnt_perr.c: Likewise.
53799         * sunrpc/clnt_raw.c: Likewise.
53800         * sunrpc/clnt_simp.c: Likewise.
53801         * sunrpc/clnt_tcp.c: Likewise.
53802         * sunrpc/clnt_udp.c: Likewise.
53803         * sunrpc/clnt_unix.c: Likewise.
53804         * sunrpc/des_crypt.c: Likewise.
53805         * sunrpc/des_soft.c: Likewise.
53806         * sunrpc/get_myaddr.c: Likewise.
53807         * sunrpc/getrpcport.c: Likewise.
53808         * sunrpc/key_call.c: Likewise.
53809         * sunrpc/key_prot.c: Likewise.
53810         * sunrpc/openchild.c: Likewise.
53811         * sunrpc/pm_getmaps.c: Likewise.
53812         * sunrpc/pm_getport.c: Likewise.
53813         * sunrpc/pmap_clnt.c: Likewise.
53814         * sunrpc/pmap_prot.c: Likewise.
53815         * sunrpc/pmap_prot2.c: Likewise.
53816         * sunrpc/pmap_rmt.c: Likewise.
53817         * sunrpc/rpc/auth.h: Likewise.
53818         * sunrpc/rpc/auth_unix.h: Likewise.
53819         * sunrpc/rpc/clnt.h: Likewise.
53820         * sunrpc/rpc/des_crypt.h: Likewise.
53821         * sunrpc/rpc/key_prot.h: Likewise.
53822         * sunrpc/rpc/netdb.h: Likewise.
53823         * sunrpc/rpc/pmap_clnt.h: Likewise.
53824         * sunrpc/rpc/pmap_prot.h: Likewise.
53825         * sunrpc/rpc/pmap_rmt.h: Likewise.
53826         * sunrpc/rpc/rpc.h: Likewise.
53827         * sunrpc/rpc/rpc_des.h: Likewise.
53828         * sunrpc/rpc/rpc_msg.h: Likewise.
53829         * sunrpc/rpc/svc.h: Likewise.
53830         * sunrpc/rpc/svc_auth.h: Likewise.
53831         * sunrpc/rpc/types.h: Likewise.
53832         * sunrpc/rpc/xdr.h: Likewise.
53833         * sunrpc/rpc_clntout.c: Likewise.
53834         * sunrpc/rpc_cmsg.c: Likewise.
53835         * sunrpc/rpc_common.c: Likewise.
53836         * sunrpc/rpc_cout.c: Likewise.
53837         * sunrpc/rpc_dtable.c: Likewise.
53838         * sunrpc/rpc_hout.c: Likewise.
53839         * sunrpc/rpc_main.c: Likewise.
53840         * sunrpc/rpc_parse.c: Likewise.
53841         * sunrpc/rpc_parse.h: Likewise.
53842         * sunrpc/rpc_prot.c: Likewise.
53843         * sunrpc/rpc_sample.c: Likewise.
53844         * sunrpc/rpc_scan.c: Likewise.
53845         * sunrpc/rpc_scan.h: Likewise.
53846         * sunrpc/rpc_svcout.c: Likewise.
53847         * sunrpc/rpc_tblout.c: Likewise.
53848         * sunrpc/rpc_util.c: Likewise.
53849         * sunrpc/rpc_util.h: Likewise.
53850         * sunrpc/rpcinfo.c: Likewise.
53851         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53852         * sunrpc/rpcsvc/key_prot.x: Likewise.
53853         * sunrpc/rpcsvc/klm_prot.x: Likewise.
53854         * sunrpc/rpcsvc/mount.x: Likewise.
53855         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53856         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53857         * sunrpc/rpcsvc/rex.x: Likewise.
53858         * sunrpc/rpcsvc/rstat.x: Likewise.
53859         * sunrpc/rpcsvc/rusers.x: Likewise.
53860         * sunrpc/rpcsvc/sm_inter.x: Likewise.
53861         * sunrpc/rpcsvc/spray.x: Likewise.
53862         * sunrpc/rpcsvc/yppasswd.x: Likewise.
53863         * sunrpc/rtime.c: Likewise.
53864         * sunrpc/svc.c: Likewise.
53865         * sunrpc/svc_auth.c: Likewise.
53866         * sunrpc/svc_authux.c: Likewise.
53867         * sunrpc/svc_raw.c: Likewise.
53868         * sunrpc/svc_run.c: Likewise.
53869         * sunrpc/svc_simple.c: Likewise.
53870         * sunrpc/svc_tcp.c: Likewise.
53871         * sunrpc/svc_udp.c: Likewise.
53872         * sunrpc/svc_unix.c: Likewise.
53873         * sunrpc/svcauth_des.c: Likewise.
53874         * sunrpc/xcrypt.c: Likewise.
53875         * sunrpc/xdr.c: Likewise.
53876         * sunrpc/xdr_array.c: Likewise.
53877         * sunrpc/xdr_float.c: Likewise.
53878         * sunrpc/xdr_mem.c: Likewise.
53879         * sunrpc/xdr_rec.c: Likewise.
53880         * sunrpc/xdr_ref.c: Likewise.
53881         * sunrpc/xdr_sizeof.c: Likewise.
53882         * sunrpc/xdr_stdio.c: Likewise.
53884         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53885         handling.
53887 2010-08-19  Andreas Schwab  <schwab@redhat.com>
53889         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53891 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
53893         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53894         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53895         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53896         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53897         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53898         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53899         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53900         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53901         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53902         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53903         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53904         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53905         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53906         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53908 2010-07-26  Anton Blanchard  <anton@samba.org>
53910         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53911         * malloc/arena.c (heap_trim): Likewise.
53913 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
53915         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53916         here.  Not...
53917         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53918         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53920 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
53922         * sysdeps/i386/elf/Makefile: New file.
53924 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53926         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53927         from fanotify_init.
53928         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53929         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53931 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
53933         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53934         of strncasecmp_l.
53935         * sysdeps/multiarch/strcmp.S: Likewise.
53937 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
53939         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53940         strncase_l-nonascii.
53941         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53942         Add strncase_l-ssse3.
53943         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53944         * sysdeps/x86_64/strcmp.S: Likewise.
53945         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53946         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53947         * sysdeps/x86_64/strncase.S: New file.
53948         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53949         * sysdeps/x86_64/strncase_l.S: New file.
53950         * string/Makefile (strop-tests): Add strncasecmp.
53951         * string/test-strncasecmp.c: New file.
53953         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53954         warning.
53956         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53957         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53959 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53961         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53963 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
53965         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53966         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53967         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53969 2010-05-01  Alan Modra  <amodra@gmail.com>
53971         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53972         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53973         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53974         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53975         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53976         tidying.  Don't tail-call __sigjmp_save for static lib.
53977         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53978         save location.
53979         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53980         (CALL_MCOUNT): Add eh info, and nop after bl.
53981         (TAIL_CALL_SYSCALL_ERROR): New macro.
53982         (PSEUDO_RET): Use it.
53983         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53984         Correct save location of integer regs and cr.
53985         (_dl_profile_resolve): Correct cr save location.  Delete nops
53986         after bl when SHARED.  Reduce cfi size a little by better
53987         placement of cfi directives.
53988         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53989         make a stack frame.  Instead use parm save area as a temp.
53990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53991         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
53992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53993         Don't make a stack frame for parent, use parm save area.
53994         Increase child stack frame to 112 bytes.  Don't save unused reg,
53995         and adjust reg usage.  Set up cfi on error recovery and
53996         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53998         (__makecontext): Add dummy nop after jump to exit.
53999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54000         Use correct parm save area and cr save, reduce stack frame.
54001         Correct cfi for possible PSEUDO_RET frame setup.
54002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54003         Branch to local label emitted by PSEUDO_RET rather than
54004         __syscall_error.
54006 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54008         [BZ #11904]
54009         * locale/programs/locale.c (print_assignment): New function.
54010         (show_locale_vars): Use it.
54012 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54014         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54015         field.
54016         (struct statfs64): Likewise.
54017         (_STATFS_F_FLAGS): Define.
54018         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54019         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54020         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54021         (ST_VALID): Define locally.
54022         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54023         __statvfs_getflags, use the provided value.
54024         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54025         __ASSUME_STATFS_F_FLAGS.
54027         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54029         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54030         Add sys/fanotify.h.
54031         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54032         fanotify_mask for GLIBC_2.13.
54033         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54034         fanotify_init and fanotify_mark.
54035         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54036         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54038         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54039         Add prlimit.
54040         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54041         prlimit64 for GLIBC_2.13.
54042         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54043         prlimit64.
54044         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54045         syscall.
54046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54047         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54048         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54049         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54050         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54051         add prlimit alias.
54052         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54054         [BZ #11903]
54055         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54056         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54058         * nss/Makefile: Add rules to build and run tst-nss-test1.
54059         * shlib-versions: Add entry for libnss_test1.
54060         * nss/nss_test1.c: New file.
54061         * nss/tst-nss-test1.c: New file.
54063         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54064         (__nss_configure_lookup): Set appropriate entry in
54065         __nss_configure_lookup to true.
54066         * nss/nsswitch.h: Define enum with indeces of databases in
54067         databases and __nss_database_custom arrays.  Declare
54068         __nss_database_custom.
54069         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54070         to avoid using nscd when custom rules are installed.
54071         * nss/getXXbyYY_r.c: Likewise.
54072         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54074         * nss/nss_files/files-parse.c: Whitespace fixes.
54076 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54078         [BZ #11883]
54079         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54080         * posix/fnmatch_loop.c: Likewise.
54082 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54084         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54085         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54086         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54087         * Versions.def [GLIBC_2.13]: Add.
54089 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54091         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54092         Also fail if tpwd after pwuid call is NULL.
54094 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54096         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54097         when converting to ms.
54099 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54101         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54102         EOPNOTSUPP errors with ENOTTY.
54103         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54104         EOPNOTSUPP errors with ENOTTY.
54106 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54108         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54109         Add strcasecmp_l-ssse3.
54110         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54111         strcasecmp.
54112         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54113         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54114         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54116 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54118         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54120         * string/Makefile (strop-tests): Add strcasecmp.
54121         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54122         strcasecmp_l-nonascii.
54123         (gen-as-const-headers): Add locale-defines.sym.
54124         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54125         * sysdeps/x86_64/strcasecmp.S: New file.
54126         * sysdeps/x86_64/strcasecmp_l.S: New file.
54127         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54128         * sysdeps/x86_64/locale-defines.sym: New file.
54129         * string/test-strcasecmp.c: New file.
54131         * string/test-strcasestr.c: Test both ends of the range of characters.
54132         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54134 2010-07-29  Roland McGrath  <roland@redhat.com>
54136         [BZ #11856]
54137         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54139 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54141         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54142         for ld.so.
54144 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54146         * manual/memory.texi (Malloc Tunable Parameters): Document
54147         M_PERTURB.
54149 2010-07-26  Roland McGrath  <roland@redhat.com>
54151         [BZ #11840]
54152         * configure.in (-fgnu89-inline check): Set and substitute
54153         gnu89_inline, not libc_cv_gnu89_inline.
54154         * configure: Regenerated.
54155         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54157 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54159         * string/test-strnlen.c: New file.
54160         * string/Makefile (strop-tests): Add strnlen.
54161         * string/tester.c (test_strnlen): Add a few more test cases.
54162         * string/tst-strlen.c: Better error reporting.
54164         * sysdeps/x86_64/strnlen.S: New file.
54166 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54168         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54169         lower-latency instructions.
54171 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54173         * string/test-strcasestr.c: New file.
54174         * string/test-strstr.c: New file.
54175         * string/Makefile (strop-tests): Add strstr and strcasestr.
54176         * string/str-two-way.h: Don't undefine MAX.
54177         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54179 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54181         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54182         strcasestr-nonascii.
54183         (CFLAGS-strcasestr-nonascii.c): Define.
54184         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54185         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54186         Remove unused attribute.
54188 2010-07-20  Roland McGrath  <roland@redhat.com>
54190         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54191         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54192         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54193         like LD_HWCAP_MASK can disable hwcaps.
54195 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54197         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54199 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54201         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54202         call in strcasestr.
54203         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54204         __strcasestr_sse42_nonascii.
54205         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54206         strcasestr-nonascii.c.
54207         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54209 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54211         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54212         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54213         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54214         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54216 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54218         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54219         fcntl.
54221 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54223         [BZ #11577]
54224         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54225         dl_signal_cerror.
54227 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54229         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54230         _PC_PIPE_BUF using F_GETPIPE_SZ.
54232 2010-07-05  Roland McGrath  <roland@redhat.com>
54234         * manual/arith.texi (Rounding Functions): Fix rint description
54235         implicit in round description.
54237 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54239         * elf/Makefile: Fix linking for a few tests to make recent linker
54240         happy.
54242 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54244         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54245         $(common-objpfx)libc_nonshared.a.
54247 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54249         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54250         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54251         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54252         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54253         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54254         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54255         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54256         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54271         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54272         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54273         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54274         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54275         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54276         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54277         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54278         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54279         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54280         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54281         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54282         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54298 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54300         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54301         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54302         * string/memmove.c (memmove): Renamed to ...
54303         (MEMMOVE): ...this.  Default to memmove.
54304         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54305         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54306         (END_CHK): Define.
54307         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54308         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54309         mempcpy-ssse3-back memmove-ssse3-back.
54310         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54311         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54312         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54313         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54314         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54315         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54316         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54317         * sysdeps/x86_64/multiarch/memmove.c: New file.
54318         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54319         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54320         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54321         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54322         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54323         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54324         Define.
54325         (index_Fast_Copy_Backward): Define.
54326         (HAS_ARCH_FEATURE): Define.
54327         (HAS_FAST_REP_STRING): Define.
54328         (HAS_FAST_COPY_BACKWARD): Define.
54330 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54332         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54333         Restore proper fallback handling.
54335 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54337         [BZ #11701]
54338         * posix/group_member.c (__group_member): Correct checking loop.
54340         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54341         OOM in getpwuid_r correctly.  Return error number when the caller
54342         should return, otherwise -1.
54343         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54344         call returning > 0 value.
54345         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54347 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54349         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54350         libc_nonshared.a from targets in modules-names.
54352 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54354         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54355         requires it.
54357 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54359         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54360         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54361         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54362         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54364 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54366         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54368 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54370         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54371         and F_GETPIPE_SZ.
54372         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54373         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54374         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54375         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54376         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54377         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54379 2010-06-14  Roland McGrath  <roland@redhat.com>
54381         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54383 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54385         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54386         __REDIRECT followed by __THROW.
54387         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54388         * posix/getopt.h (getopt): Likewise.
54390 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54392         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54393         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54394         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54395         in AT_FLAGS.
54396         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54397         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54399 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54401         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54403 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54405         [BZ #11640]
54406         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54407         Properly check family and model.
54409 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54411         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54413 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54415         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54417 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54419         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54420         symbol reference.
54422 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54424         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54425         symbol reference.
54427 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54429         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54430         and internal_recvmmsg.
54431         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54432         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54433         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54434         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54436         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54437         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54438         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54440 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54442         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54444 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54446         POWER7 optimizations.
54447         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54448         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54450 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54452         * version.h: Update for 2.13 development version.
54454 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54456         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54457         exceptions.  Return 0.
54459 2010-05-07  Roland McGrath  <roland@redhat.com>
54461         * elf/ldconfig.c (main): Add a const.
54463 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54465         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54466         (args_options): Add no-idn option.
54467         (ahosts_keys_int): Add idn_flags to ai_flags.
54468         (parse_option): Handle 'i' option to clear idn_flags.
54470         * malloc/malloc.c (_int_free): Possible race in the most recently
54471         added check.  Only act on the data if no current modification
54472         happened.
54474 See ChangeLog.17 for earlier changes.