Fix resolver bind, getsockname namespace (bug 17733).
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #17733]
4         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5         (__bind): Do not define as weak alias.
6         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7         define.
8         (__getsockname): Do not define as weak alias.
9
10 2014-12-22  Will Newton  <will.newton@linaro.org>
11
12         * manual/install.texi: Document that we require bison 2.7
13         or above.
14         * INSTALL: Regenerate.
15         * configure.ac: Use AC_CHECK_PROG_VER instead of
16         AC_PATH_PROG when checking for bison and check for
17         version 2.7 or above.
18         * configure: Regenerate.
19
20 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21
22         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23         * sysdeps/tile/ffsll.c (ffsll): To here.
24
25         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26
27 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28
29         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
30         if not defined.
31         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
32         definition.
33         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34         hidden ___tls_get_addr.
35         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36         hidden __tls_get_addr.
37         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
38         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
39         Likewise.
40
41 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42
43         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
44         _dl_init call.
45
46 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
47
48         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
49         from "call _dl_init@PLT".
50         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
51
52 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
53
54         * manual/search.texi: (Array Sort Function): Clarify stable sorting
55         guarantees.
56
57 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
58
59         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
60
61 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
62
63         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
64         strnlen.
65
66 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
67
68         * string/strncat.c (STRNCAT): Simplify implementation.
69
70 2014-12-19  David S. Miller  <davem@davemloft.net>
71
72         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
73         access the quad as both a long double and as a series of 4 words.
74
75         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
76         link_map->l_info array access.
77
78 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
79
80         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
81
82         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
83         * math/atest-exp2.c (TIMEOUT): Likewise.
84         * math/atest-sincos.c (TIMEOUT): Likewise.
85
86 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
87
88         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
89         -Wno-error with -fno-builtin-lround.
90
91 2014-12-19  Torvald Riegel  <triegel@redhat.com>
92
93         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
94         Contains futex constants and functions moved over from ...
95         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
96         <lowlevellock-futex.h>.
97         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
98         (lll_timedwait_tid): Add comments and parentheses around macro
99         arguments.
100
101 2014-12-19  Torvald Riegel  <triegel@redhat.com>
102
103         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
104         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
105         (__lll_private_flag): Remove.
106         (lll_futex_wait): Likewise.
107         (lll_futex_timed_wait): Likewise.
108         (lll_futex_wake): Likewise.
109         (lll_futex_requeue): Likewise.
110         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
111         (__lll_timedwait_tid): Spell out argument names.
112         (lll_timedwait_tid): Add comments and parentheses around macro
113         arguments.
114         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
115         LLL_SHARED and LLL_PRIVATE usable from assembly code.
116
117 2014-12-19  Torvald Riegel  <triegel@redhat.com>
118
119         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
120         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
121         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
122         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
123         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
124         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
125         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
126         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
127         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
128         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
129         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
130         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
131         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
132         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
133         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
134         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
135         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
136         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
137         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
138
139 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
140
141         * sysdeps/x86_64/x32/Makefile: New file.
142
143 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
144
145         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
146         1L with (mp_limb_t) 1.
147
148 2014-12-17  Roland McGrath  <roland@hack.frob.com>
149
150         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
151         * nptl/libc_pthread_init.c: ... here.
152         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
153         * nptl/register-atfork.c: ... here.
154
155         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
156         Use pthread_sigmask rather than INTERNAL_SYSCALL.
157         Use assert_perror to check its return value.
158         (__gai_create_helper_thread): Likewise.
159
160         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
161
162         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
163
164 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
165
166         [BZ #17725]
167         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
168         __profil_counter.
169         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
170         Likewise.
171         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
172         Likewise.
173         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
174         Likewise.
175         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
176         (profil_counter): Likewise.
177         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
178         (profil_counter): Likewise.
179         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
180         Likewise.
181         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
182         Likewise.
183         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
184         (profil_counter): Likewise.
185         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
186         Likewise.
187         [!__profil_counter] (profil_counter): Define as weak alias of
188         __profil_counter.
189         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
190         (profil_counter): Rename to __profil_counter.
191         [!__profil_counter] (profil_counter): Define as weak alias of
192         __profil_counter.
193         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
194         (profil_counter): Rename to __profil_counter.
195         [!__profil_counter] (profil_counter): Define as weak alias of
196         __profil_counter.
197         * sysdeps/posix/profil.c: Update comment referring to
198         profil_counter.
199         (__profil): Use __profil_counter instead of profil_counter.
200         * sysdeps/posix/sprofil.c (profil_counter): Rename to
201         __profil_counter.  Use __profil_counter_ushort and
202         __profil_counter_uint in definitions.
203         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
204         instead of profil_counter_uint and profil_counter_ushort.
205
206         [BZ #17722]
207         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
208         define as weak alias of __inet_makeaddr.
209         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
210         as weak alias of __inet_addr.
211         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
212         as weak alias of __inet_pton.  Use libc_hidden_weak.
213         * include/arpa/inet.h (__inet_pton): Declare.  Use
214         libc_hidden_proto.
215         (inet_makeaddr): Don't use libc_hidden_proto.
216         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
217         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
218         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
219         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
220         Remove variable.
221         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
222         (test-xfail-POSIX/time.h/linknamespace): Likewise.
223
224 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
225
226         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
227
228 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
229
230         * stdio-common/bug-vfprintf-nargs.c (do_test):
231         Cast value to intptr_t to avoid format warning
232         for usage with PRIdPTR printing macro.
233
234 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
235
236         * libio/tst-widetext.c (do_test):
237         Use format type %td instead of %Zd for ptrdiff_t
238         in order to avoid format warning.
239
240 2014-12-17  Andreas Schwab  <schwab@suse.de>
241
242         * nscd/mem.c (gc): Add size_t cast to match printf format.
243
244 2014-12-16  Roland McGrath  <roland@hack.frob.com>
245
246         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
247         (init): Apply PTR_MANGLE to pointers before storing them.
248         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
249         before using them.
250
251 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
252
253         [BZ #17719]
254         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
255         define as weak alias of __memrchr.
256         (__memrchr): Do not define as strong alias of memrchr.
257         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
258         Remove variable.
259         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
260         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
261         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
262
263         [BZ #17717]
264         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
265         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
266         (if_indextoname): Rename to __if_indextoname and define as weak
267         alias of __if_indextoname.  Use libc_hidden_weak.
268         (if_freenameindex): Rename to __if_freenameindex and define as
269         weak alias of __if_freenameindex.
270         (if_nameindex): Rename to __if_nameindex and define as weak alias
271         of __if_nameindex.
272         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
273         __if_nametoindex and define as weak alias of __if_nametoindex.
274         Use libc_hidden_weak.
275         (if_freenameindex): Rename to __if_freenameindex and define as
276         weak alias of __if_freenameindex.
277         (if_nameindex): Rename to __if_nameindex and define as weak alias
278         of __if_nameindex.
279         (if_indextoname): Rename to __if_indextoname and define as weak
280         alias of __if_indextoname.  Use libc_hidden_weak.
281         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
282         __if_nametoindex and define as weak alias of __if_nametoindex.
283         Use libc_hidden_weak.
284         (if_freenameindex): Rename to __if_freenameindex and define as
285         weak alias of __if_freenameindex.  Use libc_hidden_weak.
286         (if_nameindex_netlink): Use __if_freenameindex instead of
287         if_freenameindex.
288         (if_nameindex): Rename to __if_nameindex and define as weak alias
289         of __if_nameindex.  Use libc_hidden_weak.
290         (if_indextoname): Rename to __if_indextoname and define as weak
291         alias of __if_indextoname.  Use libc_hidden_weak.
292         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
293         libc_hidden_proto.
294         [!_ISOMAC] (__if_freenameindex): Likewise.
295         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
296         if_nametoindex.
297         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
298         variable.
299         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
300         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
301         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
302         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
303         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
304         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
305         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
306
307         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
308         Remove variable.
309         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
310         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
311
312 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
313
314         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
315         subscript above bounds'
316
317         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
318         bounds.
319
320 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
321
322         * libio/tst-fopenloc.c: Use test-skeleton.c.
323
324         * stdlib/tst-bsearch.c: Use test-skeleton.c.
325         (entry): Rename to ITEM.
326         (do_test, comp): Adjust.
327
328         * stdio-common/tst-fseek.c: Use test-skeleton.c.
329
330 2014-12-16  Torvald Riegel  <triegel@redhat.com>
331
332         * string/tester.c: Include <libc-internal.h>.
333         (test_memset): Ignore -Wmemset-transposed-args.
334
335 2014-12-16  Torvald Riegel  <triegel@redhat.com>
336
337         * misc/tst-mntent2.c (do_test): Fix warning.
338
339 2014-12-16  Torvald Riegel  <triegel@redhat.com>
340
341         * elf/tst-unique4lib.cc(a): Mark as used.
342
343 2014-12-16  Florian Weimer  <fweimer@redhat.com>
344
345         [BZ #17630]
346         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
347         names.
348
349 2014-12-16  Allan McRae  <allan@archlinux.org>
350
351         * stdio-common/Makefile (tests): Re-add bug26.
352
353 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
354
355         [BZ #17657]
356         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
357         static array.
358
359 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
360
361         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
362         (__lll_lock_wait): Likewise.
363         (__lll_timedlock_wait): Likewise.
364         (__lll_timedwait_tid): Likewise.
365         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
366         (__lll_robust_timedlock_wait): Likewise.
367         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
368         (lll_cond_trylock): Likewise.
369         (__lll_lock): Likewise.
370         (__lll_robust_lock): Likewise.
371         (__lll_cond_lock): Likewise.
372         (lll_robust_cond_lock): Likewise.
373         (__lll_timedlock): Likewise.
374         (__lll_robust_timedlock): Likewise.
375         (__lll_unlock): Likewise.
376         (__lll_robust_unlock): Likewise.
377         (lll_wait_tid): Likewise.
378         (lll_timedwait_tid): Likewise.
379
380 2014-12-15  Torvald Riegel  <triegel@redhat.com>
381
382         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
383
384 2014-12-15  Torvald Riegel  <triegel@redhat.com>
385
386         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
387
388 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
389
390         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
391         * stdio-common/tst-sprintf.c: Likewise.
392
393 2014-12-15  Torvald Riegel  <triegel@redhat.com>
394
395         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
396
397 2014-12-15  Jeff Law  <law@redhat.com>
398
399         [BZ #16617]
400         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
401         on the heap.  (CVE-2012-3406)
402         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
403         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
404         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
405
406 2014-12-15  Will Newton  <will.newton@linaro.org>
407
408         * manual/install.texi: Bump required version of texinfo
409         to 4.7 from 4.5.
410         * INSTALL: Regenerated.
411         * configure.ac: Check for makeinfo version 4.7 and above.
412         * configure: Regenerated.
413
414 2014-12-12  Roland McGrath  <roland@hack.frob.com>
415
416         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
417         PREFIX, string constant to insert between directory and name.
418         * sysdeps/posix/shm_open.c: Update caller.
419         * sysdeps/posix/shm_unlink.c: Likewise.
420         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
421         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
422         (SEM_SHM_PREFIX): New macro.
423         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
424         [$(have-thread-library) = no].
425         * nptl/Makefile (libpthread-routines): Add shm-directory.
426         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
427         * sysdeps/nptl/shm-directory.h: New file.
428         * sysdeps/posix/shm-directory.c
429         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
430         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
431         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
432         INTERNAL_SYSCALL.
433         (__where_is_shmfs): Function removed.
434         (mountpoint, defaultmount, defaultdir, __namedsem_once):
435         Variables removed.
436         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
437         Use SHM_GET_NAME.
438         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
439
440         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
441         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
442         unconditional for use inside libpthread.
443         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
444
445 2014-12-12  Roland McGrath  <roland@hack.frob.com>
446
447         * nptl/pthread_getaffinity.c: New file.
448         * nptl/pthread_setaffinity.c: New file.
449         * nptl/pthread_getname.c: New file.
450         * nptl/pthread_setname.c: New file.
451
452         * nptl/pthread_create.c (START_THREAD_DEFN)
453         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
454
455 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
456             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
457
458         * resolv/res_send.c (send_vc): Disable warning resplen may
459         be used uninitialized.
460
461 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
462
463         * nptl/tst-mutex6.c
464         (ATTR_NULL): New define checks ATTR against NULL.
465         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
466         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
467
468 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
469
470         [BZ #17581]
471         * malloc/hooks.c
472         (mem2mem_check): Revert my previous change.
473         (malloc_check_get_size): Revert my previous change.
474         (mem2chunk_check): Revert my previous change.
475
476 2014-12-11  Roland McGrath  <roland@hack.frob.com>
477
478         * sysdeps/posix/shm-directory.c: New file.
479         * sysdeps/posix/shm-directory.h: New file.
480         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
481         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
482         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
483         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
484         Transmute EPERM to EACCES.
485         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
486         from ...
487         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
488         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
489
490 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
491
492         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
493         pointer and cast to uintptr_t.
494         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
495         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
496         Add cast to avoid warning.
497         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
498
499 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
500
501         * nptl/semaphore.h: Move to ...
502         * sysdeps/pthread/semaphore.h: ... here.
503         * Makefile (installed-headers): Change nptl/semaphore.h to
504         sysdeps/pthread/semaphore.h.
505
506 2014-12-11  Roland McGrath  <roland@hack.frob.com>
507
508         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
509         generated error format strings.
510
511         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
512         -Wformat-extra-args warnings for scanf formats.
513         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
514         test of zero-length format (duh).
515         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
516         corner-case scanf format test.
517         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
518         generated fprintf format string.
519         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
520         corner-case sprintf format tests.
521         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
522         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
523         -Wformat-extra-args warnings throughout.
524         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
525         (CFLAGS-scanf4.c): Likewise.
526         (CFLAGS-scanf7.c): Likewise.
527         (CFLAGS-tst-sprintf.c): Likewise.
528         (CFLAGS-tst-printf.c): Likewise.
529         (CFLAGS-tst-printfsz.c): Likewise.
530
531 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
532
533         * include/cpio.h: New file.
534         * include/fmtmsg.h: Likewise.
535
536         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
537         corresponding format argument to size_t.
538         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
539         arguments.
540         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
541         corresponding format argument to size_t.
542         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
543         arguments.
544         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
545         corresponding format argument to size_t.
546         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
547         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
548         (CFLAGS-tst-mbswcs2.c): Likewise.
549         (CFLAGS-tst-mbswcs3.c): Likewise.
550         (CFLAGS-tst-mbswcs4.c): Likewise.
551         (CFLAGS-tst-mbswcs5.c): Likewise.
552         (CFLAGS-tst-trans.c): Likewise
553
554 2014-12-11  Roland McGrath  <roland@hack.frob.com>
555
556         * posix/regexbug1.c (main): Use "%s" format with regerror results,
557         rather than assuming they won't contain any '%'s.
558
559 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
560
561         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
562         inhibit_loop_to_libcall to avoid recursive calls.
563         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
564         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
565
566 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
567
568         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
569         prototype.
570
571 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
572
573         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
574         integer value instead of boolean.
575
576 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
577
578         * malloc/malloc.c: Fix powerof2 check.
579
580 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
581
582         * locale/programs/locfile.h (maybe_swap_uint32):
583         Remove inline and add unused attribute.
584
585 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
586
587         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
588         Truncating assembler expression to a .long expression.
589
590 2014-12-11  Andreas Schwab  <schwab@suse.de>
591
592         * elf/rtld.c (struct map_args): Constify str member.
593         (do_preload): Constify fname argument.
594
595 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
596
597         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
598         constants definition.
599
600 2014-12-11  Andreas Schwab  <schwab@suse.de>
601
602         [BZ #16657]
603         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
604         FORCE_ELISION instead of DO_ELISION.
605         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
606         Remove.
607         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
608         Likewise.
609
610         * iconvdata/gconv-modules: Remove duplicate entry.
611
612 2014-12-11  Will Newton  <will.newton@linaro.org>
613
614         Merge gettext 0.19.3 into intl/.
615
616         This involves a number of cosmetic changes to comments
617         and ANSI function definitions and prototypes throughout
618         all the files. The gettext copyright header is used but
619         with the date ranges taken from the glibc copy.
620
621         * NEWS: Add gettext merge to 2.21.
622         * intl/bindtextdom.c: Switch to gettext copyright.
623         Use ANSI definitions and prototypes.
624         Use gl_* locking primitives rather than __libc_* ones.
625         Use __builtin_expect rather than __glibc_likely/unlikely.
626         * intl/dcgettext.c: Switch to gettext copyright.
627         Use ANSI definitions and prototypes.
628         * intl/dcigettext.c: Switch to gettext copyright.
629         Use ANSI definitions and prototypes.
630         (INTDIV0_RAISES_SIGFPE): New define.
631         Use gl_* locking primitives rather than __libc_* ones.
632         Include eval-plural.h instead of plural-eval.c.
633         Use __builtin_expect rather than __glibc_likely/unlikely.
634         * intl/dcngettext.c: Switch to gettext copyright.
635         Use ANSI definitions and prototypes.
636         * intl/dgettext.c: Likewise.
637         * intl/dngettext.c: Likewise.
638         * intl/plural-eval.c: Renamed to...
639         * intl/eval-plural.h: ...this.
640         * intl/explodename.c: Switch to gettext copyright.
641         Use ANSI definitions and prototypes.
642         (_nl_explode_name): Use strchr instead of __rawmemchr.
643         * intl/finddomain.c: Switch to gettext copyright.
644         Use ANSI definitions and prototypes.
645         Use gl_* locking primitives rather than __libc_* ones.
646         (_nl_find_domain): Use malloc rather than alloca for
647         allocation of temporary locale name.
648         * intl/gettext.c: Switch to gettext copyright.
649         Use ANSI definitions and prototypes.
650         * intl/gettextP.h: Switch to gettext copyright.
651         Use ANSI definitions and prototypes.
652         Use gl_* locking primitives rather than __libc_* ones.
653         * intl/gmo.h: Switch to gettext copyright.
654         (struct sysdep_string): Move struct segment_pair outside of
655         struct definition.
656         * intl/hash-string.c: Use ANSI definitions and prototypes.
657         * intl/hash-string.h: Switch to gettext copyright.
658         Use ANSI definitions and prototypes.
659         * intl/l10nflist.c: Switch to gettext copyright.
660         Use ANSI definitions and prototypes.
661         (_nl_normalize_codeset): Avoid integer overflow.
662         * intl/loadinfo.h: Switch to gettext copyright.
663         Use ANSI definitions and prototypes.
664         (LIBINTL_DLL_EXPORTED): New define.
665         (PATH_SEPARATOR): New define.
666         * intl/loadmsgcat.c: Switch to gettext copyright.
667         * intl/localealias.c: Switch to gettext copyright.
668         Use ANSI definitions and prototypes.
669         (_nl_expand_alias): Use PATH_SEPARATOR.
670         * intl/ngettext.c: Switch to gettext copyright.
671         Use ANSI definitions and prototypes.
672         * intl/plural-exp.c: Likewise.
673         * intl/plural-exp.h: Switch to gettext copyright.
674         Use ANSI definitions and prototypes.
675         (struct expression): Move definition of enum operator outside
676         of struct definition.
677         * intl/plural.c: Regenerate.
678         * intl/plural.y: Switch to gettext copyright.
679         Use ANSI definitions and prototypes.
680         Port to bison 3.0.
681         * intl/textdomain.c: Switch to gettext copyright.
682         Use ANSI definitions and prototypes.
683         Use gl_* locking primitives rather than __libc_* ones.
684
685 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
686
687         * debug/warning-nop.c: Add used atrribute.
688
689 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
690
691         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
692
693         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
694         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
695         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
696
697 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
698             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
699
700         [BZ #17634]
701         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
702         Undefine after defining function.  Define as weak alias of
703         __wcschr.  Use libc_hidden_weak.
704         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
705         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
706         (libc_hidden_def): Also define __GI___wcschr alias.
707         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
708         __wcschr and define as weak alias of __wcschr.
709         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
710         __wcschr.
711         [!WCSCHR] (DEFAULT_WCSCHR): Define.
712         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
713         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
714         libc_hidden_weak.  Do not use libc_hidden_def.
715         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
716         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
717         __GI___wcschr alias.
718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
719         [IS_IN (libc)] (wcschr): Define as macro expanding to
720         __redirect_wcschr.
721         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
722         [IS_IN (libc)] (__wcschr_power6): Likewise.
723         [IS_IN (libc)] (__wcschr_power7): Likewise.
724         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
725         instead of wcschr.
726         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
727         __libc_wcschr.
728         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
729         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
730         __wcschr and define as weak alias of __wcschr.  Use
731         libc_hidden_builtin_def.
732         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
733         as weak alias of __wcschr.  Use libc_hidden_weak.
734         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
735         wcschr.
736         * time/era.c (_nl_init_era_entries): Likewise.
737         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
738         variable.
739         (test-xfail-XPG3/time.h/linknamespace): Likewise.
740         (test-xfail-XPG4/time.h/linknamespace): Likewise.
741
742 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
743
744         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
745         format for long int variable.
746
747 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
748
749         [BZ #10672]
750         * manual/search.texi: (Array Sort Function): Remove claim how to make
751         qsort stable.
752
753 2014-12-10  Andreas Schwab  <schwab@suse.de>
754
755         [BZ #12847]
756         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
757         user-controlled locks.
758
759 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
760
761         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
762         register.
763
764 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
765
766         * configure.ac (--disable-werror): New configure option.
767         (enable_werror): New AC_SUBST.
768         * configure: Regenerated.
769         * config.make.in (enable-werror): New variable.
770         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
771         -Wno-error=undef.
772         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
773         * manual/install.texi (Configuring and compiling): Document
774         --disable-werror.
775         * INSTALL: Regenerated.
776         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
777         (CFLAGS-tst-chk2.c): Likewise.
778         (CFLAGS-tst-chk3.c): Likewise.
779         (CFLAGS-tst-chk4.cc): Likewise.
780         (CFLAGS-tst-chk5.cc): Likewise.
781         (CFLAGS-tst-chk6.cc): Likewise.
782         (CFLAGS-tst-lfschk1.c): Likewise.
783         (CFLAGS-tst-lfschk2.c): Likewise.
784         (CFLAGS-tst-lfschk3.c): Likewise.
785         (CFLAGS-tst-lfschk4.cc): Likewise.
786         (CFLAGS-tst-lfschk5.cc): Likewise.
787         (CFLAGS-tst-lfschk6.cc): Likewise.
788
789         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
790         (main): Disable -Wdeprecated-declarations around calls to
791         register_printf_function.
792
793         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
794         (do_test): Disable -Wdiv-by-zero around some calls to
795         fwrite_unlocked and fread_unlocked.
796
797         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
798         (DIAG_POP_NEEDS_COMMENT): Likewise.
799         (_DIAG_STR1): Likewise.
800         (_DIAG_STR): Likewise.
801         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
802         * stdio-common/bug21.c: Include <libc-internal.h>.
803         (do_test): Disable -Wformat around call to sscanf.
804         * stdio-common/scanf14.c: Include <libc-internal.h>.
805         (main): Disable -Wformat around some calls to scanf functions.
806
807 2014-12-09  Torvald Riegel  <triegel@redhat.com>
808
809         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
810
811 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
812
813         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
814         stack variable alignment.
815
816 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
817
818         [BZ #17682]
819         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
820         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
821         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
822         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
823         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
824         __getrlimit instead of getrlimit.
825         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
826         __gettimeofday instead of gettimeofday.
827         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
828         Likewise.
829         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
830         Likewise.
831         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
832         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
833         Remove variable.
834         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
835         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
836
837 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
838
839         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
840         for wide-character tests.
841
842 2014-12-04  Roland McGrath  <roland@hack.frob.com>
843
844         * io/openat64.c: #include <libc-internal.h>
845         (__openat64): Prototypify.  Use ignore_value on MODE.
846         * io/openat.c: Likewise.
847         * misc/reboot.c: #include <libc-internal.h>
848         (reboot): Prototypify.  Use ignore_value on HOWTO.
849         * misc/ptrace.c: #include <libc-internal.h>
850         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
851
852 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
853
854         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
855         XPG4, UNIX98 and XOPEN2K.
856         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
857         Remove variable.
858         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
859
860 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
861
862         * libio/fileops.c: Use ISO C style for function definitions.
863         * libio/iofopen.c: Likewise.
864         * libio/wfileops.c: Likewise.
865
866         [BZ #17653]
867         * libio/fileops.c (_IO_new_file_underflow): Unset cached
868         offset on EOF.
869         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
870         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
871         (fgets_func): Function pointer to fgets and fgetws.
872         (do_ftell_test): Add test to verify ftell value after read
873         EOF.
874         (do_test): Set fgets_func.
875
876         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
877         O_TRUNC flag for w and w+ modes.
878         (do_rewind_test): Likewise.
879         (do_ftell_test): Likewise.
880         (do_write_test): Likewise.
881
882         [BZ #17647]
883         * libio/fileops.c (do_ftell): Seek only when there are
884         unflushed writes.
885         * libio/wfileops.c (do_ftell_wide): Likewise.
886         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
887         test case.
888         (do_one_test): Call it.
889
890 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
891
892         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
893         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
894         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
895         Remove variable.
896         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
897         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
898         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
899
900 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
901
902         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
903         Remove variable.
904         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
905
906         [BZ #17668]
907         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
908         as weak alias of __getifaddrs.  Use libc_hidden_weak.
909         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
910         __freeifaddrs.  Use libc_hidden_weak.
911         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
912         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
913         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
914         __freeifaddrs.  Use libc_hidden_weak.
915         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
916         __getifaddrs and define as weak alias of __getifaddrs.  Use
917         libc_hidden_weak.
918         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
919         __freeifaddrs.  Use libc_hidden_weak.
920         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
921         Remove variable.
922         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
923         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
924
925 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
926
927         [BZ #17601]
928         * sysdeps/mips/start.S (__start): Use indirect jump to call
929         __libc_start_main.
930
931 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
932
933         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
934
935         * nptl/tst-mutex1.c: Include <stdbool.h>.
936         [!ATTR] (ATTR_NULL): New macro.
937         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
938         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
939         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
940
941         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
942         to char *.
943
944         [BZ #17665]
945         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
946         Change conditional to [__USE_MISC].
947
948         [BZ #17664]
949         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
950         fgets_unlocked.
951         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
952         __fgets_unlocked.
953         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
954         fgets_unlocked.
955         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
956         Remove variable.
957         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
958         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
959         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
960         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
961         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
962         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
963         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
964         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
965         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
966
967         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
968
969 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
970
971         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
972         Remove strpbrk objects.
973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
974         (__libc_ifunc_impl_list): Remove strpbrk implementation.
975         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
976         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
977         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
978         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
979
980         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
981         Remove strcspn objects.
982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
983         (__libc_ifunc_impl_list): Remove strcspn implementation.
984         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
985         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
986         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
987         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
988
989         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
990         Remove strspn objetcs.
991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
992         (__libc_ifunc_impl_list): Remove strspn implementation.
993         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
994         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
995         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
996         * sysdeps/powerpc/powerpc64/strspn.S: New file.
997
998 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
999
1000         [BZ #17581]
1001         * malloc/hooks.c
1002         (mem2mem_check): Add a terminator to the chain of checking blocks.
1003         (malloc_check_get_size): Use it here.
1004         (mem2chunk_check): Ditto.
1005
1006 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1007
1008         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1009         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1010
1011 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1012
1013         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1014
1015         * nptl/nptl-init.c: Include libc-internal.h.
1016         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1017
1018         * elf/ldconfig.c (search_dir): Expand comment.
1019
1020 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1021
1022         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1023         variable.
1024         (linknamespace-symlist-stdlibs-tests): Likewise.
1025         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1026         instead of $(objpfx)symlist-stdlibs.
1027         (linknamespace-libs-isoc): New variable.
1028         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1029         (linknamespace-libs-ISO): New variable.
1030         (linknamespace-libs-ISO99): Likewise.
1031         (linknamespace-libs-ISO11): Likewise.
1032         (linknamespace-libs-XPG3): Likewise.
1033         (linknamespace-libs-XPG4): Likewise.
1034         (linknamespace-libs-POSIX): Likewise.
1035         (linknamespace-libs-UNIX98): Likewise.
1036         (linknamespace-libs-XOPEN2K): Likewise.
1037         (linknamespace-libs-POSIX2008): Likewise.
1038         (linknamespace-libs-XOPEN2K8): Likewise.
1039         ($(objpfx)symlist-stdlibs): Replace by
1040         $(linknamespace-symlist-stdlibs-tests).  Use
1041         $(linknamespace-libs-$*) as set of libraries.
1042         ($(linknamespace-header-tests)): Update dependencies.  Use
1043         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1044         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1045         * conform/linknamespace.pl: Remove comment about considering
1046         definitions of symbols from irrelevant libraries.
1047
1048 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1049
1050         [BZ #13862]
1051         * elf/dl-tls.c: Include <atomic.h>.
1052         (oom): Remove #ifdef SHARED/#endif.
1053         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1054         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1055         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1056         big enough.
1057         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1058         * nptl/Makefile (tests): Add tst-stack4.
1059         (modules-names): Add tst-stack4mod.
1060         ($(objpfx)tst-stack4): New.
1061         (tst-stack4mod.sos): Likewise.
1062         ($(objpfx)tst-stack4.out): Likewise.
1063         ($(tst-stack4mod.sos)): Likewise.
1064         (clean): Likewise.
1065         * nptl/tst-stack4.c: New file.
1066         * nptl/tst-stack4mod.c: Likewise.
1067
1068 2014-11-27  J. Brown  <jb999@gmx.de>
1069
1070         * sysdeps/x86/bits/string.h: Add recent CPUs.
1071
1072 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1073
1074         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1075         sigblock.
1076
1077         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1078         feof.
1079
1080         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1081         variable.
1082
1083 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1084
1085         * nscd/connections.c: Include libc-internal.h because of macro
1086         usage ignore_value.
1087
1088 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1089
1090         * string/bits/string3.h (__warn_memset_zero_len): Don't
1091         declare for gcc newer than 5.0.
1092         (memset): Don't test for zero-length __LEN for gcc newer than
1093         5.0.
1094
1095 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1096
1097         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1098         size_t for %zu format.
1099
1100         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1101         difference, not %ju.
1102
1103 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1104
1105         * include/libc-internal.h (ignore_value): New macro.
1106         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1107         with ignore_value.
1108
1109         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1110         definition.
1111
1112         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1113         pthread_cleanup_push to void *.
1114
1115         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1116         Undefine.
1117
1118         [BZ #16619]
1119         [BZ #16740]
1120         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1121         instead of 1L << 52.
1122
1123         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1124         * libio/bug-rewind2.c (do_test): Likewise.
1125
1126         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1127         * debug/test-strcpy_chk-ifunc.c: Likewise.
1128         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1129         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1130         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1131         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1132         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1133         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1134         * Rules [$(multi-arch) = no] (tests): Do not filter out
1135         $(tests-ifunc).
1136         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1137         * debug/Makefile (tests-ifunc): Remove variable.
1138         (tests): Do not add $(tests-ifunc).
1139         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1140         (tests): Do not add $(tests-ifunc).
1141         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1142         [TEST_IFUNC]: Remove conditionals.
1143         * string/test-string.h (TEST_IFUNC): Remove macro.
1144         [TEST_IFUNC]: Remove conditionals.
1145
1146         * string/test-strchr.c [!WIDE] (L): New macro.
1147         [WIDE] (L): Likewise.
1148         (check1): Use CHAR instead of char.  Use L on string and character
1149         constants.
1150
1151 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1152
1153         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1154         tests.
1155         * sysdeps/powerpc/bits/atomic.h
1156         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1157         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1158         (atomic_exchange_and_add_acq): Likewise.
1159         (atomic_exchange_and_add_rel): Likewise.
1160         * sysdeps/powerpc/powerpc32/bits/atomic.h
1161         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1162         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1163         * sysdeps/powerpc/powerpc64/bits/atomic.h
1164         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1165         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1166
1167 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1168
1169         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1170         Change synchronization of __sched_fifo_min_prio and
1171         __sched_fifo_max_prio.
1172         * nptl/pthread_mutexattr_getprioceiling.c
1173         (pthread_mutexattr_getprioceiling): Likewise.
1174         * nptl/pthread_mutexattr_setprioceiling.c
1175         (pthread_mutexattr_setprioceiling): Likewise.
1176         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1177         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1178         Likewise.
1179
1180 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1181
1182         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1183         void.
1184
1185 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1186
1187         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1188         third argument const.
1189
1190 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1191
1192         fnmatch: work around GCC compiler warning bug with uninit var
1193         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1194         This works around a bug with x86-64 GCC 4.9.2 and earlier
1195         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1196         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1197         used uninitialized in this function [-Wmaybe-uninitialized]".
1198
1199 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1200
1201         * posix/bug-regex31.c (main): Return RES not 0.
1202
1203 2014-11-25  Anton Blanchard <anton@samba.org>
1204
1205         * sysdeps/powerpc/bits/atomic.h
1206         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1207
1208 2014-11-24  Sterling Augustine  <saugustine@google.com>
1209
1210         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1211
1212 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1213
1214         [BZ #17608]
1215         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1216
1217 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1218
1219         [BZ #17633]
1220         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1221         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1222         variable.
1223         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1224         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1225
1226 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1227
1228         * string/strncpy.c (strncpy): Improve performance by using memset.
1229
1230 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1231
1232         * string/strcpy.c (strcpy):
1233         Improve performance by using strlen and memcpy.
1234
1235 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1236
1237         * string/strcoll_l.c (get_next_seq): __always_inline.
1238         * string/strcoll_l.c (do_compare): __always_inline.
1239
1240 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1241
1242         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1243         defined.
1244         * include/mqueue.h: Likewise.
1245         * include/stdlib.h: Likewise.
1246
1247         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1248         (get_null_defines): Adjust.
1249         * sunrpc/Makefile: Adjust comment.
1250         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1251         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1252         (CFLAGS-interp.c): Likewise.
1253         (CFLAGS-ldconfig.c): Likewise.
1254         (CPPFLAGS-.os): Likewise.
1255         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1256         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1257         * extra-modules.mk (extra-modules.mk): Likewise.
1258         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1259         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1260         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1261         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1262         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1263         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1264         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1265         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1266         * iconvdata/Makefile (CPPFLAGS): Likewise.
1267         (cpp-srcs-left): Add libof for all iconvdata routines.
1268         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1269         * include/assert.h: Likewise.
1270         * include/ctype.h: Likewise.
1271         * include/errno.h: Likewise.
1272         * include/libc-symbols.h: Likewise.
1273         * include/math.h: Likewise.
1274         * include/netdb.h: Likewise.
1275         * include/resolv.h: Likewise.
1276         * include/stdio.h: Likewise.
1277         * include/stdlib.h: Likewise.
1278         * include/string.h: Likewise.
1279         * include/sys/stat.h: Likewise.
1280         * include/wctype.h: Likewise.
1281         * intl/l10nflist.c: Likewise.
1282         * libidn/idn-stub.c: Likewise.
1283         * libio/libioP.h: Likewise.
1284         * nptl/libc_multiple_threads.c: Likewise.
1285         * nptl/pthreadP.h: Likewise.
1286         * posix/regex_internal.h: Likewise.
1287         * resolv/res_hconf.c: Likewise.
1288         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1289         * sysdeps/arm/memmove.S: Likewise.
1290         * sysdeps/arm/sysdep.h: Likewise.
1291         * sysdeps/generic/_itoa.h: Likewise.
1292         * sysdeps/generic/symbol-hacks.h: Likewise.
1293         * sysdeps/gnu/errlist.awk: Likewise.
1294         * sysdeps/gnu/errlist.c: Likewise.
1295         * sysdeps/i386/i586/memcpy.S: Likewise.
1296         * sysdeps/i386/i586/memset.S: Likewise.
1297         * sysdeps/i386/i686/memcpy.S: Likewise.
1298         * sysdeps/i386/i686/memmove.S: Likewise.
1299         * sysdeps/i386/i686/mempcpy.S: Likewise.
1300         * sysdeps/i386/i686/memset.S: Likewise.
1301         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1302         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1303         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1304         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1305         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1306         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1307         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1308         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1309         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1310         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1311         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1312         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1313         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1314         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1315         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1316         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1317         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1318         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1319         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1320         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1321         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1322         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1323         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1324         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1325         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1326         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1327         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1328         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1329         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1330         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1331         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1332         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1333         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1334         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1335         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1336         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1337         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1338         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1339         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1340         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1341         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1342         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1343         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1344         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1345         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1346         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1347         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1348         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1349         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1350         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1351         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1352         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1353         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1354         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1355         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1356         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1357         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1358         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1359         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1360         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1361         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1362         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1363         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1364         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1365         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1366         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1367         * sysdeps/posix/closedir.c: Likewise.
1368         * sysdeps/posix/opendir.c: Likewise.
1369         * sysdeps/posix/readdir.c: Likewise.
1370         * sysdeps/posix/rewinddir.c: Likewise.
1371         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1372         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1373         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1374         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1375         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1376         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1377         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1378         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1379         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1380         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1381         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1382         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1383         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1384         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1385         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1386         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1387         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1388         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1389         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1390         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1391         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1392         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1393         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1394         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1395         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1396         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1397         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1398         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1399         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1400         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1401         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1402         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1403         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1404         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1405         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1406         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1407         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1408         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1409         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1410         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1411         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1412         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1413         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1414         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1415         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1416         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1417         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1418         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1419         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1420         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1421         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1422         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1423         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1424         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1425         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1426         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1427         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1428         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1429         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1430         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1431         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1432         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1433         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1434         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1435         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1436         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1437         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1438         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1439         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1440         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1441         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1442         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1443         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1444         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1445         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1446         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1447         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1448         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1449         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1450         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1451         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1452         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1453         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1454         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1455         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1456         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1457         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1458         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1459         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1460         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1461         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1462         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1463         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1464         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1465         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1466         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1467         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1468         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1469         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1470         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1471         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1472         * sysdeps/unix/alpha/sysdep.S: Likewise.
1473         * sysdeps/unix/alpha/sysdep.h: Likewise.
1474         * sysdeps/unix/make-syscalls.sh: Likewise.
1475         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1476         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1477         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1478         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1479         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1480         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1481         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1482         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1483         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1484         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1485         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1486         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1487         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1488         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1489         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1490         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1491         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1492         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1493         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1494         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1495         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1496         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1497         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1498         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1499         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1500         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1501         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1504         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1505         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1506         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1508         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1509         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1510         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1511         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1513         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1514         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1515         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1516         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1517         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1518         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1519         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1520         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1521         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1522         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1523         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1524         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1525         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1526         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1527         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1528         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1529         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1530         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1531         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1533         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1534         * sysdeps/x86_64/memcpy.S: Likewise.
1535         * sysdeps/x86_64/memmove.c: Likewise.
1536         * sysdeps/x86_64/memset.S: Likewise.
1537         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1538         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1539         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1540         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1541         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1542         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1543         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1544         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1545         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1546         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1547         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1548         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1549         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1550         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1551         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1552         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1553         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1554         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1555         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1556         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1557         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1558         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1559         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1560         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1561         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1562         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1563         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1564         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1565         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1566         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1567         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1568         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1569         * sysdeps/x86_64/strcmp.S: Likewise.
1570
1571         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1572
1573         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1574         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1575         * elf/rtld-Rules: Likewise.
1576         * elf/setup-vdso.h: Likewise.
1577         * include/assert.h: Likewise.
1578         * include/bits/stdlib-float.h: Likewise.
1579         * include/errno.h: Likewise.
1580         * include/sys/stat.h: Likewise.
1581         * include/unistd.h: Likewise.
1582         * sysdeps/aarch64/setjmp.S: Likewise.
1583         * sysdeps/alpha/setjmp.S: Likewise.
1584         * sysdeps/arm/__longjmp.S: Likewise.
1585         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1586         * sysdeps/arm/setjmp.S: Likewise.
1587         * sysdeps/arm/sysdep.h: Likewise.
1588         * sysdeps/generic/_itoa.h: Likewise.
1589         * sysdeps/generic/dl-sysdep.h: Likewise.
1590         * sysdeps/generic/ldsodefs.h: Likewise.
1591         * sysdeps/i386/dl-tls.h: Likewise.
1592         * sysdeps/i386/setjmp.S: Likewise.
1593         * sysdeps/m68k/setjmp.c: Likewise.
1594         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1595         * sysdeps/mach/hurd/opendir.c: Likewise.
1596         * sysdeps/posix/getcwd.c: Likewise.
1597         * sysdeps/posix/opendir.c: Likewise.
1598         * sysdeps/posix/profil.c: Likewise.
1599         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1600         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1601         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1602         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1603         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1604         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1605         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1606         * sysdeps/s390/dl-tls.h: Likewise.
1607         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1608         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1609         * sysdeps/sh/sh3/setjmp.S: Likewise.
1610         * sysdeps/sh/sh4/setjmp.S: Likewise.
1611         * sysdeps/unix/alpha/sysdep.h: Likewise.
1612         * sysdeps/unix/arm/sysdep.S: Likewise.
1613         * sysdeps/unix/i386/sysdep.S: Likewise.
1614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1615         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1616         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1617         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1618         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1619         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1620         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1621         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1622         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1623         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1624         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1625         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1626         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1629         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1630         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1631         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1632         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1633         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1634         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1635         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1636         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1637         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1638         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1639         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1640         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1641         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1642         * sysdeps/x86_64/setjmp.S: Likewise.
1643
1644         * include/math.h: Use IS_IN instead of IS_IN_libm.
1645         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1646         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1647         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1648         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1649         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1650         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1651         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1652         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1653         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1654         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1655         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1656         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1657         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1658         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1659         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1660         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1661         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1662         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1663         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1664         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1665         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1666         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1667         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1668         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1669         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1670         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1671         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1672         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1673         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1674         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1675         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1676         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1677         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1679         Likewise.
1680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1681         Likewise.
1682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1683         Likewise.
1684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1685         Likewise.
1686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1687         Likewise.
1688         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1689         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1690         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1691         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1692         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1693         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1699         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1700         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1701         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1702         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1703         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1704         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1705         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1706         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1707         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1708         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1709         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1710         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1711         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1712         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1714         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1715
1716         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1717         * nptl/pthreadP.h: Likewise.
1718         * nptl_db/structs.def: Likewise.
1719         * sysdeps/arm/sysdep.h: Likewise.
1720         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1721         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1722         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1723         * sysdeps/unix/alpha/sysdep.h: Likewise.
1724         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1725         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1726         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1727         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1728         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1729         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1730         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1731         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1732         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1733         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1734         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1735         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1736         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1737         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1740         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1741         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1742         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1743         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1745         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1746         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1747         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1748         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1749         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1750
1751         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1752         * nptl/pthreadP.h: Likewise.
1753         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1754         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1755         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1756         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1757         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1758         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1759         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1760         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1761         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1762         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1763         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1764         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1766         Likewise.
1767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1768         Likewise.
1769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1770         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1771         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1772         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1773         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1774         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1775         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1776         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1777
1778         * dlfcn/dladdr.c: Use IS_IN.
1779         * dlfcn/dladdr1.c: Likewise.
1780         * dlfcn/dlclose.c: Likewise.
1781         * dlfcn/dlerror.c: Likewise.
1782         * dlfcn/dlinfo.c: Likewise.
1783         * dlfcn/dlmopen.c: Likewise.
1784         * dlfcn/dlopen.c: Likewise.
1785         * dlfcn/dlsym.c: Likewise.
1786         * dlfcn/dlvsym.c: Likewise.
1787
1788         * include/ifaddrs.h: Use IS_IN.
1789         * inet/check_pf.c: Likewise.
1790         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1791         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1792
1793         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1794         IS_IN_ldconfig.
1795         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1796         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1797
1798         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1799         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1800         IS_IN (libc).
1801
1802         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1803
1804         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1805         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1806         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1807         * include/libc-symbols.h (IS_IN_LIB): New macro.
1808         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1809         * include/netdb.h: Likewise.
1810         * include/stap-probe.h: Remove all uses of IN_LIB.
1811
1812         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1813         instead of IN_MODULE.
1814         * include/libc-symbols.h (IN_MODULE): Define using
1815         MODULE_NAME.
1816         (PASTE_NAME, PASTE_NAME1): New macros.
1817         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1818         of IN_LIB.
1819         (STAP_PROBE_ASM): Likewise.
1820
1821 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1822
1823         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1824         __mach_init in dlopened libc.
1825
1826 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1827
1828         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1829         * sysdeps/arm/preconfigure: Regenerate.
1830
1831 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1832
1833         * nptl/pthread_create.c (__pthread_create_2_1): Set
1834         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1835         when copying values from IATTR into PD.
1836
1837 2014-11-21  Will Newton  <will.newton@linaro.org>
1838             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1839
1840         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1841         Refactor inline-asm.  Also add comment.
1842
1843         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1844         ElfW macro instead of hardcoded Elf64 types.
1845         (la_aarch64_gnu_pltenter): Likewise.
1846         * sysdeps/aarch64/dl-machine.h
1847         (elf_machine_runtime_setup): Use ElfW(Addr).
1848
1849         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1850         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1851         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1852         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1853         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1854         (R_AARCH64_TLS_DTPMOD64): Rename to ..
1855         (R_AARCH64_TLS_DTPMOD): This.
1856         (R_AARCH64_TLS_DTPREL64): Rename to ...
1857         (R_AARCH64_TLS_DTPREL): This.
1858         (R_AARCH64_TLS_TPREL64): Rename to ...
1859         (R_AARCH64_TLS_TPREL): This.
1860         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1861         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1862         R_AARCH64_TLS_TPREL64.
1863         (elf_machine_rela): Likewise.
1864
1865 2014-11-21  Torvald Riegel  <triegel@redhat.com>
1866
1867         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1868         by setting it to 0.  64b atomics are not supported currently.
1869
1870 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1871
1872         [BZ #16469]
1873         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1874         search domain names.
1875
1876 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1877
1878         [BZ #16469]
1879         * NEWS: Update.
1880         * resolv/res_query.c (__libc_res_nquerydomain): Retain
1881         trailing dot.
1882         * posix/tst-getaddrinfo5.c: New.
1883         * posix/Makefile (tests): Add it.
1884
1885 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1886
1887         [BZ #14498]
1888         * NEWS: Fixed.
1889         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1890         after parsing line but before break_if_match.
1891         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1892         if there is a protocol mismatch.
1893
1894 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1895
1896         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1897         because the potential race is on the user-supplied stream.
1898
1899 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1900
1901         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1902         string literal if not passed a buffer.
1903         * manual/job.texi (ctermid): Update reasoning, note deviation
1904         from posix, suggest mtasurace when not passed a buffer, for
1905         future non-preliminary safety notes.
1906
1907 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1908
1909         * manual/users.texi (cuserid): Fix MT-Safety note for the case
1910         of not passing it a buffer.
1911         Reported by Peng Haitao.
1912
1913 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1914
1915         * manual/Makefile ($(objpfx)stamp-summary): Require
1916         check-safety.sh to pass.
1917         * manual/check-safety.sh: Wish for verification that every
1918         @deftypefn and @deftypefun is followed by a @safety remark.
1919
1920 2014-11-20  Roland McGrath  <roland@hack.frob.com>
1921
1922         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1923
1924         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1925         PTHREAD_CANCEL_ASYNCHRONOUS.
1926         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1927         send SIGCANCEL.
1928
1929         * nptl/default-sched.h: New file.
1930         * sysdeps/unix/sysv/linux/default-sched.h: New file.
1931         * nptl/pthread_create.c: Include it.
1932         (__pthread_create_2_1): Use collect_default_sched instead of making
1933         Linux syscalls here directly.
1934
1935 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1936
1937         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1938         __pthread_once): Use C11 atomics.
1939
1940 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1941
1942         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1943
1944 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1945
1946         * include/atomic.h (__atomic_link_error, __atomic_check_size,
1947         atomic_thread_fence_acquire, atomic_thread_fence_release,
1948         atomic_thread_fence_seq_cst, atomic_load_relaxed,
1949         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1950         atomic_compare_exchange_weak_relaxed,
1951         atomic_compare_exchange_weak_acquire,
1952         atomic_compare_exchange_weak_release,
1953         atomic_exchange_acquire, atomic_exchange_release,
1954         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1955         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1956         atomic_fetch_and_acquire,
1957         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1958
1959 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1960
1961         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1962         USE_ATOMIC_COMPILER_BUILTINS): Define.
1963         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1964         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1965         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1966         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1967         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1968         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1969         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1970         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1971         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1972         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1973         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1974         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1975         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1976         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1977         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1978         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1979         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1980         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1981         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1982         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1983         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1984         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1985         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1986         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1987         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1988         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1989         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1990         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1991         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1992         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1993         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1994         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1995         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1996         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1997         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1998         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1999         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2000         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2001         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2002         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2003
2004 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2005
2006         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2007         the sched_priority value here.  It was already checked when the user
2008         called pthread_attr_setschedparam.
2009
2010         * nptl/tst-bad-schedattr.c: New file.
2011         * nptl/Makefile (tests): Add it.
2012
2013 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2014             Florian Weimer  <fweimer@redhat.com>
2015             Joseph Myers  <joseph@codesourcery.com>
2016             Adam Conrad  <adconrad@0c3.net>
2017             Andreas Schwab  <schwab@suse.de>
2018             Brooks  <bmoses@google.com>
2019
2020         [BZ #17625]
2021         * wordexp-test.c (__dso_handle): Add prototype.
2022         (__register_atfork): Likewise.
2023         (__app_register_atfork): New function.
2024         (registered_forks): New global.
2025         (register_fork): New function.
2026         (test_case): Add 3 new tests for WRDE_CMDSUB.
2027         (main): Call __app_register_atfork.
2028         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2029         fork count is non-zero fail the test.
2030         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2031         is set.
2032         (parse_dollars): Remove check for WRDE_NOCMD.
2033         (parse_dquote): Likewise.
2034
2035 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2036
2037         * Makeconfig (built-modules): List non-library modules to be
2038         built.
2039         (module-cppflags): Include libc-modules.h for
2040         everything except shlib-versions.v.i.
2041         (CPPFLAGS): Use it.
2042         (before-compile): Add libc-modules.h.
2043         ($(common-objpfx)libc-modules.h,
2044         $(common-objpfx)libc-modules.stmp): New targets.
2045         (common-generated): Add libc-modules.h and libc-modules.stmp.
2046         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2047         * include/libc-symbols.h: Don't include libc-modules.h.
2048         * include/libc-modules.h: Remove file.
2049         * scripts/gen-libc-modules.awk: New script to generate
2050         libc-modules.h.
2051         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2052         Depend on libc-modules.stmp.
2053
2054         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2055
2056         * Makeconfig (in-module): Get value of libof set for the
2057         translation unit.
2058         (CPPFLAGS): Use $(in-module).
2059         * Makerules: Don't suffix routine names for nonlib.
2060         * include/libc-modules.h: New file.
2061         * include/libc-symbols.h: Include libc-modules.h
2062         (IS_IN): New macro to replace IS_IN_* macros.
2063         * elf/Makefile: Set libof-* for each routine.
2064         * elf/rtld-Rules: Likewise.
2065         * extra-modules.mk: Likewise.
2066         * iconv/Makefile: Likewise.
2067         * iconvdata/Makefile: Likewise.
2068         * locale/Makefile: Likewise.
2069         * malloc/Makefile: Likewise.
2070         * nss/Makefile: Likewise.
2071         * sysdeps/gnu/Makefile: Likewise.
2072         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2073         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2074         * sysdeps/s390/s390-64/Makefile: Likewise.
2075         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2076         CPPFLAGS for nscd instead of nonlib.
2077
2078 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2079
2080         * nptl/createthread.c: New file.
2081
2082         * nptl/createthread.c: Moved ...
2083         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2084
2085         * nptl/createthread.c: Add proper top-line comment.
2086         (do_clone): Folded into ...
2087         (create_thread): ... here.  Take new arguments STOPPED_START and
2088         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2089         increment __nptl_threads, do event-reporting logic, do
2090         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2091         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2092         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2093         just send SIGCANCEL.
2094         * nptl/pthread_create.c: Forward-declare create_thread before
2095         including createthread.c.
2096         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2097         declaration, and new macro START_THREAD_SELF to replace argument.
2098         Remove return statement.
2099         (report_thread_creation): New function.
2100         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2101         synchronization logic, and __nptl_nthreads increment here, around
2102         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2103         PD->parent_cancelhandling here, before create_thread.  When
2104         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2105         __deallocate_stack, and ENOMEM translation here.
2106
2107 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2108
2109         [BZ #17616]
2110         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2111         (mptwo): Rename to __mptwo.
2112         (__inv): Use __mptwo instead of mptwo.
2113         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2114         (mptwo): Rename to __mptwo.
2115         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2116         of mpone and __mptwo instead of mptwo.
2117         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2118         instead of mpone.
2119         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2120         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2121         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2122         of mpone and __mptwo instead of mptwo.
2123         (__mpranred): Use __mpone instead of mpone.
2124         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2125         variable.
2126         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2127         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2128         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2129         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2130         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2131         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2132         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2133         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2134         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2135         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2136         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2137         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2138         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2139         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2140         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2141         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2142         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2143         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2144         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2145
2146 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2147
2148         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2149         replace BSD Handler xref with BSD Signal Handling.
2150
2151 2014-11-17  Richard Henderson  <rth@redhat.com>
2152
2153         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2154         (_FP_PACK_RAW_2): Remove.
2155         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2156         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2157         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2158         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2159         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2160         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2161         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2162         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2163         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2164         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2165         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2166         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2167         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2168         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2169         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2170         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2171
2172 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2173
2174         * signal/signal.h [__USE_MISC]
2175         (struct sigvec): Remove type.
2176         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2177         (sigvec): Remove declaration.
2178         * sysdeps/posix/sigvec.c: Moved ...
2179         * signal/sigvec.c: ... here, replacing old file.
2180         (struct sigvec): New type, copied from old signal.h definition.
2181         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2182         (__sigvec): Convert definition to prototype.
2183         (sigvec): Replace weak_alias with compat_symbol.
2184         * signal/Versions (libc: GLIBC_2.21): New version set.
2185         * include/signal.h: Remove __sigvec declaration.
2186         * sysdeps/unix/bsd/sigvec.c: Remove file.
2187         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2188         * manual/signal.texi (BSD Handler): Remove subsection.
2189         Move siginterrupt up to ...
2190         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2191         (Blocking in BSD): Fold subsection into its parent.
2192         * NEWS: Mention sigvec removal.
2193
2194 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2195
2196         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2197         (DLA_FMS): Make definition conditional only on [__FMA4__].
2198         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2199         definition.
2200
2201         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2202         Make definition conditional only on [PROF].
2203         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2204         definition.
2205         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2206         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2207
2208         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2209         !__GNUC__].
2210         * include/signal.h (__sigpause): Move declaration above call to
2211         libc_hidden_proto.
2212         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2213         variable.
2214         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2215         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2216
2217 2014-11-14  David S. Miller  <davem@davemloft.net>
2218
2219         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2220         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2221
2222 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2223
2224         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2225         * configure: Regenerated.
2226         * manual/install.texi (Tools for Compilation): Document a
2227         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2228         compiler verified to work.
2229         * INSTALL: Regenerated.
2230
2231         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2232         redeclare with asm name.
2233         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2234         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2235         including <string.h>.
2236         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2237         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2238         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2239         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2240         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2241         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2242         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2243
2244 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2245
2246         * stdlib/strtol.c (__strtol): Use prototype definition.
2247
2248         [BZ #17594]
2249         * stdlib/strtol.c (SYM__): New macro.
2250         (SYM__1): Likewise.
2251         (__strtol): Likewise.
2252         (strtol): Rename to __strtol and define as weak alias of
2253         __strtol.  Use libc_hidden_weak.
2254
2255 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2256
2257         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2258         Use numbered labels in inline assembly.
2259
2260 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2261
2262         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2263         Add setjmp LIBC_PROBE.
2264         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2265         Likewise.
2266         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2267         Add longjmp, longjmp_target LIBC_PROBE.
2268         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2269         Likewise.
2270
2271 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2272
2273         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2274         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2275         to get rid of unused variable warning.
2276
2277 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2278
2279         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2280         Check for unwind_backtrace ==  NULL only in SHARED case.
2281         (__backchain_backtrace): Compile only in SHARED case.
2282         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2283         Likewise.
2284         (__backchain_backtrace): Declare as static.
2285
2286 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2287
2288         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2289         (__libc_multiple_threads_ptr): Variable moved ...
2290         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2291
2292 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2293
2294         * conform/GlibcConform.pm: New file.
2295         * conform/conformtest.pl: Use GlibcConform module.
2296         * conform/linknamespace.pl: New file.
2297         * conform/list-header-symbols.pl: Likewise.
2298         * conform/Makefile (linknamespace-symlists-base): New variable.
2299         (linknamespace-symlists-tests): Likewise.
2300         (linknamespace-header-base): Likewise.
2301         (linknamespace-header-tests): Likewise.
2302         (tests-special): Add new tests.
2303         ($(linknamespace-symlists-tests)): New rule.
2304         (linknamespace-libs): New variable.
2305         ($(objpfx)symlist-stdlibs): New rule.
2306         ($(linknamespace-header-tests)): Likewise.
2307         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2308         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2309         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2310         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2311         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2312         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2313         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2314         (test-xfail-ISO/math.h/linknamespace): Likewise.
2315         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2316         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2317         (test-xfail-ISO/time.h/linknamespace): Likewise.
2318         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2319         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2320         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2321         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2322         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2323         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2324         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2325         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2326         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2327         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2328         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2329         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2330         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2331         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2332         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2333         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2334         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2335         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2336         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2337         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2338         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2339         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2340         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2341         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2342         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2343         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2344         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2345         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2346         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2347         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2348         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2349         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2350         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2351         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2352         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2353         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2354         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2355         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2356         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2357         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2358         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2359         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2360         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2361         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2362         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2363         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2364         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2365         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2366         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2367         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2368         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2369         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2370         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2371         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2372         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2373         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2374         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2375         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2376         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2377         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2378         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2379         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2380         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2381         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2382         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2383         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2384         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2385         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2386         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2387         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2388         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2389         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2390         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2391         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2392         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2393         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2394         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2395         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2396         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2397         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2398         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2399         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2400         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2401         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2402         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2403         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2404         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2405         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2406         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2407         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2408         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2409         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2410         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2411         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2412         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2413         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2414         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2415         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2416         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2417         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2418         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2419         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2420         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2421         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2422         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2423         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2424         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2425         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2426         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2427         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2428         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2429         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2430         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2431         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2432         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2433         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2434         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2435         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2436         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2437         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2438         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2439         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2440         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2441         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2442         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2443         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2444         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2445         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2446         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2447         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2448         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2449         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2450         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2451         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2452         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2453         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2454         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2455         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2456         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2457         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2458         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2459         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2460         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2461         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2462         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2463         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2464         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2465         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2466         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2467         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2468
2469         [BZ #17589]
2470         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2471         of fgets_unlocked.
2472
2473         [BZ #17585]
2474         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2475         (memmem): Rename to __memmem and define as weak alias of
2476         __memmem.  Use libc_hidden_weak.
2477         (__memmem): Use libc_hidden_def.
2478         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2479         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2480         memmem.
2481
2482         [BZ #17582]
2483         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2484         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2485         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2486         and define as weak alias of __fgets_unlocked.  Use
2487         libc_hidden_weak.
2488         (__fgets_unlocked): Use libc_hidden_def.
2489         * include/stdio.h (__fgets_unlocked): Declare.  Use
2490         libc_hidden_proto.
2491         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2492         __fgets_unlocked instead of fgets_unlocked.
2493         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2494         (GET_NPROCS_CONF_PARSER): Likewise.
2495         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2496         (GET_NPROCS_CONF_PARSER): Likewise.
2497
2498         [BZ #17574]
2499         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2500         weak alias of __wmemset.  Use libc_hidden_weak.
2501         (__wmemset): Use libc_hidden_def.
2502         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2503         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2504         of wmemset.
2505
2506         [BZ #17573]
2507         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2508         with asm name __mempcpy.
2509         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2510
2511         [BZ #17572]
2512         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2513         and define as weak alias of __rawmemchr.
2514         (__rawmemchr): Do not define as strong alias of rawmemchr.
2515
2516         [BZ #17571]
2517         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2518         alias of __qsort_r.
2519         (qsort): Call __qsort_r instead of qsort_r.
2520         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2521         (__qsort_r): Declare.  Call libc_hidden_proto.
2522         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2523         instead of qsort_r.
2524         * nscd/gai.c (__qsort_r): Define to qsort_r.
2525         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2526         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2527         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2528
2529         [BZ #17570]
2530         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2531         define as weak alias of __malloc_info.
2532
2533         [BZ #17584]
2534         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2535         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2536         (__rewinddir): Use libc_hidden_def.
2537         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2538         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2539         (__rewinddir): Use libc_hidden_def.
2540         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2541         weak alias of __rewinddir.  Don't use libc_hidden_def.
2542         (__rewinddir): Use libc_hidden_def.
2543         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2544         (__rewinddir): Use libc_hidden_proto.
2545         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2546         rewinddir.
2547         (__getcwd): Use __rewinddir instead of rewinddir.
2548
2549         [BZ #17583]
2550         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2551         alias of __fileno.  Use libc_hidden_weak.
2552         (__fileno): Use libc_hidden_def.
2553         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2554         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2555         alias of __ftello.
2556         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2557         __ftello.
2558         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2559         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2560         libc_hidden_def.
2561         (fread_unlocked): Don't use libc_hidden_ver.
2562         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2563         and define as weak alias of __fread_unlocked.  Don't use
2564         libc_hidden_def.
2565         (__fread_unlocked): Use libc_hidden_def.
2566         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2567         (ftello): Don't use libc_hidden_proto.
2568         (__ftello): Declare.  Use libc_hidden_proto.
2569         (fread_unlocked): Don't use libc_hidden_proto.
2570         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2571         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2572         and __ftello instead of fileno, fread_unlocked and ftello.
2573
2574 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2575
2576         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2577         GOT12.
2578         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2579         Likewise.
2580         (_dl_start_user): Likewise.
2581         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2582
2583 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2584             Siddhesh Poyarekar  <siddhesh@redhat.com>
2585
2586         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2587         Move argv and envp down instead of moving argc up.
2588         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2589
2590 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2591
2592         [BZ #17506]
2593         * test-skeleton.c (main): Return successful if one of
2594         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2595         * string/tst-strcoll-overflow.c: Define expected status.
2596
2597 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2598
2599         [BZ #17475]
2600         * locale/iso-639.def: Define Bhili and Tulu language codes.
2601
2602 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2603
2604         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2605
2606 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2607
2608         [BZ #17555]
2609         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2610
2611 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2612
2613         * configure.ac: Updated check of minimal required version to
2614         2.22.
2615         * manual/install.texi (Tools for Compilation): Updated version
2616         number.
2617         * configure: Regenerated.
2618         * INSTALL: Likewise.
2619
2620 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2621
2622         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2623         __tls_get_addr.
2624
2625 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2626
2627         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2628         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2629         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2630         libc_hidden_weak.
2631         (waitpid): Define as alias of __waitpid.
2632         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2633         __waitpid.
2634         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2635         libc_hidden_weak.
2636         (waitpid): Define as alias of __waitpid.
2637         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2638         __libc_waitpid alias.
2639         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2640         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2641         Likewise.
2642         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2643         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2644         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2645         alias.
2646         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2647         __waitpid.
2648         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2649         libc_hidden_weak.
2650         (waitpid): Define as alias of __waitpid.
2651
2652 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2653
2654         * manual/llio.texi: Add comment that write safety has been
2655         fixed in Linux.
2656
2657         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2658         (localplt-build-dso): Add elf/ld.so.
2659         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2660         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2661         and free for ld.so.
2662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2663         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2665         Likewise.
2666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2667         Likewise.
2668         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2669         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2670         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2671         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2672         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2673         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2674         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2675         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2676         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2677         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2678         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2679
2680 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2681
2682         [BZ #14132]
2683         * include/libc-symbols.h (INTUSE): Remove macro.
2684         (INTDEF): Likewise.
2685         (INTVARDEF): Likewise.
2686         (_INTVARDEF): Likewise.
2687         (INTDEF2): Likewise.
2688         (INTVARDEF2): Likewise.
2689         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2690         rtld_hidden_def instead of INTVARDEF.
2691         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2692         (_dl_starting_up_internal): Remove declaration.
2693         (_dl_starting_up): Use rtld_hidden_proto.
2694         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2695         declaration.
2696         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2697         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2698         _dl_starting_up.
2699         * elf/dl-writev.h (_dl_writev): Likewise.
2700         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2701         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2702         _dl_starting_up_internal.
2703
2704 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2705
2706         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2707         test-skeleton.c.
2708
2709 2014-11-05  Will Newton  <will.newton@linaro.org>
2710
2711         * benchtests/Makefile: (bench-malloc): Add malloc thread
2712         scalability benchmark.
2713         * benchtests/bench-malloc-threads.c: New file.
2714
2715 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2716
2717         * sysdeps/aarch64/strchrnul.S: New file.
2718
2719 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2720
2721         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2722         definition.
2723         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2724         Likwise.
2725         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2726         Likewise.
2727         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2728         Likewise.
2729         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2730         Likewise.
2731         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2732         Likewise.
2733
2734 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2735
2736         * catgets/test-gencat.c: Use test-skeleton.c.
2737         * catgets/tst-catgets.c: Likewise.
2738         * csu/tst-empty.c: Likewise.
2739         * elf/tst-audit2.c: Likewise.
2740         * elf/tst-global1.c: Likewise.
2741         * elf/tst-pathopt.c: Likewise.
2742         * elf/tst-piemod1.c: Likewise.
2743         * elf/tst-tls10.c: Likewise.
2744         * elf/tst-tls11.c: Likewise.
2745         * elf/tst-tls12.c: Likewise.
2746         * gnulib/tst-gcc.c: Likewise.
2747         * iconvdata/tst-e2big.c: Likewise.
2748         * iconvdata/tst-loading.c: Likewise.
2749         * iconv/tst-iconv1.c: Likewise.
2750         * iconv/tst-iconv2.c: Likewise.
2751         * inet/test-inet6_opt.c: Likewise.
2752         * inet/tst-gethnm.c: Likewise.
2753         * inet/tst-network.c: Likewise.
2754         * inet/tst-ntoa.c: Likewise.
2755         * intl/tst-codeset.c: Likewise.
2756         * intl/tst-gettext2.c: Likewise.
2757         * intl/tst-gettext3.c: Likewise.
2758         * intl/tst-ngettext.c: Likewise.
2759         * intl/tst-translit.c: Likewise.
2760         * io/test-stat.c: Likewise.
2761         * libio/test-fmemopen.c: Likewise.
2762         * libio/tst-freopen.c: Likewise.
2763         * libio/tst-sscanf.c: Likewise.
2764         * libio/tst-ungetwc1.c: Likewise.
2765         * libio/tst-ungetwc2.c: Likewise.
2766         * libio/tst-widetext.c: Likewise.
2767         * localedata/tst-ctype.c: Likewise.
2768         * localedata/tst-digits.c: Likewise.
2769         * localedata/tst-leaks.c: Likewise.
2770         * localedata/tst-mbswcs1.c: Likewise.
2771         * localedata/tst-mbswcs2.c: Likewise.
2772         * localedata/tst-mbswcs3.c: Likewise.
2773         * localedata/tst-mbswcs4.c: Likewise.
2774         * localedata/tst-mbswcs5.c: Likewise.
2775         * localedata/tst-setlocale.c: Likewise.
2776         * localedata/tst-trans.c: Likewise.
2777         * localedata/tst-wctype.c: Likewise.
2778         * localedata/tst-xlocale1.c: Likewise.
2779         * login/tst-grantpt.c: Likewise.
2780         * malloc/tst-calloc.c: Likewise.
2781         * malloc/tst-malloc.c: Likewise.
2782         * malloc/tst-mallocstate.c: Likewise.
2783         * malloc/tst-mcheck.c: Likewise.
2784         * malloc/tst-mtrace.c: Likewise.
2785         * malloc/tst-obstack.c: Likewise.
2786         * math/atest-exp2.c: Likewise.
2787         * math/atest-exp.c: Likewise.
2788         * math/atest-sincos.c: Likewise.
2789         * math/test-matherr.c: Likewise.
2790         * math/test-misc.c: Likewise.
2791         * math/test-powl.c: Likewise.
2792         * math/tst-definitions.c: Likewise.
2793         * misc/tst-dirname.c: Likewise.
2794         * misc/tst-efgcvt.c: Likewise.
2795         * misc/tst-fdset.c: Likewise.
2796         * misc/tst-hsearch.c: Likewise.
2797         * misc/tst-mntent2.c: Likewise.
2798         * nptl/tst-sem7.c: Likewise.
2799         * nptl/tst-sem8.c: Likewise.
2800         * nptl/tst-sem9.c: Likewise.
2801         * nss/test-netdb.c: Likewise.
2802         * posix/tst-fnmatch.c: Likewise.
2803         * posix/tst-getlogin.c: Likewise.
2804         * posix/tst-gnuglob.c: Likewise.
2805         * posix/tst-mmap.c: Likewise.
2806         * pwd/tst-getpw.c: Likewise.
2807         * resolv/tst-inet_ntop.c: Likewise.
2808         * rt/tst-timer.c: Likewise.
2809         * stdio-common/test-fseek.c: Likewise.
2810         * stdio-common/test-popen.c: Likewise.
2811         * stdio-common/test-vfprintf.c: Likewise.
2812         * stdio-common/tst-cookie.c: Likewise.
2813         * stdio-common/tst-fileno.c: Likewise.
2814         * stdio-common/tst-gets.c: Likewise.
2815         * stdio-common/tst-obprintf.c: Likewise.
2816         * stdio-common/tst-perror.c: Likewise.
2817         * stdio-common/tst-sprintf2.c: Likewise.
2818         * stdio-common/tst-sprintf3.c: Likewise.
2819         * stdio-common/tst-sprintf.c: Likewise.
2820         * stdio-common/tst-swprintf.c: Likewise.
2821         * stdio-common/tst-tmpnam.c: Likewise.
2822         * stdio-common/tst-unbputc.c: Likewise.
2823         * stdio-common/tst-wc-printf.c: Likewise.
2824         * stdlib/tst-environ.c: Likewise.
2825         * stdlib/tst-fmtmsg.c: Likewise.
2826         * stdlib/tst-limits.c: Likewise.
2827         * stdlib/tst-rand48-2.c: Likewise.
2828         * stdlib/tst-rand48.c: Likewise.
2829         * stdlib/tst-random2.c: Likewise.
2830         * stdlib/tst-random.c: Likewise.
2831         * stdlib/tst-strtol.c: Likewise.
2832         * stdlib/tst-strtoll.c: Likewise.
2833         * stdlib/tst-tls-atexit.c: Likewise.
2834         * stdlib/tst-xpg-basename.c: Likewise.
2835         * string/test-ffs.c: Likewise.
2836         * string/tst-bswap.c: Likewise.
2837         * string/tst-inlcall.c: Likewise.
2838         * string/tst-strtok.c: Likewise.
2839         * string/tst-strxfrm.c: Likewise.
2840         * sysdeps/x86_64/tst-audit10.c: Likewise.
2841         * sysdeps/x86_64/tst-audit3.c: Likewise.
2842         * sysdeps/x86_64/tst-audit4.c: Likewise.
2843         * sysdeps/x86_64/tst-audit5.c: Likewise.
2844         * time/tst-ftime_l.c: Likewise.
2845         * time/tst-getdate.c: Likewise.
2846         * time/tst-mktime3.c: Likewise.
2847         * time/tst-mktime.c: Likewise.
2848         * time/tst-posixtz.c: Likewise.
2849         * time/tst-strptime2.c: Likewise.
2850         * time/tst-strptime3.c: Likewise.
2851         * wcsmbs/tst-btowc.c: Likewise.
2852         * wcsmbs/tst-mbrtowc.c: Likewise.
2853         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2854         * wcsmbs/tst-wchar-h.c: Likewise.
2855         * wcsmbs/tst-wcpncpy.c: Likewise.
2856         * wcsmbs/tst-wcrtomb.c: Likewise.
2857         * wcsmbs/tst-wcsnlen.c: Likewise.
2858         * wcsmbs/tst-wcstof.c: Likewise.
2859
2860 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
2861
2862         [BZ #14132]
2863         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2864         INTDEF.
2865         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2866         declaration.
2867         (_dl_mcount): Use rtld_hidden_proto.
2868         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2869         _dl_mcount.
2870         * elf/rtld.c (_rtld_global_ro): Likewise.
2871
2872         [BZ #14132]
2873         * elf/dl-init.c (_dl_init): Don't use INTDEF.
2874         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2875         of _dl_init_internal.
2876         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2877         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2878         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2879         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2880         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2881         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2882         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2883         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2884         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2885         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2886         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2887         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2888         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2889         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2890         * sysdeps/tile/dl-start.S (_start): Likewise.
2891         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2892         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2893
2894         [BZ #14132]
2895         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2896         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2897         (rtld_progname): Make macro definition unconditional.
2898         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2899         INTDEF.
2900         (dlmopen_doit): Do not use INTUSE with _dl_argv.
2901         (dl_main): Likewise.
2902         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2903         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2904         instead of _dl_argv_internal.
2905         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2906         __GI__dl_argv instead of INTUSE(_dl_argv).
2907         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2908         __GI__dl_argv instead of _dl_argv_internal.
2909
2910         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2911         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2912         macro.
2913         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2914         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2915         New macro.
2916         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2917         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2918         macro.
2919         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2920         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2921
2922 2014-11-04  Andreas Schwab  <schwab@suse.de>
2923
2924         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2925
2926 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2927
2928         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2929         mtvsrd instruction in binary form.
2930
2931 2014-11-03  Andreas Schwab  <schwab@suse.de>
2932
2933         [BZ #17522]
2934         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2935         for less than MB_LEN_MAX use a local buffer of that size.
2936         * libio/tst-fputws.c: New file.
2937         * libio/Makefile (tests): Add tst-fputws.
2938
2939 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
2940
2941         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2942         the size of the fpu_fr.fpu_dregs[] array.
2943
2944 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
2945
2946         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2947         (__nanosleep): Do not define as alias.
2948         (nanosleep): Define as alias of __nanosleep.
2949         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2950         __libc_nanosleep name.
2951
2952 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2953
2954         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2955         install.texi in comment.
2956
2957 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2958
2959         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2960         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2961         ... add here and use lwsync or sync ...
2962         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2963         ... and add here using lwsync.
2964
2965 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2966
2967         * elf/dl-machine-reject-phdr.h: New file.
2968         * elf/dl-load.c: #include that.
2969         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2970         if that returned true.
2971
2972 2014-10-31  Roland McGrath  <roland@hack.frob.com>
2973
2974         [BZ #17496]
2975         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2976         gen-as-const-headers chunk.  Add a big scare comment after the last
2977         safe place to touch before-compile.
2978
2979 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2980
2981         * manual/install.texi (Tools for Compilation): Update autoconf
2982         version requirements.
2983         * INSTALL: Regenerated.
2984
2985         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2986         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2987         (__libc_pselect): Likewise.
2988
2989         [BZ #14138]
2990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2994
2995 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2996
2997         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2998         correct barrier instruction.
2999         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3000         Likewise.
3001         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3002         Likewise.
3003
3004 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3005
3006         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3007         after defining inlines.  Instead, just use parens to defeat macro
3008         expansion of __isctype in its declaration.
3009
3010 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3011
3012         * include/sys/uio.h (__libc_readv): Remove declaration.
3013         (__libc_writev): Likewise.
3014         * misc/readv.c (__libc_readv): Rename to __readv.
3015         (__readv): Do not define as alias.
3016         (readv): Define as alias of __readv.
3017         * misc/writev.c (__libc_writev): Rename to __writev.
3018         (__writev): Do not define as alias.
3019         (writev): Define as alias of __writev.
3020         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3021         (__readv): Do not define as alias.
3022         (readv): Define unconditionally as alias of __readv.
3023         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3024         (__writev): Do not define as alias.
3025         (writev): Define unconditionally as alias of __writev.
3026         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3027         name.
3028         (writev): Do not define __libc_writev name.
3029
3030 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3031
3032         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3033         (convert_charseq): New function, broken out of ...
3034         (use_from_charmap): ... here.  Call it.
3035         (use_to_charmap): Use convert_charseq and free instead of duplicating
3036         its code with a variable-length stack struct.
3037
3038 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3039
3040         * include/fcntl.h (__libc_creat): Remove declaration.
3041         * io/creat.c (__libc_creat): Rename to creat.
3042         (creat): Do not define as alias.
3043         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3044         of creat instead of __libc_creat.
3045         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3046         to creat.
3047         (creat): Do not define as alias.
3048         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3049         __libc_creat.
3050         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3051         __libc_creat name.
3052         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3053         Likewise.
3054
3055 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3056
3057         * manual/llio.texi: Add comments discussing why write() may be
3058         considered MT-unsafe on Linux.
3059
3060 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3061
3062         * dl-load.c (local_strdup): Remove.
3063         (expand_dynamic_string_token): Use __strdup.
3064         (decompose_rpath): Likewise.
3065         (_dl_map_object): Likewise.
3066
3067 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3068
3069         [BZ #14132]
3070         * sysdeps/generic/unwind-dw2-fde.c
3071         (__register_frame_info_bases_internal): Do not declare.
3072         (__register_frame_info_table_bases_internal): Likewise.
3073         (__deregister_frame_info_bases_internal): Likewise.
3074         (__register_frame_info_bases): Declare and use hidden_proto before
3075         definition.  Use hidden_def instead of INTDEF.
3076         (__register_frame_info_table_bases): Likewise.
3077         (__deregister_frame_info_bases): Likewise.
3078         (__register_frame_info): Do not use INTUSE.
3079         (__register_frame): Likewise.
3080         (__register_frame_info_table): Likewise.
3081         (__register_frame_table): Likewise.
3082         (__deregister_frame_info): Likewise.
3083         (__deregister_frame): Likewise.
3084
3085 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3086
3087         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3088         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3089         not undefine.
3090         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3091         Likewise.
3092         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3093         Likewise.
3094
3095 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3096
3097         [BZ #14138]
3098         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3099         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3100         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3101         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3102         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3103         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3104         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3105         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3106         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3107         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3108         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3109         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3110         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3111         syscall.
3112         (setfsuid): Likewise.
3113         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3114         (setfsuid): Likewise.
3115         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3116         (setfsuid): Likewise.
3117         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3118         Likewise.
3119         (setfsuid): Likewise.
3120         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3121         (setfsuid): Likewise.
3122         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3123         Likewise.
3124         (setfsuid): Likewise.
3125
3126 2014-10-27  Andreas Schwab  <schwab@suse.de>
3127
3128         [BZ #17501]
3129         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3130         check for Slow_SSE4_2 feature bit.
3131         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3132         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3133         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3134         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3135
3136 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3137
3138         * configure.ac: Validate compiler version with a empirical test of
3139         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3140         $CC -v output.
3141         * configure: Regenerated.
3142
3143         * inet/htons.c (htons): Prototypify.
3144         * inet/htonl.c (htonl): Likewise.
3145
3146 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3147
3148         * string/strncat.c (strncat): Improve performance by using strlen.
3149
3150 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3151
3152         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3153
3154 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3155
3156         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3157         Call libc_fetestexcept_aarch64.
3158
3159 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3160
3161         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3162         Call libc_feholdexcept_aarch64.
3163
3164 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3165
3166         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3167         Call get_rounding_mode.
3168
3169 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3170
3171         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3172         Simplify logic.
3173
3174 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3175
3176         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3177         Simplify logic.
3178
3179 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3180
3181         [BZ #14138]
3182         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3183         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3184         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3185         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3186         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3187         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3188         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3189         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3190         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3191         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3192         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3193         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3194         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3195         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3196         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3197         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3198         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3199         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3200         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3201         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3202         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3203         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3204         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3205         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3206         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3207         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3208         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3209         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3210         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3211         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3212         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3213         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3214         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3215         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3216         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3217         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3218         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3219         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3220         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3221         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3222         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3223         syscall.
3224         (geteuid): Likewise.
3225         (getgid): Likewise.
3226         (getuid): Likewise.
3227         (getresgid): Likewise.
3228         (getresuid): Likewise.
3229         (getgroups): Likewise.
3230         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3231         (geteuid): Likewise.
3232         (getgid): Likewise.
3233         (getuid): Likewise.
3234         (getresgid): Likewise.
3235         (getresuid): Likewise.
3236         (getgroups): Likewise.
3237         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3238         (geteuid): Likewise.
3239         (getgid): Likewise.
3240         (getuid): Likewise.
3241         (getresgid): Likewise.
3242         (getresuid): Likewise.
3243         (getgroups): Likewise.
3244         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3245         Likewise.
3246         (geteuid): Likewise.
3247         (getgid): Likewise.
3248         (getuid): Likewise.
3249         (getresgid): Likewise.
3250         (getresuid): Likewise.
3251         (getgroups): Likewise.
3252         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3253         (geteuid): Likewise.
3254         (getgid): Likewise.
3255         (getuid): Likewise.
3256         (getresgid): Likewise.
3257         (getresuid): Likewise.
3258         (getgroups): Likewise.
3259         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3260         Likewise.
3261         (geteuid): Likewise.
3262         (getgid): Likewise.
3263         (getuid): Likewise.
3264         (getgroups): Likewise.
3265
3266         [BZ #14138]
3267         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3268         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3269         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3270         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3271         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3272         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3273         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3274         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3275         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3276         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3277         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3278         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3279         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3280         __chown.
3281         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3282         (lchown): Likewise.
3283         (fchown): Likewise.
3284         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3285         Likewise.
3286         (lchown): Likewise.
3287         (fchown): Likewise.
3288         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3289         (lchown): Likewise.
3290         (fchown): Likewise.
3291         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3292         Likewise.
3293         (lchown): Likewise.
3294         (fchown): Likewise.
3295
3296 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3297
3298         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3299         Simplify logic.
3300
3301 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3302
3303         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3304         Cleanup logic.
3305
3306 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3307
3308         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3309         Remove unused include.
3310
3311 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3312
3313         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3314         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3315         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3316         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3317
3318 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3319             Helge Deller <deller@gmx.de>
3320
3321         [BZ #17508]
3322         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3323         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3324         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3325
3326 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3327
3328         [BZ #14132]
3329         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3330         Remove macro definition.
3331         (__ashrdi3_v_glibc20): Likewise.
3332         (__lshrdi3_v_glibc20): Likewise.
3333         (__cmpdi2_v_glibc20): Likewise.
3334         (__ucmpdi2_v_glibc20): Likewise.
3335         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3336         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3337         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3338         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3339         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3340         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3341
3342 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3343
3344         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3345         old GNU extension [0] syntax.
3346         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3347         alloca rather than an array member with variable length.
3348         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3349         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3350         (parse_opt): ... here.  Likewise use alloca there.
3351         Validate the -i argument before checking for rootness.
3352         (send_shutdown): New function, broken out of ...
3353         (parse_opt): ... here.
3354
3355 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3356
3357         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3358         macro to get at the _rt_local_ro field.
3359         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3360         ([PIC] case) or _dl_hwcap ([!PIC] case).
3361         * sysdeps/arm/setjmp.S: Likewise.
3362
3363         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3364         * sysdeps/arm/configure.ac: New check to define it.
3365         * sysdeps/arm/configure: Regenerated.
3366         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3367         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3368         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3369         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3370         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3371         Use move/movt pair instead of a load.
3372         (LDST_GLOBAL): Macro removed.
3373         (LDR_GLOBAL): New macro replaces it.
3374         (LDR_HIDDEN): New macro.
3375         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3376         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3377
3378         * setjmp/tst-setjmp-static.c: New file.
3379         * setjmp/Makefile (tests): Add it.
3380         (tests-static): New variable.
3381
3382 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3383
3384         [BZ #17485]
3385         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3386
3387 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3388
3389         [BZ #14132]
3390         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3391
3392 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3393
3394         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3395
3396 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3397
3398         * io/fts.c (dirent_not_directory): New function.
3399         (fts_build): Call it.
3400
3401 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3402
3403         * nptl/version.c (__nptl_main): Use normal __write rather than
3404         INTERNAL_SYSCALL.
3405         (banner): Update copyright years.
3406
3407         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3408         gettimeofday.
3409         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3410         * nptl/pthread_cond_timedwait.c: Likewise.
3411         * nptl/pthread_mutex_timedlock.c: Likewise.
3412         * nptl/sem_timedwait.c: Likewise.
3413
3414         * sysdeps/nptl/bits/libc-lock.h
3415         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3416         (__libc_lock_init_recursive): Return void, not 0.
3417         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3418         (__libc_rwlock_init): Likewise.
3419         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3420
3421 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3422
3423         [BZ #15215]
3424         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3425         (__pthread_once_slow): ... here.
3426         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3427         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3428
3429 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3430
3431         [BZ #15215]
3432         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3433         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3434         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3435         * nptl/pthread_once.c (__pthread_once): Likewise.
3436         Update comments.
3437
3438 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3439
3440         [BZ #14138]
3441         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3442         name.
3443         (writev): Use __libc_writev as strong name.
3444         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3445         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3446
3447 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3448
3449         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3450
3451         * sysdeps/i386/nptl/tls.h
3452         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3453         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3454         New macros.
3455         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3456         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3457         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3458         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3459         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3460         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3461
3462         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3463         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3464         on [__NR_futex].
3465         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3466         broken out of ...
3467         (__pthread_mutex_init): ... here.  Call it.
3468         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3469         Conditionalize PI cases on [__NR_futex].
3470         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3471         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3472         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3473
3474         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3475         conditional on [SIGSETXID].
3476         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3477         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3478         is defined.  Likewise for SIGSETXID.
3479         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3480         Conditionalize definitions on [SIGSETXID].
3481         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3482         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3483         unblocking on [SIGCANCEL].
3484
3485         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3486         [__NR_set_robust_list].
3487
3488 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3489
3490         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3491         (do_compare): Likewise.
3492
3493 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3494
3495         [BZ #15884]
3496         * string/strcoll_l.c: Don't include stdio.h.
3497         (coll_seq): Remove members idxarr and rulearr.
3498         (get_next_seq_cached): Remove function.
3499         (get_next_seq): Likewise.
3500         (get_next_seq_nocache): Rename to get_next_seq.
3501         (do_compare): Remove function.
3502         (do_compare_nocache): Rename to do_compare.
3503         (STRCOLL): Remove weight and rules cache.
3504
3505 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3506
3507         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3508         * sysdeps/arm/sfp-machine.h: ... to here.
3509         * sysdeps/arm/Implies: Remove arm/soft-fp.
3510
3511 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3512
3513         * conform/data/sys/utsname.h-data (*_t): Allow.
3514         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3515         [POSIX] (WEXITED): Do not expect constant.
3516         [POSIX] (WSTOPPED): Likewise.
3517         [POSIX] (WNOHANG): Likewise.
3518         [POSIX] (WNOWAIT): Likewise.
3519         [POSIX] (siginfo_t): Do not expect type or elements.
3520         [POSIX] (pid_t): Do not expect type.
3521         [POSIX] (signal.h): Do not allow header.
3522         [POSIX] (sys/resource.h): Likewise.
3523         [POSIX] (si_*): Do not allow pattern.
3524         [POSIX] (W*): Likewise.
3525         [POSIX] (P_*): Likewise.
3526         [POSIX] (BUS_*): Likewise.
3527         [POSIX] (CLD_*): Likewise.
3528         [POSIX] (FPE_*): Likewise.
3529         [POSIX] (ILL_*): Likewise.
3530         [POSIX] (POLL_*): Likewise.
3531         [POSIX] (SEGV_*): Likewise.
3532         [POSIX] (SI_*): Likewise.
3533         [POSIX] (TRAP_*): Likewise.
3534         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3535         variable.
3536
3537 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3538
3539         [BZ #12926]
3540         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3541         infinite loop when __recvmsg returns 0.
3542
3543 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3544
3545         * CANCEL-FCT-WAIVE: Remove file.
3546         * CANCEL-FILE-WAIVE: Likewise.
3547
3548         [BZ #14132]
3549         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3550         instead of INTVARDEF.
3551         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3552         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3553         rtld_hidden_data_def instead of INTVARDEF.
3554         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3555         * elf/dl-deps.c (expand_dst): Likewise.
3556         * elf/dl-load.c (_dl_dst_count): Likewise.
3557         (_dl_dst_substitute): Likewise.
3558         (decompose_rpath): Likewise.
3559         (_dl_init_paths): Likewise.
3560         (open_path): Likewise.
3561         (_dl_map_object): Likewise.
3562         * elf/rtld.c (dl_main): Likewise.
3563         (process_dl_audit): Likewise.
3564         (process_envvars): Likewise.
3565         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3566         Remove declaration.
3567         (__libc_enable_secure): Use rtld_hidden_proto.
3568
3569 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3570
3571         * elf/dl-load.c
3572         (add_path): New function broken out of _dl_rtld_di_serinfo.
3573         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3574
3575 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3576
3577         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3578         parentheses around macro arguments.
3579         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3580         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3581         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3582         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3583         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3584         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3585         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3586         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3587         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3588         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3589         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3590         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3591         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3592         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3593         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3594         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3595         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3596         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3597         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3598         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3599         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3600         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3601         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3602         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3603         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3604         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3605         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3606         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3607         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3608         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3609         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3610         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3611         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3612         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3613         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3614         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3615         Likewise.
3616         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3617         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3618         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3619         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3620         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3621         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3622         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3623         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3624         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3625         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3626         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3627         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3628         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3629         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3630         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3631         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3632         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3633         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3634         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3635         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3636         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3637         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3638         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3639         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3640         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3641         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3642         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3643         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3644         (_FP_FRAC_SRS_1): Likewise.
3645         (_FP_FRAC_CLZ_1): Likewise.
3646         (_FP_MUL_MEAT_1_imm): Likewise.
3647         (_FP_MUL_MEAT_1_wide): Likewise.
3648         (_FP_MUL_MEAT_1_hard): Likewise.
3649         (_FP_SQRT_MEAT_1): Likewise.
3650         (_FP_FRAC_ASSEMBLE_1): Likewise.
3651         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3652         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3653         (__FP_CLZ_2): Likewise.
3654         (_FP_MUL_MEAT_2_wide): Likewise.
3655         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3656         (_FP_MUL_MEAT_2_gmp): Likewise.
3657         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3658         (_FP_SQRT_MEAT_2): Likewise.
3659         (_FP_FRAC_ASSEMBLE_2): Likewise.
3660         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3661         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3662         (_FP_FRAC_CLZ_4): Likewise.
3663         (_FP_MUL_MEAT_4_wide): Likewise.
3664         (_FP_MUL_MEAT_4_gmp): Likewise.
3665         (_FP_SQRT_MEAT_4): Likewise.
3666         (_FP_FRAC_ASSEMBLE_4): Likewise.
3667         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3668         * soft-fp/op-common.h (_FP_CMP): Likewise.
3669         (_FP_CMP_EQ): Likewise.
3670         (_FP_CMP_UNORD): Likewise.
3671         (_FP_TO_INT): Likewise.
3672         (_FP_FROM_INT): Likewise.
3673         [!__FP_CLZ] (__FP_CLZ): Likewise.
3674         (_FP_DIV_HELP_imm): Likewise.
3675         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3676         Likewise.
3677         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3678         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3679         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3680         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3681         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3682         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3683         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3684         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3685         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3686         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3687         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3688         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3689         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3690         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3691         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3692         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3693         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3694         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3695         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3696         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3697         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3698         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3699         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3700         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3701         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3702         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3703         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3704         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3705         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3706         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3707         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3708         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3709         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3710         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3711         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3712         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3713         (FP_UNPACK_RAW_SP): Likewise.
3714         (FP_PACK_RAW_S): Likewise.
3715         (FP_PACK_RAW_SP): Likewise.
3716         (FP_UNPACK_S): Likewise.
3717         (FP_UNPACK_SP): Likewise.
3718         (FP_UNPACK_SEMIRAW_S): Likewise.
3719         (FP_UNPACK_SEMIRAW_SP): Likewise.
3720         (FP_PACK_S): Likewise.
3721         (FP_PACK_SP): Likewise.
3722         (FP_PACK_SEMIRAW_S): Likewise.
3723         (FP_PACK_SEMIRAW_SP): Likewise.
3724         (_FP_SQRT_MEAT_S): Likewise.
3725         (FP_CMP_S): Likewise.
3726         (FP_CMP_EQ_S): Likewise.
3727         (FP_CMP_UNORD_S): Likewise.
3728         (FP_TO_INT_S): Likewise.
3729         (FP_FROM_INT_S): Likewise.
3730
3731         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3732
3733         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3734         (FP_EX_INVALID_IMZ): Likewise.
3735         (FP_EX_INVALID_IMZ_FMA): Likewise.
3736         (FP_EX_INVALID_ISI): Likewise.
3737         (FP_EX_INVALID_ZDZ): Likewise.
3738         (FP_EX_INVALID_IDI): Likewise.
3739         (FP_EX_INVALID_SQRT): Likewise.
3740         (FP_EX_INVALID_CVI): Likewise.
3741         (FP_EX_INVALID_VC): Likewise.
3742         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3743         "invalid" exceptions.
3744         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3745         (_FP_ADD_INTERNAL): Likewise.
3746         (_FP_MUL): Likewise.
3747         (_FP_FMA): Likewise.
3748         (_FP_DIV): Likewise.
3749         (_FP_CMP_CHECK_NAN): Likewise.
3750         (_FP_SQRT): Likewise.
3751         (_FP_TO_INT): Likewise.
3752         (FP_EXTEND): Likewise.
3753
3754 2014-10-09  Allan McRae  <allan@archlinux.org>
3755
3756         * po/fr.po: Update French translation from translation project.
3757
3758 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3759
3760         [BZ #14132]
3761         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3762         of INTDEF.
3763         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3764         (__cxa_atexit): Use libc_hidden_proto.
3765         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3766
3767         [BZ #14132]
3768         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3769         declaration.
3770         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3771         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3772         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3773         [!_ISOMAC] (__iswctype_internal): Likewise.
3774         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3775         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3776         alias.
3777         (fcntl): Remove __fcntl_internal alias.
3778         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3779         __connect_internal alias.
3780         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3781         Likewise.
3782
3783         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3784         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3785         FP_DENORM_ZERO.
3786         (_FP_CHECK_FLUSH_ZERO): New macro.
3787         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3788         (_FP_CMP): Likewise.
3789         (_FP_CMP_EQ): Likewise.
3790         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3791         FP_DENORM_ZERO.
3792         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3793         (FP_TRUNC): Likewise.
3794
3795         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3796         treated as invalid conversion, not as normal exponent.
3797
3798         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3799         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3800         (_FP_CMP_EQ): Likewise.
3801         (_FP_CMP_UNORD): Likewise.
3802         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3803         (FP_CMP_EQ_D): Likewise.
3804         (FP_CMP_UNORD_D): Likewise.
3805         * soft-fp/extended.h (FP_CMP_E): Likewise.
3806         (FP_CMP_EQ_E): Likewise.
3807         (FP_CMP_UNORD_E): Likewise.
3808         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3809         (FP_CMP_EQ_Q): Likewise.
3810         (FP_CMP_UNORD_Q): Likewise.
3811         * soft-fp/single.h (FP_CMP_S): Likewise.
3812         (FP_CMP_EQ_S): Likewise.
3813         (FP_CMP_UNORD_S): Likewise.
3814         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3815         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3816         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3817         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3818         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3819         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3820         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3821         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3822         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3823         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3824         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3825         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3826         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3827         to FP_CMP_Q.
3828         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3829         FP_CMP_Q.
3830         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3831         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3832         FP_CMP_EQ_Q.
3833         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3834         FP_CMP_Q.
3835         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3836         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3837         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3838         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3839         FP_CMP_EQ_Q.
3840         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3841         FP_CMP_Q.
3842         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3843         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3844         FP_CMP_EQ_Q.
3845         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3846         FP_CMP_Q.
3847         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3848         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3849         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3850         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3851         FP_CMP_EQ_Q.
3852
3853         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3854         a subnormal result, set the underflow exception if trapping on
3855         underflow is enabled.
3856         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3857         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3858         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3859         redefine to 0.
3860         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3861         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3862         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3863         * soft-fp/extendxftf2.c (__extendxftf2): Use
3864         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3865
3866         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3867         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3868         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3869         FP_HANDLE_EXCEPTIONS.
3870         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3871         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3872         FP_HANDLE_EXCEPTIONS.
3873         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3874         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3875         FP_HANDLE_EXCEPTIONS.
3876         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3877         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3878         FP_HANDLE_EXCEPTIONS.
3879
3880 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
3881
3882         [BZ #14132]
3883         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3884         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3885         use INTUSE.
3886         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3887         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3888         Remove alias.
3889         (__adjtimex): Define using libc_hidden_ver.
3890         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3891         Remove declaration.
3892         (ntp_gettime): Call __adjtimex directly.
3893         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3894         Remove declaration.
3895         (ntp_gettimex): Call __adjtimex directly.
3896         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3897         __adjtimex_internal alias.
3898
3899 2014-10-08  Roland McGrath  <roland@hack.frob.com>
3900
3901         [BZ #17460]
3902         * nscd/nscd.c (more_help): Rewrite list of tables collection
3903         using xstrdup and asprintf.
3904
3905         * nscd/nscd_conf.c: Remove local xstrdup declaration.
3906
3907 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3908             Roland McGrath  <roland@hack.frob.com>
3909
3910         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3911         (do_lookup_unique): ... local function 'enter' here; update callers.
3912
3913 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
3914
3915         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3916         compat_symbol calls on [SHARED].
3917         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3918         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3919         Remove.
3920         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3921         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3922         (oldsetrlimit): Remove.
3923         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3925         (lchown): New syscall entry.
3926         (oldsetrlimit): Remove.
3927         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3928         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3929         (oldsetrlimit): Remove.
3930         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3931
3932         [BZ #14138]
3933         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3934         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3935         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3936         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3937         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3938         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3939         (fchown): Likewise.
3940         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3941         (fchown): Likewise.
3942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3943         Likewise.
3944
3945 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3946
3947         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3948         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3949         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3950         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3951         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3952         Likewise.
3953         (__old_sem_post): Likewise.
3954
3955 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
3956
3957         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3958         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3959         HAVE_CLOCK_GETTIME_VSYSCALL macros.
3960         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3961         Use INLINE_VSYSCALL macro.
3962         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3963         __vdso_clock_gettime.
3964         * sysdeps/unix/sysv/linux/tile/init-first.c
3965         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3966         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3967         __vdso_clock_gettime.
3968
3969         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3970         to set up frame more cleanly.
3971
3972         * sysdeps/tile/memcmp.c: New file.
3973
3974         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3975
3976         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3977         * sysdeps/tile/tilegx/strcasestr.c: New file.
3978         * sysdeps/tile/tilegx/strnlen.c: New file.
3979         * sysdeps/tile/tilegx/strstr.c: New file.
3980
3981         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3982
3983 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
3984
3985         * nptl/tst-setuid3.c: Write errors to stdout.
3986
3987 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3988
3989         * elf/dl-deps.c
3990         (preload): New functions broken out of _dl_map_object_deps.
3991         (_dl_map_object_deps):  Remove a nested function. Update call sites.
3992
3993 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
3994
3995         [BZ #14138]
3996         * sysdeps/unix/sysv/linux/execve.c: Remove file.
3997         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3998
3999 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4000
4001         * sysdeps/mips/strcmp.S: New.
4002
4003 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4004
4005         [BZ #14138]
4006         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4007         (linkat): Likewise.
4008         (mkdirat): Likewise.
4009         (readlinkat): Likewise.
4010         (renameat): Likewise.
4011         (symlinkat): Likewise.
4012         (unlinkat): Likewise.
4013         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4014         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4015         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4016         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4017         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4018         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4019         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4020
4021 2014-09-30  Will Newton  <will.newton@linaro.org>
4022
4023         * math/math.h: Define long double math functions if
4024         _LIBC_TEST is defined.
4025         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4026
4027         * localedata/Makefile: Move assignment to tests-special
4028         into an ifdef testing run-built-tests.
4029         * timezone/Makefile: Likewise.
4030
4031 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4032
4033         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4034         with $(BASH) not $(SHELL).
4035
4036 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4037             Matthew LeGendre  <legendre1@llnl.gov>
4038
4039         [BZ #17411]
4040         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4041         l_reloc_result.
4042
4043 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4044
4045         * stdio-common/printf_fp.c
4046         (hack_digit): New function, broken out of ...
4047         (__printf_fp): ... local function here.  Update call sites.
4048         hack_digit now takes an additional parameter that is a pointer
4049         to a struct of the referenced locals.  Those locals moved inside
4050         the struct and references updated.
4051
4052 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4053
4054         * aclocal.m4: Require autoconf 2.69.
4055         * configure: Regenerated.
4056         * sysdeps/aarch64/configure: Likewise.
4057         * sysdeps/alpha/configure: Likewise.
4058         * sysdeps/arm/armv7/configure: Likewise.
4059         * sysdeps/arm/configure: Likewise.
4060         * sysdeps/ia64/configure: Likewise.
4061         * sysdeps/mach/configure: Likewise.
4062         * sysdeps/mips/configure: Likewise.
4063         * sysdeps/s390/configure: Likewise.
4064         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4066
4067         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4068         file.
4069         * sysdeps/ia64/configure.ac: Likewise.
4070
4071 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4072
4073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4074         specify symbol version for ld.so.  Do not include entry for
4075         libpthread.
4076         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4077         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4078         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4079
4080         [BZ #14171]
4081         * Makeconfig [$(build-shared) = yes]
4082         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4083         makefiles.
4084         [$(build-shared) = yes && $(soversions.mk-done) = t]
4085         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4086         [$(build-shared) = yes && $(soversions.mk-done) = t]
4087         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4088         to Makerules.
4089         [$(build-shared) = yes && $(soversions.mk-done) = t]
4090         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4091         here.
4092         [$(build-shared) = yes && $(soversions.mk-done) = t]
4093         (common-generated): Don't append gnu/lib-names.h and
4094         gnu/lib-names.stmp here.
4095         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4096         (lib-names-h-abi): New variable.
4097         [$(build-shared) = yes && $(soversions.mk-done) = t]
4098         (lib-names-stmp-abi): Likewise.
4099         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4100         abi-variants] (before-compile): Append
4101         $(common-objpfx)$(lib-names-h-abi).
4102         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4103         abi-variants] (common-generated): Append gnu/lib-names.h.
4104         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4105         abi-variants] (install-others-nosubdir): Depend on
4106         $(inst_includedir)/$(lib-names-h-abi).
4107         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4108         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4109         [$(build-shared) = yes && $(soversions.mk-done) = t]
4110         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4111         [$(build-shared) = yes && $(soversions.mk-done) = t]
4112         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4113         [$(build-shared) = yes && $(soversions.mk-done) = t]
4114         (common-generated): Append $(lib-names-h-abi) and
4115         $(lib-names-stmp-abi).
4116         * scripts/lib-names.awk: Do not handle multi being set.
4117         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4118         Remove variable.
4119         (abi-lp64_be-ld-soname): Likewise.
4120         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4121         Likewise.
4122         (abi-hard-ld-soname): Likewise.
4123         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4124         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4125         Remove variable.
4126         (abi-o32_hard-ld-soname): Likewise.
4127         (abi-o32_soft_2008-ld-soname): Likewise.
4128         (abi-o32_hard_2008-ld-soname): Likewise.
4129         (abi-n32_soft-ld-soname): Likewise.
4130         (abi-n32_hard-ld-soname): Likewise.
4131         (abi-n32_soft_2008-ld-soname): Likewise.
4132         (abi-n32_hard_2008-ld-soname): Likewise.
4133         (abi-n64_soft-ld-soname): Likewise.
4134         (abi-n64_hard-ld-soname): Likewise.
4135         (abi-n64_soft_2008-ld-soname): Likewise.
4136         (abi-n64_hard_2008-ld-soname): Likewise.
4137         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4138         Likewise.
4139         (abi-64-v2-ld-soname): Likewise.
4140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4141         ld.so entries.
4142         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4143         variable.
4144         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4145         entry.
4146         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4147         variable.
4148         (abi-64-ld-soname): Likewise.
4149         (abi-x32-ld-soname): Likewise.
4150         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4151         entry.
4152         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4153
4154 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4155
4156         [BZ #14138]
4157         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4158         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4159         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4160         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4161         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4162         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4163         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4164         syscall entry for GLIBC_2.2 symbol version.
4165         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4166         Likewise.
4167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4168         (setrlimit): Likewise.
4169         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4170         Likewise.
4171
4172 2014-09-23  Will Newton  <will.newton@linaro.org>
4173
4174         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4175         _LINUX_ARM_SYSDEP_H include guard too.
4176         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4177         define.
4178
4179 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4180
4181         * sysdeps/unix/sysv/linux/eventfd.c:
4182         Make first argument unsigned.
4183         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4184         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4185
4186 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4187
4188         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4189         * socket/sys/socket.h: Likewise
4190         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4191
4192 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4193
4194         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4195
4196 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4197
4198         * time/tst-ftime.c: New test.
4199         * time/Makefile (tests): Add tst-ftime.
4200
4201 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4202
4203         * soft-fp/extended.h: Fix comment formatting.
4204         * soft-fp/op-1.h: Likewise.
4205         * soft-fp/op-2.h: Likewise.
4206         * soft-fp/op-4.h: Likewise.
4207         * soft-fp/op-8.h: Likewise.
4208         * soft-fp/op-common.h: Likewise.
4209         * soft-fp/soft-fp.h: Likewise.
4210
4211         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4212
4213 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4214
4215         [BZ #6652]
4216         * Makeconfig (soversions-default-setname): Remove variable.
4217         ($(common-objpfx)soversions.i): Don't pass default_setname to
4218         soversions.awk.
4219         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4220         oldest_abi to abi-versions.awk.
4221         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4222         * config.make.in (oldest-abi): Remove variable.
4223         * configure.ac (--enable-oldest-abi): Remove configure option.
4224         * configure: Regenerated.
4225         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4226         text.
4227         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4228         * scripts/soversions.awk: Do not handle default_setname variable.
4229         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4230         variable.
4231         * sysdeps/mach/hurd/configure: Regenerated.
4232         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4233         variable.
4234         * sysdeps/unix/sysv/linux/configure: Regenerated.
4235
4236 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4237
4238         * elf/Makefile (CFLAGS-interp.c): Remove.
4239         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4240         path string.
4241         * elf/interp.c: Include generated runtime-linker.h
4242
4243         * Makerules (lib%.so): Don't include $(+interp) in
4244         prerequisites.
4245         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4246         * dlfcn/eval.c: Remove file.
4247
4248         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4249         macros.
4250
4251         [BZ #17266]
4252         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4253         4.2 and newer.
4254
4255         [BZ #17370]
4256         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4257
4258 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4259             Jakub Jelinek  <jakub@redhat.com>
4260
4261         [BZ #17266]
4262         * libio/stdio.h: Check definition of __fortify_function
4263         instead of __extern_always_inline to include bits/stdio2.h.
4264         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4265         check if __extern_always_inline is defined.
4266         [__USE_MISC || __USE_XOPEN]: Likewise.
4267         [__USE_ISOC99] Likewise.
4268         * misc/sys/cdefs.h (__fortify_function): Define only if
4269         __extern_always_inline is defined.
4270         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4271         __extern_always_inline and __extern_inline only for g++-4.3
4272         and newer or a compatible gcc.
4273
4274 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4275
4276         [BZ #17371]
4277         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4278         last change to handle zero prefix length.
4279
4280 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4281
4282         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4283         _SC_REGEX_VERSION.
4284
4285         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4286         _POSIX_RAW_SOCKETS.
4287
4288 2014-09-13  Allan McRae  <allan@archlinux.org>
4289
4290         * po/ru.po: Update Russian translation from translation project.
4291
4292 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4293
4294         * locale/programs/locale.c (show_locale_vars): Inline local function
4295         into its sole call site.  Clean up some style nits.
4296         (print_item): New function, broken out of ...
4297         (show_info): ... local function here.  Clean up style nits.
4298
4299         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4300         out of ...
4301         (set_class_defaults): ... local function set_default here.
4302         Define set_default as a macro locally to pass constant parameters.
4303         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4304         rather than a shared local.
4305
4306         * stdlib/rpmatch.c (try): New function, broken out of ...
4307         (rpmatch): ... local function here.  Also, prototypify definition.
4308
4309 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4310
4311         * scripts/soversions.awk: Do not handle configuration names.
4312         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4313         vendor and os variables to soversions.awk.
4314         * configure.ac: Do not modify gnu-* host_os.
4315         * configure: Regenerated
4316         * shlib-versions: Remove first column with configuration names.
4317         * nptl/shlib-versions: Likewise.
4318         * nptl_db/shlib-versions: Likewise.
4319         * sysdeps/hppa/shlib-versions: Likewise.
4320         * sysdeps/m68k/shlib-versions: Likewise.
4321         * sysdeps/mach/hurd/shlib-versions: Likewise.
4322         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4323         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4324         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4325         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4326         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4327         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4328         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4329         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4331         Likewise.
4332         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4333         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4334         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4335         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4336         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4337         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4338         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4339         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4340
4341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4342         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4344         Regenerated.
4345         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4347         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4348
4349         * shlib-versions: Remove OS-specific entries.  Moved to files in
4350         sysdeps.
4351         * sysdeps/mach/hurd/shlib-versions: New file.
4352         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4353
4354         * nptl/shlib-versions: Remove architecture-specific entries.
4355         Moved to files in sysdeps.
4356         * shlib-versions: Likewise.
4357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4358         file.
4359         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4360         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4361         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4362         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4363
4364         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4365         (UDP_NO_CHECK6_RX): Likewise.
4366
4367 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4368
4369         * sysdeps/posix/sysconf.c (__sysconf): Spell
4370         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4371
4372 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4373
4374         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4375         loading.
4376         * iconv/Versions (__gconv_transliterate): Export for use from
4377         gconv modules.
4378         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4379         (struct __gconv_trans_data, __gconv_trans_fct,
4380         __gconv_trans_context_fct, __gconv_trans_query_fct,
4381         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4382         definitions.
4383         (struct __gconv_step_data): Remove __trans member.
4384         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4385         longer hidden.  Remove unused trans_data argument.
4386         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4387         (__gconv_translit_find): Remove declaration.
4388         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4389         prototype.
4390         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4391         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4392         trans_data argument.  Add hidden definition.
4393         (__gconv_translit_find): Remove.
4394         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4395         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4396         * iconv/skeleton.c: Remove transliteration initialization.
4397         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4398         __gconv_step_data initialization.
4399         * libio/iofwide.c (__libio_translit_): Remove.
4400         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4401         * wcsmbs/btowc.c (__btowc): Likewise.
4402         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4403         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4404         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4405         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4406         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4407         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4408         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4409         * wcsmbs/wctob.c (wctob): Likewise.
4410
4411 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4412
4413         [BZ #16194]
4414         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4415         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4416         register usage.
4417         * sysdeps/x86/Makefile: Adjust.
4418
4419 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4420             Roland McGrath  <roland@hack.frob.com>
4421
4422         * locale/weight.h: Add include guard.
4423         (findidx): Make static rather than auto; take new parameters
4424         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4425         * locale/weightwc.h: Likewise.
4426         * posix/fnmatch_loop.c
4427         (FCT): Change type of EXTRA from int32_t to wint_t.
4428         Don't include either header inside the function.
4429         Call FINDIDX rather than findidx, and pass new arguments.
4430         #undef FINDIDX at the end of the file.
4431         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4432         FINDIDX before including fnmatch_loop.c for the non-wide version.
4433         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4434         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4435         for the wide version.
4436         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4437         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4438         Pass new arguments to findidx.
4439         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4440         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4441         Don't #include it inside the function.  Pass new arguments to findidx.
4442         * posix/regex_internal.h
4443         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4444         (re_string_elem_size_at): Don't #include it inside the function.
4445         Pass new arguments to findidx.
4446         * string/strcoll_l.c: #include WEIGHT_H at top level.
4447         (get_next_seq): Don't #include it inside the function.
4448         Pass new arguments to findidx.
4449         (get_next_seq_nocache): Likewise.
4450         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4451         (STRXFRM): Don't #include it inside the function.
4452         Pass new arguments to findidx.
4453
4454 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4455
4456         [BZ #17344]
4457         * malloc/malloc.c (unlink): Turn asserts into a call to
4458         malloc_printerr.
4459
4460 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4461
4462         [BZ #17370]
4463         * libio/wfileops (do_ftell_wide): Free OUT.
4464
4465 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4466
4467         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4468
4469 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4470
4471         [BZ #17363]
4472         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4473         group if the current group is empty.
4474
4475 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4476
4477         * benchtests/bench-memset.c (test_main): Add more test from size
4478         from 32 to 512 bytes.
4479         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4480         Add POWER8 memset object.
4481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4482         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4483         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4484         implementation.
4485         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4486         Likewise.
4487         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4488         multiarch POWER8 memset optimization.
4489         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4490         POWER8 memset optimization.
4491
4492         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4493         Remove bzero multiarch objects.
4494         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4495         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4496         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4497         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4498         Remove define.
4499         [__bzero]: Redefine to specific name.
4500         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4501         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4502         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4503         define.
4504         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4505         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4506
4507 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4508
4509         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4510         warnings into errors.
4511
4512         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4513         __cxa_thread_atexit_impl prototype.
4514
4515 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4516
4517         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4518         Fix capitalization of error message.
4519
4520 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4521
4522         * sysdeps/mips/preconfigure: Modify ABI tests.
4523
4524 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4525
4526         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4527
4528 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4529             Carlos O'Donell  <carlos@systemhalted.org>
4530
4531         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4532         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4533         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4534         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4535         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4536         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4537         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4538         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4539         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4540         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4541         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4542         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4543         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4544         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4545         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4546         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4547         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4548         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4549         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4550         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4551         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4552         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4553         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4554         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4555         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4556         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4557         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4558         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4559         Deconditionalize the code that was previously under [RESET_PID].
4560         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4561         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4562         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4563         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4564         include sysdep.h.
4565
4566 2014-09-08  Allan McRae  <allan@archlinux.org>
4567
4568         * version.h (RELEASE): Set to "development".
4569         (VERSION): Set to "2.20.90"
4570
4571 2014-09-07  Allan McRae  <allan@archlinux.org
4572
4573         * version.h (RELEASE): Set to "stable".
4574         (VERSION): Set to "2.20"
4575         * include/features.h (__GLIBC_MINOR__): Set to 20.
4576
4577         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4578         Liebler.
4579
4580         * po/ko.po: Update Korean translation from translation project.
4581
4582 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4583
4584         [BZ #17354]
4585         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4586         macro for handling signed relocations.
4587
4588 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4589
4590         [BZ #17325]
4591         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4592         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4593         assert.
4594         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4595         * iconvdata/ibm935.c (BODY): Likewise.
4596         * iconvdata/ibm937.c (BODY): Likewise.
4597         * iconvdata/ibm939.c (BODY): Likewise.
4598         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4599         assert.
4600         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4601         script.
4602         * iconvdata/run-iconv-test.sh: New test loop for checking for
4603         decoder crashers.
4604
4605 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4606
4607         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4608         libm_hidden_ver.
4609
4610 2014-09-01  Allan McRae  <allan@archlinux.org>
4611
4612         * po/eo.po: Update Esperanto translation from translation project.
4613
4614         * po/ca.po: Update Catalan translation from translation project.
4615
4616 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4617
4618         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4619         __proc_dostop call.
4620
4621 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4622
4623         [BZ #17319]
4624         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4625         to call set_thread_area instead of hand written asm.
4626         (__NR_set_thread_area): Removed define.
4627         (TLS_FLAG_WRITABLE): Likewise.
4628         (__ASSUME_SET_THREAD_AREA): Remove check.
4629         (TLS_EBX_ARG): Remove define.
4630         (TLS_LOAD_EBX): Likewise.
4631
4632 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4633
4634         Simplify atomicity of socket creation in bind.
4635
4636         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4637         looking up the name after linking the file.
4638
4639 2014-08-27  Allan McRae  <allan@archlinux.org>
4640
4641         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4642
4643 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4644
4645         [BZ #17187]
4646         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4647         trans_compare, open_translit, __gconv_translit_find):
4648         Remove module loading code.
4649
4650 2014-08-26  Allan McRae  <allan@archlinux.org>
4651
4652         * po/vi.po: Update Vietnamese translation from translation project.
4653
4654         * po/uk.po: Update Ukrainian translation from translation project.
4655
4656         * po/fr.po: Update French translation from translation project.
4657
4658         * po/ru.po: Update Russian translation from translation project.
4659
4660         * po/pl.po: Update Polish translation from translation project.
4661
4662         * po/cs.po: Update Czech translation from translation project.
4663
4664         * po/de.po: Update German translation from translation project.
4665
4666         * po/bg.po: Update Bulgarian translation from translation project.
4667
4668         * po/sv.po: Update Sweedish translation from translation project.
4669
4670         * po/nl.po: Update Dutch translation from translation project.
4671
4672         * po/es.po: Update Spanish translation from translation project.
4673
4674 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4675
4676         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4677
4678         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4679         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4680         (CPPFLAGS-iconvconfig): Likewise.
4681         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4682
4683         * include/libc-symbols.h: Remove unnecessary check for
4684         NOT_IN_libc.
4685         * nptl/pthreadP.h: Likewise.
4686         * sysdeps/aarch64/setjmp.S: Likewise.
4687         * sysdeps/alpha/setjmp.S: Likewise.
4688         * sysdeps/arm/sysdep.h: Likewise.
4689         * sysdeps/i386/setjmp.S: Likewise.
4690         * sysdeps/m68k/setjmp.c: Likewise.
4691         * sysdeps/posix/getcwd.c: Likewise.
4692         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4693         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4694         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4695         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4696         * sysdeps/sh/sh3/setjmp.S: Likewise.
4697         * sysdeps/sh/sh4/setjmp.S: Likewise.
4698         * sysdeps/unix/alpha/sysdep.h: Likewise.
4699         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4700         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4701         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4702         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4705         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4706         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4707         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4708         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4709         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4710         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4711         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4712         * sysdeps/x86_64/setjmp.S: Likewise.
4713
4714 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4715
4716         [BZ #17263]
4717         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4718         <stdint.h>.
4719         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4720         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4721
4722 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4723
4724         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4725
4726         [BZ #17262]
4727         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4728         and __x86_64__ when disabling x87 inline functions.
4729
4730 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4731
4732         [BZ #17259]
4733         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4734         asm statement with __cpuid_count.
4735
4736 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4737
4738         * configure.ac: Change __ehdr_start code to dereference the struct.
4739         Run readelf on the output to look for relocations.
4740         * configure: Regenerated.
4741
4742 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4743
4744         [BZ #17261]
4745         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4746         value to 0.
4747         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4748
4749 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4750
4751         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4752
4753 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4754
4755         [BZ #16892]
4756         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4757         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4758
4759 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4760
4761         * malloc/malloc.c: Fix typo in comment.
4762
4763 2014-08-09  Allan McRae  <allan@archlinux.org>
4764
4765         * Regenerate libc.po.
4766
4767 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4768
4769         * intl/tst-gettext2.sh: Check every lang file for creation.
4770
4771 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4772
4773         * sysdeps/aarch64/fpu/math_private.h
4774         (libc_feholdsetround_noex_aarch64_ctx): New function.
4775
4776 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4777
4778         * sysdeps/arm/armv6/strcpy.S (strcpy):
4779         Fix performance issue in misaligned cases.
4780
4781 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4782
4783         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4784         Move definition from termios.h.
4785         (struct termio): Likewise.
4786         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4787         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4788         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4789         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4790         Likewise.
4791         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4792         Move definition to ioctl-types.h
4793         (struct termio): Likewise.
4794         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4795         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4796         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4797         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4798         Likewise.
4799
4800 2014-08-05  Richard Henderson  <rth@redhat.com>
4801
4802         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4803         exceptions.
4804         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4805         Add fraiseexcpt.
4806         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4807         Use __feraiseexcept.
4808         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4809         Protect libm symbols with IS_IN_libm.
4810
4811         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4812
4813 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4814
4815         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4816
4817 2014-08-04  Will Newton  <will.newton@linaro.org>
4818
4819         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4820         file.
4821
4822 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4823
4824         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4825         variants for each function.
4826
4827 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4828
4829         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4830         appended ...
4831         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4832         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4833         appended ...
4834         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4835         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4836         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4837         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4838         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4839         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4840         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4841         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4842         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4843         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4844         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4845         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4846         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4847         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4848         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4849         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4850         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4851         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4852         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4853         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4854         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4855         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4856         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4857         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4858         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4859         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4860         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4861         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4862         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4863         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4864         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4865         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4866         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4867         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4868         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4869         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4870         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4871         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4872         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4873         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4874         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4875         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4876         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4877         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4878         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4879         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4880         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4881         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4882         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4883         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4884         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4885         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4886         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4887         Update #include.
4888         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4889         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4890
4891 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4892
4893         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4894         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4895         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4896         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4897         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4898         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4899
4900 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4901
4902         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4903         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4904         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4905         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4906
4907 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4908
4909         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4910         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4911         (__libc_vfork): Define function under this name.
4912         (__vfork): Define as an alias.
4913         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4914         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4915
4916 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4917
4918         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4919         that was previously under [RESET_PID].
4920         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4921
4922 2014-08-04  Andreas Schwab  <schwab@suse.de>
4923
4924         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4925
4926 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
4927
4928         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4929         (main): Likewise.
4930
4931 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4932
4933         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4934
4935 2014-08-01  Richard Henderon  <rth@redhat.com>
4936
4937         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4938         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4939         typo in exact zero test.
4940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4941         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4942         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4943
4944 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4945
4946         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4947         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4948         * sysdeps/arm/sysdep.h: ... here.
4949         [!__ASSEMBLER__]: Include <stdint.h>.
4950
4951 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4952
4953         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4954         (HAVE_WCTYPE_H): Likewise.
4955         (HAVE_ISWCTYPE): Likewise.
4956         (ENABLE_NLS): Likewise.
4957         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4958         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4959
4960         * posix/regex_internal.c: Check if DEBUG is defined and is
4961         set.
4962
4963         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4964         (HAVE_MBSRTOWCS): Likewise.
4965         * posix/fnmatch.c: Include string.h unconditionally.
4966
4967 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4968
4969         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4970         reversal.
4971
4972 2014-07-31  Roland McGrath  <roland@hack.frob.com>
4973
4974         * sysdeps/generic/safe-fatal.h: New file.
4975         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4976         * nptl/forward.c: Include it.
4977         (__pthread_unwind): Use __safe_fatal as default action, rather
4978         than a bogus use of INTERNAL_SYSCALL that could never work.
4979
4980         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4981         * configure.ac (libc_cv_builtin_trap): New test.
4982         * configure: Regenerated.
4983         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4984         (ABORT_INSTRUCTION): Define using __builtin_trap.
4985
4986         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4987         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4988         * sysdeps/nptl/nptl-signals.h: New file.
4989         * nptl/pthreadP.h: Include <nptl-signals.h>.
4990
4991 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4992
4993         * sysdeps/s390/s390-64/utf16-utf32-z9.c
4994         (ONE_DIRECTION): Define.
4995         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4996         (ONE_DIRECTION): Define.
4997         * sysdeps/s390/s390-64/utf8-utf32-z9.c
4998         (ONE_DIRECTION): Define.
4999
5000 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5001
5002         * sysdeps/s390/Makefile: Delete file.
5003         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5004         * sysdeps/s390/__longjmp.c: Delete file.
5005         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5006         Remove fields __flags and __reserved.
5007         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5008         and add versioning.
5009         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5010         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5011         * sysdeps/s390/rtld-setjmp.S: Likewise.
5012         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5013         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5014         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5015         * sysdeps/s390/s390-32/setjmp.S: ... here.
5016         Add versioning.
5017         (__sigsetjmp): Remove setting __flags field.
5018         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5019         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5020         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5021         * sysdeps/s390/s390-64/setjmp.S: ... here.
5022         Add versioning.
5023         (__sigsetjmp): Remove setting __flags field.
5024         * sysdeps/s390/setjmp.S: Delete file.
5025         * sysdeps/s390/sigjmp.c: Likewise.
5026         * sysdeps/s390/v1-longjmp.c: Likewise.
5027         * sysdeps/s390/v1-setjmp.h: Likewise.
5028         * sysdeps/s390/v1-sigjmp.c: Likewise.
5029         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5030         Remove v1-longjmp_chk.
5031         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5032         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5033         Include debug/longjmp_chk.c and add versioning.
5034         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5035         Include nptl/pt-longjmp.c and add versioning.
5036         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5037         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5038         Include __longjmp.c.
5039         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5040         Move to ...
5041         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5042         (__getcontext): Remove setting __flags field.
5043         Add versioning.
5044         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5045         Don't restore upper high grps.
5046         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5047         Likewise.
5048         (__swapcontext): Remove setting uc_flags field.
5049         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5050         Delete file.
5051         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5052         Include __longjmp.c.
5053         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5054         Move to ...
5055         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5056         (__getcontext): Remove setting __flags field.
5057         Add versioning.
5058         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5059         (__swapcontext): Remove setting uc_flags field.
5060         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5061         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5062         Remove fields uc_high_gprs and __reserved.
5063         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5064         New file with reverted content.
5065         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5066         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5067         Regenerated.
5068         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5069         Regenerated.
5070
5071 2014-07-31  Andreas Schwab  <schwab@suse.de>
5072
5073         * config.h.in (HAVE_IFUNC): Define to 0.
5074         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5075         definedness.
5076
5077 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5078
5079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5080         memmove-avx-unaligned, memcpy-avx-unaligned and
5081         mempcpy-avx-unaligned.
5082         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5083         Add tests for AVX memcpy functions.
5084         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5085         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5086         memcpy_chk.
5087         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5088         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5089         memmove_chk.
5090         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5091         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5092         mempcpy_chk.
5093         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5094         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5095         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5096
5097 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5098
5099         [BZ #17213]
5100         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5101         powerpc64le.
5102
5103 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5104
5105         [BZ #16839]
5106         * manual/llio.texi: Add section about open file description locks.
5107         * manual/examples/ofdlocks.c: Example of open file description
5108         lock usage.
5109         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5110         F_OFD_SETLK, and F_OFD_SETLKW.
5111
5112 2014-07-23  Allan McRae  <allan@archlinux.org>
5113
5114         * po/es.po: Update Spanish translation from translation project.
5115
5116 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5117
5118         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5119
5120 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5121
5122         [BZ #17078]
5123         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5124         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5125         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5126
5127 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5128
5129         [BZ #17088]
5130         * math/fesetenv.c (__fesetenv)
5131         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5132         * math/feupdateenv.c (__feupdateenv)
5133         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5134
5135         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5136         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5137         (__ASSUME_SOCKETCALL): Do not define.
5138
5139         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5140         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5141         (__ASSUME_SOCKETCALL): Do not define.
5142         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5143         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5144         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5145         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5146         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5147         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5148         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5149         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5150
5151         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5152         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5153         (__ASSUME_SOCKETCALL): Do not define.
5154         (__ASSUME_IPC64): Define unconditionally.
5155         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5156         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5157         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5158         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5159         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5160         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5161         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5162         Likewise.
5163
5164         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5165         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5166         (__ASSUME_SOCKETCALL): Do not define.
5167         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5168         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5169         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5170         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5171         (__ASSUME_REQUEUE_PI): Define unconditionally.
5172         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5173         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5174         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5175         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5176         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5177         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5178
5179         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5180         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5181         (__ASSUME_SOCKETCALL): Do not define.
5182         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5183         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5184         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5185         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5186         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5187         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5188
5189         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5190         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5191         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5192         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5193         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5194         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5195         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5196         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5197         (__ASSUME_GETCPU_SYSCALL): Likewise.
5198
5199         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5200         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5201         cases for individual architectures.
5202         * sysdeps/gnu/configure: Regenerated.
5203         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5204         LIBC_SLIBDIR_RTLDDIR.
5205         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5206         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5207         LIBC_SLIBDIR_RTLDDIR.
5208         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5210         LIBC_SLIBDIR_RTLDDIR.
5211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5212         Regenerated.
5213         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5214         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5215         file.
5216         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5217         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5218         file.
5219         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5220         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5221         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5222         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5223
5224         * sysdeps/aarch64/shlib-versions: Move to ...
5225         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5226         * sysdeps/alpha/shlib-versions: Move to ...
5227         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5228         * sysdeps/arm/shlib-versions: Move to ...
5229         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5230         * sysdeps/hppa/shlib-versions: Move all contents except for
5231         libgcc_s entry to ...
5232         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5233         entry from ...
5234         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5235         * sysdeps/ia64/shlib-versions: Move to ...
5236         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5237         entry from ...
5238         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5239         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5240         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5241         * sysdeps/microblaze/shlib-versions: Move to ...
5242         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5243         * sysdeps/mips/shlib-versions: Move to ...
5244         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5245         entry from ...
5246         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5247         * sysdeps/tile/shlib-versions: Move to ...
5248         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5249         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5250         from ...
5251         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5252         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5253         entry from ...
5254         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5255
5256 2014-07-17  Will Newton  <will.newton@linaro.org>
5257
5258         * sysdeps/arm/bits/atomic.h
5259         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5260         (__arch_compare_and_exchange_bool_16_int): Likewise.
5261         (__arch_compare_and_exchange_bool_64_int): Likewise.
5262
5263         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5264         into an #else block.
5265
5266 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5267
5268         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5269         just Linux configurations.  Test empirically that the compiler sets
5270         __ARM_EABI__, rather than using the tuple to decide.
5271         * sysdeps/arm/preconfigure: Regenerated.
5272         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5273         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5274         contents appended ...
5275         * sysdeps/arm/configure.ac: ... here.
5276         * sysdeps/arm/configure: Regenerated.
5277
5278 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5279
5280         * nptl/pthread_kill.c: New file.
5281         * nptl/pthread_sigmask.c: New file.
5282         * nptl/pthread_sigqueue.c: New file.
5283
5284         * sysdeps/nptl/lowlevellock.h: New file.
5285         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5286         * sysdeps/nptl/lowlevellock-futex.h: New file.
5287
5288         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5289         Remove dead declarations.
5290
5291 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5292
5293         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5294         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5295         config-cflags-avx2.
5296         * sysdeps/x86_64/configure.ac: Likewise.
5297         * sysdeps/i386/configure: Regenerated.
5298         * sysdeps/x86_64/configure: Likewise.
5299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5300         memset-avx2 only if config-cflags-avx2 is yes.
5301         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5302         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5303         defined.
5304         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5305         only if HAVE_AVX2_SUPPORT is defined.
5306         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5307
5308 2014-07-14  Alan Modra  <amodra@gmail.com>
5309
5310         [BZ #17153]
5311         * elf/elf.h (DT_PPC64_NUM): Correct value.
5312         * NEWS: Add to fixed bug list.
5313
5314 2014-07-13  Jim Meyering  <meyering@fb.com>
5315
5316         [BZ 17150]
5317         regex: don't deref NULL upon heap allocation failure
5318         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5319         failure in one more place.
5320         To trigger the segfault, configure grep -with-included-regex,
5321         build it, and run these commands:
5322         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5323
5324 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5325
5326         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5327
5328 2014-07-11  Richard Henderson  <rth@redhat.com>
5329
5330         * sysdeps/aarch64/libm-test-ulps: Update.
5331
5332 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5333
5334         [BZ #17135]
5335         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5336         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5337         (__nptl_setxid): Initialize error member.  Call
5338         __nptl_setxid_error.
5339         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5340         * nptl/descr.h (struct xid_command): Add error member.
5341         * nptl/tst-setuid3.c: New file.
5342         * nptl/Makefile (tests): Add it.
5343
5344 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5345
5346         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5347         New define.
5348         (__lll_trylock): Use __lll_base_trylock.
5349         (__lll_cond_trylock): Likewise.
5350
5351 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5352
5353         * nptl/pthread_create.c (start_thread): Use atomic_or and
5354         lll_futex_wake directly rather than lll_robust_dead.
5355         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5356         (lll_robust_dead): Macro removed.
5357         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5358         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5359         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5360         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5361         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5362         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5363         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5364         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5365         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5366         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5367         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5368         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5369         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5370         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5371         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5372
5373         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5374         Use atomic_compare_and_exchange_val_acq directly rather than
5375         lll_robust_trylock.
5376         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5377         (__lll_robust_trylock, lll_robust_trylock): Removed.
5378         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5379         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5380         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5381         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5382         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5383         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5384         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5385         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5386         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5387         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5388         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5389         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5390         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5391         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5392
5393 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5394
5395         * manual/locale.texi (Locale Names): New section documenting
5396         locale name syntax.  Adjust menu and node chaining accordingly.
5397         (Choosing Locale): Reference Locale Names, Locale Categories.
5398         Mention setting LC_ALL=C.  Reflect that name syntax is now
5399         documented.
5400         (Locale Categories): New section title.  Reference Locale Names.
5401         LC_ALL is an environment variable, but not a category.
5402         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5403         description, now in Locale Name.  Reference that section.  Locale
5404         name syntax is now documented.
5405
5406 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5407
5408         [BZ #17137]
5409         * locale/findlocale.c (name_present, valid_locale_name): New
5410         functions.
5411         (_nl_find_locale): Use the loc_name variable to store name
5412         candidates.  Call name_present and valid_locale_name to check and
5413         validate locale names.  Return an error if the locale is invalid.
5414
5415 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5416
5417         * locale/setlocale.c (setlocale): Use strdup for allocating
5418         composite name copy.
5419
5420 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5421
5422         Sync up with gnulib.
5423         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5424         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5425         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5426         and _GL_ARG_NONNULL.
5427         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5428         [!_LIBC]: Include code for Windows and Cygwin.
5429         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5430         Include prototype for int strerror_r.
5431         [!_LIBC] (is_open): New function.
5432         (flush_stdout): New function.
5433         (print_errno_message): Use it.
5434         (error): Likewise.
5435         (error_at_line): Likewise.
5436         (error_tail) Add function attribute macros.  Use
5437         __builtin_expect.
5438
5439         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5440
5441         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5442
5443         * io/ftw.c: Include sys/param.h unconditionally.
5444
5445         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5446
5447         [BZ #17125]
5448         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5449         libc_freeres_ptr.
5450         (freecache): New function to free CACHE on exit.
5451
5452         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5453         initialization.
5454
5455 2014-07-09  David S. Miller  <davem@davemloft.net>
5456
5457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5458
5459         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5460         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5461         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5462         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5463         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5464         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5465         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5466         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5467         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5468         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5469         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5470         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5471         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5472
5473 2014-07-09  Andreas Schwab  <schwab@suse.de>
5474
5475         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5476         output.
5477         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5478         (do_test): Likewise.
5479
5480         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5481
5482 2014-07-09  Will Newton  <will.newton@linaro.org>
5483
5484         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5485         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5486         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5487         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5488         * sysdeps/hppa/start.S (_start): Likewise.
5489
5490 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5491
5492         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5493
5494         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5495         defined.
5496
5497 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5498
5499         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5500         after checking that it is non-NULL.
5501
5502         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5503
5504 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5505
5506         * sysdeps/powerpc/memmove.c: Remove file.
5507         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5508         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5509         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5510         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5511         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5512         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5513         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5514         string memmove instead of removed powerpc one.
5515
5516         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5517         [weak_alias]: Fix compiler warning due trailing data.
5518         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5519         [weak_alias]: Likewise.
5520         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5521         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5522
5523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5524         (__libc_ifunc_impl_list): Add memmove functions.
5525
5526 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5527
5528         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5529         Remove code.
5530         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5531         Likewise
5532         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5533         Likewise
5534         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5535         Likewise
5536         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5537         Likewise
5538         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5539         Likewise
5540         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5541         Likewise
5542         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5543         Likewise
5544         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5545         Likewise
5546         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5547         Likewise
5548         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5549         Likewise
5550         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5551         Likewise
5552         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5553         Likewise
5554         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5555         Likewise
5556         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5557         Likewise
5558         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5559         Likewise
5560         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5561         Likewise
5562
5563 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5564
5565         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5566         to avoid alignment traps in non-cacheable memory.
5567         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5568
5569         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5570         multiarch objects.
5571         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5572         file: multiarch power7 memmove.
5573         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5574         multiarch default memmove.
5575         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5576         multiarch memove for powerpc32/power4.
5577
5578         * string/bcopy.c: Use full path to include memmove.c.
5579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5580         multiarch objects.
5581         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5582         bcopy for powerpc64.
5583         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5584         bcopy for powerpc64.
5585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5586         and memmove implementations.
5587         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5588         optimized multiarch memmove for POWER7/powerpc64.
5589         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5590         default multiarch memmove for powerpc64.
5591         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5592         multiarch for powerpc64.
5593         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5594         for POWER7/powerpc64.
5595         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5596         memmove for POWER7/powerpc64.
5597
5598         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5599         glibc default one.
5600
5601         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5602         __ELF_NATIVE_CLASS equal to 64.
5603
5604 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5605
5606         * sysdeps/nptl/lowlevellock.h: File removed.
5607
5608         * NEWS: NPTL is no longer an add-on!
5609         * nptl/internaltypes.h: Moved ...
5610         * sysdeps/nptl/internaltypes.h: ... here.
5611         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5612         * sysdeps/nptl/fork.c: Likewise.
5613         * sysdeps/nptl/gai_misc.h: Likewise.
5614         * sysdeps/nptl/librt-cancellation.c: Likewise.
5615         * sysdeps/nptl/jmp-unwind.c: Likewise.
5616         * sysdeps/nptl/setxid.h: Likewise.
5617         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5618         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5619         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5620         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5621         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5622         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5623         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5624         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5625         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5626         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5627         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5628         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5629         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5630         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5631         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5632         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5633         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5634         * nptl/Makeconfig: Moved ...
5635         * sysdeps/nptl/Makeconfig: ... here.
5636         * nptl/configure: File removed.
5637         * nptl/ANNOUNCE: File removed.
5638         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5639         * sysdeps/unix/sysv/linux/configure: Regenerated.
5640
5641         * nptl/Makefile (routines): Add libc_pthread_init,
5642         libc_multiple_threads, register-atfork and unregister-atfork.
5643         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5644         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5645         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5646         pthread-pi-defines.sym, structsem.sym.
5647         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5648         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5649         [$(subdir) = nptl] (tests): Add tst-setgetname.
5650         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5651         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5652         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5653         [!LIBC_SIGACTION]: Remove aliases.
5654         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5655         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5656         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5657         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5658         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5659         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5660         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5661         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5662         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5663         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5664         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5665         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5666         __libc_allocate_rtsig_private.
5667         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5668         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5669         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5670         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5671         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5672         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5673         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5674         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5675         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5676         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5677         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5678         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5679         * nptl/internaltypes.h: ... here.
5680         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5681         * sysdeps/nptl/jmp-unwind.c: ... here.
5682         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5683         * nptl/libc-lowlevellock.c: ... here.
5684         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5685         * nptl/libc_multiple_threads.c: ... here.
5686         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5687         * nptl/libc_pthread_init.c: ... here.
5688         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5689         * nptl/lowlevelbarrier.sym: ... here.
5690         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5691         * nptl/lowlevelcond.sym: ... here.
5692         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5693         * nptl/lowlevellock.c: ... here.
5694         * nptl/lowlevellock.h: Moved ...
5695         * sysdeps/nptl/lowlevellock.h: ... here.
5696         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5697         * nptl/lowlevelrobustlock.c: ... here.
5698         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5699         * nptl/lowlevelrobustlock.sym: ... here.
5700         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5701         * nptl/lowlevelrwlock.sym: ... here.
5702         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5703         * nptl/pt-fork.c: ... here.
5704         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5705         * nptl/pthread-pi-defines.sym: ... here.
5706         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5707         * nptl/pthread_attr_getaffinity.c: ... here.
5708         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5709         * nptl/pthread_attr_setaffinity.c: ... here.
5710         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5711         * nptl/pthread_mutex_cond_lock.c: ... here.
5712         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5713         Update #include.
5714         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5715         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5716         * nptl/pthread_once.c: ... here, replacing old file.
5717         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5718         * nptl/pthread_yield.c: ... here.
5719         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5720         * nptl/register-atfork.c: ... here.
5721         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5722         * nptl/sem_post.c: ... here.
5723         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5724         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5725         * nptl/sem_timedwait.c: ... here.
5726         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5727         * nptl/sem_trywait.c: ... here.
5728         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5729         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5730         * nptl/sem_wait.c: ... here.
5731         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5732         * nptl/structsem.sym: ... here.
5733         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5734         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5735         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5736         * nptl/unregister-atfork.c: ... here.
5737         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5738         * nptl/unwindbuf.sym: ... here.
5739         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5740         * sysdeps/nptl/fork.c: ... here.
5741         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5742         * sysdeps/nptl/fork.h: ... here.
5743         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5744         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5745         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5746         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5747         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5748         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5749         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5750         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5751         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5752         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5753         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5754         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5755         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5756         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5757         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5758         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5759         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5760         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5761         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5762         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5763         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5764         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5765         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5766         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5767         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5768         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5769         * sysdeps/unix/sysv/linux/raise.c: ... here.
5770         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5771         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5772         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5773         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5774         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5775         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5776         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5777         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5778         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5779         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5780         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5781         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5782         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5783         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5784         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5785
5786 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5787
5788         * sysdeps/generic/memcopy.h: Add comment for
5789         MEMCPY_OK_FOR_FWD_MEMMOVE.
5790
5791 2014-07-04  Will Newton  <will.newton@linaro.org>
5792
5793         * string/memchr.c: Merge from gnulib.
5794         [_LIBC]: Remove conditionals.
5795         (__ptr_t): Remove define.
5796         (LONG_MAX_32_BITS): Likewise.
5797         (LONG_MAX): Likewise.
5798         (MEMCHR): Use ANSI prototype and optimize algorithm.
5799
5800         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5801
5802 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5803
5804         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5805         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5806
5807         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5808         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5809         in a bare environment with no <stdlib.h> installed.
5810         * sysdeps/nptl/configure: Regenerated.
5811
5812         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5813
5814         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5815         AC_EGREP_CPP for kernel header checks, so they only succeed if
5816         including <linux/version.h> actually works right.
5817         * sysdeps/unix/sysv/linux/configure: Regenerated.
5818
5819         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5820         value so it's not diagnosed as unused.
5821
5822         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5823         thing) with "ifeq ($(subdir),rt)".
5824
5825 2014-07-03  Richard Henderson  <rth@redhat.com>
5826
5827         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5828         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5829         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5830
5831         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5832         (math_force_eval): New.
5833
5834         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5835         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5836
5837         * sysdeps/alpha/fpu/s_round.c: Remove file.
5838         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5839
5840         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5841         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5842         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5843         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5844         (_dl_start, print_statistics): Likewise.
5845         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5846         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5847
5848         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5849         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5850         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5851         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5852         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5853         (HP_SMALL_TIMING_AVAIL): Define.
5854         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5855         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5856         (HP_SMALL_TIMING_AVAIL): Define.
5857         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5858         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5859
5860         * sysdeps/aarch64/hp-timing.h: New file.
5861
5862         * sysdeps/generic/hp-timing.h: Remove dead comment.
5863         * sysdeps/generic/hp-timing-common.h: New file.
5864         * sysdeps/alpha/hp-timing.h: Include it.
5865         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5866         * sysdeps/i386/i686/hp-timing.h: Likewise.
5867         * sysdeps/ia64/hp-timing.h: Likewise.
5868         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5869         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5870         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5871         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5872         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5873         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5874         (hp_timing_t): New.
5875
5876         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5877         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5878         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5879         * elf/rtld.c (_dl_start_final): Likewise.
5880         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5881         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5882         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5883         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5884         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5885         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5886         (HP_TIMING_DIFF_INIT): Remove.
5887         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5888         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5889         (HP_TIMING_DIFF_INIT): Remove.
5890         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5891         * sysdeps/i386/i686/hp-timing.c: Remove file.
5892         * sysdeps/x86_64/hp-timing.c: Remove file.
5893         * sysdeps/ia64/hp-timing.c: Remove file.
5894         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5895         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5896         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5897         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5898
5899         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5900         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5901         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5902         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5903         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5904         (HP_TIMING_ACCUM): Remove.
5905         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5906         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5907         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5908
5909         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5910         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5911         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5912         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5913         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5914         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5915         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5916         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5917
5918         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5919
5920 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
5921
5922         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5923
5924 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5925
5926         Sync up with gettext.
5927         * intl/loadmsgcat.c: Define O_BINARY if not defined.
5928         [_MSC_VER]: Include malloc.h
5929         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5930         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5931         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
5932         TEMP_FAILURE_RETRY.  Cast return of alloca.
5933         [!_LIBC] Call gl_rwlock_init.
5934         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5935
5936 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5937
5938         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5939         before checking its value.
5940
5941 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5942
5943         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5944
5945         * debug/memcpy_chk.c: Don't include pagecopy.h.
5946         * debug/mempcpy_chk.c: Likewise.
5947         * string/memcpy.c: Likewise.
5948         * string/memmove.c: Likewise.
5949         * sysdeps/powerpc/memmove.c: Likewise.
5950         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
5951         definition of PAGE_COPY_FWD_MAYBE here...
5952         * sysdeps/generic/pagecopy.h: ... from here.
5953         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5954
5955 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5956             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5957
5958         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5960         optimizations.
5961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5962         (__libc_ifunc_impl_list): Likewise.
5963         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5964         multiarch strcat for PPC64.
5965         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5966         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5967
5968 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5969
5970         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5971
5972 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5973
5974         * intl/loadmsgcat.c: Remove declaration of
5975         get_sysdep_segment_value.
5976         (get_sysdep_segment_value): Use ISO C style.
5977         (_nl_load_domain): Use ISO C style.  Get rid of redundant
5978         semicolon.  Fix typo and formatting in comment.
5979         (_nl_unload_domain): Use ISO C style.
5980
5981         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5982
5983 2014-07-02  Will Newton  <will.newton@linaro.org>
5984
5985         * malloc/obstack.c: Merge from gnulib master.
5986         [HAVE_CONFIG_H]: Remove conditional code.
5987         [!_LIBC]: Include config.h.
5988         [!ELIDE_CODE]: Don't include inttypes.h, include
5989         stdint.h unconditionally.
5990         (print_and_abort): Mark as _Noreturn.
5991         (_obstack_allocated_p): Mark as __attribute_pure__.
5992         (obstack_free): Rename to __obstack_free.
5993         [!__attribute__]: Remove conditional code.
5994         * malloc/obstack.h: Merge from gnulib master.
5995         [__cplusplus]: Move conditional down.
5996         [!__attribute_pure__]: Define __attribute_pure__ here
5997         if it is not already defined.
5998         (_obstack_memory_used): Mark as __attribute_pure__.
5999         [!__obstack_free]: Define as obstack_free.
6000         [__GNUC__]: Remove check for ancient NeXT gcc.
6001
6002 2014-07-02  Will Newton  <will.newton@linaro.org>
6003             Paul Eggert  <eggert@cs.ucla.edu>
6004
6005         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6006
6007 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6008
6009         * resolv/gethnamaddr.c: Add comment warning that the file is
6010         not maintained.
6011
6012 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6013
6014         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6015         entries.
6016
6017         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6018         entry for aio_cancel and aio_cancel64.
6019         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6020         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6021         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6022         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6023         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6024         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6025         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6026         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6027         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6028         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6029         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6030         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6031         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6032
6033 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6034
6035         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6036         * nptl/pthread_mutex_lock.c: Likewise.
6037         * nptl/pthread_mutex_timedlock.c: Likewise.
6038         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6039
6040 2014-07-01  Richard henderson  <rth@redhat.com>
6041
6042         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6043         (__isnan, __isnanl): Remove.
6044         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6045
6046         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6047
6048 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6049
6050         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6051
6052 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6053
6054         * resolv/nss_dns/dns-host.c (getanswer_r)
6055         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6056
6057 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6058
6059         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6060         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6061         undefine.
6062         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6063         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6064
6065 2014-07-01  Roland McGrath <roland@hack.frob.com>
6066
6067         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6068         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6069
6070         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6071         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6072
6073         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6074         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6075         ... here.
6076         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6077         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6078
6079         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6080         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6081         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6082         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6083
6084         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6085         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6086         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6087         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6088         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6089         Moved ...
6090         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6091         ... here.
6092         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6093         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6094         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6095         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6096         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6097         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6098         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6099         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6100         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6101         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6102         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6103         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6104         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6105         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6106         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6107         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6108         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6109         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6110         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6111         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6112         ... here.
6113         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6114         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6115         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6116         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6117         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6118         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6119         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6120         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6121
6122 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6123
6124         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6125         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6126         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6127         Add sysdep.
6128
6129 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6130
6131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6132
6133 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6134
6135         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6136         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6137
6138         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6139
6140         * sysdeps/arm/libm-test-ulps: Regenerated.
6141
6142 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6143             Roland McGrath <roland@hack.frob.com>
6144
6145         * test-skeleton.c (signal_handler): Kill the whole process group
6146         before killing the child individually.
6147         (main): Report any failure on `setpgid'.
6148
6149 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6150
6151         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6152         from _TLS_H to _ARM_NPTL_TLS_H.
6153         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6154         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6155
6156 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6157
6158         [BZ #16539]
6159         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6160         (__expm1l): Return argument unchanged when small but not
6161         subnormal.
6162
6163         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6164         include macro name.
6165         (_FP_UNPACK_RAW_1_P): Likewise.
6166         (_FP_PACK_RAW_1): Likewise.
6167         (_FP_PACK_RAW_1_P): Likewise.
6168         (_FP_MUL_MEAT_1_wide): Likewise.
6169         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6170         (_FP_MUL_MEAT_1_hard): Likewise.
6171         (_FP_DIV_MEAT_1_imm): Likewise.
6172         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6173         (_FP_DIV_MEAT_1_udiv): Likewise.
6174         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6175         (_FP_UNPACK_RAW_2): Likewise.
6176         (_FP_UNPACK_RAW_2_P): Likewise.
6177         (_FP_PACK_RAW_2): Likewise.
6178         (_FP_PACK_RAW_2_P): Likewise.
6179         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6180         (_FP_MUL_MEAT_2_wide): Likewise.
6181         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6182         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6183         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6184         (_FP_MUL_MEAT_2_gmp): Likewise.
6185         (_FP_DIV_MEAT_2_udiv): Likewise.
6186         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6187         (_FP_FRAC_SRL_4): Likewise.
6188         (_FP_FRAC_SRST_4): Likewise.
6189         (_FP_FRAC_SRS_4): Likewise.
6190         (_FP_UNPACK_RAW_4): Likewise.
6191         (_FP_UNPACK_RAW_4_P): Likewise.
6192         (_FP_PACK_RAW_4): Likewise.
6193         (_FP_PACK_RAW_4_P): Likewise.
6194         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6195         (_FP_MUL_MEAT_4_wide): Likewise.
6196         (_FP_MUL_MEAT_4_gmp): Likewise.
6197         (umul_ppppmnnn): Likewise.
6198         (_FP_DIV_MEAT_4_udiv): Likewise.
6199         (__FP_FRAC_ADD_4): Likewise.
6200         (__FP_FRAC_SUB_3): Likewise.
6201         (__FP_FRAC_SUB_4): Likewise.
6202         (__FP_FRAC_DEC_3): Likewise.
6203         (__FP_FRAC_DEC_4): Likewise.
6204         (__FP_FRAC_ADDI_4): Likewise.
6205         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6206         (_FP_FRAC_SRL_8): Likewise.
6207         (_FP_FRAC_SRS_8): Likewise.
6208
6209         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6210         include macro name.
6211         (FP_UNPACK_RAW_EP): Likewise.
6212         (FP_PACK_RAW_E): Likewise.
6213         (FP_PACK_RAW_EP): Likewise.
6214         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6215         (_FP_ISSIGNAN): Likewise.
6216         (_FP_ADD_INTERNAL): Likewise.
6217         (_FP_FMA): Likewise.
6218         (_FP_CMP): Likewise.
6219         (_FP_SQRT): Likewise.
6220         (_FP_TO_INT): Likewise.
6221         (_FP_FROM_INT): Likewise.
6222         (FP_EXTEND): Likewise.
6223         (_FP_DIV_MEAT_N_loop): Likewise.
6224
6225 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6226
6227         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6228         throughout.
6229
6230 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6231
6232         [BZ #17097]
6233         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6234         result with correct sign in case of exponents that produce
6235         overflow except for X very close to 1.
6236
6237 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6238
6239         mktime: merge #if/#ifdef usage from glibc
6240         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6241         as that works with both Glibc's and Gnulib's style.
6242         See thread starting at Siddhesh Poyarekar's bug report at:
6243         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6244
6245 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6246
6247         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6248         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6249         * sysdeps/tile/tilegx/memmove.c: Remove file.
6250
6251 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6252
6253         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6254         abi-name definition.
6255         * scripts/soversions.awk: Do not handle or generate ABI lines.
6256         * shlib-versions: Remove ABI entries.
6257         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6258         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6259
6260 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6261
6262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6263         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6264         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6265         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6267         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6268         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6269         Moved ...
6270         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6271         ... here.
6272         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6273         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6274         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6275         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6276         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6277         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6278         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6279         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6280         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6281         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6283         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6285         Moved ...
6286         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6287         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6288         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6289         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6290         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6292         Moved ...
6293         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6295         Moved ...
6296         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6298         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6300         Moved ...
6301         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6303         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6305         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6307         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6309         Moved ...
6310         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6311         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6312         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6313         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6314         Moved ...
6315         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6317         Moved ...
6318         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6319         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6320         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6321         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6322         Moved ...
6323         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6324         ... here.
6325         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6326         Identical file removed.
6327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6328         Moved ...
6329         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6330         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6331         Identical file removed.
6332         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6333         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6334         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6335         Moved ...
6336         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6337         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6338         Identical file removed.
6339         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6340         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6341         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6342         Identical file removed.
6343         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6344         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6345         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6346         Identical file removed.
6347         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6348         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6349         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6350         Identical file removed.
6351         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6352         Moved ...
6353         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6354         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6355         Identical file removed.
6356         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6357         Moved ...
6358         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6360         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6361         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6362         Identical file removed.
6363         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6364         Moved ...
6365         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6366         ... here.
6367         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6368         Identical file removed.
6369         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6370         Moved ...
6371         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6372         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6373         Identical file removed.
6374         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6375         Moved ...
6376         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6377         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6378         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6379         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6380         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6381         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6382         Moved ...
6383         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6384         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6385         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6386
6387         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6388         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6389         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6390         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6391         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6392
6393 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6394
6395         [BZ #17092]
6396         * nscd/nscd.c (monitor_child): Return exit status of child
6397         instead of return value from wait syscall.
6398
6399 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6400
6401         * configure.ac (libc_commonpagesize): Remove variable.
6402         (libc_relro_required): Likewise.
6403         (libc_cv_z_relro): Remove configure test.
6404         * configure: Regenerated.
6405         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6406         variable.
6407         (libc_relro_required): Likewise.
6408         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6409         (libc_relro_required): Likewise.
6410         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6411         (libc_relro_required): Likewise.
6412         * sysdeps/arm/preconfigure: Regenerated.
6413         * sysdeps/ia64/preconfigure: Remove file.
6414         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6415         variable.
6416         (libc_relro_required): Likewise.
6417
6418         [BZ #16561]
6419         [BZ #16562]
6420         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6421         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6422         recompute overflowing results in original rounding mode.
6423         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6424         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6425         recompute overflowing results in original rounding mode.
6426         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6427         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6428         recompute overflowing results in original rounding mode.
6429         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6430         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6431         recompute overflowing results in original rounding mode.
6432         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6433         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6434         recompute overflowing results in original rounding mode.
6435         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6436         (libc_feholdsetround_ctx): New macro.
6437         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6438         * sysdeps/i386/fpu/libm-test-ulps: Update.
6439         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6440
6441 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6442
6443         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6444         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6445         corresponding .cpsetup call.
6446
6447 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6448
6449         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6450         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6451         * sysdeps/arm/Makefile [$(subdir) = csu]
6452         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6453         (static-only-routines): Add aeabi_read_tp here.
6454         (shared-only-routines): Add libc-aeabi_read_tp here.
6455         (CFLAGS-libc-start.c): Add -fexceptions here.
6456         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6457         (sysdep_routines, static-only-routines, shared-only-routines):
6458         Don't add to these here.
6459         (CFLAGS-libc-start.c): Likewise.
6460
6461         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6462         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6463         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6464         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6465         * sysdeps/arm/Makefile [$(subdir) = rt]
6466         (librt-sysdep_routines, librt-shared-only-routines):
6467         Append rt-aeabi_unwind_cpp_pr1 here.
6468         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6469         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6470         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6471         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6472         Append nptl-aeabi_unwind_cpp_pr1 here.
6473         (tests): Filter out tst-cleanupx4 here.
6474         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6475         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6476         Don't do those here.
6477
6478 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6479
6480         * scripts/list-sources.sh: Do not handle ports specially.
6481
6482 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6483
6484         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6485         * sysdeps/arm/feupdateenv.c: Likewise.
6486
6487         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6488
6489 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6490
6491         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6492         trailing whitespace removed.
6493         * scripts/config.guess: Update to version 2014-03-23.
6494         * scripts/config.sub: Update to version 2014-05-01
6495         * scripts/install-sh: Update to version 2013-12-25.23.
6496         * scripts/move-if-change: Update from gnulib.
6497
6498 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6499
6500         * debug/memmove_chk.c: Remove pagecopy.h include.
6501
6502 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6503
6504         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6505         identical to gnulib mktime.
6506
6507 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6508
6509         * configure.ac: Do not test for machine being rs6000.  Do not test
6510         for powerpc*-*soft.
6511         * configure: Regenerated.
6512
6513         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6514         test.
6515         * configure: Regenerated.
6516         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6517         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6518         Remove configure test.
6519         * sysdeps/arm/configure: Regenerated.
6520         * sysdeps/nptl/configure.ac: Do not check
6521         libc_cv_asm_cfi_directives.
6522         * sysdeps/nptl/configure: Regenerated.
6523         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6524         * sysdeps/x86_64/nptl/configure: Remove generated file.
6525         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6526         unconditional.
6527         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6528
6529 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6530
6531         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6532         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6533         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6534         it is defined.
6535
6536         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6537         instead of whether it is defined.
6538         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6539         * sysdeps/hppa/dl-machine.h: Likewise.
6540         * sysdeps/ia64/dl-machine.h: Likewise.
6541         * sysdeps/m68k/dl-machine.h: Likewise.
6542         * sysdeps/microblaze/dl-machine.h: Likewise.
6543         * sysdeps/mips/dl-machine.: Likewise.
6544         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6545         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6546         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6547         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6548         * sysdeps/sh/dl-machine.h: Likewise.
6549         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6550         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6551         * sysdeps/tile/dl-machine.h: Likewise.
6552         * sysdeps/x86_64/dl-machine.h: Likewise.
6553
6554         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6555         code.
6556         (verify_persistent_db): Likewise.
6557
6558 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6559
6560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6561         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6563         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6565         Moved ...
6566         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6567         ... here.
6568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6569         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6571         Identical file removed.
6572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6573         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6575         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6577         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6579         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6581         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6583         Moved ...
6584         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6586         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6588         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6590         Moved ...
6591         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6593         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6595         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6597         Identical file removed.
6598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6599         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6601         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6603         Moved ...
6604         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6605         ... here.
6606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6607         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6609         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6611         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6613         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6615         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6617         Moved ...
6618         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6620         Moved ...
6621         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6623         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6625         Moved ...
6626         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6628         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6629
6630         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6631         folded into ...
6632         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6633         * sysdeps/unix/sysv/linux/s390/Versions
6634         (libpthread: GLIBC_2.19): New version set.
6635         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6636         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6637         (librt: GLIBC_2.3.3): New version set.
6638         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6639         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6640         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6641         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6642         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6643         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6644         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6645         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6646         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6647         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6648         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6649         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6650         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6651         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6652         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6653         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6654         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6655         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6656         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6657         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6658         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6659         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6660         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6661         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6662         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6663         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6664         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6665         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6666         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6667         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6668         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6669         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6670         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6671         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6672         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6673         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6674         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6675         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6676         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6678         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6679         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6680         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6681         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6682         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6683
6684         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6685         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6686         (__libc_vfork): Define the function under this name.
6687         [!NOT_IN_libc] (__vfork): Make this an alias.
6688         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6689         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6690         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6691         (__libc_vfork): Define the function under this name.
6692         [!NOT_IN_libc] (__vfork): Make this an alias.
6693         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6694         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6695         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6697         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6698         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6699
6700         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6701         code that was previously under [RESET_PID].
6702         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6703         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6704         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6705
6706         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6707         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6708         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6709         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6710         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6711         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6712         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6713         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6714         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6715         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6716         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6717         Moved ...
6718         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6719         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6720         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6721         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6722         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6723         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6724         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6725         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6726         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6727         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6728         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6729         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6730         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6731         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6732         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6733         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6734         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6735         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6736         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6737         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6738         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6739         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6740         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6741         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6742         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6743         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6744         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6745         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6746         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6747
6748 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6749
6750         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6751         that was previously under [RESET_PID].
6752         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6753
6754 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6755
6756         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6757         not undefine and redefine.
6758         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6759         [O_CLOEXEC]: Make code unconditional.
6760         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6761         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6762         <kernel-features.h>.
6763         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6764         conditional variable definition.
6765         (shm_open) [O_CLOEXEC]: Make code unconditional.
6766         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6767         code.
6768
6769         * configure.ac (USE_REGPARMS): Don't define here.
6770         * configure: Regenerated.
6771         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6772         * sysdeps/i386/configure: Regenerated.
6773
6774         * nptl/createthread.c: Don't include kernel-features.h.
6775         * nptl/pthread_cancel.c: Likewise.
6776         * nptl/pthread_condattr_setclock.c: Likewise.
6777         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6778         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6779         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6780         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6781         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6782         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6783         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6784         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6785         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6786         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6787         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6788         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6789         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6790         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6791         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6792         * nscd/gai.c: Likewise.
6793         * nss/nss_db/db-open.c: Likewise.
6794         * sysdeps/generic/ldsodefs.h: Likewise.
6795         * sysdeps/sh/nptl/tls.h: Likewise.
6796         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6797         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6798         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6799         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6800         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6801         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6802         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6803         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6804         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6805         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6806         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6807         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6808         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6809         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6810         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6811         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6812         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6813         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6814         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6815         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6816         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6817         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6818         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6819         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6821         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6822         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6823         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6824         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6825         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6826         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6827         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6828         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6829         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6830         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6831         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6832         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6833         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6834         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6835         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6836         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6837         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6838         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6839         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6840         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6841         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6842         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6843         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6844         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6845         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6846         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6847         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6848         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6849         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6850         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6851         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6852         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6853         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6876         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6877         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6878         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6879         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6880         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6881         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6882         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6883         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6884         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6885         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6886         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6887         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6888         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6889         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6890         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6891         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6892         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6893         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6894         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6895         * sysdeps/unix/sysv/linux/system.c: Likewise.
6896         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6897         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6898         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6899         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6900         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6901         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6902         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6903
6904         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6905         * configure: Regenerated.
6906         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6907
6908         * configure.ac (base_machine): Do not set specially for particular
6909         machines here.
6910         * configure: Regenerated.
6911         * sysdeps/powerpc/preconfigure: Move machine and base_machine
6912         settings from configure.ac.
6913         * sysdeps/i386/preconfigure: New file.
6914         * sysdeps/s390/preconfigure: Likewise.
6915         * sysdeps/sh/preconfigure: Likewise.
6916         * sysdeps/sparc/preconfigure: Likewise.
6917
6918 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6919
6920         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6921         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6922         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6923         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6924         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6925         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6926         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6927         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6928         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6929         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6930         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6931         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6932         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6933         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6934         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6935         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6936         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6937         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6938         * sysdeps/sparc/sparc64/Makefile: ... appended here.
6939
6940         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6941         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6942         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6943         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6944         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6945         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6946         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6947         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6948         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6949         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6950         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6951         * sysdeps/sparc/sparc32/sem_post.c: ... here.
6952         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6953         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6954         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6955         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6956         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6957         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6958         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6959         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6960         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6961         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6962         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6963         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6964         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6965         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6966         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6967         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6968         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6969         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6970         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6971         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6972         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6973         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6974         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6975         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6976         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6977         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6978
6979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6980         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6982         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6984         Moved ...
6985         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6986         ... here.
6987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6988         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6990         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6992         Moved ...
6993         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6995         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6997         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6999         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7001         Moved ...
7002         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7004         Moved ...
7005         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7007         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7009         Moved ...
7010         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7012         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7014         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7016         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7018         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7020         Moved ...
7021         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7022         ... here.
7023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7024         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7026         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7028         Moved ...
7029         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7031         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7033         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7035         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7037         Moved ...
7038         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7040         Moved ...
7041         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7043         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7045         Moved ...
7046         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7048         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7050         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7051
7052 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7053
7054         * timezone/checktab.awk: Update from tzcode 2014e.
7055         * timezone/private.h: Likewise.
7056         * timezone/tzfile.h: Likewise.
7057         * timezone/zdump.c: Likewise.
7058         * timezone/zic.c: Likewise.
7059
7060         * sysdeps/unix/sysv/linux/kernel-features.h
7061         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7062         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7063         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7064         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7065         Remove conditional code.
7066
7067 2014-06-25  Will Newton  <will.newton@linaro.org>
7068
7069         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7070         (_dl_arm_cap_flags): Add HWCAP2 values.
7071         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7072         (_DL_HWCAP_COUNT): Increase to 37.
7073         (_DL_HWCAP_LAST): New define.
7074         (_DL_HWCAP2_LAST): New define.
7075         (_dl_procinfo): Add support for printing
7076         AT_HWCAP2 entries.
7077         (_dl_string_hwcap): Use _dl_hwcap_string.
7078
7079 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7080
7081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7082
7083 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7084
7085         * README: Do not mention ports directory.
7086
7087         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7088         Remove macro.
7089         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7090         <kernel-features.h>.
7091         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7092         conditional variable definition.
7093         (__futimes): Update comment.
7094         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7095         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7096
7097         [BZ #16560]
7098         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7099         arguments close to 0.
7100         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7101         Likewise.
7102         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7103         Likewise.
7104         * math/auto-libm-test-in: Add more tests of exp10.
7105         * math/auto-libm-test-out: Regenerated.
7106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7107
7108         * sysdeps/unix/sysv/linux/kernel-features.h
7109         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7110         * sysdeps/unix/sysv/linux/readv.c: Do not include
7111         <kernel-features.h>.
7112         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7113         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7114         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7115         unconditional.
7116         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7117         conditional code.
7118         * sysdeps/unix/sysv/linux/writev.c: Do not include
7119         <kernel-features.h>.
7120         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7121         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7122         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7123         unconditional.
7124         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7125         conditional code.
7126
7127 2014-06-25  Will Newton  <will.newton@linaro.org>
7128
7129         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7130         comment changes throughout the file.  Remove checks
7131         for HAVE_*_H definitions that are not required.
7132         (__gen_tempname): Call abort if an unknown kind value is
7133         passed.
7134
7135 2014-06-25  Andreas Schwab  <schwab@suse.de>
7136
7137         [BZ #17086]
7138         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7139         scalbln, scalblnf, scalblnl in libc.
7140
7141 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7142
7143         [BZ #17086]
7144         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7145         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7146         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7147
7148 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7149
7150         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7151         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7152         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7153         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7154         Update #include.
7155         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7156         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7157         Update #include.
7158         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7159         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7160         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7161         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7162         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7163         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7164         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7165         * sysdeps/x86/bits/semaphore.h: ... here.
7166         * sysdeps/x86/nptl/elide.h: Moved ...
7167         * sysdeps/x86/elide.h: ... here.
7168         * sysdeps/x86_64/nptl/Implies: File removed.
7169         * sysdeps/i386/nptl/Implies: File removed.
7170
7171 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7172
7173         [BZ #16539]
7174         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7175         return the argument for normal arguments with exponent below -64.
7176         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7177         Likewise.
7178         * math/auto-libm-test-in: Add another test of expm1.
7179         * math/auto-libm-test-out: Regenerated.
7180
7181         [BZ #16287]
7182         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7183         calling __erfcl for arguments at least 16.
7184         * math/auto-libm-test-in: Add more tests of erf.
7185         * math/auto-libm-test-out: Regenerated.
7186
7187         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7188         individual architectures.
7189         * sysdeps/unix/sysv/linux/configure: Regenerated.
7190         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7191         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7192         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7193         (ldd_rewrite_script): Define variable.
7194         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7196         file.
7197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7198         generated file.
7199         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7200         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7201         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7202         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7203         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7204         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7205         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7206         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7207
7208 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7209
7210         [BZ #17084]
7211         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7212         Rename member __data.d to __data.__elision_data.
7213
7214 2014-06-24  Wilco  <wdijkstr@arm.com>
7215
7216         * NEWS: Add 16918 to fixed bug list.
7217
7218 2014-06-24  Wilco  <wdijkstr@arm.com>
7219
7220         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7221
7222 2014-06-24  Wilco  <wdijkstr@arm.com>
7223
7224         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7225         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7226         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7227         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7228         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7229         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7230         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7231         Use _FPU_MASK_RM.
7232
7233 2014-06-24  Wilco  <wdijkstr@arm.com>
7234
7235         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7236
7237 2014-06-24  Wilco  <wdijkstr@arm.com>
7238
7239         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7240         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7241         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7242         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7243
7244 2014-06-24  Wilco  <wdijkstr@arm.com>
7245
7246         [BZ #16918]
7247         * sysdeps/arm/feupdateenv.c (feupdateenv):
7248         Rewrite to reduce FPSCR accesses and fix return value.
7249
7250 2014-06-24  Wilco  <wdijkstr@arm.com>
7251
7252         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7253         Optimize to avoid unnecessary FPSCR writes.
7254         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7255         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7256         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7257         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7258
7259 2014-06-24  Wilco  <wdijkstr@arm.com>
7260
7261         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7262         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7263         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7264         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7265         Call libc_fetestexcept_vfp.
7266         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7267         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7268         __SOFTFP__ ifdef so that they can be built for softfp.
7269
7270 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7271
7272         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7273         argument type signed char.
7274
7275         * Makerules (check-abi): Dump diff of symlist if the test
7276         fails.
7277
7278 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7279
7280         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7281         using abort.
7282
7283         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7284         Remove unused variable ST.
7285
7286 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7287
7288         [BZ #16354]
7289         [BZ #17061]
7290         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7291         small arguments before calling __expm1.
7292         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7293         small arguments before calling __expm1f.
7294         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7295         small arguments before calling __expm1l.
7296         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7297         Likewise.
7298         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7299         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7300         spurious underflow for some cosh tests.
7301         * math/auto-libm-test-out: Regenerated.
7302         * sysdeps/i386/fpu/libm-test-ulps: Update.
7303
7304         [BZ #17050]
7305         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7306         (__ieee754_y1): Set errno if return value overflows.
7307         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7308         (__ieee754_y1f): Set errno if return value overflows.
7309         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7310         (__ieee754_y1l): Set errno if return value overflows.
7311         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7312         (__ieee754_y1l): Set errno if return value overflows.
7313         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7314         * math/auto-libm-test-out: Regenerated.
7315
7316         * math/gen-auto-libm-tests.c: Document use of
7317         ignore-zero-inf-sign.
7318         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7319         (input_flags): Add ignore-zero-inf-sign.
7320         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7321         * math/gen-libm-test.pl (generate_testfile): Handle
7322         ignore-zero-inf-sign.
7323         * math/auto-libm-test-in: Mark some cpow tests with
7324         ignore-zero-inf-sign and some with xfail-rounding.
7325         * math/auto-libm-test-out: Regenerated.
7326         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7327         * sysdeps/i386/fpu/libm-test-ulps: Update.
7328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7329
7330         [BZ #16315]
7331         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7332         overflowing or underflowing operations take place with sign of
7333         result.
7334         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7335         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7336         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7337         (__ieee754_pow): Recompute overflowing and underflowing results in
7338         original rounding mode.
7339         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7340         (__powl_helper): Allow negative argument X and scale negated value
7341         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7342         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7343         overflowing or underflowing operations take place with sign of
7344         result.
7345         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7346         Include <math.h>.
7347         * math/auto-libm-test-in: Add more tests of pow.
7348         * math/auto-libm-test-out: Regenerated.
7349         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7350         (pow_tonearest_test_data): Remove.
7351         (pow_test_tonearest): Likewise.
7352         (pow_towardzero_test_data): Likewise.
7353         (pow_test_towardzero): Likewise.
7354         (pow_downward_test_data): Likewise.
7355         (pow_test_downward): Likewise.
7356         (pow_upward_test_data): Likewise.
7357         (pow_test_upward): Likewise.
7358         (main): Don't call removed functions.
7359         * sysdeps/i386/fpu/libm-test-ulps: Update.
7360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7361
7362 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7363
7364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7365         Moved ...
7366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7368         Moved ...
7369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7371         Moved ...
7372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7374         Moved ...
7375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7377         File removed.
7378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7379         File removed.
7380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7381         File removed.
7382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7383         File removed.
7384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7385         File removed.
7386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7387         File removed.
7388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7389         File removed.
7390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7391         File removed.
7392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7393         File removed.
7394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7395         File removed.
7396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7397         File removed.
7398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7399         File removed.
7400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7401         Moved ...
7402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7404         Moved ...
7405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7406         ... here.
7407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7408         Moved ...
7409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7411         Moved ...
7412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7414         Moved ...
7415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7417         Moved ...
7418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7420         Moved ...
7421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7423         Moved ...
7424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7426         Moved ...
7427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7430         ... here.
7431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7432         Moved ...
7433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7435         Moved ...
7436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7437         ... here.
7438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7439         Moved ...
7440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7441         ... here.
7442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7443         Moved ...
7444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7445         ... here.
7446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7447         Moved ...
7448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7450         Moved ...
7451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7455         Moved ...
7456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7457         ... here.
7458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7459         Moved ...
7460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7461         ... here.
7462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7463         Moved ...
7464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7466         Moved ...
7467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7469         Moved ...
7470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7472         Moved ...
7473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7475         Moved ...
7476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7477         ... here.
7478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7479         Moved ...
7480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7482         Moved ...
7483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7485         Moved ...
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7488         Moved ...
7489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7493         Moved ...
7494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7496         Moved ...
7497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7499         Moved ...
7500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7501         ... here.
7502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7503         Moved ...
7504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7505         ... here.
7506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7507         Moved ...
7508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7509         ... here.
7510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7511         Moved ...
7512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7514         Moved ...
7515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7517         Moved ...
7518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7520         Moved ...
7521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7522         ... here.
7523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7524         Moved ...
7525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7526         ... here.
7527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7528         Moved ...
7529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7530         ... here.
7531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7532         Moved ...
7533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7535         Moved ...
7536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7537
7538 2014-06-23  Will Newton  <will.newton@linaro.org>
7539             Wilco  <wdijkstr@arm.com>
7540
7541         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7542         implementation.  Include get-rounding-mode.h.
7543         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7544         [!libc_feholdsetround_noex_ctx]: Define
7545         libc_feholdsetround_noex_ctx.
7546         [!libc_feholdsetround_noexf_ctx]: Define
7547         libc_feholdsetround_noexf_ctx.
7548         [!libc_feholdsetround_noexl_ctx]: Define
7549         libc_feholdsetround_noexl_ctx.
7550         (libc_feholdsetround_ctx): New function.
7551         (libc_feresetround_ctx): New function.
7552         (libc_feholdsetround_noex_ctx): New function.
7553         (libc_feresetround_noex_ctx): New function.
7554
7555 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7556
7557         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7558         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7559         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7560         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7561         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7562         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7563
7564         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7565         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7566         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7567         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7568         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7569         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7570         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7571         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7572         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7573         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7574         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7575         Moved ...
7576         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7577         ... here.
7578         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7579         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7580         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7581         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7582         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7583         Moved ...
7584         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7585         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7586         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7587         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7588         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7589         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7590         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7591         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7592         Moved ...
7593         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7594         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7595         Moved ...
7596         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7597         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7598         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7600         Moved ...
7601         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7602         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7603         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7604         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7605         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7606         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7607         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7608         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7609         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7610         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7611         Moved ...
7612         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7613         ... here.
7614         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7615         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7616         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7617         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7618         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7619         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7620         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7621         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7622         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7623         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7624         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7625         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7626         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7627         Moved ...
7628         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7629         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7630         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7631         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7632         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7633         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7634         Moved ...
7635         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7636         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7637         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7638         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7639         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7640
7641         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7642         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7643         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7644         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7645         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7646         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7647         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7648         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7649         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7650         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7651         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7652         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7653         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7654         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7655         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7656         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7657         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7658         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7659         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7660         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7661         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7662         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7663         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7664         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7665         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7666         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7667         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7668         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7669
7670 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7671
7672         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7673         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7674         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7675         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7676         (IPV6_PMTUDISC_INTERFACE): Likewise.
7677         (IPV6_PMTUDISC_OMIT): Likewise.
7678
7679 2014-06-23  Andreas Schwab  <schwab@suse.de>
7680
7681         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7682         Remove unused errout label.
7683
7684 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7685
7686         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7687         macro: hardware supports Vector Crypto instructions.
7688
7689 2014-06-23  Will Newton  <will.newton@linaro.org>
7690
7691         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7692         rather than __builtin_expect.
7693
7694         * elf/dl-lookup.c (undefined_msg): Remove variable.
7695         (_dl_lookup_symbol_x): Replace undefined_msg with string
7696         literal.
7697
7698         * elf/dl-lookup.c (do_lookup_unique): New function.
7699         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7700         to a separate function.
7701
7702 2014-06-23  Andreas Schwab  <schwab@suse.de>
7703
7704         [BZ #17079]
7705         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7706         before reading the next line.
7707
7708 2014-06-23  Will Newton  <will.newton@linaro.org>
7709
7710         * test-skeleton.c (signal_handler): Use printf and %m
7711         rather than perror.  Use printf rather than fprintf to
7712         stderr.  Use puts rather than fputs to stderr.
7713         (main): Likewise.
7714
7715 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7716
7717         * nscd/nscd.c (thread_info_t): Remove typedef.
7718         (thread_info): Remove variable.
7719
7720 2014-06-21  Allan McRae  <allan@archlinux.org>
7721
7722         * NEWS: Mention CVE-2014-4043.
7723
7724 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7725
7726         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7727         * nptl/smp.h: ... here.
7728
7729         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7730
7731         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7732         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7733         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7734         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7735
7736         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7737         * nptl/stack-aliasing.h: New file.
7738         * sysdeps/i386/i686/stack-aliasing.h: New file.
7739         * sysdeps/i386/i686/nptl/Makefile: File removed.
7740         * sysdeps/x86_64/stack-aliasing.h: New file.
7741         * sysdeps/x86_64/nptl/Makefile
7742         (CFLAGS-pthread_create.c): Variable removed.
7743
7744         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7745         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7746         old file.
7747         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7748         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7749         old file.
7750
7751 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7752
7753         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7754         (__ASSUME_SIGFRAME_V2): Remove macro.
7755         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7756         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7757         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7758         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7759         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7760         Declare as function.  Remove conditional macro definitions.
7761         (__default_rt_sa_restorer): Likewise.
7762         (__default_sa_restorer_v1): Remove declaration.
7763         (__default_sa_restorer_v2): Likewise.
7764         (__default_rt_sa_restorer_v1): Likewise.
7765         (__default_rt_sa_restorer_v2): Likewise.
7766         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7767         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7768         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7769
7770 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7771
7772         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7773         (libpthread-routines): Add sysdep.
7774         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7775         * sysdeps/unix/sysv/linux/sparc/Versions
7776         (libpthread: GLIBC_2.3.3): New version set.
7777         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7778         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7779         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7780         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7781         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7782         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7783         Moved ...
7784         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7785         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7786         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7787         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7788         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7789         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7790         * sysdeps/sparc/nptl/sem_init.c: ... here.
7791         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7792         * sysdeps/sparc/nptl/sem_post.c: ... here.
7793         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7794         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7795         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7796         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7797         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7798         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7799         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7800         (libpthread-routines): Add cpu_relax.
7801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7802         File removed.
7803         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7804         (librt: GLIBC_2.3.3): New version set.
7805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7806         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7807         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7808         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7811         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7813         Moved ...
7814         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7816         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7818         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7820         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7822         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7824         Moved ...
7825         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7826         Update #include.
7827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7828         Moved ...
7829         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7830         Update #include.
7831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7832         Moved ...
7833         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7834         Update #include.
7835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7836         Moved ...
7837         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7838         Update #include.
7839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7840         Moved ...
7841         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7842         Update #include.
7843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7844         Moved ...
7845         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7846         Update #include.
7847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7848         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7850         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7852         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7854         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7856         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7858         Moved ...
7859         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7861         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7863         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7864
7865 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7866
7867         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7868         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7869         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7870         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7871         * nscd/nscd.c: Likewise.
7872         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7873         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7874         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7875         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7876
7877         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7878         <kernel-features.h>.
7879         (init_mq_netlink): Remove conditional have_sock_cloexec
7880         definitions.  Remove code conditional on have_sock_cloexec < 0.
7881         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7882         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7883         * sysdeps/unix/sysv/linux/opensock.c: Do not include
7884         <kernel-features.h>.
7885         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7886         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7887
7888 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7889
7890         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7891         Add tests for memset_chk and memset.
7892
7893         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7894         with AVX2_Usable.
7895
7896 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7897
7898         [BZ #16046]
7899         * elf/tst-dl-iter-static.c: New file.
7900         * elf/Makefile (tests-static): Add tst-dl-iter-static.
7901
7902         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7903         error.
7904
7905 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7906
7907         * sysdeps/unix/sysv/linux/kernel-features.h
7908         (__ASSUME_F_GETOWN_EX): Remove macro.
7909         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7910         <kernel-features.h>.
7911         (miss_F_GETOWN_EX): Remove variable or macro.
7912         (do_fcntl): Do not check miss_F_GETOWN_EX.
7913         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7914
7915         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7916         Remove macro.
7917         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7918         [!__ASSUME_AT_RANDOM]: Remove conditional code.
7919         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7920
7921         * sysdeps/unix/sysv/linux/kernel-features.h
7922         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7923         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7924         [ADJ_OFFSET_SS_READ]: Make code unconditional.
7925         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7926
7927 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7928
7929         [BZ #17075]
7930         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7931         Fix calculation of the symbol's value.
7932         * sysdeps/arm/tst-armtlsdescloc.c: New file.
7933         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7934         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7935         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7936         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7937         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7938         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7939         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7940         (modules-names): Add `tst-armtlsdescmod',
7941         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7942         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7943         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7944         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7945         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7946         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7947         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7948         ($(objpfx)tst-armtlsdescloc): New dependency.
7949         ($(objpfx)tst-armtlsdescextnow): Likewise.
7950         ($(objpfx)tst-armtlsdescextlazy): Likewise.
7951         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7952         TLS scheme support.
7953         * sysdeps/arm/configure: Regenerate.
7954
7955 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7956
7957         * include/fcntl.h (__atfct_seterrno): Remove prototype.
7958         (__atfct_seterrno_2): Likewise.
7959         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7960         <kernel-features.h>.
7961         (__ASSUME_ATFCTS): Do not undefine and redefine.
7962         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7963         (__have_atfcts): Remove conditional definition.
7964         (__fxstatat([__NR_fstatat64]: Make code unconditional.
7965         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7966         unreachable if [__ASSUME_ATFCTS].
7967         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7968         not undefine and redefine.
7969         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7970         <kernel-features.h>.
7971         (faccessat) [__NR_faccessat]: Make code unconditional.
7972         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7973         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7974         <kernel-features.h>.
7975         (fchmodat) [__NR_fchmodat]: Make code unconditional.
7976         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7977         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7978         <kernel-features.h>.
7979         (fchownat) [__NR_fchownat]: Make code unconditional.
7980         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7981         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7982         <kernel-features.h>.
7983         (futimesat) [__NR_futimesat]: Make code unconditional.
7984         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7985         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7986         <kernel-features.h>.
7987         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7988         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7989         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7990         <kernel-features.h>.
7991         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7992         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7993         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7994         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7995         <kernel-features.h>.
7996         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7997         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7998         * sysdeps/unix/sysv/linux/linkat.c: Do not include
7999         <kernel-features.h>.
8000         (linkat) [__NR_linkat]: Make code unconditional.
8001         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8002         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8003         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8004         <kernel-features.h>.
8005         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8006         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8007         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8008         <kernel-features.h>.
8009         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8010         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8011         * sysdeps/unix/sysv/linux/openat.c: Do not include
8012         <kernel-features.h>.
8013         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8014         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8015         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8016         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8017         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8018         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8019         <kernel-features.h>.
8020         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8021         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8022         result of INLINE_SYSCALL directly, not via int variable.
8023         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8024         <kernel-features.h>.
8025         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8026         (renameat) [__NR_renameat]: Make code unconditional.
8027         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8028         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8029         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8030         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8031         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8032         (__ASSUME_ATFCTS): Do not undefine and redefine.
8033         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8034         <kernel-features.h>.
8035         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8036         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8037         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8038         <kernel-features.h>.
8039         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8040         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8041         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8042         (__ASSUME_ATFCTS): Do not undefine and redefine.
8043         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8044         <kernel-features.h>.
8045         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8046         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8047         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8048         <kernel-features.h>.
8049         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8050         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8051
8052 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8053
8054         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8055
8056 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8057
8058         [BZ #17069]
8059         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8060         constructed tree before returning error.
8061         * posix/bug-regexp36.c: Expand test case.
8062
8063 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8064
8065         [BZ #6803]
8066         * math/libm-test.inc (scalbln_test_date):
8067         Add errno expectations.
8068         * math/w_scalblnf.c: New File.
8069         Add wrapper which checks for setting errno to ERANGE.
8070         Add weak_alias for corresponding scalbln function.
8071         * math/w_scalbln.c: Likewise.
8072         * math/w_scalblnl.c: Likewise.
8073         * math/Makefile (libm-calls): Add w_scalbln.
8074         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8075         Remove weak_alias for corresponding scalbln function.
8076         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8077         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8078         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8079         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8080         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8081         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8082         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8083         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8084         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8085         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8086         Remove long_double_symbol for scalblnl function in libm, libc.
8087         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8088         Add wrapper which checks for setting errno to ERANGE.
8089         Add long_double_symbol for scalblnl function in libm, libc.
8090         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8091         Remove long_double_symbol for scalblnl in libm.
8092         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8093         Add wrapper which checks for setting errno to ERANGE.
8094         Add long_double_symbol for scalblnl function in libm.
8095         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8096         Do not use wrapper because of own implementation.
8097
8098 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8099
8100         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8101         3 bytes for __pad1 for x32.
8102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8103
8104 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8105             H.J. Lu  <hongjiu.lu@intel.com>
8106
8107         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8108         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8109         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8110         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8111         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8112
8113 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8114
8115         [BZ #17069]
8116         * posix/regcomp.c (parse_expression): Deallocate partially
8117         constructed tree before returning error.
8118         * posix/Makefile.c (tests): Add bug-regex36.
8119         (generated): Add bug-regex36.mtrace.
8120         (tests-special): Add $(objpfx)bug-regex36-mem.out
8121         (bug-regex36-ENV): New variable.
8122         ($(objpfx)bug-regex36-mem.out): New rule.
8123         * posix/bug-regex36.c: New file.
8124
8125 2014-06-19  Will Newton  <will.newton@linaro.org>
8126
8127         * malloc/malloc.c (systrim): If extra is zero then return
8128         early.
8129
8130 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8131
8132         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8133
8134 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8135
8136         * sysdeps/aarch64/strchr.S: New file.
8137
8138 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8139
8140         [BZ #17022]
8141         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8142         from arguments -2 or below.
8143         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8144         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8145
8146 2014-06-18  Andreas Schwab  <schwab@suse.de>
8147
8148         [BZ #17062]
8149         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8150         of a bracket expr not to run off the end of the string.
8151         * posix/Makefile (tests): Add tst-fnmatch3.
8152         * posix/tst-fnmatch3.c: New file.
8153
8154 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8155
8156         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8157         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8158         [$(cross-compiling) = no]: Likewise.
8159         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8160         [$(cross-compiling) = no]: Likewise.
8161
8162 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8163
8164         [BZ #17031]
8165         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8166         double, adjusted for any remainder from the high double.
8167         * math/libm-test.inc (nearbyint): Add tests.
8168         (rint): Likewise.
8169
8170 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8171
8172         * nptl/sysdeps/powerpc/Makefile: Moved ...
8173         * sysdeps/powerpc/nptl/Makefile: ... here.
8174         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8175         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8176         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8177         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8178         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8179         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8180         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8181         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8182         * nptl/sysdeps/powerpc/tls.h: Moved ...
8183         * sysdeps/powerpc/nptl/tls.h: ... here.
8184
8185 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8186
8187         [BZ #16681]
8188         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8189         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8190         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8191         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8192         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8193         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8194         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8195         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8196         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8197
8198 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8199
8200         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8201
8202 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8203
8204         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8205         defined operator.
8206
8207         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8208         $TIMEOUTFACTOR.
8209
8210 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8211
8212         [BZ #17058]
8213         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8214         non-executed part of the test.
8215
8216 2014-06-16  Andreas Schwab  <schwab@suse.de>
8217
8218         * string/bits/string2.h (strdup, strndup): Update feature guard.
8219
8220 2014-06-14  David S. Miller  <davem@davemloft.net>
8221
8222         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8223
8224 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8225
8226         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8227         that was previously under [RESET_PID].
8228         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8229
8230         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8231         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8232         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8233         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8234         (__libc_vfork): New strong alias.
8235         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8236
8237 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8238
8239         * sysdeps/generic/elide.h: New file.
8240
8241 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8242
8243         * Makefile (installed-headers): Adjust path of pthread.h header.
8244
8245 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8246
8247         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8248         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8249         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8250         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8251
8252         * nptl/sysdeps/s390/Makefile: Moved ...
8253         * sysdeps/s390/nptl/Makefile: ... here.
8254         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8255         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8256         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8257         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8258         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8259         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8260         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8261         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8262         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8263         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8264         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8265         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8266         * nptl/sysdeps/s390/tls.h: Moved ...
8267         * sysdeps/s390/nptl/tls.h: ... here.
8268
8269         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8270         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8271
8272 2014-06-13  David S. Miller  <davem@davemloft.net>
8273
8274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8276         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8277         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8280         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8281         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8282         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8283         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8284         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8285         Remove RESET_PID cpp guards.
8286         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8287         Remove RESET_PID cpp guards.
8288         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8289
8290 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8291
8292         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8293         __sp to uintptr_t.
8294
8295 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8296
8297         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8298         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8299         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8300         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8301         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8302         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8303         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8304         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8305         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8306         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8307         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8308         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8309         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8310         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8311         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8312         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8313         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8314         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8315         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8316         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8317
8318         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8319         (pthread_rwlock_rdlock): Add elision.
8320         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8321         (pthread_rwlock_wrlock): Add elision.
8322         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8323         (pthread_rwlock_trywrlock): Add elision.
8324         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8325         (pthread_rwlock_tryrdlock): Add elision.
8326         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8327         (pthread_rwlock_tryrdlock): Add elision unlock.
8328         * nptl/sysdeps/pthread/pthread.h:
8329         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8330         (PTHREAD_RWLOCK_INITIALIZER,
8331         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8332         Handle new elision field.
8333         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8334         * sysdeps/arm/nptl/bits/pthreadtypes.h
8335         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8336         * sysdeps/sh/nptl/bits/pthreadtypes.h
8337         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8338         * sysdeps/tile/nptl/bits/pthreadtypes.h
8339         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8340         * sysdeps/a/nptl/bits/pthreadtypes.h
8341         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8342         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8343         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8344         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8345         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8346         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8347         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8348         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8349         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8350         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8351         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8352         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8353         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8354         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8355         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8356         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8357         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8358         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8359         (elision_init): Set try_xbegin to zero when no RTM.
8360         * sysdeps/x86/nptl/bits/pthreadtypes.h
8361         (pthread_rwlock_t): Change __pad1 to __rwelision.
8362         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8363
8364 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8365
8366         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8367         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8368         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8369         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8370
8371 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8372
8373         [BZ #16996]
8374         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8375         that the cached result has been set before returning it.
8376
8377 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8378
8379         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8380         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8381         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8382         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8383         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8384         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8385
8386         * nptl/sysdeps/sparc/Makefile: Moved ...
8387         * sysdeps/sparc/nptl/Makefile: ... here.
8388         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8389         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8390         * nptl/sysdeps/sparc/tls.h: Moved ...
8391         * sysdeps/sparc/nptl/tls.h: ... here.
8392         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8393         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8394         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8395         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8396         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8397         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8398         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8399         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8400         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8401         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8402         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8403         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8404         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8405         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8406         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8407         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8408         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8409         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8410         Update #include.
8411         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8412         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8413         Update #include.
8414         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8415         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8416         Update #include.
8417         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8418         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8419         Update #include.
8420
8421         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8422
8423         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8424         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8425
8426         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8427         (struct list_links): Type removed.
8428         (struct thread_node, struct timer_node): Replace struct list_links
8429         with struct list_head.
8430         (list_unlink_ip): Likewise.
8431         * sysdeps/pthread/timer_routines.c
8432         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8433         (list_append, list_insbefore): Likewise.
8434         (list_init): Function removed.
8435         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8436         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8437         * sysdeps/pthread/Makefile: ... here, new file.
8438
8439         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8440         * sysdeps/nptl/Implies: ... here.
8441         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8442         * nptl/sysdeps/pthread/list.h: Moved ...
8443         * include/list.h: ... here.
8444         * nptl/sysdeps/pthread/createthread.c: Moved ...
8445         * nptl/createthread.c: ... here.
8446         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8447         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8448         * nptl/pt-longjmp.c: ... here.
8449         * nptl/sysdeps/pthread/Makefile: Moved ...
8450         * sysdeps/nptl/Makefile: ... here.
8451         * nptl/sysdeps/pthread/Subdirs: Moved ...
8452         * sysdeps/nptl/Subdirs: ... here.
8453         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8454         * sysdeps/nptl/aio_misc.h: ... here.
8455         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8456         * sysdeps/nptl/bits/libc-lock.h: ... here.
8457         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8458         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8459         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8460         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8461         * nptl/sysdeps/pthread/configure: Moved ...
8462         * sysdeps/nptl/configure: ... here.
8463         * nptl/sysdeps/pthread/configure.ac: Moved ...
8464         * sysdeps/nptl/configure.ac: ... here.
8465         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8466         * sysdeps/nptl/gai_misc.h: ... here.
8467         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8468         * sysdeps/nptl/librt-cancellation.c: ... here.
8469         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8470         * sysdeps/nptl/malloc-machine.h: ... here.
8471         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8472         * sysdeps/nptl/pthread-functions.h: ... here.
8473         * nptl/sysdeps/pthread/pthread.h: Moved ...
8474         * sysdeps/nptl/pthread.h: ... here.
8475         * nptl/sysdeps/pthread/setxid.h: Moved ...
8476         * sysdeps/nptl/setxid.h: ... here.
8477         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8478         * sysdeps/nptl/sigfillset.c: ... here.
8479         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8480         * sysdeps/nptl/tcb-offsets.h: ... here.
8481         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8482         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8483         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8484         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8485         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8486         * sysdeps/pthread/allocalim.h: ... here.
8487         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8488         * sysdeps/pthread/bits/sigthread.h: ... here.
8489         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8490         * sysdeps/pthread/flockfile.c: ... here.
8491         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8492         * sysdeps/pthread/ftrylockfile.c: ... here.
8493         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8494         * sysdeps/pthread/funlockfile.c: ... here.
8495         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8496         * sysdeps/pthread/posix-timer.h: ... here.
8497         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8498         * sysdeps/pthread/timer_create.c: ... here.
8499         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8500         * sysdeps/pthread/timer_delete.c: ... here.
8501         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8502         * sysdeps/pthread/timer_getoverr.c: ... here.
8503         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8504         * sysdeps/pthread/timer_gettime.c: ... here.
8505         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8506         * sysdeps/pthread/timer_routines.c: ... here.
8507         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8508         * sysdeps/pthread/timer_settime.c: ... here.
8509         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8510         * sysdeps/pthread/tst-timer.c: ... here.
8511         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8512         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8513
8514         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8515         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8516
8517         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8518         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8519         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8520         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8521         Update #include target.
8522         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8523         * sysdeps/i386/i686/nptl/Makefile: ... here.
8524         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8525         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8526         Update #include target.
8527         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8528         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8529         * nptl/sysdeps/i386/Makefile: Moved ...
8530         * sysdeps/i386/nptl/Makefile: ... here.
8531         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8532         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8533         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8534         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8535         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8536         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8537         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8538         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8539         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8540         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8541         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8542         * nptl/sysdeps/i386/tls.h: Moved ...
8543         * sysdeps/i386/nptl/tls.h: ... here.
8544
8545         * sysdeps/sh/Makefile [$(subdir) = csu]
8546         (gen-as-const-headers): Add tcb-offsets.sym.
8547         * nptl/sysdeps/sh/Makefile: File removed.
8548         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8549         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8550         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8551         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8552         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8553         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8554         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8555         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8556         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8557         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8558         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8559         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8560         * nptl/sysdeps/sh/tls.h: Moved ...
8561         * sysdeps/sh/nptl/tls.h: ... here.
8562         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8563         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8564         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8565         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8566         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8567         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8568         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8569         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8570         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8571         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8572         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8573         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8574         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8575         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8576         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8577         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8578         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8579         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8580         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8581         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8582         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8583         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8584         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8585         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8586         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8587         Moved ...
8588         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8589         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8590         Moved ...
8591         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8592         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8593         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8594         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8595         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8596         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8597         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8598         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8599         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8600         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8601         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8602         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8603         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8604         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8605         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8606         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8607         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8608         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8609         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8610
8611 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8612
8613         * posix/spawn_faction_addopen.c: Include string.h.
8614
8615 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8616
8617         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8618         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8619         * nptl/sysdeps/x86_64/Makefile: Moved ...
8620         * sysdeps/x86_64/nptl/Makefile: ... here.
8621         * nptl/sysdeps/x86_64/configure: Moved ...
8622         * sysdeps/x86_64/nptl/configure: ... here.
8623         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8624         * sysdeps/x86_64/nptl/configure.ac: ... here.
8625         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8626         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8627         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8628         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8629         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8630         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8631         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8632         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8633         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8634         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8635         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8636         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8637         * nptl/sysdeps/x86_64/tls.h: Moved ...
8638         * sysdeps/x86_64/nptl/tls.h: ... here.
8639         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8640         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8641         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8642         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8643
8644         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8645
8646 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8647
8648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8649
8650 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8651
8652         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8653         type.
8654         [POSIX] (off_t): Likewise.
8655         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8656         [POSIX] (S_ISBLK): Require macro.
8657         [POSIX] (S_ISCHR): Likewise.
8658         [POSIX] (S_ISDIR): Likewise.
8659         [POSIX] (S_ISFIFO): Likewise.
8660         [POSIX] (S_ISREG): Likewise.
8661         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8662         optional-macro.
8663         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8664         type.
8665         [POSIX] (time_t): Likewise.
8666         [POSIX] (timer_t): Likewise.
8667
8668 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8669
8670         [BZ #17048]
8671         * posix/spawn_int.h (struct __spawn_action): Make the path string
8672         non-const to support deallocation.
8673         * posix/spawn_faction_addopen.c
8674         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8675         * posix/spawn_faction_destroy.c
8676         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8677         path in all spawn_do_open actions.
8678         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8679         posix_spawn_file_actions_addopen.
8680
8681 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8682
8683         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8684         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8685         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8686         conditional code always true.
8687         (__libc_vfork): New alias.
8688
8689 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8690
8691         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8692         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8693
8694         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8695
8696         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8697         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8698
8699         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8700         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8701
8702         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8703         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8704
8705 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8706
8707         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8708         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8709         multiarch strcmp for PPC64.
8710         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8711         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8713         multiarch optimizations.
8714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8715         (__libc_ifunc_impl_list): Likewise.
8716
8717 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8718
8719         * benchtests/scripts/validate_benchout.py: New script.
8720         * benchtests/Makefile (bench-func): Call it.
8721         * benchtests/scripts/benchout.schema.json: New file.
8722
8723 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8724
8725         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8726         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8727         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8728         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8729         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8730         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8731         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8732         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8733         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8734         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8735         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8736         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8737         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8738         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8739         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8740         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8742         Moved ...
8743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8744         ... here.
8745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8746         Moved ...
8747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8749         Moved ...
8750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8751         ... here.
8752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8753         Moved ...
8754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8755         ... here.
8756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8757         Moved ...
8758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8760         Moved ...
8761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8762         ... here.
8763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8764         Moved ...
8765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8766         ... here.
8767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8768         Moved ...
8769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8771         Moved ...
8772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8773         ... here.
8774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8775         Moved ...
8776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8777         ... here.
8778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8779         Moved ...
8780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8781         ... here.
8782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8783         Moved ...
8784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8786         Moved ...
8787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8788         ... here.
8789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8790         Moved ...
8791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8792         ... here.
8793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8794         Moved ...
8795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8796         ... here.
8797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8798         Moved ...
8799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8801         Moved ...
8802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8803         ... here.
8804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8805         Moved ...
8806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8807         ... here.
8808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8809         Moved ...
8810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8812         Moved ...
8813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8814         ... here.
8815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8816         Moved ...
8817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8819         Moved ...
8820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8822         Moved ...
8823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8824         ... here.
8825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8826         Moved ...
8827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8828         ... here.
8829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8830         Moved ...
8831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8832         ... here.
8833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8834         Moved ...
8835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8837         Moved ...
8838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8839         ... here.
8840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8841         Moved ...
8842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8843         ... here.
8844         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8845         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8846         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8847         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8848         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8849         Moved ...
8850         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8851         ... here.
8852         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8853         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8854         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8855         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8857         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8858         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8859         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8860         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8861         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8862         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8863         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8864         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8865         Moved ...
8866         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8867         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8868         Moved ...
8869         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8870         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8871         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8872         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8873         Moved ...
8874         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8875         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8876         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8877         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8878         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8879         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8880         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8881
8882 2014-06-10  Wilco  <wdijkstr@arm.com>
8883
8884         * math/test-fenv-return.c: New file.
8885         * math/Makefile: Add new test test-fenv-return.
8886
8887 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
8888
8889         [BZ #17042]
8890         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8891         when x - 1 is zero.
8892         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8893         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8894         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8895         0.0L for an argument of 1.0L.
8896         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8897         Likewise.
8898         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8899         value when x - 1 is zero.
8900         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8901         * sysdeps/i386/fpu/libm-test-ulps: Update.
8902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8903
8904 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
8905
8906         [BZ #15119]
8907         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8908
8909 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8910
8911         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8912         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8913
8914 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8915
8916         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8917         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8918
8919         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8920         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8921
8922         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8923         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8924
8925         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8926         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8927
8928         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8929         if not already defined.
8930         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8931         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8932         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8933         (TLS_INIT_TP): Use it.
8934         (TLS_DEFINE_INIT_TP): New macro.
8935         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8936
8937 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
8938
8939         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8940         constant.
8941         [POSIX] (IXANY): Likewise.
8942         [POSIX] (OLCUC): Likewise.
8943         [POSIX || POSIX2008] (CBAUD): Do not allow.
8944         [POSIX || POSIX2008] (DEFECHO): Likewise.
8945         [POSIX || POSIX2008] (ECHOCTL): Likewise.
8946         [POSIX || POSIX2008] (ECHOKE): Likewise.
8947         [POSIX || POSIX2008] (ECHOPRT): Likewise.
8948         [POSIX || POSIX2008] (EXTA): Likewise.
8949         [POSIX || POSIX2008] (EXTB): Likewise.
8950         [POSIX || POSIX2008] (FLUSHO): Likewise.
8951         [POSIX || POSIX2008] (LOBLK): Likewise.
8952         [POSIX || POSIX2008] (PENDIN): Likewise.
8953         [POSIX || POSIX2008] (SWTCH): Likewise.
8954         [POSIX || POSIX2008] (VDISCARD): Likewise.
8955         [POSIX || POSIX2008] (VDSUSP): Likewise.
8956         [POSIX || POSIX2008] (VLNEXT): Likewise.
8957         [POSIX || POSIX2008] (VREPRINT): Likewise.
8958         [POSIX || POSIX2008] (VSTATUS): Likewise.
8959         [POSIX || POSIX2008] (VWERASE): Likewise.
8960         (B*): Change to B[0123456789]*.
8961         * conform/data/time.h-data [POSIX || UNIX98]
8962         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8963         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8964         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8965         [POSIX] (tm_*): Do not allow.
8966
8967 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
8968
8969         * Makefile (install): Don't set LANGUAGE.
8970         * Makefile.in (install): Likewise.
8971         * assert/Makefile (test-assert-ENV): Remove variable.
8972         (test-assert-perr-ENV): Likewise.
8973         * elf/Makefile (neededtest4-ENV): Likewise.
8974         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8975         [$(cross-compiling) = no]: Don't set LANGUAGE.
8976         * io/ftwtest-sh (LANG): Remove variable.
8977         * libio/Makefile (tst-widetext-ENV): Likewise.
8978         * manual/install.texi (Running make install): Don't refer to
8979         environment settings for make install.
8980         * INSTALL: Regenerated.
8981         * nptl/tst-tls6.sh: Don't set LANG.
8982         * posix/globtest.sh (LANG): Remove variable.
8983         * string/Makefile (tester-ENV): Likewise.
8984         (inl-tester-ENV): Likewise.
8985         (noinl-tester-ENV): Likewise.
8986         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8987         [$(cross-compiling) = no]: Don't set LANGUAGE.
8988         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8989         without explicit environment settings.
8990
8991 2014-06-06  Roland McGrath  <roland@hack.frob.com>
8992
8993         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8994         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8995         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8996         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8997
8998 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
8999
9000         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9001         other files in the crypt directory.
9002         * crypt/crypt.c: Remove duplicate includes.
9003         * crypt/crypt-entry.c: Likewise.
9004         * crypt/crypt_util.c: Likewise.
9005
9006 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9007
9008         * Makeconfig (run-program-env): New variable.
9009         (run-program-prefix-before-env): Likewise.
9010         (run-program-prefix-after-env): Likewise.
9011         (run-program-prefix): Define in terms of new variables.
9012         (built-program-cmd-before-env): New variable.
9013         (built-program-cmd-after-env): Likewise.
9014         (built-program-cmd): Define in terms of new variables.
9015         (test-program-prefix-before-env): New variable.
9016         (test-program-prefix-after-env): Likewise.
9017         (test-program-prefix): Define in terms of new variables.
9018         (test-program-cmd-before-env): New variable.
9019         (test-program-cmd-after-env): Likewise.
9020         (test-program-cmd): Define in terms of new variables.
9021         * Rules (make-test-out): Use $(run-program-env).
9022         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9023         (help): Do not mention environment variables.  Mention
9024         --timeoutfactor option.
9025         (timeoutfactor): New variable.
9026         (blacklist_exports): Remove function.
9027         (exports): Remove variable.
9028         (command): Do not include ${exports}.
9029         * manual/install.texi (Configuring and compiling): Do not mention
9030         test wrappers preserving environment variables.  Mention that last
9031         assignment to a variable must take precedence.
9032         * INSTALL: Regenerated.
9033         * benchtests/Makefile (run-bench): Use $(run-program-env).
9034         * catgets/Makefile ($(objpfx)test1.cat): Use
9035         $(built-program-cmd-before-env), $(run-program-env) and
9036         $(built-program-cmd-after-env).
9037         ($(objpfx)test2.cat): Do not specify environment variables
9038         explicitly.
9039         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9040         $(run-program-env) and $(built-program-cmd-after-env).
9041         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9042         $(run-program-env) and $(test-program-cmd-after-env).
9043         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9044         explicitly.
9045         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9046         run_program_env and test_program_cmd_after_env arguments.
9047         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9048         * elf/tst-pathopt.sh: Use run_program_env argument.
9049         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9050         $(test-wrapper-env) and $(run-program-env).
9051         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9052         run_program_env arguments.
9053         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9054         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9055         $(test-program-prefix-before-env), $(run-program-env) and
9056         $(test-program-prefix-after-env).
9057         ($(objpfx)tst-gettext2.out): Likewise.
9058         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9059         run_program_env and test_program_prefix_after_env arguments.
9060         * intl/tst-gettext2.sh: Likewise.
9061         * intl/tst-gettext4.sh: Do not set environment variables
9062         explicitly.
9063         * intl/tst-gettext6.sh: Likewise.
9064         * intl/tst-translit.sh: Likewise.
9065         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9066         $(test-program-prefix-before-env), $(run-program-env) and
9067         $(test-program-prefix-after-env).
9068         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9069         run_program_env and test_program_prefix_after_env arguments.
9070         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9071         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9072         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9073         explicitly with each use of ${test_wrapper_env}.
9074         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9075         $(test-program-prefix-before-env), $(run-program-env) and
9076         $(test-program-prefix-after-env).
9077         * posix/tst-getconf.sh: Do not set environment variables
9078         explicitly.
9079         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9080         run_program_env and test_program_prefix_after_env arguments.
9081         * stdio-common/tst-printf.sh: Do not set environment variables
9082         explicitly.
9083         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9084         $(test-program-prefix-before-env), $(run-program-env) and
9085         $(test-program-prefix-after-env).
9086         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9087         run_program_env and test_program_prefix_after_env arguments.
9088         Split $test calls into $test_pre and $test.
9089         * timezone/Makefile (build-testdata): Use
9090         $(built-program-cmd-before-env), $(run-program-env) and
9091         $(built-program-cmd-after-env).
9092
9093 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9094
9095         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9096         strlen for non SHARED builds.
9097
9098 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9099
9100         * nptl/allocatestack.c (check_list): Inlined function...
9101         (__reclaim_stacks): ... here.
9102
9103 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9104
9105         [BZ #15698]
9106         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9107         memory overrun.
9108
9109 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9110
9111         * Rules (make-test-out): Include
9112         LOCPATH=$(common-objpfx)localedata in default environment.
9113         * debug/Makefile (tst-chk1-ENV): Remove variable.
9114         (tst-chk2-ENV): Likewise.
9115         (tst-chk3-ENV): Likewise.
9116         (tst-chk4-ENV): Likewise.
9117         (tst-chk5-ENV): Likewise.
9118         (tst-chk6-ENV): Likewise.
9119         (tst-lfschk1-ENV): Likewise.
9120         (tst-lfschk2-ENV): Likewise.
9121         (tst-lfschk3-ENV): Likewise.
9122         (tst-lfschk4-ENV): Likewise.
9123         (tst-lfschk5-ENV): Likewise.
9124         (tst-lfschk6-ENV): Likewise.
9125         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9126         (tst-iconv7-ENV): Likewise.
9127         * intl/Makefile (LOCPATH-ENV): Likewise.
9128         (tst-codeset-ENV): Likewise.
9129         (tst-gettext3-ENV): Likewise.
9130         (tst-gettext5-ENV): Likewise.
9131         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9132         (tst-fopenloc-ENV): Likewise.
9133         (tst-fgetws-ENV): Remove variable.
9134         (tst-ungetwc1-ENV): Likewise.
9135         (tst-ungetwc2-ENV): Likewise.
9136         (bug-ungetwc2-ENV): Likewise.
9137         (tst-swscanf-ENV): Likewise.
9138         (bug-ftell-ENV): Likewise.
9139         (tst-fgetwc-ENV): Likewise.
9140         (tst-fseek-ENV): Likewise.
9141         (tst-ftell-partial-wide-ENV): Likewise.
9142         (tst-ftell-active-handler-ENV): Likewise.
9143         (tst-ftell-append-ENV): Likewise.
9144         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9145         (tst-regexloc-ENV): Likewise.
9146         (bug-regex1-ENV): Likewise.
9147         (tst-regex-ENV): Likewise.
9148         (tst-regex2-ENV): Likewise.
9149         (bug-regex5-ENV): Likewise.
9150         (bug-regex6-ENV): Likewise.
9151         (bug-regex17-ENV): Likewise.
9152         (bug-regex18-ENV): Likewise.
9153         (bug-regex19-ENV): Likewise.
9154         (bug-regex20-ENV): Likewise.
9155         (bug-regex22-ENV): Likewise.
9156         (bug-regex23-ENV): Likewise.
9157         (bug-regex25-ENV): Likewise.
9158         (bug-regex26-ENV): Likewise.
9159         (bug-regex30-ENV): Likewise.
9160         (bug-regex32-ENV): Likewise.
9161         (bug-regex33-ENV): Likewise.
9162         (bug-regex34-ENV): Likewise.
9163         (bug-regex35-ENV): Likewise.
9164         (tst-rxspencer-ENV): Likewise.
9165         (tst-rxspencer-no-utf8-ENV): Likewise.
9166         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9167         (tst-sscanf-ENV): Likewise.
9168         (tst-swprintf-ENV): Likewise.
9169         (tst-swscanf-ENV): Likewise.
9170         (test-vfprintf-ENV): Likewise.
9171         (scanf13-ENV): Likewise.
9172         (bug14-ENV): Likewise.
9173         (tst-grouping-ENV): Likewise.
9174         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9175         (tst-strtod3-ENV): Likewise.
9176         (tst-strtod4-ENV): Likewise.
9177         (tst-strtod5-ENV): Likewise.
9178         (testmb2-ENV): Likewise./
9179         * string/Makefile (tst-strxfrm-ENV): Likewise.
9180         (tst-strxfrm2-ENV): Likewise.
9181         (bug-strcoll1-ENV): Likewise.
9182         (test-strcasecmp-ENV): Likewise.
9183         (test-strncasecmp-ENV): Likewise.
9184         * time/Makefile (tst-strptime-ENV): Likewise.
9185         (tst-ftime_l-ENV): Likewise.
9186         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9187         (tst-mbrtowc-ENV): Likewise.
9188         (tst-wcrtomb-ENV): Likewise.
9189         (tst-mbrtowc2-ENV): Likewise.
9190         (tst-c16c32-1-ENV): Likewise.
9191         (tst-mbsnrtowcs-ENV): Likewise.
9192
9193 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9194
9195         * manual/resource.texi (How to get information about the memory
9196         subsystem?): Fix typo.
9197         Reported by Peon de la Parra Ivan <peon@keba.com>
9198
9199 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9200
9201         [BZ #16882]
9202         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9203         (pthread_spin_lock): Branch out of spin loop to proper location.
9204         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9205         (pthread_spin_lock): Likewise.
9206
9207         * nptl/tst-spin4.c: New test.
9208         * nptl/Makefile (tests): Add tst-spin4.
9209
9210 2014-06-03  Andreas Schwab  <schwab@suse.de>
9211
9212         [BZ #15946]
9213         * resolv/res_send.c (send_dg): Reload file descriptor after
9214         calling reopen.
9215
9216 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9217
9218         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9219
9220 2014-06-03  Richard Henderson  <rth@redhat.com>
9221
9222         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9223         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9224         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9225         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9226         in the SAVE_PID block.
9227         (__libc_vfork): New alias.
9228         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9229
9230         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9231         child in registers, not on the stack.  Remove RESET_PID conditionals.
9232         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9233
9234 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9235
9236         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9237
9238 2014-06-03  Wilco  <wdijkstr@arm.com>
9239
9240         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9241         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9242         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9243         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9244         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9245         Likewise.
9246
9247 2014-06-03  Wilco  <wdijkstr@arm.com>
9248
9249         * sysdeps/aarch64/fpu/math_private.h
9250         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9251         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9252         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9253         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9254         Fix declarations.
9255
9256 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9257
9258         * crypt/crypt-private.h: Include ufc-crypt.h.
9259         (__b64_from_24bit): Declare extern.
9260         * crypt/crypt_util.c(__b64_from_24bit): New function.
9261         (b64t): New static const variable.
9262         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9263         (b64t): Remove variable.
9264         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9265         * crypt/sha256-crypt.c: Include crypt-private.h.
9266         (b64t): Remove variable.
9267         (__sha256_crypt_r): Remove b64_from_24bit and replace
9268         with __b64_from_24bit.
9269         * crypt/sha512-crypt.c: Likewise.
9270
9271 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9272
9273         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9274         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9275         Label the code __libc_vfork rather than __vfork.
9276         [!NOT_IN_libc] (vfork): Define as weak alias.
9277         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9278         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9279         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9280
9281 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9282
9283         * malloc/malloc.c (malloc_info): Fix format specifier for
9284         n_mmaps.
9285
9286 2014-06-02  Wilco  <wdijkstr@arm.com>
9287
9288         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9289         FPCR write.
9290
9291 2014-06-02  Wilco  <wdijkstr@arm.com>
9292
9293         [BZ #17009]
9294         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9295         Rewrite to reduce FPCR/FPSR accesses.
9296
9297 2014-06-01  David S. Miller  <davem@davemloft.net>
9298
9299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9300
9301 2014-05-31  David S. Miller  <davem@davemloft.net>
9302
9303         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9304         to occur in round to nearest mode when |x| >= 2.0
9305
9306 2014-05-30  Richard Henderson  <rth@twiddle.net>
9307
9308         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9309         (PSEUDO_RET_NOERRNO): Remove.
9310         (ret): Don't redefine.
9311         (ret_NOERRNO): Define in terms of ret.
9312         (ret_ERRVAL): Likewise.
9313
9314         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9315         use of PSEUDO_RET; perform the error check directly.
9316
9317 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9318
9319         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9320         with __int128_t.
9321
9322 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9323
9324         * malloc/malloc (malloc_info): Fix formatting.
9325
9326 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9327             Roland McGrath  <roland@hack.frob.com>
9328
9329         * malloc/malloc (malloc_info): Also print mmapped statistics.
9330
9331 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9332
9333         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9334         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9335
9336 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9337
9338         * malloc/malloc.c (malloc_info): Inline mi_arena.
9339
9340 2014-05-29  Richard Henderson  <rth@twiddle.net>
9341
9342         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9343         Remove comma before expanding ASM_ARGS_##nr.
9344         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9345         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9346         of ASM_ARGS_##nr.
9347         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9348         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9349         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9350         (ASM_ARGS_1): Add leading comma.
9351
9352         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9353         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9354         to __errno_location.
9355         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9356         Remove the expected plt for __errno_location.
9357
9358         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9359         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9360         call to __read_tp.
9361
9362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9363         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9364         it and break it down.
9365         (DOCARGS_0, DOCARGS_1): Do nothing.
9366         (DOCARGS_2): Update to store into the new stack frame.
9367         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9368         (UNDOCARGS_1): Update to restore from the new stack frame.
9369         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9370         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9371
9372         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9373         (SINGLE_THREAD_P): New parameter for result regno.
9374         (PSEUDO): Update to match; use cbz instead of beq.
9375
9376         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9377         Use ENTRY to define the _nocancel entry point.  Share the syscall
9378         and syscall error check paths with the cancel path.
9379         (PSEUDO_END): New.
9380
9381         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9382         whitespace; tabs before and after asm mnemonics.
9383
9384 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9385
9386         [BZ #15132]
9387         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9388         Call fstat64 or stat64 internally, depending on arguments passed.
9389         Replace stat buffer argument with file descriptor argument.
9390         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9391         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9392         Pass fd to __internal_statvfs instead of calling fstat64.
9393         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9394         Pass fd to __internal_statvfs64 instead of calling fstat64.
9395         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9396         Pass -1 to __internal_statvfs instead of calling stat64.
9397         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9398         Pass -1 to __internal_statvfs64 instead of calling stat64.
9399
9400 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9401
9402         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9403         that was previously under [RESET_PID].
9404         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9405
9406         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9407         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9408
9409 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9410
9411         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9412
9413         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9414         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9415
9416 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9417
9418         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9419
9420 2014-05-27  Andreas Schwab  <schwab@suse.de>
9421
9422         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9423         TLS_INIT_TP macro.
9424         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9425         * elf/rtld.c (init_tls, dl_main): Likewise.
9426         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9427         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9428         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9429         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9430         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9431         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9432         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9433         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9434         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9435         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9436         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9437         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9438         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9439         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9440         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9441         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9442         * sysdeps/generic/tls.h: Update description.
9443
9444 2014-05-27  Will Newton  <will.newton@linaro.org>
9445
9446         [BZ #16990]
9447         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9448         and restore r2 rather than just restoring.
9449
9450 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9451
9452         [BZ #16724]
9453         * libio/tst-ftell-append.c: New test case.
9454         * libio/Makefile (tests): Add test case.
9455         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9456         append mode.
9457         * libio/wfileops.c (do_ftell_wide): Likewise.
9458
9459 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9460
9461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9462
9463         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9464         ...
9465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9467         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9468         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9469         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9470         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9471         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9472         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9474         Moved ...
9475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9477         Moved ...
9478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9479         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9480         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9481         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9482         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9483         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9484         ...
9485         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9486         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9487         Moved ...
9488         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9489         here.
9490         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9491         ...
9492         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9493         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9494         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9495
9496         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9497         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9498         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9499         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9500
9501         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9502         merge into ...
9503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9504         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9505         ...
9506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9507         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9508         ...
9509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9510         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9511         Moved ...
9512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9513         here.
9514         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9515         Moved ...
9516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9517         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9518         Moved ...
9519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9520
9521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9522         conditional [RESET_PID].
9523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9525         removed.
9526         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9527         removed.
9528
9529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9530         <tcb-offsets.h>.
9531         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9532         (__libc_vfork): New strong alias.
9533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9534         removed.
9535         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9536         Removed.
9537
9538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9539         <tcb-offsets.h>.
9540         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9541         (__libc_vfork): New strong alias.
9542         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9543         removed.
9544         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9545         removed.
9546
9547 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9548
9549         * malloc/malloc.c (mi_arena): New function.
9550         (malloc_info): Remove nested function mi_arena. Call non-nosted
9551         function mi_arena.
9552
9553 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9554
9555         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9556         by insrwi.
9557         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9558         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9559         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9560         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9561         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9562         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9563         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9564
9565 2014-05-26  Andreas Schwab  <schwab@suse.de>
9566
9567         [BZ #16984]
9568         * locale/programs/repertoire.c (repertoire_read): Add slash
9569         between I18NPATH element and file name.
9570         * locale/programs/locfile.c (locfile_read): Likewise.
9571
9572 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9573
9574         * nptl/pthread_mutexattr_settype.c
9575         (__pthread_mutexattr_settype):
9576         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9577
9578 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9579
9580         * nptl/tst-mutex5 (do_test):
9581         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9582
9583 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9584
9585         * benchtests/README: Document 'init' directive.
9586         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9587         BENCH_INIT.
9588         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9589         (parse_file): Recognize 'init' directive.
9590
9591 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9592
9593         [BZ #16796]
9594         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9595         alignment of struct pthread.
9596
9597 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9598
9599         [BZ #16878]
9600         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9601         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9602         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9603         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9604
9605 2014-05-25  Richard Henderson  <rth@twiddle.net>
9606
9607         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9608         (SINGLE_THREAD_P_PIC): Remove.
9609         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9610         (SINGLE_THREAD_P_PIC): Remove.
9611
9612         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9613         branch to syscall error ...
9614         (PSEUDO): ... here.
9615         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9616         from __local_syscall_error to .Lsyscall_error.
9617         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9618         (SYSCALL_ERROR): Update label name.
9619
9620         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9621         Do not use DOARGS/UNDOARGS.
9622         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9623         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9624         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9625         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9626         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9627
9628         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9629         block comment.
9630
9631         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9632         define if !NOT_IN_libc.
9633         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9634         define with non-default symbol versions.
9635
9636 2014-05-23  Richard Henderson  <rth@twiddle.net>
9637
9638         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9639         (vfork, __vfork): Define via compat_symbol.
9640
9641         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9642         [!HAVE_IFUNC] (vfork_compat): Remove.
9643         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9644
9645 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9646
9647         [BZ #16978]
9648         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9649         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9650         variable.
9651
9652 2014-05-23  Richard Henderson  <rth@twiddle.net>
9653
9654         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9655         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9656         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9657         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9658
9659         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9660         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9661         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9662         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9663         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9664         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9665         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9666         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9667         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9668         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9669         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9670         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9671         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9672         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9673         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9674         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9675         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9676         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9677         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9678         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9679         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9680         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9681         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9682         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9683         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9684         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9685         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9686         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9687         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9688         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9689         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9690         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9691         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9692         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9693         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9694         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9695         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9696         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9697         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9698         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9699         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9700         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9701         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9702         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9703         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9704         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9705         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9706         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9707         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9708         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9709         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9710         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9711         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9712         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9713         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9714         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9715
9716         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9717         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9718         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9719         before exiting on error.
9720         (__libc_vfork): New strong alias.
9721         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9722         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9723
9724         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9725         that was previously under [RESET_PID].
9726         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9727
9728         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9729
9730 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9731
9732         [BZ #16977]
9733         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9734         value when x - 1 is zero.
9735         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9736         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9737         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9738         0.0L for an argument of 1.0L.
9739         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9740         Likewise.
9741         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9742         value when x - 1 is zero.
9743         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9744         * sysdeps/i386/fpu/libm-test-ulps: Update.
9745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9746
9747 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9748
9749         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9750         alphasort and versionsort.
9751
9752 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9753
9754         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9755         macro.
9756         [copysignf]: Likewise.
9757
9758 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9759
9760         * crypt/md5-crypt.c: Fix formatting.
9761
9762 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9763
9764         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9765         (b64_from_24bit): New function.
9766
9767 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9768
9769         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9770         libc_hidden_builtin_def to ifunc.
9771         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9772         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9773
9774 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9775
9776         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9777         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9778
9779 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9780
9781         * nscd/Depend (linuxthreads): Remove.
9782         (nptl): Add.
9783         * resolv/Depend (linuxthreads): Remove.
9784         * rt/Depend (linuxthreads): Remove.
9785
9786         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9787         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9788         $(common-objpfx)elf/.
9789         (link-libc-before-gnulib): Likewise.
9790         (elfobjdir): Remove variable.
9791         * Makefile (install): Use $(elf-objpfx) instead of
9792         $(common-objpfx)elf/.
9793         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9794         $(elfobjdir)/.
9795         (link-libc-deps): Likewise.
9796         ($(common-objpfx)libc.so): Likewise.
9797         ($(common-objpfx)linkobj/libc.so): Likewise.
9798         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9799         instead of $(common-objpfx)elf/.
9800         (symbolic-link-list): Likewise.
9801         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9802         [$(cross-compiling) = no]: Likewise.
9803         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9804         $(elfobjdir)/.
9805         (static-gnulib-arch): Likewise.
9806         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9807         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9808         $(common-objpfx)elf/.
9809
9810 2014-05-21  Richard Henderson  <rth@redhat.com>
9811
9812         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9813         (SINGLE_THREAD_P): Use the correct width load.  Fold
9814         into the ldr offset.
9815
9816         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9817         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9818
9819 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9820
9821         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9822         (libgcc_s_resume): Use __attribute_used__.
9823         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9824         Likewise.
9825
9826 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9827
9828         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9829         optimization when used with float constants.
9830
9831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9832
9833 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9834
9835         [BZ #16915]
9836         * locale/nl_langinfo_l.c: Make direct reference to every
9837         _nl_current_CATEGORY symbol.
9838         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9839         (tests-static): Add tst-langinfo-static.
9840         (tests-special): Add tst-langinfo-static.out.
9841         ($(objpfx)tst-langinfo.out): Redirect output.
9842         ($(objpfx)tst-langinfo-static.out): New.
9843         * localedata/tst-langinfo.sh: Send output to stdout.
9844         * localedata/tst-langinfo-static.c: New file.
9845
9846         [BZ #16965]
9847         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9848         when the shift amount is modulo the limb size.
9849
9850 2014-05-20  Richard Henderson  <rth@redhat.com>
9851
9852         [BZ #16967]
9853         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9854         Change type of sa_flags from unsigned int to int.
9855
9856         [BZ #16966]
9857         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9858
9859         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9860
9861 2014-05-20  Will Newton  <will.newton@linaro.org>
9862
9863         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9864         Test the return value of the system call in the nocancel case.
9865
9866 2014-05-20  Will Newton  <will.newton@linaro.org>
9867             Yvan Roux  <yvan.roux@linaro.org>
9868
9869         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9870         #include of asm/ptrace.h.
9871         (PTRACE_GET_THREAD_AREA): Remove #undef.
9872         (PTRACE_GETHBPREGS): Likewise.
9873         (PTRACE_SETHBPREGS): Likewise.
9874         (struct user_regs_struct): New structure.
9875         (struct user_fpsimd_struct): New structure.
9876         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9877         #include of asm/ptrace.h and second #include of sys/user.h.
9878         (PTRACE_GET_THREAD_AREA): Remove #undef.
9879         (PTRACE_GETHBPREGS): Likewise.
9880         (PTRACE_SETHBPREGS): Likewise.
9881         (ELF_NGREG): Use new struct user_regs_struct.
9882         (elf_fpregset_t): Use new struct user_fpsimd_struct.
9883
9884 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9885
9886         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9887         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9888
9889 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9890
9891         [BZ #16958]
9892         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9893         membar to avoid block loads/stores to overlap previous stores.
9894
9895 2014-05-17  Richard Henderson  <rth@redhat.com>
9896
9897         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9898         Create the __##syscall_name##_nocancel entry point.
9899         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9900         Remove; let the sysdep-cancel.h code create it.
9901
9902 2014-05-17  David S. Miller  <davem@davemloft.net>
9903
9904         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9905         Protect with __USE_GNU.
9906         (TIOCSET_TEMPT): Likewise.
9907         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9908         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9909         these are already provided in bits/ioctl-types.h
9910
9911 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9912
9913         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9914         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9915
9916         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9917         Use wait4 regardless of [__NR_waitpid].
9918
9919 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9920
9921         PR libgcc/60166
9922         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9923         (_FP_NANSIGN_Q): Set the quiet bit.
9924
9925 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
9926
9927         * benchtests/Makefile
9928         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9929         not $(common-objpfx)math/libm.so.
9930         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9931         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9932         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9933         $(common-objpfx)dlfcn/libdl.so.
9934         ($(objpfx)tst-audit8): Depend on $(libm), not
9935         $(common-objpfx)math/libm.so.
9936         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9937         not $(common-objpfx)dlfcn/libdl.so.
9938         * math/Makefile
9939         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9940         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
9941         [$(build-shared) = yes].
9942         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9943         $(common-objpfx)nptl/libpthread.so.
9944         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9945         $(common-objpfx)math/libm.so$(libm.so-version) or
9946         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9947         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9948         $(common-objpfx)dlfcn/libdl.so.
9949         * setjmp/Makefile (link-libm): Remove variable.
9950         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9951         * stdio-common/Makefile (link-libm): Remove variable.
9952         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9953         * stdlib/Makefile (link-libm): Remove variable.
9954         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9955         ($(objpfx)tst-strtod-round): Likewise.
9956         ($(objpfx)tst-tininess): Likewise.
9957         ($(objpfx)tst-strtod-underflow): Likewise.
9958         ($(objpfx)tst-strtod6): Likewise.
9959         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9960         $(libdl), not $(common-objpfx)nptl/libpthread.so and
9961         $(common-objpfx)dlfcn/libdl.so.
9962
9963 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9964
9965         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9966         BSD terminal modes definitions.
9967
9968 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9969
9970         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9971         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9972
9973         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9974         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9975         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9976         Don't do #include_next.
9977         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9978         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9979         Don't do #include_next.
9980         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9981         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9982         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9983         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9984
9985 2014-05-16  Allan McRae  <allan@archlinux.org>
9986
9987         * po/sv.po: Update Swedish translation from translation project.
9988
9989         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9990         in sed expression.
9991
9992 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
9993
9994         [BZ #16917]
9995         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9996         errno if the TIOCGPTN ioctl fails with an error different than
9997         EINVAL.
9998         * login/tst-ptsname.c: New file.
9999         * login/Makefile (tests): Add tst-ptsname.
10000
10001         [BZ #16943]
10002         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10003         and prlimit64.
10004
10005 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10006
10007         [BZ #16849]
10008         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10009         herrno to return EAI_AGAIN.
10010
10011 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10012
10013         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10014         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10015         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10016         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10017         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10018         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10019         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10020         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10021         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10022         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10023         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10024         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10025         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10026         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10027         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10028         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10029         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10030         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10031         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10032         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10033         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10034         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10035         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10036         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10037         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10038         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10039         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10040         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10041         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10042         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10044         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10046         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10048         Moved ...
10049         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10051         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10053         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10055         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10057         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10059         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10061         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10063         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10065         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10067         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10069         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10071         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10073         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10075         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10077         Moved ...
10078         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10080         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10082         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10084         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10086         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10088         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10090         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10092         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10094         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10096         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10098         Moved ...
10099         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10101         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10102
10103         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10104         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10105         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10106         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10107         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10108         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10109         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10110         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10111         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10112         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10113         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10114         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10115         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10116         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10117         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10118         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10119         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10120         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10121         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10122         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10123         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10124         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10125         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10126         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10127         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10128         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10129         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10130         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10131         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10132         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10133         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10134
10135         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10136         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10137
10138         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10139         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10140         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10141         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10142         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10143         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10144         Moved ...
10145         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10146         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10147         Moved ...
10148         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10149         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10150         Moved ...
10151         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10152         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10153         Moved ...
10154         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10155         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10156         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10157         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10158         Moved ...
10159         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10160         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10161         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10162         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10163         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10164         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10165         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10166         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10167         Moved ...
10168         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10169         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10170         Moved ...
10171         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10172         ... here.
10173         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10174         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10175         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10176         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10177         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10178         Moved ...
10179         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10180         ... here.
10181         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10182         Moved ...
10183         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10184         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10185         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10186         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10187         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10188         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10189         Moved ...
10190         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10191         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10192         Moved ...
10193         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10194         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10195         Moved ...
10196         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10197         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10198         Moved ...
10199         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10200         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10201         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10202         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10203         Moved ...
10204         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10205         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10206         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10207         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10208         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10209         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10210         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10211         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10212         Moved ...
10213         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10214         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10215         Moved ...
10216         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10217         ... here.
10218         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10219         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10220         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10221         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10222         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10223         Moved ...
10224         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10225         ... here.
10226         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10227         Moved ...
10228         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10229         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10230         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10231         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10232         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10233         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10234         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10235         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10236         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10237         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10238         Moved ...
10239         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10240         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10241         Moved ...
10242         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10243         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10244         Moved ...
10245         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10246         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10247         Moved ...
10248         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10249         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10250         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10251         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10252         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10253         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10254         Moved ...
10255         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10256         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10257         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10258         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10259         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10260         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10261         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10262         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10263         Moved ...
10264         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10265         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10266         Moved ...
10267         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10268         ... here.
10269         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10270         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10271         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10272         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10273         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10274         Moved ...
10275         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10276         ... here.
10277         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10278         Moved ...
10279         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10280         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10281         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10282         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10283         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10284         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10285         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10286         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10287         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10288         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10289         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10290
10291         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10292         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10293
10294         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10295         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10296
10297         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10298         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10299         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10300         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10301         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10302         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10303         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10304         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10305         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10306         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10307         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10308         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10309         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10310         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10311         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10313         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10314         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10315         Moved ...
10316         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10318         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10319         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10320         Moved ...
10321         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10322         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10323         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10324         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10325         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10326         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10327         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10328         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10329         Moved ...
10330         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10331         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10332         Moved ...
10333         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10334         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10335         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10339         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10340         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10341         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10342         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10343         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10344         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10345         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10346         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10347         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10348         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10349         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10350
10351         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10352         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10353         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10354         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10355         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10356
10357         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10358         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10359         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10360         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10361         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10362         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10363         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10364         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10365         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10366         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10367
10368         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10369         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10370
10371         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10372         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10373         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10374         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10375         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10376         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10377         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10378         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10379         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10380         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10381         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10382         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10383         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10384         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10385         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10386         Update #include.
10387         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10388         Likewise.
10389         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10390         Likewise.
10391         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10392         Likewise.
10393         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10394         Likewise.
10395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10396         Likewise.
10397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10398         Likewise.
10399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10400         Likewise.
10401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10402         Likewise.
10403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10404         Likewise.
10405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10407         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10408         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10409         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10410         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10411         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10412         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10413         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10414         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10415         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10416         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10417         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10418         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10419         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10420
10421         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10422         that was previously under [RESET_PID].
10423         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10424         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10425         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10426
10427         * sysdeps/i386/nptl/Implies: New file.
10428         * sysdeps/x86_64/nptl/Implies: New file.
10429         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10430         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10431         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10432         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10433
10434         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10435         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10436         (__libc_vfork): New strong alias.
10437         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10438         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10439
10440         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10441         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10442         (__libc_vfork): New strong alias.
10443         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10444         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10445
10446         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10447         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10448         (__libc_vfork): New strong alias.
10449         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10450         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10451         * nptl/pt-vfork.c: New file.
10452         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10453         (libpthread: GLIBC_2.20): New version set (empty).
10454
10455 2014-05-14  Will Newton  <will.newton@linaro.org>
10456
10457         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10458         rather than #if.
10459
10460 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10461
10462         [BZ #16564]
10463         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10464         arguments with exponent 65 or above.
10465         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10466         arguments 0x1p113L or above.
10467         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10468         to arguments 0x1p107L or above.
10469         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10470         positive arguments with exponent 65 or above.
10471         * math/auto-libm-test-in: Add more tests of log1p.
10472         * math/auto-libm-test-out: Regenerated.
10473
10474         [BZ #16928]
10475         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10476         non-finite arguments is +0.
10477         * math/s_cacosf.c (__cacosf): Likewise.
10478         * math/s_cacosl.c (__cacosl): Likewise.
10479         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10480         * sysdeps/i386/fpu/libm-test-ulps: Update.
10481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10482
10483         [BZ #16927]
10484         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10485         value.
10486         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10487         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10488         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10489         for explicit high bit of mantissa when testing for argument equal
10490         to 1.
10491         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10492         * sysdeps/i386/fpu/libm-test-ulps: Update.
10493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10494
10495         [BZ #16516]
10496         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10497         (__erf): Scale by 16 instead of 8 in potentially underflowing
10498         case.  Ensure exception if result actually underflows.
10499         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10500         (__erff): Scale by 16 instead of 8 in potentially underflowing
10501         case.  Ensure exception if result actually underflows.
10502         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10503         (efx8): Remove variable.
10504         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10505         case.  Ensure exception if result actually underflows.
10506         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10507         (efx8): Remove variable.
10508         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10509         case.  Ensure exception if result actually underflows.
10510         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10511         (efx8): Remove variable.
10512         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10513         case.  Ensure exception if result actually underflows.
10514         * math/auto-libm-test-in: Add more tests of erf.
10515         * math/auto-libm-test-out: Regenerated.
10516
10517 2014-05-14  Andreas Schwab  <schwab@suse.de>
10518
10519         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10520         Remove code conditionalized on USE___THREAD.
10521
10522         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10523         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10524         not definedness.
10525
10526 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10527
10528         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10529         Define unconditionally.
10530         (__ASSUME_O_CLOEXEC): Likewise.
10531         (__ASSUME_SOCK_CLOEXEC): Likewise.
10532         (__ASSUME_IN_NONBLOCK): Likewise.
10533         (__ASSUME_PIPE2): Likewise.
10534         (__ASSUME_EVENTFD2): Likewise.
10535         (__ASSUME_SIGNALFD4): Likewise.
10536         (__ASSUME_DUP3): Likewise.
10537         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10538         (__ASSUME_DUP3): Do not define.
10539         (__ASSUME_EVENTFD2): Likewise.
10540         (__ASSUME_IN_NONBLOCK): Likewise.
10541         (__ASSUME_O_CLOEXEC): Likewise.
10542         (__ASSUME_PIPE2): Likewise.
10543         (__ASSUME_SIGNALFD4): Likewise.
10544         (__ASSUME_SOCK_CLOEXEC): Likewise.
10545         (__ASSUME_UTIMES): Undefine.
10546         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10547         (__ASSUME_UTIMES): Do not define.
10548         (__ASSUME_O_CLOEXEC): Likewise.
10549         (__ASSUME_SOCK_CLOEXEC): Likewise.
10550         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10551         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10552         0x020621].
10553         (__ASSUME_PIPE2): Likewise.
10554         (__ASSUME_EVENTFD2): Likewise.
10555         (__ASSUME_SIGNALFD4): Likewise.
10556         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10557         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10558         Do not define.
10559         (__ASSUME_EVENTFD2): Likewise.
10560         (__ASSUME_SIGNALFD4): Likewise.
10561         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10562         (__ASSUME_32BITUIDS): Likewise.
10563         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10564         (__ASSUME_IPC64): Likewise.
10565         (__ASSUME_ST_INO_64_BIT): Likewise.
10566         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10567         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10568         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10569         (__ASSUME_UTIMES): Do not define.
10570         (__ASSUME_PSELECT): Likewise.
10571         (__ASSUME_PPOLL): Likewise.
10572         (__ASSUME_O_CLOEXEC): Likewise.
10573         (__ASSUME_SOCK_CLOEXEC): Likewise.
10574         (__ASSUME_IN_NONBLOCK): Likewise.
10575         (__ASSUME_PIPE2): Likewise.
10576         (__ASSUME_EVENTFD2): Likewise.
10577         (__ASSUME_SIGNALFD4): Likewise.
10578         (__ASSUME_DUP3): Likewise.
10579         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10580         (__ASSUME_UTIMES): Likewise.
10581         (__ASSUME_O_CLOEXEC): Likewise.
10582         (__ASSUME_SOCK_CLOEXEC): Likewise.
10583         (__ASSUME_IN_NONBLOCK): Likewise.
10584         (__ASSUME_PIPE2): Likewise.
10585         (__ASSUME_EVENTFD2): Likewise.
10586         (__ASSUME_SIGNALFD4): Likewise.
10587         (__ASSUME_DUP3): Likewise.
10588         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10589         (__ASSUME_UTIMES): Likewise.
10590         (__ASSUME_O_CLOEXEC): Likewise.
10591         (__ASSUME_SOCK_CLOEXEC): Likewise.
10592         (__ASSUME_IN_NONBLOCK): Likewise.
10593         (__ASSUME_PIPE2): Likewise.
10594         (__ASSUME_EVENTFD2): Likewise.
10595         (__ASSUME_SIGNALFD4): Likewise.
10596         (__ASSUME_DUP3): Likewise.
10597         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10598         Likewise.
10599         (__ASSUME_UTIMES): Likewise.
10600         (__ASSUME_EVENTFD2): Likewise.
10601         (__ASSUME_SIGNALFD4): Likewise.
10602         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10603         (__ASSUME_O_CLOEXEC): Likewise.
10604         (__ASSUME_SOCK_CLOEXEC): Likewise.
10605         (__ASSUME_IN_NONBLOCK): Likewise.
10606         (__ASSUME_PIPE2): Likewise.
10607         (__ASSUME_EVENTFD2): Likewise.
10608         (__ASSUME_SIGNALFD4): Likewise.
10609         (__ASSUME_DUP3): Likewise.
10610         (__ASSUME_UTIMES): Undefine.
10611
10612         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10613         feclearexcept.  Remove symbol versioning code.
10614         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10615         symbol versioning code.
10616         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10617         symbol versioning code.
10618         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10619         feupdateenv.  Remove symbol versioning code.
10620         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10621         fegetexceptflag.  Remove symbol versioning code.
10622         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10623         fesetexceptflag.  Remove symbol versioning code.
10624         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10625         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10626         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10627         (__posix_fadvise64_l32): Remove prototype.
10628         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10629         code.
10630
10631 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10632
10633         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10634         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10635         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10636         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10637
10638 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10639
10640         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10641         current working directory
10642
10643 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10644
10645         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10646         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10647         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10648         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10649         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10650         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10651         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10652         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10653         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10654         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10655         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10656         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10657         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10658         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10659         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10660         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10661         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10662         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10663         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10664         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10665         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10666         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10667         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10668         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10669         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10670         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10671         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10672         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10673         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10674         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10675         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10676         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10677         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10678         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10679         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10680         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10681         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10682         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10683         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10684         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10685         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10686         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10687
10688         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10689         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10690
10691         * sysdeps/unix/sysv/linux/arm/Makefile
10692         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10693         Add rt-aeabi_unwind_cpp_pr1.
10694         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10695         Add nptl-aeabi_unwind_cpp_pr1.
10696         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10697         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10698         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10699         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10700         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10701         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10702
10703         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10704         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10705         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10706         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10707
10708         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10709         Deconditionalize the code that was previously under [RESET_PID].
10710         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10711
10712         * sysdeps/generic/exit-thread.h: New file.
10713         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10714         * include/unistd.h (__exit_thread): Remove declaration.
10715         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10716         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10717         * csu/libc-start.c: Include <exit-thread.h>.
10718         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10719         * nptl/pthread_create.c: Include <exit-thread.h>.
10720         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10721         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10722         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10723         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10724         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10725         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10726         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10727         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10728         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10729         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10730         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10731         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10732         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10733         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10734         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10735         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10736         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10737
10738 2014-05-13  Andreas Schwab  <schwab@suse.de>
10739
10740         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10741
10742 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10743
10744         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10745         (__ASSUME_UTIMES): Do not condition on kernel version.
10746         (__ASSUME_PSELECT): Define unconditionally.
10747         (__ASSUME_PPOLL): Likewise.
10748         (__ASSUME_ATFCTS): Likewise.
10749         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10750         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10751         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10752         (__ASSUME_UTIMENSAT): Define unconditionally.
10753         (__ASSUME_PRIVATE_FUTEX): Likewise.
10754         (__ASSUME_FALLOCATE): Likewise.
10755         (__ASSUME_O_CLOEXEC): Likewise.
10756         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10757         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10758         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10759         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10760         (__ASSUME_IN_NONBLOCK): Likewise.
10761         (__ASSUME_PIPE2): Likewise.
10762         (__ASSUME_EVENTFD2): Likewise.
10763         (__ASSUME_SIGNALFD4): Likewise.
10764         (__ASSUME_DUP3): Likewise.
10765         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10766         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10767         (__ASSUME_AT_RANDOM): Likewise.
10768         (__ASSUME_PREADV): Likewise.
10769         (__ASSUME_PWRITEV): Likewise.
10770         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10771         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10772         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10773         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10774         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10775         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10776         (__ASSUME_O_CLOEXEC): Define unconditionally.
10777         (__ASSUME_PSELECT): Do not undefine conditionally.
10778         (__ASSUME_PPOLL): Likewise.
10779         (__ASSUME_ATFCTS): Likewise.
10780         (__ASSUME_SET_ROBUST_LIST): Likewise.
10781         (__ASSUME_UTIMENSAT): Likewise.
10782         (__ASSUME_FDATASYNC): Define unconditionally.
10783         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10784         (__ASSUME_SIGFRAME_V2): Likewise.
10785         )__ASSUME_EVENTFD2): Likewise.
10786         (__ASSUME_SIGNALFD4): Likewise.
10787         (__ASSUME_PSELECT): Do not undefine conditionally.
10788         (__ASSUME_PPOLL): Likewise.
10789         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10790         (__ASSUME_PSELECT): Define unconditionally.
10791         (__ASSUME_PPOLL): Likewise.
10792         (__ASSUME_O_CLOEXEC): Likewise.
10793         (__ASSUME_SOCK_CLOEXEC): Likewise.
10794         (__ASSUME_IN_NONBLOCK): Likewise.
10795         (__ASSUME_PIPE2): Likewise.
10796         (__ASSUME_EVENTFD2): Likewise.
10797         (__ASSUME_SIGNALFD4): Likewise.
10798         (__ASSUME_DUP3): Likewise.
10799         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10800         (__ASSUME_O_CLOEXEC): Likewise.
10801         (__ASSUME_SOCK_CLOEXEC): Likewise.
10802         (__ASSUME_IN_NONBLOCK): Likewise.
10803         (__ASSUME_PIPE2): Likewise.
10804         (__ASSUME_EVENTFD2): Likewise.
10805         (__ASSUME_SIGNALFD4): Likewise.
10806         (__ASSUME_DUP3): Likewise.
10807         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10808         (__ASSUME_EVENTFD2): Likewise.
10809         (__ASSUME_SIGNALFD4): Likewise.
10810         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10811
10812 2014-05-12  Andreas Schwab  <schwab@suse.de>
10813
10814         [BZ #16932]
10815         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10816         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10817         than maximum RPC packet size.
10818         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10819         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10820         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10821         (_nss_nis_getservbyport_r): Likewise.
10822
10823 2014-05-12  Will Newton  <will.newton@linaro.org>
10824
10825         * malloc/Makefile (tests): Add tst-mallopt.
10826         * malloc/tst-mallopt.c: New file.
10827
10828 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10829
10830         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10831         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10832
10833 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10834
10835         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10836         (tst-tlsmod6.so): Likewise.
10837
10838 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10839
10840         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10841
10842 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10843
10844         [BZ #16064]
10845         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10846         and <dl-procinfo.h>.
10847         (__fegetenv): Save SSE state in envp->__eip if supported.
10848         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10849         envp->__eip if supported.
10850         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10851         and <dl-procinfo.h>.
10852         (__fesetenv): Always set __eip, __cs_selector, __opcode,
10853         __data_offset and __data_selector in environment to 0.  Set SSE
10854         state if supported.
10855         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10856         test-fenv-sse.
10857         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10858         -mfpmath=sse.
10859         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10860
10861 2014-05-09  Will Newton  <will.newton@linaro.org>
10862
10863         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10864         and libc_relro_required for ARM.
10865         * sysdeps/arm/preconfigure: Regenerate.
10866
10867 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
10868             Stefan Liebler  <stli@linux.vnet.ibm.com>
10869
10870         * config.make.in (enable-lock-elision): New Makefile variable.
10871         * configure.ac: Likewise.
10872         * configure: Regenerate.
10873         * sysdeps/s390/configure.ac:
10874         Add check for gcc transactions support.
10875         * sysdeps/s390/configure: Regenerate.
10876         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10877         Build elision files if enabled.
10878         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10879         Add lock elision support for s390.
10880         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10881         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10882         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10883         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10884         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10885         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10886         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10887         Likewise.
10888         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10889         Likewise.
10890         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10891         Likewise.
10892         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10893         Likewise.
10894         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10895         (__lll_timedlock_elision, __lll_lock_elision)
10896         (__lll_unlock_elision, __lll_trylock_elision)
10897         (lll_timedlock_elision, lll_lock_elision)
10898         (lll_unlock_elision, lll_trylock_elision): Add.
10899         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10900         (pthread_mutex_t): Add lock elision support for s390.
10901
10902 2014-05-14  Wilco  <wdijkstr@arm.com>
10903
10904         * sysdeps/arm/fclrexcpt.c: Cleanup.
10905         * sysdeps/arm/fedisblxcpt.c: Cleanup.
10906         * sysdeps/arm/feenablxcpt.c: Cleanup.
10907         * sysdeps/arm/fegetenv.c: Cleanup.
10908         * sysdeps/arm/fegetexcept.c: Cleanup.
10909         * sysdeps/arm/fegetround.c: Cleanup.
10910         * sysdeps/arm/feholdexcpt.c: Cleanup.
10911         * sysdeps/arm/fesetenv.c: Cleanup.
10912         * sysdeps/arm/fesetround.c: Cleanup.
10913         * sysdeps/arm/feupdateenv.c: Cleanup.
10914         * sysdeps/arm/fgetexcptflg.c: Cleanup.
10915         * sysdeps/arm/fraiseexcpt.c: Cleanup.
10916         * sysdeps/arm/fsetexcptflg.c: Cleanup.
10917         * sysdeps/arm/ftestexcept.c: Cleanup.
10918         * sysdeps/arm/get-rounding-mode.h: Cleanup.
10919         * sysdeps/arm/setfpucw.c: Cleanup.
10920
10921 2014-05-09  Will Newton  <will.newton@linaro.org>
10922
10923         * sysdeps/arm/armv7/strcmp.S: New file.
10924         * NEWS: Mention addition of ARMv7 optimized strcmp.
10925
10926 2014-05-08  Roland McGrath  <roland@hack.frob.com>
10927
10928         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10929         look for %.ac rather than %.in.
10930
10931         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10932         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10933         * sysdeps/mach/hurd/configure: Regenerated.
10934         * sysdeps/unix/sysv/linux/configure: Regenerated.
10935
10936         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10937
10938 2014-05-07  Steve Ellcey  <sellcey@mips.com>
10939
10940         [BZ# 16922]
10941         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10942         (LONG_SUB): Ditto.
10943         (PTR_SUB): Ditto.
10944
10945 2014-05-07  Andreas Schwab  <schwab@suse.de>
10946
10947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10948         when skipping over non-matching result from nscd.
10949
10950 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
10951
10952         [BZ #16876]
10953         * nptl/sockperf.c (client): Check socket return value.
10954
10955         [BZ #16877]
10956         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10957         nscd security class.
10958
10959 2014-05-06  Roland McGrath  <roland@hack.frob.com>
10960
10961         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10962         * sysdeps/arm/unwind.h: ... here.
10963
10964 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
10965
10966         [BZ# 16916]
10967         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10968         Define.
10969
10970 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10971
10972         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10973         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10974         multiarch strncpy for PPC64.
10975         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10976         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10978         multiarch optimizations.
10979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10980         (__libc_ifunc_impl_list): Likewise.
10981         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10982         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10983         multiarch stpncpy for PPC64.
10984         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10985         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10986
10987 2014-05-06  Andreas Schwab  <schwab@suse.de>
10988
10989         [BZ #16912]
10990         * gmon/mcount.c (_MCOUNT_DECL): Use
10991         atomic_compare_and_exchange_bool_acq instead of
10992         catomic_compare_and_exchange_bool_acq.
10993
10994 2014-05-05  Roland McGrath  <roland@hack.frob.com>
10995
10996         * elf/Makefile (others, install-bin): Remove pldd.
10997         (pldd-modules): Variable removed.
10998         ($(objpfx)pldd): Target removed.
10999         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11000         (others, install-bin): Append pldd here.
11001         ($(objpfx)pldd): New target.
11002
11003         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11004         to 0, so the first #if test emitted later doesn't see it undefined.
11005         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11006         * sysdeps/gnu/errlist.c: Regenerated.
11007
11008 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11009
11010         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11011         [libc_hidden_builtin_def]: Define to empty value.
11012         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11013         [libc_hidden_builtin_def]: Likewise.
11014         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11015         [libc_hidden_builtin_def]: Likewise.
11016         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11017         [libc_hidden_builtin_def]: Likewise.
11018         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11019         __redirect_memcpy and define ifunc as default hidden symbol.
11020         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11021         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11022
11023 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11024
11025         * locale/iso-4217.def: Reintroduce XDR currency.
11026
11027 2014-05-04  Allan McRae  <allan@archlinux.org>
11028
11029         * po/eo.po: Update Esperanto translation from translation project.
11030
11031 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11032
11033         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11034         and FEATURE_INDEX_MAX to 1.
11035         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11036
11037 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11038
11039         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11040         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11041         * iconvdata/big5.c (ONE_DIRECTION): Define.
11042         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11043         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11044         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11045         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11046         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11047         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11048         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11049         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11050         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11051         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11052         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11053         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11054         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11055         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11056         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11057         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11058         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11059         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11060         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11061         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11062         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11063         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11064         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11065         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11066         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11067         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11068         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11069         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11070         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11071         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11072         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11073         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11074         * iconvdata/johab.c (ONE_DIRECTION): Define.
11075         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11076         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11077         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11078         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11079         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11080         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11081         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11082         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11083         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11084         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11085
11086 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11087
11088         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11089         (_IO_JUMPS_OFFSET): Define to 0.
11090
11091         * nptl/sysdeps/pthread/bits/libc-lock.h
11092         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11093         (__libc_lock_define_initialized_recursive): Always define using
11094         initializer.  Modern compilers treat uninitialized (implicit zero) and
11095         explicit zero initializers the same (i.e. put the datum in bss).
11096
11097 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11098
11099         * nscd/nscd-client.h: Include <string.h>.
11100
11101 2014-05-01  David S. Miller  <davem@davemloft.net>
11102
11103         [BZ #16885]
11104         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11105         multiple zero bytes exist at the end of a string.
11106         Reported by Aurelien Jarno <aurelien@aurel32.net>
11107
11108         * string/test-strcmp.c (check): Add explicit test for situations where
11109         there are multiple zero bytes after the first.
11110
11111 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11112
11113         [BZ #16890]
11114         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11115         when compiling wprintf.
11116         * stdio-common/tstdiomisc.c (t3): New function.
11117         (main): Call it.
11118
11119 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11120
11121         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11122         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11123         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11124         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11125
11126 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11127
11128         * stdlib/longlong.h: Updated from GCC.
11129
11130 2014-05-01  Will Newton  <will.newton@linaro.org>
11131             Bernard Ogden  <bernie.ogden@linaro.org>
11132
11133         * NEWS: Update fixed bug list.
11134
11135         [BZ #15119]
11136         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11137
11138 2014-04-30  David S. Miller  <davem@davemloft.net>
11139
11140         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11141         (libc_feholdexcept_setround_sparc_ctx): New function.
11142         (libc_fesetenv_sparc_ctx): Likewise.
11143         (libc_feupdateenv_sparc_ctx): Likewise.
11144         (libc_feholdsetround_sparc_ctx): Likewise.
11145         (libc_feholdexcept_setround_ctx): Define.
11146         (libc_feholdexcept_setroundf_ctx): Likewise.
11147         (libc_feholdexcept_setroundl_ctx): Likewise.
11148         (libc_fesetenv_ctx): Likewise.
11149         (libc_fesetenvf_ctx): Likewise.
11150         (libc_fesetenvl_ctx): Likewise.
11151         (libc_feupdateenv_ctx): Likewise.
11152         (libc_feupdateenvf_ctx): Likewise.
11153         (libc_feupdateenvl_ctx): Likewise.
11154         (libc_feresetround_ctx): Likewise.
11155         (libc_feresetroundf_ctx): Likewise.
11156         (libc_feresetroundl_ctx): Likewise.
11157         (libc_feholdsetround_ctx): Likewise.
11158         (libc_feholdsetroundf_ctx): Likewise.
11159         (libc_feholdsetroundl_ctx): Likewise.
11160
11161         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11162         with __USE_GNU instead of XOPEN cpp guards.
11163
11164         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11165         0.
11166
11167         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11168         with XOPEN cpp guards.
11169
11170 2014-04-30  Julian Brown  <julian@codesourcery.com>
11171
11172         [BZ #16888]
11173         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11174         handling.
11175
11176 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11177
11178         [BZ #9894]
11179         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11180         Change to 2.6.32.
11181         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11182         * sysdeps/unix/sysv/linux/configure: Regenerated.
11183         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11184         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11185         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11186         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11187         * README: Update reference to required Linux kernel version.
11188         * manual/install.texi (Linux): Update reference to required Linux
11189         kernel headers version.
11190         * INSTALL: Regenerated.
11191
11192         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11193         header inclusion.
11194         [POSIX] (limits.h): Likewise.
11195         [POSIX] (math.h): Likewise.
11196         [POSIX] (sys/wait.h): Likewise.
11197         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11198         function.
11199         [POSIX] (stddef.h): Do not allow header inclusion.
11200
11201 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11202
11203         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11204
11205 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11206
11207         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11208         Return immediately after lll_futex_wake.
11209
11210 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11211
11212         [BZ #16791]
11213         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11214         structure.
11215         (datahead_init_pos): Call datahead_init_common early.
11216         (datahead_init_neg): Likewise.
11217
11218         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11219         datahead_init_neg): New functions.
11220         * nscd/aicache.c (addhstaiX): Use them.
11221         * nscd/grpcache.c (cache_addgr): Likewise.
11222         * nscd/hstcache.c (cache_addhst): Likewise.
11223         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11224         * nscd/netgroupcache.c (do_notfound): Likewise.
11225         (addgetnetgrentX): Likewise.
11226         (addinnetgrX): Likewise.
11227         * nscd/pwdcache.c (cache_addpw): Likewise.
11228         * nscd/servicescache.c (cache_addserv): Likewise.
11229
11230 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11231             Atsushi Onoe  <atsushi@onoe.org>
11232
11233         [BZ #14308]
11234         [BZ #12994]
11235         [BZ #13651]
11236         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11237         one response is valid.
11238         * resolv/res_send.c (send_dg): Check for validity of other
11239         response if the current response is a referral.
11240
11241 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11242
11243         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11244
11245 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11246
11247         [BZ #16823]
11248         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11249         Always divide by positive zero when computing -Inf result.
11250         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11251         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11252
11253 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11254
11255         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11256         FPSCR if value do not change.
11257         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11258         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11259         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11260         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11261         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11262         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11263         function.
11264
11265 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11266
11267         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11268         * sysdeps/unix/sysv/linux/hppa: Move directory from
11269         ports/systeps/unix/sysv/linux/hppa.
11270         * README: Update listing for hppa-*-linux-gnu.
11271
11272 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11273
11274         [BZ #16754]
11275         * manual/stdio.texi (Hook functions): Fix types of stream hook
11276         functions.
11277         [BZ #16854]
11278         * socket/sys/socket.h: Fix typo in comment.
11279
11280 2014-04-28  Wilco  <wdijkstr@arm.com>
11281
11282         * sysdeps/arm/fenv_private.h: New file.
11283         * sysdeps/arm/math_private.h: New file.
11284         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11285
11286 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11287
11288         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11289         with __int128_t.
11290         (La_x86_64_retval): Likewise.
11291
11292 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11293
11294         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11295         fpsr if value didn't change.
11296         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11297         to fpcr if value didn't change.
11298         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11299         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11300         fpsr or fpcr if value didn't change.
11301         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11302         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11303         fpcr if value didn't change.
11304         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11305         to fpsr if value didn't change.
11306
11307 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11308
11309         * nptl/tst-sem3.c: Use test-skeleton.c
11310         (main): Rename to do_test.  Use return instead of
11311         exit.
11312         * nptl/tst-sem4.c: Use test-skeleton.c
11313         (main): Rename to do_test.
11314
11315 2014-04-22  David S. Miller  <davem@davemloft.net>
11316
11317         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11318         (struct sigaction): New struct member __glibc_reserved0, change
11319         type of sa_flags to int.
11320
11321 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11322
11323         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11324         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11325
11326 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11327
11328         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11329         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11330
11331 2014-04-22  Will Newton  <will.newton@linaro.org>
11332             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11333
11334         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11335         (__longjmp): Add longjmp and longjmp_target SystemTap
11336         probes.
11337         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11338         (__sigsetjmp): Add setjmp SystemTap probe.
11339
11340 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11341
11342         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11343         match manual order.
11344
11345 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11346
11347         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11348
11349         * sysdeps/powerpc/fpu/fenv_private.h
11350         (libc_feholdexcept_setroundl_ctx): Define to
11351         libc_feholdexcept_setround_ppc_ctx.
11352         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11353         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11354         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11355         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11356
11357 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11358
11359         * sysdeps/aarch64/math-tests.h: New file.
11360
11361 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11362
11363         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11364         New.
11365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11366         Check and set bit_AVX2_Usable.
11367         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11368         macro.
11369         (bit_AVX2): Likewise.
11370         (index_AVX2_Usable): Likewise.
11371         (CPUID_AVX2): Likewise.
11372         (HAS_AVX2): Likewise.
11373
11374 2014-04-17  Will Newton  <will.newton@linaro.org>
11375
11376         * manual/setjmp.texi (System V contexts): Add note that
11377         calling setcontext on a context created by a call to a
11378         signal handler is undefined.  Update text to note that
11379         setcontext from a signal handler is possible but not
11380         recommended.
11381
11382         [BZ #16629]
11383         * stdlib/tst-setcontext.c: Include signal.h.
11384         (main): Check that the signal stack before and
11385         after swapcontext is the same.
11386
11387         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11388         Re-implement to restore registers in user code and avoid
11389         rt_sigreturn system call.
11390
11391 2014-04-17  Wilco  <wdijkstr@arm.com>
11392
11393         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11394         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11395         * math/test-fenv.c: Skip exception trap tests on targets which only
11396         support non-stop mode.
11397
11398 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11399             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11400
11401         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11402         (libc_feholdsetround_aarch64_ctx)
11403         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11404         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11405         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11406         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11407         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11408         (libc_feresetround_noexl_ctx): Define.
11409
11410 2014-04-16  Richard Henderson  <rth@redhat.com>
11411
11412         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11413
11414         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11415         unwind tables.
11416
11417         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11418         const from the non-libc, non-ldso copy.
11419
11420         * sysdeps/alpha/libm-test-ulps: Regenerate.
11421
11422 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11423             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11424
11425         * sysdeps/aarch64/fpu/math_private.h: New file.
11426
11427 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11428
11429         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11430
11431 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11432
11433         [BZ #16275]
11434         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11435         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11436         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11437         Intel MPX bound registers before _dl_profile_fixup.
11438         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11439         registers after _dl_profile_fixup.  Save and restore bound
11440         registers bnd0/bnd1 when calling _dl_call_pltexit.
11441         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11442         (LR_BND_OFFSET): Likewise.
11443         (LRV_BND0_OFFSET): Likewise.
11444         (LRV_BND1_OFFSET): Likewise.
11445
11446 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11447
11448         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11449         to...
11450         * sysdeps/mach/hurd/i386/tls.h: ... here.
11451         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11452         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11453         fields.
11454
11455 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11456
11457         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11458
11459 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11460
11461         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11462
11463 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11464
11465         [BZ #14770]
11466         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11467         * sysdeps/s390/configure: Regenerate.
11468
11469         [BZ #16824]
11470         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11471         Set round-to-nearest internally to reduce error accumulation.
11472
11473 2014-04-16  Alan Modra  <amodra@gmail.com>
11474
11475         [BZ #16740]
11476         [BZ #16619]
11477         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11478         * math/libm-test.inc (frexp_test_data): Add tests.
11479         * NEWS: Update fixed bug list.
11480
11481 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11482
11483         * benchtests/Makefile: Depend on libraries in build directory.
11484         (bench-math): Separate out math tests.
11485         (bench-pthread): Separate out pthread tests.
11486         (bench): Include math and pthread tests.
11487
11488 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11489
11490         [BZ #16831]
11491         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11492         _dl_debug_initialize.
11493
11494         * configure.ac: Remove SELinux header check.
11495         * configure: Regenerate.
11496         * nscd/selinux.c (perms): Array of const char* to permission names.
11497         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11498         default policy. Call string_to_security_class and string_to_av_perm to
11499         translate strings. Enforce default policy and call avs_has_perm with
11500         results of translated strings.
11501
11502 2014-04-13  David S. Miller  <davem@davemloft.net>
11503
11504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11505
11506 2014-04-12  Allan McRae  <allan@archlinux.org>
11507
11508         [BZ #16838]
11509         * manual/string.texi (Collation Functions): Fix qsort argument
11510         order in example.
11511         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11512
11513 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11514
11515         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11516         Make the test a no-op if there are no exceptions defined.
11517
11518 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11519
11520         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11521         enable-hardcoded-path-in-tests
11522
11523 2014-04-11  Will Newton  <will.newton@linaro.org>
11524
11525         * benchtests/Makefile (extra-objs): Add json-lib.o.
11526         (bench-func): Tidy up JSON output.
11527         * benchtests/bench-skeleton.c: Include json-lib.h.
11528         (main): Use JSON library functions to do output of
11529         benchmark results.
11530         * benchtests/bench-timing-type.c (main): Output the
11531         timing type simply, leaving formatting to the user.
11532         * benchtests/json-lib.c: New file.
11533         * benchtests/json-lib.h: Likewise.
11534
11535 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11536
11537         [BZ #15215]
11538         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11539         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11540         memory barriers.  Add comments.
11541         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11542         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11543         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11544         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11545         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11546         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11547
11548 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11549
11550         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11551         * sysdeps/s390/s390-64/configure.ac: ... this ...
11552         * sysdeps/s390/configure.ac: ... to here.
11553         * sysdeps/s390/s390-32/configure: Delete file.
11554         * sysdeps/s390/s390-64/configure: Delete file.
11555         * sysdeps/s390/configure: Regenerate.
11556
11557 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11558
11559         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11560
11561 2014-04-11  Will Newton  <will.newton@linaro.org>
11562
11563         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11564         to zero if it is not defined elsewhere.  (mtrim): Test
11565         the value of MALLOC_DEBUG with #if rather than #ifdef.
11566
11567 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11568
11569         * benchtests/pthread_once-inputs: New file.
11570         * benchtests/pthread_once-source.c: New file.
11571         * benchtests/README: Update documentation.
11572
11573 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11574             H.J. Lu  <hongjiu.lu@intel.com>
11575
11576         [BZ #16275]
11577         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11578         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11579         * sysdeps/x86_64/configure: Regenerated.
11580         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11581         macro.
11582         (REGISTER_SAVE_RAX): Likewise.
11583         (REGISTER_SAVE_RCX): Likewise.
11584         (REGISTER_SAVE_RDX): Likewise.
11585         (REGISTER_SAVE_RSI): Likewise.
11586         (REGISTER_SAVE_RDI): Likewise.
11587         (REGISTER_SAVE_R8): Likewise.
11588         (REGISTER_SAVE_R9): Likewise.
11589         (REGISTER_SAVE_BND0): Likewise.
11590         (REGISTER_SAVE_BND1): Likewise.
11591         (REGISTER_SAVE_BND2): Likewise.
11592         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11593         bound registers when calling _dl_fixup.
11594
11595 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11596
11597         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11598         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11599         of its definition.
11600         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11601         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11602         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11603         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11604         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11605         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11606         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11607
11608 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11609
11610         [BZ #15514]
11611         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11612         pathconf(_PC_NAME_MAX).
11613
11614 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11615
11616         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11617         Remove macro usage.
11618         (__PTHREAD_SPINS): Move definition to ...
11619         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11620         (__PTHREAD_SPINS): ... here.
11621         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11622         (__PTHREAD_SPIN): Likewise.
11623         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11624         (__PTHREAD_SPIN): Likewise.
11625         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11626         (__PTHREAD_SPIN): Likewise.
11627         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11628         (__PTHREAD_SPIN): Likewise.
11629         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11630         (__PTHREAD_SPIN): Likewise.
11631         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11632         (__PTHREAD_SPIN): Likewise.
11633         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11634         (__PTHREAD_SPIN): Likewise.
11635         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11636         (__PTHREAD_SPIN): Likewise.
11637         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11638         (__PTHREAD_SPIN): Likewise.
11639         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11640         (__PTHREAD_SPIN): Likewise.
11641         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11642         (__PTHREAD_SPIN): Likewise.
11643         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11644         (__PTHREAD_SPIN): Likewise.
11645
11646         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11647         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11648         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11649         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11650         imply folder.
11651         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11652         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11653         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11654         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11655         correct imply path.
11656         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11657         strlen symbol for non multi-arch builds.
11658         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11659         missing hidden_def and weak_alias.
11660
11661 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11662
11663         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11664
11665 2014-04-07  Will Newton  <will.newton@linaro.org>
11666
11667         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11668         and contents.  [!_LIBC] Remove #ifndef and contents.
11669         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11670         * string/memccpy.c (__memccpy): Use ANSI prototype.
11671         * string/memfrob.c (memfrob): Likewise.
11672         * string/strcoll.c (STRCOLL): Likewise.
11673         * string/strlen.c (strlen): Likewise.
11674         * string/strtok.c (STRTOK): Likewise.
11675         * string/strcat.c: Remove unused #include of memcopy.h.
11676         (strcat): Use ANSI prototype.
11677         * string/strchr.c: Remove unused #include of memcopy.h.
11678         (strchr): Use ANSI prototype.
11679         * string/strcmp.c: Remove unused #include of memcopy.h.
11680         (strcmp): Use ANSI prototype.
11681         * string/strcpy.c: Remove unused #include of memcopy.h.
11682         (strcpy): Use ANSI prototype.
11683
11684 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11685
11686         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11687         * config.make.in (config-extra-cppflags): Set it from
11688         libc_extra_cppflags.
11689         * configure.ac (libc_extra_cflags): Make it accumulate over
11690         configure fragments.
11691         (libc_extra_cppflags): New flag.
11692         * configure. Regenerate.
11693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11694         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11695         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11697
11698         [BZ #16815]
11699         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11700         result for FE_DOWNWARD rounding mode.
11701         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11702         Likewise.
11703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11704
11705 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11706
11707         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11708         in function argument name.
11709
11710 2014-04-03  David Svoboda  <svoboda@cert.org>
11711
11712         [BZ #5666]
11713         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11714         explicitly.
11715
11716 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11717
11718         * elf/dl-unmap-segments.h: New file.
11719         * sysdeps/generic/ldsodefs.h
11720         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11721         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11722         * elf/dl-fptr.c: Likewise.
11723         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11724         * sysdeps/aarch64/tlsdesc.c: Likewise.
11725         * sysdeps/arm/tlsdesc.c: Likewise.
11726         * sysdeps/i386/tlsdesc.c: Likewise.
11727         * sysdeps/tile/dl-runtime.c: Likewise.
11728         * sysdeps/x86_64/tlsdesc.c: Likewise.
11729         * elf/dl-load.h: New file.
11730         * elf/dl-load.c: Include it.
11731         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11732         Macros moved to dl-load.h.
11733         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11734         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11735         Use _dl_unmap_segments in place of __munmap.
11736         Break out segment-mapping loop into ...
11737         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11738
11739 2014-04-03  Will Newton  <will.newton@linaro.org>
11740
11741         * elf/dl-lookup.c (do_lookup_x): Remove comment
11742         referring to nested function and move variable
11743         declarations down to before first use.
11744
11745 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11746
11747         [BZ #16799]
11748         [BZ #16800]
11749         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11750         with 0 numerator.
11751         * math/s_catanf.c (__catanf): Likewise.
11752         * math/s_catanh.c (__catanh): Likewise.
11753         * math/s_catanhf.c (__catanhf): Likewise.
11754         * math/s_catanhl.c (__catanhl): Likewise.
11755         * math/s_catanl.c (__catanl): Likewise.
11756         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11757         by positive zero when computing -Inf result.
11758         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11759         (catanh_test): Likewise.
11760         * sysdeps/i386/fpu/libm-test-ulps: Update.
11761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11762
11763         [BZ #16789]
11764         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11765         instead of using underflowing value in computing result.
11766         * math/s_clog10.c (__clog10): Likewise.
11767         * math/s_clog10f.c (__clog10f): Likewise.
11768         * math/s_clog10l.c (__clog10l): Likewise.
11769         * math/s_clogf.c (__clogf): Likewise.
11770         * math/s_clogl.c (__clogl): Likewise.
11771         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11772         (clog10_test): Likewise.
11773         * sysdeps/i386/fpu/libm-test-ulps: Update.
11774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11775
11776 2014-04-02  Alan Modra  <amodra@gmail.com>
11777
11778         [BZ #16739]
11779         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11780         output when value is near a power of two.  Use int64_t for lx and
11781         remove casts.  Use decimal rather than hex exponent constants.
11782         Don't use long double multiplication when double will suffice.
11783         * math/libm-test.inc (nextafter_test_data): Add tests.
11784         * NEWS: Add 16739 and 16786 to bug list.
11785
11786         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11787
11788         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11789
11790 2014-04-01  Will Newton  <will.newton@linaro.org>
11791
11792         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11793         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11794
11795 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11796
11797         [BZ #13347]
11798         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11799         * nptl/tst-setuid2.c: New file.
11800         * nptl/Makefile (xtests): Add tst-setuid2.
11801
11802 2014-04-01  Alan Modra  <amodra@gmail.com>
11803
11804         [BZ #16786]
11805         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11806
11807 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11808
11809         [BZ #6803]
11810         [BZ #6804]
11811         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11812         set errno as appropriate.
11813         * math/w_scalbf.c (__scalbf): Likewise.
11814         * math/w_scalbl.c (__scalbl): Likewise.
11815         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11816         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11817         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11818         Add more NaN tests.
11819
11820         [BZ #16349]
11821         * math/w_atan2.c: Include <errno.h>.
11822         (__atan2): Set errno for result underflowing to zero.
11823         * math/w_atan2f.c: Include <errno.h>.
11824         (__atan2f): Set errno for result underflowing to zero.
11825         * math/w_atan2l.c: Include <errno.h>.
11826         (__atan2l): Set errno for result underflowing to zero.
11827         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11828         tests.
11829         * math/auto-libm-test-out: Regenerated.
11830
11831 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11832
11833         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11834         Encode instruction correctly in little endian.
11835         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11836         Likewise.
11837         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11838         Likewise.
11839         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11840         Likewise.
11841         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11842         Likewise.
11843
11844 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11845
11846         [BZ #9894]
11847         * sysdeps/unix/sysv/linux/kernel-features.h
11848         [__sparc__ && !__arch64__ && !__sparc_v9__]
11849         (__ASSUME_SET_ROBUST_LIST): Do not define.
11850         [__sparc__ && !__arch64__ && !__sparc_v9__]
11851         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11852         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11853         Likewise.
11854         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11855         (__ASSUME_FUTEX_LOCK_PI): Undefine.
11856         (__ASSUME_REQUEUE_PI): Likewise.
11857         (__ASSUME_SET_ROBUST_LIST): Likewise.
11858         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11859         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11860         Undefine.
11861         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11862         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11863         Likewise.
11864         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11865         Likewise.
11866         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11867         Likewise.
11868         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11869         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11870         Undefine.
11871         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11872         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11873         Likewise.
11874
11875         [BZ #16648]
11876         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11877         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11878         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11879
11880 2014-03-31  Will Newton  <will.newton@linaro.org>
11881
11882         * benchtests/Makefile (bench): Add ffs and ffsll to list
11883         of tests.
11884         * benchtests/ffs-inputs: New file.
11885         * benchtests/ffsll-inputs: Likewise.
11886
11887 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
11888
11889         [BZ #16770]
11890         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11891         too large before casting to int.
11892         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11893         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11894         * math/libm-test.inc (scalb_test_data): Add more tests.
11895
11896 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11897
11898         * benchtests/Makefile (DETAILED_OPT): New make option.
11899         (bench-func): Run benchmark program with -d if DETAILED_OPT is
11900         set.
11901         * benchtests/bench-skeleton.c: Include stdbool.h.
11902         (main): Store and print timings per input.
11903         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11904         member to each argument value.
11905         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11906         (_print_arg_data): Initialize per-input timing to 0.
11907
11908         * benchtests/Makefile (timing-type): New binary.
11909         (bench-clean): Also remove bench-timing-type.
11910         (bench): New target for timing-type.
11911         (bench-func): Print output in JSON format.
11912         * benchtests/bench-skeleton.c (main): Print output in JSON
11913         format.
11914         * benchtests/bench-timing-type.c: New file.
11915         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11916         (TIMING_PRINT_STATS): Remove.
11917         * benchtests/scripts/bench.py (_print_arg_data): Store variant
11918         name separately.
11919
11920         * benchtests/bench-modf.c: Remove.
11921         * benchtests/modf-inputs: New inputs file.
11922
11923 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
11924
11925         [BZ #16362]
11926         * math/s_clog10.c (M_PI_LOG10E): New macro.
11927         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11928         imaginary parts are 0.
11929         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11930         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11931         imaginary parts are 0.
11932         * math/s_clog10l.c (M_PI_LOG10El): New macro.
11933         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11934         imaginary parts are 0.
11935         * math/libm-test.inc (clog10_test_data): Update expected results
11936         for when real and imaginary parts are 0.
11937
11938 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
11939
11940         * elf/dl-load.c: Finish conversion of __builtin_expect into
11941         __glibc_{un}likely.
11942
11943 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
11944
11945         [BZ #16348]
11946         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11947         1+x for argument with exponent below -67.
11948         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11949         Likewise.
11950         * math/auto-libm-test-in: Add more tests of exp.
11951         * math/auto-libm-test-out: Regenerated.
11952
11953 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11954
11955         [BZ #16759]
11956         * inet/getnetgrent_r.c (get_nonempty_val): New function.
11957         (nscd_getnetgrent): Use it.
11958
11959         [BZ #16760]
11960         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11961         of stpcpy.
11962
11963 2014-03-27  Andi Kleen  <ak@linux.intel.com>
11964
11965         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11966         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11967         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11968         (lll_robust_unlock): Remove out of line section. Use cfi
11969         intrinsics.
11970         (LLL_STUB_UNWIND_INFO*): Remove.
11971         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11972         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11973         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11974         (lll_robust_unlock): Remove out of line section. Use cfi
11975         intrinsics.
11976         (LLL_STUB_UNWIND_INFO*): Remove.
11977
11978 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11979
11980         [BZ #16758]
11981         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11982         blank values.
11983
11984 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11985
11986         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11987
11988 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
11989
11990         [BZ #16198]
11991         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11992         fnstenv.
11993         * math/test-fenv-preserve.c: New file.
11994         * math/Makefile (tests): Add test-fenv-preserve.
11995
11996 2014-03-26  Will Newton <will.newton@linaro.org>
11997
11998         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11999
12000 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12001
12002         * scripts/versionlist.awk: Partition the version sets and emit all
12003         GLIBC_* (sorted) before all others (sorted).
12004
12005 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12006
12007         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12008         GLIBC_2.2.5 version.
12009
12010 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12011
12012         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12013         calls.
12014
12015         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12016         previous change.
12017
12018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12019
12020 2014-03-25  Andreas Schwab  <schwab@suse.de>
12021
12022         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12023         label to be used after in6ailist is initialized.
12024
12025 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12026
12027         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12028         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12029
12030 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12031
12032         [BZ #16357]
12033         [BZ #16599]
12034         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12035         min_plus_half.
12036         (fp_formats): Update initializers.
12037         (init_fp_formats): Initialize new field.
12038         (output_for_one_input_case): Allow underflow for results up to
12039         min_plus_half.
12040         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12041         * math/auto-libm-test-in: Don't mark some underflows from asin and
12042         atanh as spurious.
12043         * math/auto-libm-test-out: Regenerated.
12044         * sysdeps/i386/fpu/libm-test-ulps: Update.
12045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12046
12047 2014-03-25  Andreas Schwab  <schwab@suse.de>
12048
12049         * libio/Makefile (tst-ftell-partial-wide-ENV)
12050         (tst-ftell-active-handler-ENV): Define.
12051
12052 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12053
12054         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12055
12056 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12057
12058         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12059
12060 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12061
12062         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12063         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12064         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12065
12066 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12067
12068         [BZ #16634]
12069         * elf/dl-load.c (open_verify): Add mode parameter.
12070         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12071         (open_path): Change from boolean 'secure' to complete flag 'mode'
12072         (_dl_map_object): Adjust.
12073         * elf/Makefile (tests): Add tst-dlopen-aout.
12074         * elf/tst-dlopen-aout.c: New test.
12075
12076 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12077
12078         [BZ #16714]
12079         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12080         (struct stat): Rename member pad0 to __glibc_reserved0.
12081
12082         [BZ #16712]
12083         * sysdeps/s390/s390-32/bits/wordsize.h
12084         (__WORDSIZE32_SIZE_ULONG): New define.
12085         * sysdeps/s390/s390-64/bits/wordsize.h
12086         (__WORDSIZE32_SIZE_ULONG): Likewise.
12087         * sysdeps/generic/stdint.h (SIZE_MAX):
12088         Define as UL if __WORDSIZE32_SIZE_ULONG.
12089
12090         [BZ #16713]
12091         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12092         (__glibc_reserved0): New variable.
12093         (sa_flags): Change type to int.
12094
12095         * posix/Makefile (before-compile): Use += before-compile instead
12096         of a :=.
12097
12098         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12099         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12100
12101 2014-03-20  Andreas Schwab  <schwab@suse.de>
12102
12103         [BZ #16743]
12104         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12105         non-matching result from nscd.
12106
12107 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12108
12109         * scripts/bench.py: Moved to ...
12110         * benchtests/scripts/bench.py: ... here.
12111         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12112
12113 2014-03-24  Andreas Schwab  <schwab@suse.de>
12114
12115         [BZ #16002]
12116         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12117         alloca_account and account alloca use for struct in6ailist.
12118
12119 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12120
12121         [BZ #16284]
12122         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12123         rounding mode to recompute results that overflow to infinity or
12124         underflow to zero.
12125         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12126         bug 16284.
12127         * math/auto-libm-test-out: Regenerated.
12128         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12129         (ccosh_test): Likewise.
12130         (csin_test_data): Use plus_oflow.
12131         (csin_test): Use ALL_RM_TEST.
12132         (csinh_test_data): Use plus_oflow.
12133         (csinh_test): Use ALL_RM_TEST.
12134         * sysdeps/i386/fpu/libm-test-ulps: Update.
12135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12136
12137 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12138
12139         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12140         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12141         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12142
12143         [BZ #16731]
12144         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12145         when x - 1 is zero.
12146         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12147         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12148         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12149         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12150         argument is 1.
12151         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12152         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12153         zero.
12154         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12155         * sysdeps/i386/fpu/libm-test-ulps: Update.
12156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12157
12158 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12159
12160         * scripts/bench.pl: Remove file.
12161         * scripts/bench.py: New benchmark script.
12162         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12163         * benchtests/README: Mention python dependency.
12164         * scripts/pylintrc: New file.
12165         * scripts/pylint: New file.
12166
12167         * bits/mathdef.h: Use #ifdef instead of #if.
12168         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12169         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12170         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12171         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12172         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12173         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12174
12175 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12176             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12177
12178         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12180         and strpbrk-ppc64 objects.
12181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12182         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12183         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12184         multiarch strpbrk for POWER7.
12185         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12186         multiarch strpbrk for PPC64.
12187         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12188         ifunc selector.
12189         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12190         strpbrk for POWER7.
12191
12192 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12193
12194         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12195         (atan_test): Likewise.
12196         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12197         (atanh_test): Use ALL_RM_TEST.
12198         (atan2_test_data): Likewise.
12199         (cabs_test): Likewise.
12200         (cacosh_test): Likewise.
12201         (carg_test): Likewise.
12202         (casin_test): Likewise.
12203         (casinh_test): Likewise.
12204         (cbrt_test): Likewise.
12205         (csqrt_test): Likewise.
12206         (erf_test): Likewise.
12207         (erfc_test): Likewise.
12208         (pow10_test): Likewise.
12209         (exp2_test): Likewise.
12210         (hypot_test): Likewise.
12211         (j0_test): Likewise.
12212         (j1_test): Likewise.
12213         (lgamma_test): Likewise.
12214         (gamma_test): Likewise.
12215         (sincos_test): Likewise.
12216         (tanh_test): Likewise.
12217         (y0_test): Likewise.
12218         (y1_test): Likewise.
12219         * sysdeps/i386/fpu/libm-test-ulps: Update.
12220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12221
12222 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12223
12224         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12226         and strcspn-ppc64 objects.
12227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12228         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12229         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12230         multiarch strcspn for POWER7.
12231         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12232         multiarch strcspn for PPC64.
12233         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12234         ifunc selector.
12235         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12236         strcspn for POWER7.
12237
12238 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12239
12240         * math/gen-libm-test.pl (generate_testfile): Expect only function
12241         name as argument to AUTO_TESTS_* and pass results for all rounding
12242         modes to parse_args.
12243         (parse_auto_input): Separate inputs of automatic tests from
12244         outputs before storing in %auto_tests.
12245         * math/libm-test.inc (acos_test_data): Update call to
12246         AUTO_TESTS_f_f.
12247         (acos_test): Use ALL_RM_TEST.
12248         (acos_tonearest_test_data): Remove.
12249         (acos_test_tonearest): Likewise.
12250         (acos_towardzero_test_data): Likewise.
12251         (acos_test_towardzero): Likewise.
12252         (acos_downward_test_data): Likewise.
12253         (acos_test_downward): Likewise.
12254         (acos_upward_test_data): Likewise.
12255         (acos_test_upward): Likewise.
12256         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12257         (asin_test_data): Likewise.
12258         (asin_test): Use ALL_RM_TEST.
12259         (asin_tonearest_test_data): Remove.
12260         (asin_test_tonearest): Likewise.
12261         (asin_towardzero_test_data): Likewise.
12262         (asin_test_towardzero): Likewise.
12263         (asin_downward_test_data): Likewise.
12264         (asin_test_downward): Likewise.
12265         (asin_upward_test_data): Likewise.
12266         (asin_test_upward): Likewise.
12267         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12268         (atan_test_data): Likewise.
12269         (atanh_test_data): Likewise.
12270         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12271         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12272         (carg_test_data): Likewise.
12273         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12274         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12275         (ccosh_test_data): Likewise.
12276         (cexp_test_data): Likewise.
12277         (clog_test_data): Likewise.
12278         (clog10_test_data): Likewise.
12279         (cos_test_data): Update call to AUTO_TESTS_f_f.
12280         (cos_test): Use ALL_RM_TEST.
12281         (cos_tonearest_test_data): Remove.
12282         (cos_test_tonearest): Likewise.
12283         (cos_towardzero_test_data): Likewise.
12284         (cos_test_towardzero): Likewise.
12285         (cos_downward_test_data): Likewise.
12286         (cos_test_downward): Likewise.
12287         (cos_upward_test_data): Likewise.
12288         (cos_test_upward): Likewise.
12289         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12290         (cosh_test): Use ALL_RM_TEST.
12291         (cosh_tonearest_test_data): Remove.
12292         (cosh_test_tonearest): Likewise.
12293         (cosh_towardzero_test_data): Likewise.
12294         (cosh_test_towardzero): Likewise.
12295         (cosh_downward_test_data): Likewise.
12296         (cosh_test_downward): Likewise.
12297         (cosh_upward_test_data): Likewise.
12298         (cosh_test_upward): Likewise.
12299         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12300         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12301         (ctan_test_data): Likewise.
12302         (ctan_test): Use ALL_RM_TEST.
12303         (ctan_tonearest_test_data): Remove.
12304         (ctan_test_tonearest): Likewise.
12305         (ctan_towardzero_test_data): Likewise.
12306         (ctan_test_towardzero): Likewise.
12307         (ctan_downward_test_data): Likewise.
12308         (ctan_test_downward): Likewise.
12309         (ctan_upward_test_data): Likewise.
12310         (ctan_test_upward): Likewise.
12311         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12312         (ctanh_test): Use ALL_RM_TEST.
12313         (ctanh_tonearest_test_data): Remove.
12314         (ctanh_test_tonearest): Likewise.
12315         (ctanh_towardzero_test_data): Likewise.
12316         (ctanh_test_towardzero): Likewise.
12317         (ctanh_downward_test_data): Likewise.
12318         (ctanh_test_downward): Likewise.
12319         (ctanh_upward_test_data): Likewise.
12320         (ctanh_test_upward): Likewise.
12321         (erf_test_data): Update call to AUTO_TESTS_f_f.
12322         (erfc_test_data): Likewise.
12323         (exp_test_data): Likewise.
12324         (exp_test): Use ALL_RM_TEST.
12325         (exp_tonearest_test_data): Remove.
12326         (exp_test_tonearest): Likewise.
12327         (exp_towardzero_test_data): Likewise.
12328         (exp_test_towardzero): Likewise.
12329         (exp_downward_test_data): Likewise.
12330         (exp_test_downward): Likewise.
12331         (exp_upward_test_data): Likewise.
12332         (exp_test_upward): Likewise.
12333         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12334         (exp10_test): Use ALL_RM_TEST.
12335         (exp10_tonearest_test_data): Remove.
12336         (exp10_test_tonearest): Likewise.
12337         (exp10_towardzero_test_data): Likewise.
12338         (exp10_test_towardzero): Likewise.
12339         (exp10_downward_test_data): Likewise.
12340         (exp10_test_downward): Likewise.
12341         (exp10_upward_test_data): Likewise.
12342         (exp10_test_upward): Likewise.
12343         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12344         (expm1_test_data): Likewise.
12345         (expm1_test): Use ALL_RM_TEST.
12346         (expm1_tonearest_test_data): Remove.
12347         (expm1_test_tonearest): Likewise.
12348         (expm1_towardzero_test_data): Likewise.
12349         (expm1_test_towardzero): Likewise.
12350         (expm1_downward_test_data): Likewise.
12351         (expm1_test_downward): Likewise.
12352         (expm1_upward_test_data): Likewise.
12353         (expm1_test_upward): Likewise.
12354         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12355         (fma_test): Use ALL_RM_TEST.
12356         (fma_towardzero_test_data): Remove.
12357         (fma_test_towardzero): Likewise.
12358         (fma_downward_test_data): Likewise.
12359         (fma_test_downward): Likewise.
12360         (fma_upward_test_data): Likewise.
12361         (fma_test_upward): Likewise.
12362         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12363         (j0_test_data): Update call to AUTO_TESTS_f_f.
12364         (j1_test_data): Likewise.
12365         (jn_test_data): Update call to AUTO_TESTS_if_f.
12366         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12367         (log_test_data): Update call to AUTO_TESTS_f_f.
12368         (log10_test_data): Likewise.
12369         (log1p_test_data): Likewise.
12370         (log2_test_data): Likewise.
12371         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12372         (pow_tonearest_test_data): Likewise.
12373         (sin_test_data): Update call to AUTO_TESTS_f_f.
12374         (sin_test): Use ALL_RM_TEST.
12375         (sin_tonearest_test_data): Remove.
12376         (sin_test_tonearest): Likewise.
12377         (sin_towardzero_test_data): Likewise.
12378         (sin_test_towardzero): Likewise.
12379         (sin_downward_test_data): Likewise.
12380         (sin_test_downward): Likewise.
12381         (sin_upward_test_data): Likewise.
12382         (sin_test_upward): Likewise.
12383         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12384         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12385         (sinh_test): Use ALL_RM_TEST.
12386         (sinh_tonearest_test_data): Remove.
12387         (sinh_test_tonearest): Likewise.
12388         (sinh_towardzero_test_data): Likewise.
12389         (sinh_test_towardzero): Likewise.
12390         (sinh_downward_test_data): Likewise.
12391         (sinh_test_downward): Likewise.
12392         (sinh_upward_test_data): Likewise.
12393         (sinh_test_upward): Likewise.
12394         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12395         (sqrt_test): Use ALL_RM_TEST.
12396         (sqrt_tonearest_test_data): Remove.
12397         (sqrt_test_tonearest): Likewise.
12398         (sqrt_towardzero_test_data): Likewise.
12399         (sqrt_test_towardzero): Likewise.
12400         (sqrt_downward_test_data): Likewise.
12401         (sqrt_test_downward): Likewise.
12402         (sqrt_upward_test_data): Likewise.
12403         (sqrt_test_upward): Likewise.
12404         (tan_test_data): Update call to AUTO_TESTS_f_f.
12405         (tan_test): Use ALL_RM_TEST.
12406         (tan_tonearest_test_data): Remove.
12407         (tan_test_tonearest): Likewise.
12408         (tan_towardzero_test_data): Likewise.
12409         (tan_test_towardzero): Likewise.
12410         (tan_downward_test_data): Likewise.
12411         (tan_test_downward): Likewise.
12412         (tan_upward_test_data): Likewise.
12413         (tan_test_upward): Likewise.
12414         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12415         (tgamma_test_data): Likewise.
12416         (y0_test_data): Likewise.
12417         (y1_test_data): Likewise.
12418         (yn_test_data): Update call to AUTO_TESTS_if_f.
12419         (main): Do not call removed functions.
12420
12421 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12422
12423         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12424         (ldexp_test_data): Remove.
12425         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12426         scalbn_test_data.
12427         (scalb_test): Use ALL_RM_TEST.
12428
12429 2014-03-19  Andreas Schwab  <schwab@suse.de>
12430
12431         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12432
12433 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12434
12435         [BZ #16649]
12436         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12437         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12438         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12439         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12440         (__ASSUME_PREADV): Undefine.
12441         (__ASSUME_PWRITEV): Likewise.
12442
12443 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12444
12445         * bits/mman-linux.h: Add comment about non-Linux use.
12446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12447         bits/mman-linux.h resting place.
12448
12449         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12450         * bits/mman-linux.h: ... here.
12451
12452 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12453
12454         * conform/conformtest.pl: Add standard definition when calling C
12455         preprocessor on data files.
12456         (checknamespace): Remove unused variable.
12457
12458 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12459
12460         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12461         minus_oflow, plus_uflow and minus_uflow in expected results.
12462         * math/libm-test.inc (scalbn_test_data): Add more tests of
12463         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12464         minus_uflow.
12465         (scalbn_test): Use ALL_RM_TEST.
12466         (scalbln_test_data): Add more tests of negative arguments.  Use
12467         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12468         (scalbln_test): Use ALL_RM_TEST.
12469
12470 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12471
12472         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12473
12474 2014-03-18  Will Newton  <will.newton@linaro.org>
12475
12476         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12477         inaccurate comment.
12478
12479 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12480
12481         * Makerules [!subdir] (check-abi): Exit with error status if a
12482         test failed.
12483
12484 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12485
12486         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12487         for rint.  Include results for all rounding modes.
12488         (nearbyint_test): Use ALL_RM_TEST.
12489         (rint_test_data): Include all tests used for nearbyint.
12490
12491 2014-03-17  Will Newton  <will.newton@linaro.org>
12492
12493         * nptl/sysdeps/pthread/pthread.h: Revert previous
12494         change.
12495
12496         * sysdeps/generic/ldsodefs.h: Revert previous
12497         change.
12498
12499         * libio/genops.c: Revert previous change.
12500         * libio/libioP.h: Likewise.
12501         * stdio-common/vfprintf.c: Likewise.
12502
12503         * sysdeps/generic/math_private.h: Revert previous
12504         change.
12505
12506         * sysdeps/generic/math_private.h: Check whether
12507         HAVE_RM_CTX is defined with #ifdef rather
12508         than #if.
12509
12510         * argp/argp-fmtstream.h: Check whether
12511         __STRICT_ANSI__ is defined with #ifdef rather
12512         than #if.
12513         * argp/argp.h: Likewise.
12514
12515         * libio/genops.c: Check whether
12516         _IO_JUMPS_OFFSET is defined with #ifdef rather
12517         than #if.
12518         * libio/libioP.h: Likewise.
12519         * stdio-common/vfprintf.c: Likewise.
12520
12521         * sysdeps/generic/ldsodefs.h: Check whether
12522         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12523         than #if.
12524
12525         * nptl/sysdeps/pthread/pthread.h: Check
12526         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12527         its value.
12528
12529 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12530
12531         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12532         setting O_APPEND.
12533         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12534         test case.
12535
12536         [BZ #16680]
12537         * libio/fileops.c (_IO_file_open): Seek to end of file but
12538         don't cache the offset.
12539         (get_file_offset): Remove function.
12540         (do_ftell): Use cached offset when available.
12541         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12542         don't cache the offset.
12543         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12544         case.
12545         (do_one_test): Call it.
12546         (do_ftell_test): Fix up expected old offset for a+ mode.
12547         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12548         available.
12549
12550         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12551         up test status with function return status.
12552         (do_write_test): Likewise.
12553         (do_append_test): Likewise.
12554
12555         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12556         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12557         Remove.
12558
12559 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12560
12561         * math/gen-libm-test.pl (parse_args): Handle results specified for
12562         each rounding mode separately.
12563         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12564         tests and results from lrint_tonearest_test_data,
12565         lrint_towardzero_test_data, lrint_downward_test_data and
12566         lrint_upward_test_data.
12567         (lrint_test): Use ALL_RM_TEST.
12568         (lrint_tonearest_test_data): Remove.
12569         (lrint_test_tonearest): Likewise.
12570         (lrint_towardzero_test_data): Likewise.
12571         (lrint_test_towardzero): Likewise.
12572         (lrint_downward_test_data): Likewise.
12573         (lrint_test_downward): Likewise.
12574         (lrint_upward_test_data): Likewise.
12575         (lrint_test_upward): Likewise.
12576         (llrint_test_data): Merge in per-rounding-mode tests and results
12577         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12578         llrint_downward_test_data and llrint_upward_test_data.
12579         (llrint_test): Use ALL_RM_TEST.
12580         (llrint_tonearest_test_data): Remove.
12581         (llrint_test_tonearest): Likewise.
12582         (llrint_towardzero_test_data): Likewise.
12583         (llrint_test_towardzero): Likewise.
12584         (llrint_downward_test_data): Likewise.
12585         (llrint_test_downward): Likewise.
12586         (llrint_upward_test_data): Likewise.
12587         (llrint_test_upward): Likewise.
12588         (rint_test_data): Merge in per-rounding-mode tests and results
12589         from rint_tonearest_test_data, rint_towardzero_test_data,
12590         rint_downward_test_data and rint_upward_test_data.  Add
12591         per-rounding-mode results for tests not in those arrays.
12592         (rint_test): Use ALL_RM_TEST.
12593         (rint_tonearest_test_data): Remove.
12594         (rint_test_tonearest): Likewise.
12595         (rint_towardzero_test_data): Likewise.
12596         (rint_test_towardzero): Likewise.
12597         (rint_downward_test_data): Likewise.
12598         (rint_test_downward): Likewise.
12599         (rint_upward_test_data): Likewise.
12600         (rint_test_upward): Likewise.
12601         (main): Don't call removed functions.
12602
12603 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12604
12605         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12606         "Compiled on ..." crapola.  It is anti-useful.
12607
12608 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12609
12610         * scripts/evaluate-test.sh: Handle fourth argument to determine
12611         whether test run should stop on failure.
12612         * Makeconfig (stop-on-test-failure): New variable.
12613         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12614         $(stop-on-test-failure).
12615         * Makefile (tests): Give a summary of results from testing and
12616         exit with failure status if they include an ERROR or FAIL.
12617         (xtests): Likewise.
12618         * manual/install.texi (Configuring and compiling): Mention
12619         stop-on-test-failure=y.
12620         * INSTALL: Regenerated.
12621
12622 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12623
12624         * scripts/versionlist.awk: New file.
12625         * Makerules [$(build-shared) = yes]
12626         (postclean-generated): Add Versions.def, not Versions.def.v and
12627         Versions.def.v.i.
12628         ($(common-objpfx)Versions.def.v.i): Target removed.
12629         ($(common-objpfx)Versions.def): New target.
12630         ($(common-objpfx)Versions.all): Depend on that rather that
12631         $(common-objpfx)Versions.def.v.
12632         * Versions.def: File removed.
12633
12634         * Makeconfig (+gccwarn): Add -Wundef.
12635         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12636         a dl-sysdep.h breaking its contract.
12637         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12638         * include/stackinfo.h: New file.
12639         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12640         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12641         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12642         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12643         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12644         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12645         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12646         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12647         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12648         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12649         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12650         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12651         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12652         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12653         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12654
12655 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12656
12657         [BZ #16707]
12658         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12659         implementation.
12660         * math/libm-test.inc (round_test_data): Add more tests.
12661
12662         [BZ #16706]
12663         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12664         implementation.
12665         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12666
12667         [BZ #16701]
12668         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12669         implementation.
12670         * math/libm-test.inc (ceil_test_data): Add more tests.
12671
12672         * math/libm-test.inc (trunc_test_data): Add more tests related to
12673         BZ#16414.
12674
12675 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12676
12677         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12678         with #if rather than #ifdef.
12679         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12680
12681 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12682
12683         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12684         first.  Disable AVX-512 GCC support if assembler doesn't support
12685         it.
12686         * sysdeps/x86_64/configure: Regenerated.
12687
12688 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12689
12690         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12691         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12692         (__old_pthread_attr_setstack): Likewise.
12693         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12694         [!_STACK_GROWS_DOWN]: Likewise.
12695
12696 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12697
12698         * config.make.in (have-bash2): Delete.
12699         * configure.ac (libc_cv_have_bash2): Delete.
12700         * configure: Regenerate.
12701         * elf/Makefile (common-ldd-rewrite): Rename to ...
12702         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12703         (sh-ldd-rewrite): Delete.
12704         (bash-ldd-rewrite): Delete.
12705         (have-bash2): Delete checks.
12706         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12707         ldd-rewrite.
12708
12709         * config.make.in (have-ksh): Delete.
12710         (KSH): Delete.
12711         * configure.ac (libc_cv_have_ksh): Delete.
12712         * configure: Regenerate.
12713
12714         * elf/Makefile: Delete $(have-ksh) check.
12715         ($(objpfx)sotruss): Change KSH to BASH.
12716         * elf/sotruss.ksh: Rename to ...
12717         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12718         function style to match POSIX.  Drop ksh vim mode setting.
12719
12720         * manual/time.texi (Specifying the Time Zone with TZ): Change
12721         Tuesday to Thursday.
12722
12723         * debug/tst-longjmp_chk2.c: Update header comment.
12724         (stackoverflow_handler): Add comment.  Call assert on pass value.
12725
12726 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12727
12728         [BZ #16194]
12729         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12730         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12731         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12732         (La_x86_64_vector): Add zmm.
12733         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12734         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12735         ($(objpfx)tst-audit10): New target.
12736         ($(objpfx)tst-audit10.out): Likewise.
12737         (tst-audit10-ENV): New.
12738         (AVX512-CFLAGS): Likewise.
12739         (CFLAGS-tst-audit10.c): Likewise.
12740         (CFLAGS-tst-auditmod10a.c): Likewise.
12741         (CFLAGS-tst-auditmod10b.c): Likewise.
12742         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12743         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12744         * sysdeps/x86_64/configure: Regenerated.
12745         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12746         AVX-512 zmm register support.
12747         (_dl_x86_64_save_sse): Likewise.
12748         (_dl_x86_64_restore_sse): Likewise.
12749         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12750         size vector registers.
12751         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12752         (ZMM_SIZE): Likewise.
12753         * sysdeps/x86_64/tst-audit10.c: New file.
12754         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12755         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12756
12757 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12758
12759         * configure.ac (HAVE_EHDR_START): New check.
12760         * configure: Regenerated.
12761         * config.h.in (HAVE_EHDR_START): New #undef.
12762         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12763         assuming the lowest-addressed segment maps the start of the file.
12764
12765 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12766
12767         * INSTALL: Regenerated.
12768
12769 2014-03-13  Will Newton  <will.newton@linaro.org>
12770
12771         * manual/setjmp.texi (System V contexts): Improve
12772         clarity and grammar of documentation.
12773
12774 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12775
12776         [BZ #16381]
12777         * elf/Makefile (tests): Add tst-pie2.
12778         (tests-pie): Add tst-pie2.
12779         * elf/tst-pie2.c: New file.
12780         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12781         for ET_EXEC.
12782         * elf/rtld.c (map_doit): Load executable as lt_executable.
12783         (dl_main): Likewise.
12784
12785 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12786
12787         [BZ #16642]
12788         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12789         (__ASSUME_PSELECT): Undefine.
12790
12791 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12792
12793         [BZ #16689]
12794         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12795         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12796         static build.
12797         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12798         selector for static builds.
12799
12800 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12801
12802         [BZ #16695]
12803         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12804         key in the buffer.
12805
12806 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12807
12808         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12809         IFUNC selector for static builds.
12810
12811 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12812
12813         * sysdeps/mips/math_private.h [__mips_hard_float]
12814         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12815         libc_feresetround_mips_ctx.
12816         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12817         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12818         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12819
12820         [BZ #16677]
12821         * math/s_nextafter.c (__nextafter): Do not return value from
12822         overflowing computation.
12823         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12824         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12825         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12826         Likewise.
12827         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12828         Likewise.
12829         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12830         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12831
12832 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12833
12834         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12835         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12836         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12837         the new mov targetting sp.
12838
12839 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12840
12841         [BZ #16683]
12842         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12843         Define it for static builds as well.
12844         (NO_BZERO_IMPL): Likewise.
12845
12846 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12847
12848         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12849         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12850         multiarch strspn for PPC64.
12851         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12852         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12854         (__libc_ifunc_impl_list): Likewise.
12855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12856         multiarch optimizations
12857         * string/strspn.c (strspn): Using macro to redefine symbol name.
12858
12859 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12860             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12861
12862         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12863         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12864         multiarch strncat for PPC64.
12865         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12866         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12868         (__libc_ifunc_impl_list): Likewise.
12869         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12870         multiarch optimizations
12871
12872 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12873
12874         [BZ #16639]
12875         * nscd/nscd.service: Make service type forking.
12876
12877 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12878
12879         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12880         sign in non default rounding modes.
12881         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12882
12883 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
12884
12885         * math/libm-test.inc (ALL_RM_TEST): New macro.
12886         (ceil_test): Use ALL_RM_TEST.
12887         (cimag_test): Likewise.
12888         (conj_test): Likewise.
12889         (copysign_test): Likewise.
12890         (cproj_test): Likewise.
12891         (creal_test): Likewise.
12892         (fabs_test): Likewise.
12893         (floor_test): Likewise.
12894         (fmax_test): Likewise.
12895         (fmin_test): Likewise.
12896         (fmod_test): Likewise.
12897         (fpclassify_test): Likewise.
12898         (frexp_test): Likewise.
12899         (ilogb_test): Likewise.
12900         (isfinite_test): Likewise.
12901         (finite_test): Likewise.
12902         (isgreater_test): Likewise.
12903         (isgreaterequal_test): Likewise.
12904         (isinf_test): Likewise.
12905         (isless_test): Likewise.
12906         (islessequal_test): Likewise.
12907         (islessgreater_test): Likewise.
12908         (isnan_test): Likewise.
12909         (isnormal_test): Likewise.
12910         (issignaling_test): Likewise.
12911         (isunordered_test): Likewise.
12912         (logb_test): Likewise.
12913         (logb_downward_test_data): Remove.
12914         (logb_test_downward): Likewise.
12915         (lround_test): Use ALL_RM_TEST.
12916         (llround_test): Likewise.
12917         (modf_test): Likewise.
12918         (nexttoward_test): Likewise.
12919         (remainder_test): Likewise.
12920         (drem_test): Likewise.
12921         (remainder_tonearest_test_data): Likewise.
12922         (remainder_test_tonearest): Likewise.
12923         (drem_test_tonearest): Likewise.
12924         (remainder_towardzero_test_data): Likewise.
12925         (remainder_test_towardzero): Likewise.
12926         (drem_test_towardzero): Likewise.
12927         (remainder_downward_test_data): Likewise.
12928         (remainder_test_downward): Likewise.
12929         (drem_test_downward): Likewise.
12930         (remainder_upward_test_data): Likewise.
12931         (remainder_test_upward): Likewise.
12932         (drem_test_upward): Likewise.
12933         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
12934         (round_test): Use ALL_RM_TEST.
12935         (signbit_test): Likewise.
12936         (trunc_test): Likewise.
12937         (significand_test): Likewise.
12938         (main): Don't call removed functions.
12939
12940 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12941
12942         [BZ #16674]
12943         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12944         || __USE_XOPEN2K8].
12945         (ILL_ILLOPN): Likewise.
12946         (ILL_ILLADR): Likewise.
12947         (ILL_ILLTRP): Likewise.
12948         (ILL_PRVOPC): Likewise.
12949         (ILL_PRVREG): Likewise.
12950         (ILL_COPROC): Likewise.
12951         (ILL_BADSTK): Likewise.
12952         (FPE_INTDIV): Likewise.
12953         (FPE_INTOVF): Likewise.
12954         (FPE_FLTDIV): Likewise.
12955         (FPE_FLTOVF): Likewise.
12956         (FPE_FLTUND): Likewise.
12957         (FPE_FLTRES): Likewise.
12958         (FPE_FLTINV): Likewise.
12959         (FPE_FLTSUB): Likewise.
12960         (SEGV_MAPERR): Likewise.
12961         (SEGV_ACCERR): Likewise.
12962         (BUS_ADRALN): Likewise.
12963         (BUS_ADRERR): Likewise.
12964         (BUS_OBJERR): Likewise.
12965         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12966         (TRAP_TRACE): Likewise.
12967         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12968         __USE_XOPEN2K8].
12969         (CLD_KILLED): Likewise.
12970         (CLD_DUMPED): Likewise.
12971         (CLD_TRAPPED): Likewise.
12972         (CLD_STOPPED): Likewise.
12973         (CLD_CONTINUED): Likewise.
12974         (POLL_IN): Likewise.
12975         (POLL_OUT): Likewise.
12976         (POLL_MSG): Likewise.
12977         (POLL_ERR): Likewise.
12978         (POLL_PRI): Likewise.
12979         (POLL_HUP): Likewise.
12980         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12981         Likewise.
12982         (ILL_ILLOPN): Likewise.
12983         (ILL_ILLADR): Likewise.
12984         (ILL_ILLTRP): Likewise.
12985         (ILL_PRVOPC): Likewise.
12986         (ILL_PRVREG): Likewise.
12987         (ILL_COPROC): Likewise.
12988         (ILL_BADSTK): Likewise.
12989         (FPE_INTDIV): Likewise.
12990         (FPE_INTOVF): Likewise.
12991         (FPE_FLTDIV): Likewise.
12992         (FPE_FLTOVF): Likewise.
12993         (FPE_FLTUND): Likewise.
12994         (FPE_FLTRES): Likewise.
12995         (FPE_FLTINV): Likewise.
12996         (FPE_FLTSUB): Likewise.
12997         (SEGV_MAPERR): Likewise.
12998         (SEGV_ACCERR): Likewise.
12999         (BUS_ADRALN): Likewise.
13000         (BUS_ADRERR): Likewise.
13001         (BUS_OBJERR): Likewise.
13002         (BUS_MCEERR_AR): Likewise.
13003         (BUS_MCEERR_AO): Likewise.
13004         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13005         (TRAP_TRACE): Likewise.
13006         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13007         __USE_XOPEN2K8].
13008         (CLD_KILLED): Likewise.
13009         (CLD_DUMPED): Likewise.
13010         (CLD_TRAPPED): Likewise.
13011         (CLD_STOPPED): Likewise.
13012         (CLD_CONTINUED): Likewise.
13013         (POLL_IN): Likewise.
13014         (POLL_OUT): Likewise.
13015         (POLL_MSG): Likewise.
13016         (POLL_ERR): Likewise.
13017         (POLL_PRI): Likewise.
13018         (POLL_HUP): Likewise.
13019         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13020         (ILL_ILLOPN): Likewise.
13021         (ILL_ILLADR): Likewise.
13022         (ILL_ILLTRP): Likewise.
13023         (ILL_PRVOPC): Likewise.
13024         (ILL_PRVREG): Likewise.
13025         (ILL_COPROC): Likewise.
13026         (ILL_BADSTK): Likewise.
13027         (FPE_INTDIV): Likewise.
13028         (FPE_INTOVF): Likewise.
13029         (FPE_FLTDIV): Likewise.
13030         (FPE_FLTOVF): Likewise.
13031         (FPE_FLTUND): Likewise.
13032         (FPE_FLTRES): Likewise.
13033         (FPE_FLTINV): Likewise.
13034         (FPE_FLTSUB): Likewise.
13035         (SEGV_MAPERR): Likewise.
13036         (SEGV_ACCERR): Likewise.
13037         (BUS_ADRALN): Likewise.
13038         (BUS_ADRERR): Likewise.
13039         (BUS_OBJERR): Likewise.
13040         (BUS_MCEERR_AR): Likewise.
13041         (BUS_MCEERR_AO): Likewise.
13042         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13043         (TRAP_TRACE): Likewise.
13044         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13045         __USE_XOPEN2K8].
13046         (CLD_KILLED): Likewise.
13047         (CLD_DUMPED): Likewise.
13048         (CLD_TRAPPED): Likewise.
13049         (CLD_STOPPED): Likewise.
13050         (CLD_CONTINUED): Likewise.
13051         (POLL_IN): Likewise.
13052         (POLL_OUT): Likewise.
13053         (POLL_MSG): Likewise.
13054         (POLL_ERR): Likewise.
13055         (POLL_PRI): Likewise.
13056         (POLL_HUP): Likewise.
13057         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13058         Likewise.
13059         (ILL_ILLOPN): Likewise.
13060         (ILL_ILLADR): Likewise.
13061         (ILL_ILLTRP): Likewise.
13062         (ILL_PRVOPC): Likewise.
13063         (ILL_PRVREG): Likewise.
13064         (ILL_COPROC): Likewise.
13065         (ILL_BADSTK): Likewise.
13066         (ILL_BADIADDR): Likewise.
13067         (ILL_BREAK): Likewise.
13068         (FPE_INTDIV): Likewise.
13069         (FPE_INTOVF): Likewise.
13070         (FPE_FLTDIV): Likewise.
13071         (FPE_FLTOVF): Likewise.
13072         (FPE_FLTUND): Likewise.
13073         (FPE_FLTRES): Likewise.
13074         (FPE_FLTINV): Likewise.
13075         (FPE_FLTSUB): Likewise.
13076         (FPE_DECOVF): Likewise.
13077         (FPE_DECDIV): Likewise.
13078         (FPE_DECERR): Likewise.
13079         (FPE_INVASC): Likewise.
13080         (FPE_INVDEC): Likewise.
13081         (SEGV_MAPERR): Likewise.
13082         (SEGV_ACCERR): Likewise.
13083         (SEGV_PSTKOVF): Likewise.
13084         (BUS_ADRALN): Likewise.
13085         (BUS_ADRERR): Likewise.
13086         (BUS_OBJERR): Likewise.
13087         (BUS_MCEERR_AR): Likewise.
13088         (BUS_MCEERR_AO): Likewise.
13089         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13090         (TRAP_TRACE): Likewise.
13091         (TRAP_BRANCH): Likewise.
13092         (TRAP_HWBKPT): Likewise.
13093         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13094         __USE_XOPEN2K8].
13095         (CLD_KILLED): Likewise.
13096         (CLD_DUMPED): Likewise.
13097         (CLD_TRAPPED): Likewise.
13098         (CLD_STOPPED): Likewise.
13099         (CLD_CONTINUED): Likewise.
13100         (POLL_IN): Likewise.
13101         (POLL_OUT): Likewise.
13102         (POLL_MSG): Likewise.
13103         (POLL_ERR): Likewise.
13104         (POLL_PRI): Likewise.
13105         (POLL_HUP): Likewise.
13106         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13107         (ILL_ILLOPN): Likewise.
13108         (ILL_ILLADR): Likewise.
13109         (ILL_ILLTRP): Likewise.
13110         (ILL_PRVOPC): Likewise.
13111         (ILL_PRVREG): Likewise.
13112         (ILL_COPROC): Likewise.
13113         (ILL_BADSTK): Likewise.
13114         (FPE_INTDIV): Likewise.
13115         (FPE_INTOVF): Likewise.
13116         (FPE_FLTDIV): Likewise.
13117         (FPE_FLTOVF): Likewise.
13118         (FPE_FLTUND): Likewise.
13119         (FPE_FLTRES): Likewise.
13120         (FPE_FLTINV): Likewise.
13121         (FPE_FLTSUB): Likewise.
13122         (SEGV_MAPERR): Likewise.
13123         (SEGV_ACCERR): Likewise.
13124         (BUS_ADRALN): Likewise.
13125         (BUS_ADRERR): Likewise.
13126         (BUS_OBJERR): Likewise.
13127         (BUS_MCEERR_AR): Likewise.
13128         (BUS_MCEERR_AO): Likewise.
13129         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13130         (TRAP_TRACE): Likewise.
13131         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13132         __USE_XOPEN2K8].
13133         (CLD_KILLED): Likewise.
13134         (CLD_DUMPED): Likewise.
13135         (CLD_TRAPPED): Likewise.
13136         (CLD_STOPPED): Likewise.
13137         (CLD_CONTINUED): Likewise.
13138         (POLL_IN): Likewise.
13139         (POLL_OUT): Likewise.
13140         (POLL_MSG): Likewise.
13141         (POLL_ERR): Likewise.
13142         (POLL_PRI): Likewise.
13143         (POLL_HUP): Likewise.
13144         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13145         (ILL_ILLOPN): Likewise.
13146         (ILL_ILLADR): Likewise.
13147         (ILL_ILLTRP): Likewise.
13148         (ILL_PRVOPC): Likewise.
13149         (ILL_PRVREG): Likewise.
13150         (ILL_COPROC): Likewise.
13151         (ILL_BADSTK): Likewise.
13152         (FPE_INTDIV): Likewise.
13153         (FPE_INTOVF): Likewise.
13154         (FPE_FLTDIV): Likewise.
13155         (FPE_FLTOVF): Likewise.
13156         (FPE_FLTUND): Likewise.
13157         (FPE_FLTRES): Likewise.
13158         (FPE_FLTINV): Likewise.
13159         (FPE_FLTSUB): Likewise.
13160         (SEGV_MAPERR): Likewise.
13161         (SEGV_ACCERR): Likewise.
13162         (BUS_ADRALN): Likewise.
13163         (BUS_ADRERR): Likewise.
13164         (BUS_OBJERR): Likewise.
13165         (BUS_MCEERR_AR): Likewise.
13166         (BUS_MCEERR_AO): Likewise.
13167         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13168         (TRAP_TRACE): Likewise.
13169         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13170         __USE_XOPEN2K8].
13171         (CLD_KILLED): Likewise.
13172         (CLD_DUMPED): Likewise.
13173         (CLD_TRAPPED): Likewise.
13174         (CLD_STOPPED): Likewise.
13175         (CLD_CONTINUED): Likewise.
13176         (POLL_IN): Likewise.
13177         (POLL_OUT): Likewise.
13178         (POLL_MSG): Likewise.
13179         (POLL_ERR): Likewise.
13180         (POLL_PRI): Likewise.
13181         (POLL_HUP): Likewise.
13182         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13183         (ILL_ILLOPN): Likewise.
13184         (ILL_ILLADR): Likewise.
13185         (ILL_ILLTRP): Likewise.
13186         (ILL_PRVOPC): Likewise.
13187         (ILL_PRVREG): Likewise.
13188         (ILL_COPROC): Likewise.
13189         (ILL_BADSTK): Likewise.
13190         (FPE_INTDIV): Likewise.
13191         (FPE_INTOVF): Likewise.
13192         (FPE_FLTDIV): Likewise.
13193         (FPE_FLTOVF): Likewise.
13194         (FPE_FLTUND): Likewise.
13195         (FPE_FLTRES): Likewise.
13196         (FPE_FLTINV): Likewise.
13197         (FPE_FLTSUB): Likewise.
13198         (SEGV_MAPERR): Likewise.
13199         (SEGV_ACCERR): Likewise.
13200         (BUS_ADRALN): Likewise.
13201         (BUS_ADRERR): Likewise.
13202         (BUS_OBJERR): Likewise.
13203         (BUS_MCEERR_AR): Likewise.
13204         (BUS_MCEERR_AO): Likewise.
13205         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13206         (TRAP_TRACE): Likewise.
13207         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13208         __USE_XOPEN2K8].
13209         (CLD_KILLED): Likewise.
13210         (CLD_DUMPED): Likewise.
13211         (CLD_TRAPPED): Likewise.
13212         (CLD_STOPPED): Likewise.
13213         (CLD_CONTINUED): Likewise.
13214         (POLL_IN): Likewise.
13215         (POLL_OUT): Likewise.
13216         (POLL_MSG): Likewise.
13217         (POLL_ERR): Likewise.
13218         (POLL_PRI): Likewise.
13219         (POLL_HUP): Likewise.
13220         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13221         (ILL_ILLOPN): Likewise.
13222         (ILL_ILLADR): Likewise.
13223         (ILL_ILLTRP): Likewise.
13224         (ILL_PRVOPC): Likewise.
13225         (ILL_PRVREG): Likewise.
13226         (ILL_COPROC): Likewise.
13227         (ILL_BADSTK): Likewise.
13228         (ILL_DBLFLT): Likewise.
13229         (ILL_HARDWALL): Likewise.
13230         (FPE_INTDIV): Likewise.
13231         (FPE_INTOVF): Likewise.
13232         (FPE_FLTDIV): Likewise.
13233         (FPE_FLTOVF): Likewise.
13234         (FPE_FLTUND): Likewise.
13235         (FPE_FLTRES): Likewise.
13236         (FPE_FLTINV): Likewise.
13237         (FPE_FLTSUB): Likewise.
13238         (SEGV_MAPERR): Likewise.
13239         (SEGV_ACCERR): Likewise.
13240         (BUS_ADRALN): Likewise.
13241         (BUS_ADRERR): Likewise.
13242         (BUS_OBJERR): Likewise.
13243         (BUS_MCEERR_AR): Likewise.
13244         (BUS_MCEERR_AO): Likewise.
13245         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13246         (TRAP_TRACE): Likewise.
13247         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13248         __USE_XOPEN2K8].
13249         (CLD_KILLED): Likewise.
13250         (CLD_DUMPED): Likewise.
13251         (CLD_TRAPPED): Likewise.
13252         (CLD_STOPPED): Likewise.
13253         (CLD_CONTINUED): Likewise.
13254         (POLL_IN): Likewise.
13255         (POLL_OUT): Likewise.
13256         (POLL_MSG): Likewise.
13257         (POLL_ERR): Likewise.
13258         (POLL_PRI): Likewise.
13259         (POLL_HUP): Likewise.
13260         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13261         (ILL_ILLOPN): Likewise.
13262         (ILL_ILLADR): Likewise.
13263         (ILL_ILLTRP): Likewise.
13264         (ILL_PRVOPC): Likewise.
13265         (ILL_PRVREG): Likewise.
13266         (ILL_COPROC): Likewise.
13267         (ILL_BADSTK): Likewise.
13268         (FPE_INTDIV): Likewise.
13269         (FPE_INTOVF): Likewise.
13270         (FPE_FLTDIV): Likewise.
13271         (FPE_FLTOVF): Likewise.
13272         (FPE_FLTUND): Likewise.
13273         (FPE_FLTRES): Likewise.
13274         (FPE_FLTINV): Likewise.
13275         (FPE_FLTSUB): Likewise.
13276         (SEGV_MAPERR): Likewise.
13277         (SEGV_ACCERR): Likewise.
13278         (BUS_ADRALN): Likewise.
13279         (BUS_ADRERR): Likewise.
13280         (BUS_OBJERR): Likewise.
13281         (BUS_MCEERR_AR): Likewise.
13282         (BUS_MCEERR_AO): Likewise.
13283         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13284         (TRAP_TRACE): Likewise.
13285         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13286         __USE_XOPEN2K8].
13287         (CLD_KILLED): Likewise.
13288         (CLD_DUMPED): Likewise.
13289         (CLD_TRAPPED): Likewise.
13290         (CLD_STOPPED): Likewise.
13291         (CLD_CONTINUED): Likewise.
13292         (POLL_IN): Likewise.
13293         (POLL_OUT): Likewise.
13294         (POLL_MSG): Likewise.
13295         (POLL_ERR): Likewise.
13296         (POLL_PRI): Likewise.
13297         (POLL_HUP): Likewise.
13298         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13299         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13300
13301         [BZ #16670]
13302         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13303         before #include of <time.h>.
13304         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13305         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13306         (test-xfail-UNIX98/sched.h/conform): Likewise.
13307
13308 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13309
13310         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13311         error absence of trapping exception support.
13312         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13313
13314 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13315
13316         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13317         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13318         * timezone/Makefile (testdata): Move definition above include of
13319         Rules.
13320         (test-zones): New variable.
13321         (tests-special): Add zone files.
13322         (build-testdata): Use $(evaluate-test).
13323
13324         * elf/Makefile (tests-special): Rename tests to end with .out.
13325         ($(objpfx)noload-mem): Likewise.
13326         ($(objpfx)tst-leaks1-mem): Likewise.
13327         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13328         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13329         $(objpfx)test-iconvconfig.out.
13330         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13331         set -e inside subshell and redirect output to file.
13332         * iconvdata/Makefile (generated): Rename tests to end with .out.
13333         Correct type.
13334         (tests-special): Rename tests to end with .out.
13335         ($(objpfx)mtrace-tst-loading): Likewise.
13336         * intl/Makefile (generated): Likewise.
13337         (tests-special): Likewise.
13338         ($(objpfx)mtrace-tst-gettext): Likewise.
13339         * misc/Makefile (generated): Likewise.
13340         (tests-special): Likewise.
13341         ($(objpfx)tst-error1-mem): Likewise.
13342         * nptl/Makefile (tests-special): Likewise.
13343         ($(objpfx)tst-stack3-mem): Likewise.
13344         (generated): Likewise.
13345         * posix/Makefile (generated): Likewise.
13346         (tests-special): Likewise.
13347         (xtests-special): Likewise.
13348         ($(objpfx)tst-fnmatch-mem): Likewise.
13349         ($(objpfx)bug-regex2-mem): Likewise.
13350         ($(objpfx)bug-regex14-mem): Likewise.
13351         ($(objpfx)bug-regex21-mem): Likewise.
13352         ($(objpfx)bug-regex31-mem): Likewise.
13353         ($(objpfx)tst-vfork3-mem): Likewise.
13354         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13355         ($(objpfx)tst-pcre-mem): Likewise.
13356         ($(objpfx)tst-boost-mem): Likewise.
13357         ($(objpfx)bug-ga2-mem): Likewise.
13358         ($(objpfx)bug-glob2-mem): Likewise.
13359         * resolv/Makefile (generate): Likewise.
13360         (tests-special): Likewise.
13361         (xtests-special): Likewise.
13362         (generated): Likewise.
13363         ($(objpfx)mtrace-tst-leaks): Likewise.
13364         ($(objpfx)mtrace-tst-leaks2): Likewise.
13365
13366         * scripts/merge-test-results.sh: New file.
13367         * Makefile (tests-special-notdir): New variable.
13368         (tests): Run merge-test-results.sh.
13369         (xtests): Likewise.
13370         * Rules (tests-special-notdir): New variable.
13371         (xtests-special-notdir): Likewise.
13372         (tests): Run merge-test-results.sh
13373         (xtests): Likewise.
13374
13375         * Makeconfig (test-xfail-name): New variable.
13376         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13377         compute variable name for expected failures.
13378         * conform/Makefile (conformtest-headers-data): New variable.
13379         (conformtest-standards): Likewise.
13380         (conformtest-headers-ISO): Likewise.
13381         (conformtest-headers-ISO99): Likewise.
13382         (conformtest-headers-ISO11): Likewise.
13383         (conformtest-headers-POSIX): Likewise.
13384         (conformtest-headers-XPG3): Likewise.
13385         (conformtest-headers-XPG4): Likewise.
13386         (conformtest-headers-UNIX98): Likewise.
13387         (conformtest-headers-XOPEN2K): Likewise.
13388         (conformtest-headers-POSIX2008): Likewise.
13389         (conformtest-headers-XOPEN2K8): Likewise.
13390         (conformtest-header-list-base): Likewise.
13391         (conformtest-header-list-tests): Likewise.
13392         (conformtest-header-base): Likewise.
13393         (conformtest-header-tests): Likewise.
13394         (tests-special): Add $(conformtest-header-list-tests).  If
13395         [$(fast-check) && !$(cross-compiling)], add
13396         $(conformtest-header-tests) instead of
13397         $(objpfx)run-conformtest.out.
13398         (generated): Add $(conformtest-header-list-base).  If
13399         [$(fast-check) && !$(cross-compiling)], add
13400         $(conformtest-header-base).  Remove previous setting.
13401         ($(conformtest-header-list-tests)): New target.
13402         (test-xfail-run-conformtest): Remove variable.
13403         ($(objpfx)run-conformtest.out): Remove target.
13404         (test-xfail-ISO11/complex.h/conform): New variable.
13405         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13406         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13407         (test-xfail-XPG3/varargs.h/conform): Likewise.
13408         (test-xfail-XPG4/varargs.h/conform): Likewise.
13409         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13410         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13411         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13412         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13413         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13414         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13415         (test-xfail-XPG3/ftw.h/conform): Likewise.
13416         (test-xfail-XPG3/grp.h/conform): Likewise.
13417         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13418         (test-xfail-XPG3/limits.h/conform): Likewise.
13419         (test-xfail-XPG3/pwd.h/conform): Likewise.
13420         (test-xfail-XPG3/search.h/conform): Likewise.
13421         (test-xfail-XPG3/signal.h/conform): Likewise.
13422         (test-xfail-XPG3/stdio.h/conform): Likewise.
13423         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13424         (test-xfail-XPG3/string.h/conform): Likewise.
13425         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13426         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13427         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13428         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13429         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13430         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13431         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13432         (test-xfail-XPG3/termios.h/conform): Likewise.
13433         (test-xfail-XPG3/time.h/conform): Likewise.
13434         (test-xfail-XPG3/unistd.h/conform): Likewise.
13435         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13436         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13437         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13438         (test-xfail-XPG4/netdb.h/conform): Likewise.
13439         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13440         (test-xfail-XPG4/signal.h/conform): Likewise.
13441         (test-xfail-XPG4/stdio.h/conform): Likewise.
13442         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13443         (test-xfail-XPG4/stropts.h/conform): Likewise.
13444         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13445         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13446         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13447         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13448         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13449         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13450         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13451         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13452         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13453         (test-xfail-XPG4/termios.h/conform): Likewise.
13454         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13455         (test-xfail-XPG4/unistd.h/conform): Likewise.
13456         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13457         (test-xfail-POSIX/sched.h/conform): Likewise.
13458         (test-xfail-POSIX/signal.h/conform): Likewise.
13459         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13460         (test-xfail-POSIX/tar.h/conform): Likewise.
13461         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13462         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13463         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13464         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13465         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13466         (test-xfail-UNIX98/sched.h/conform): Likewise.
13467         (test-xfail-UNIX98/signal.h/conform): Likewise.
13468         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13469         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13470         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13471         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13472         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13473         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13474         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13475         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13476         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13477         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13478         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13479         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13480         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13481         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13482         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13483         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13484         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13485         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13486         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13487         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13488         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13489         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13490         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13491         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13492         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13493         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13494         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13495         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13496         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13497         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13498         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13499         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13500         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13501         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13502         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13503         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13504         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13505         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13506         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13507         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13508         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13509         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13510         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13511         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13512         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13513         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13514         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13515         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13516         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13517         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13518         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13519         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13520         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13521         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13522         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13523         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13524         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13525         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13526         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13527         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13528         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13529         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13530         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13531         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13532         (conformtest-cc-flags): Likewise.
13533         ($(conformtest-header-tests): New target.
13534         * conform/check-header-lists.sh: New file.
13535         * conform/run-conformtest.sh: Remove.
13536
13537         * conform/conformtest.pl: Allow ' and \ in values given for
13538         constants.
13539         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13540         inclusion.
13541         [POSIX] (sys/types.h): Likewise.
13542         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13543         inclusion.
13544         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13545         inclusion.
13546         * conform/data/signal.h-data (SIGIO): Remove expectation.
13547         [XPG3] (SIGBUS): Do not expect.
13548         [POSIX || XPG3] (SIGPOLL): Likewise.
13549         [POSIX || XPG3] (SIGPROF): Likewise.
13550         [POSIX || XPG3] (SIGSYS): Likewise.
13551         [XPG3] (SIGTRAP): Likewise.
13552         [POSIX || XPG3] (SIGURG): Likewise.
13553         [POSIX || XPG3] (SIGVTALRM): Likewise.
13554         [POSIX || XPG3] (SIGXCPU): Likewise.
13555         [POSIX || XPG3] (SIGXFSZ): Likewise.
13556         [POSIX] (SA_SIGINFO): Expect.
13557         [XPG3] (siginfo_t): Do not expect type or contents.
13558         [POSIX] (si_pid): Do not expect element.
13559         [POSIX] (si_uid): Likewise.
13560         [POSIX] (si_addr): Likewise.
13561         [POSIX] (si_status): Likewise.
13562         [POSIX] (si_band): Likewise.
13563         [XPG4] (si_value): Likewise.
13564         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13565         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13566         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13567         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13568         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13569         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13570         [POSIX || XPG3] (ILL_COPROC): Likewise.
13571         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13572         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13573         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13574         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13575         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13576         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13577         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13578         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13579         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13580         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13581         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13582         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13583         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13584         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13585         [POSIX || XPG3] (CLD_EXITED): Likewise.
13586         [POSIX || XPG3] (CLD_KILLED): Likewise.
13587         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13588         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13589         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13590         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13591         [POSIX || XPG3] (POLL_IN): Likewise.
13592         [POSIX || XPG3] (POLL_OUT): Likewise.
13593         [POSIX || XPG3] (POLL_MSG): Likewise.
13594         [POSIX || XPG3] (POLL_ERR): Likewise.
13595         [POSIX || XPG3] (POLL_PRI): Likewise.
13596         [POSIX || XPG3] (POLL_HUP): Likewise.
13597         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13598         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13599         (SIG*): Do not allow.
13600         [XPG3] (si_*): Likewise.
13601         [XPG3] (SI_*): Likewise.
13602         [XPG3 || XPG4] (sigev_*): Likewise.
13603         [XPG3 || XPG4] (SIGEV_*): Likewise.
13604         [XPG3 || XPG4] (sival_*): Likewise.
13605         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13606         [POSIX || XPG3] (BUS_*): Likewise.
13607         [POSIX || XPG3] (CLD_*): Likewise.
13608         [POSIX || XPG3] (FPE_*): Likewise.
13609         [POSIX || XPG3] (ILL_*): Likewise.
13610         [POSIX || XPG3] (POLL_*): Likewise.
13611         [POSIX || XPG3] (SEGV_*): Likewise.
13612         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13613         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13614         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13615         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13616         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13617         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13618         Specify type and value.
13619         (TVERSLEN): Likewise.
13620         (REGTYPE): Likewise.
13621         (AREGTYPE): Likewise.
13622         (LNKTYPE): Likewise.
13623         (SYMTYPE): Likewise.
13624         (CHRTYPE): Likewise.
13625         (BLKTYPE): Likewise.
13626         (DIRTYPE): Likewise.
13627         (FIFOTYPE): Likewise.
13628         (CONTTYPE): Likewise.
13629         (TSUID): Likewise.
13630         (TSGID): Likewise.
13631         (TSVTX): Likewise.
13632         (TUREAD): Likewise.
13633         (TUWRITE): Likewise.
13634         (TUEXEC): Likewise.
13635         (TGREAD): Likewise.
13636         (TGWRITE): Likewise.
13637         (TGEXEC): Likewise.
13638         (TOREAD): Likewise.
13639         (TOWRITE): Likewise.
13640         (TOEXEC): Likewise.
13641         [POSIX] (TSVTX): Expect constant.
13642
13643 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13644
13645         * Makefile (tests): Change dependencies to ....
13646         (tests-special): ... additions to this variable.
13647         (tests): Depend on $(tests-special).
13648         * Makerules (check-abi-list): New variable.
13649         (check-abi): Depend on $(check-abi-list).
13650         [$(subdir) = elf] (tests-special): Add
13651         $(objpfx)check-abi-libc.out.
13652         [$(build-shared) = yes && subdir] (tests-special): Add
13653         $(check-abi-list).
13654         [$(build-shared) = yes && subdir] (tests): Do not depend on
13655         check-abi.
13656         * Rules (tests): Depend on $(tests-special).
13657         (xtests): Depend on $(xtests-special).
13658         * catgets/Makefile (tests): Change dependencies to ....
13659         (tests-special): ... additions to this variable.
13660         * conform/Makefile (tests): Change dependencies to ....
13661         (tests-special): ... additions to this variable.
13662         * elf/Makefile (tests): Change dependencies to ....
13663         (tests-special): ... additions to this variable.
13664         * grp/Makefile (tests): Change dependencies to ....
13665         (tests-special): ... additions to this variable.
13666         * iconv/Makefile (xtests): Change dependencies to ....
13667         (xtests-special): ... additions to this variable.
13668         * iconvdata/Makefile (tests): Change dependencies to ....
13669         (tests-special): ... additions to this variable.
13670         * intl/Makefile (tests): Change dependencies to ....
13671         (tests-special): ... additions to this variable.  Also add
13672         $(objpfx)tst-gettext.out.
13673         * io/Makefile (tests): Change dependencies to ....
13674         (tests-special): ... additions to this variable.
13675         * libio/Makefile (tests): Change dependencies to ....
13676         (tests-special): ... additions to this variable.
13677         * malloc/Makefile (tests): Change dependencies to ....
13678         (tests-special): ... additions to this variable.
13679         * misc/Makefile (tests): Change dependencies to ....
13680         (tests-special): ... additions to this variable.
13681         * nptl/Makefile (tests): Change dependencies to ....
13682         (tests-special): ... additions to this variable.
13683         * nptl_db/Makefile (tests): Change dependencies to ....
13684         (tests-special): ... additions to this variable.
13685         * posix/Makefile (tests): Change dependencies to ....
13686         (tests-special): ... additions to this variable.
13687         (xtests): Change dependencies to ....
13688         (xtests-special): ... additions to this variable.
13689         * resolv/Makefile (tests): Change dependencies to ....
13690         (tests-special): ... additions to this variable.
13691         (xtests): Change dependencies to ....
13692         (xtests-special): ... additions to this variable.
13693         * stdio-common/Makefile (tests): Change dependencies to ....
13694         (tests-special): ... additions to this variable.
13695         (do-tst-unbputc): Remove target.
13696         (do-tst-printf): Likewise.
13697         * stdlib/Makefile (tests): Change dependencies to ....
13698         (tests-special): ... additions to this variable.
13699         * string/Makefile (tests): Change dependencies to ....
13700         (tests-special): ... additions to this variable.
13701         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13702         (tests-special): ... additions to this variable.
13703
13704         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13705         whole file.
13706         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13707         whole file.
13708         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13709         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13710
13711         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13712         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13713         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13714         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13715         * conform/data/libgen.h-data [XPG3]: Likewise.
13716         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13717         * conform/data/ndbm.h-data [XPG3]: Likewise.
13718         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13719         * conform/data/netdb.h-data [XPG3]: Likewise.
13720         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13721         * conform/data/poll.h-data [XPG3]: Likewise.
13722         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13723         * conform/data/strings.h-data [XPG3]: Likewise.
13724         * conform/data/stropts.h-data [XPG3]: Likewise.
13725         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13726         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13727         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13728         Likewise.
13729         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13730         * conform/data/sys/time.h-data [XPG3]: Likewise.
13731         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13732         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13733         * conform/data/sys/un.h-data [XPG3]: Likewise.
13734         * conform/data/syslog.h-data [XPG3]: Likewise.
13735         * conform/data/ucontext.h-data [XPG3]: Likewise.
13736         * conform/data/utmpx.h-data [XPG3]: Likewise.
13737         * conform/data/varargs.h-data [UNIX98]: Enable file.
13738
13739         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13740
13741         * math/libm-test.inc (struct test_f_f_data): Move expected results
13742         into structure for each rounding mode.
13743         (struct test_ff_f_data): Likewise.
13744         (struct test_ff_f_data_nexttoward): Likewise.
13745         (struct test_fi_f_data): Likewise.
13746         (struct test_fl_f_data): Likewise.
13747         (struct test_if_f_data): Likewise.
13748         (struct test_fff_f_data): Likewise.
13749         (struct test_c_f_data): Likewise.
13750         (struct test_f_f1_data): Likewise.
13751         (struct test_fF_f1_data): Likewise.
13752         (struct test_ffI_f1_data): Likewise.
13753         (struct test_c_c_data): Likewise.
13754         (struct test_cc_c_data): Likewise.
13755         (struct test_f_i_data): Likewise.
13756         (struct test_ff_i_data): Likewise.
13757         (struct test_f_l_data): Likewise.
13758         (struct test_f_L_data): Likewise.
13759         (struct test_fFF_11_data): Likewise.
13760         (RM_): New macro.
13761         (RM_FE_DOWNWARD): Likewise.
13762         (RM_FE_TONEAREST): Likewise.
13763         (RM_FE_TOWARDZERO): Likewise.
13764         (RM_FE_UPWARD): Likewise.
13765         (RUN_TEST_LOOP_f_f): Update references to expected results.
13766         (RUN_TEST_LOOP_2_f): Likewise.
13767         (RUN_TEST_LOOP_fff_f): Likewise.
13768         (RUN_TEST_LOOP_c_f): Likewise.
13769         (RUN_TEST_LOOP_f_f1): Likewise.
13770         (RUN_TEST_LOOP_fF_f1): Likewise.
13771         (RUN_TEST_LOOP_fI_f1): Likewise.
13772         (RUN_TEST_LOOP_ffI_f1): Likewise.
13773         (RUN_TEST_LOOP_c_c): Likewise.
13774         (RUN_TEST_LOOP_cc_c): Likewise.
13775         (RUN_TEST_LOOP_f_i): Likewise.
13776         (RUN_TEST_LOOP_f_i_tg): Likewise.
13777         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13778         (RUN_TEST_LOOP_f_b): Likewise.
13779         (RUN_TEST_LOOP_f_b_tg): Likewise.
13780         (RUN_TEST_LOOP_f_l): Likewise.
13781         (RUN_TEST_LOOP_f_L): Likewise.
13782         (RUN_TEST_LOOP_fFF_11): Likewise.
13783         * math/gen-libm-test.pl (parse_args): Output four copies of
13784         expected results for each test.
13785
13786         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13787         (__ASSUME_UTIMES): Remove.
13788         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13789         (__ASSUME_UTIMES): Likewise.
13790
13791         * math/gen-auto-libm-tests.c: Update comment on output format.
13792         (output_for_one_input_case): Generate before-rounding and
13793         after-rounding information as conditions on output flags not
13794         floating-point format.
13795         * math/auto-libm-test-out: Regenerated.
13796         * math/gen-libm-test.pl (cond_value): New function.
13797         (or_cond_value): Use cond_value.
13798         (generate_testfile): Handle conditional exceptions.
13799
13800 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13801
13802         * math/libm-test.inc (max_valid_error): New variable.
13803         (init_max_error): Take new argument specifying whether function
13804         results are exactly determined.  Set max_valid_error and bound
13805         other variables for errors based on this argument.
13806         (set_max_error): Do not record results above max_valid_error.
13807         (check_float_internal): Only accept errors of up to 0.5ulps if
13808         also at most max_valid_error.
13809         (START): Take new argument EXACT and pass it to init_max_error.
13810         (acos_test): Update call to START.
13811         (acos_test_tonearest): Likewise.
13812         (acos_test_towardzero): Likewise.
13813         (acos_test_downward): Likewise.
13814         (acos_test_upward): Likewise.
13815         (acosh_test): Likewise.
13816         (asin_test): Likewise.
13817         (asin_test_tonearest): Likewise.
13818         (asin_test_towardzero): Likewise.
13819         (asin_test_downward): Likewise.
13820         (asin_test_upward): Likewise.
13821         (asinh_test): Likewise.
13822         (atan_test): Likewise.
13823         (atanh_test): Likewise.
13824         (atan2_test): Likewise.
13825         (cabs_test): Likewise.
13826         (cacos_test): Likewise.
13827         (cacosh_test): Likewise.
13828         (carg_test): Likewise.
13829         (casin_test): Likewise.
13830         (casinh_test): Likewise.
13831         (catan_test): Likewise.
13832         (catanh_test): Likewise.
13833         (cbrt_test): Likewise.
13834         (ccos_test): Likewise.
13835         (ccosh_test): Likewise.
13836         (ceil_test): Likewise.
13837         (cexp_test): Likewise.
13838         (cimag_test): Likewise.
13839         (clog_test): Likewise.
13840         (clog10_test): Likewise.
13841         (conj_test): Likewise.
13842         (copysign_test): Likewise.
13843         (cos_test): Likewise.
13844         (cos_test_tonearest): Likewise.
13845         (cos_test_towardzero): Likewise.
13846         (cos_test_downward): Likewise.
13847         (cos_test_upward): Likewise.
13848         (cosh_test): Likewise.
13849         (cosh_test_tonearest): Likewise.
13850         (cosh_test_towardzero): Likewise.
13851         (cosh_test_downward): Likewise.
13852         (cosh_test_upward): Likewise.
13853         (cpow_test): Likewise.
13854         (cproj_test): Likewise.
13855         (creal_test): Likewise.
13856         (csin_test): Likewise.
13857         (csinh_test): Likewise.
13858         (csqrt_test): Likewise.
13859         (ctan_test): Likewise.
13860         (ctan_test_tonearest): Likewise.
13861         (ctan_test_towardzero): Likewise.
13862         (ctan_test_downward): Likewise.
13863         (ctan_test_upward): Likewise.
13864         (ctanh_test): Likewise.
13865         (ctanh_test_tonearest): Likewise.
13866         (ctanh_test_towardzero): Likewise.
13867         (ctanh_test_downward): Likewise.
13868         (ctanh_test_upward): Likewise.
13869         (erf_test): Likewise.
13870         (erfc_test): Likewise.
13871         (exp_test): Likewise.
13872         (exp_test_tonearest): Likewise.
13873         (exp_test_towardzero): Likewise.
13874         (exp_test_downward): Likewise.
13875         (exp_test_upward): Likewise.
13876         (exp10_test): Likewise.
13877         (exp10_test_tonearest): Likewise.
13878         (exp10_test_towardzero): Likewise.
13879         (exp10_test_downward): Likewise.
13880         (exp10_test_upward): Likewise.
13881         (pow10_test): Likewise.
13882         (exp2_test): Likewise.
13883         (expm1_test): Likewise.
13884         (expm1_test_tonearest): Likewise.
13885         (expm1_test_towardzero): Likewise.
13886         (expm1_test_downward): Likewise.
13887         (expm1_test_upward): Likewise.
13888         (fabs_test): Likewise.
13889         (fdim_test): Likewise.
13890         (floor_test): Likewise.
13891         (fma_test): Likewise.
13892         (fma_test_towardzero): Likewise.
13893         (fma_test_downward): Likewise.
13894         (fma_test_upward): Likewise.
13895         (fmax_test): Likewise.
13896         (fmin_test): Likewise.
13897         (fmod_test): Likewise.
13898         (fpclassify_test): Likewise.
13899         (frexp_test): Likewise.
13900         (hypot_test): Likewise.
13901         (ilogb_test): Likewise.
13902         (isfinite_test): Likewise.
13903         (finite_test): Likewise.
13904         (isgreater_test): Likewise.
13905         (isgreaterequal_test): Likewise.
13906         (isinf_test): Likewise.
13907         (isless_test): Likewise.
13908         (islessequal_test): Likewise.
13909         (islessgreater_test): Likewise.
13910         (isnan_test): Likewise.
13911         (isnormal_test): Likewise.
13912         (issignaling_test): Likewise.
13913         (isunordered_test): Likewise.
13914         (j0_test): Likewise.
13915         (j1_test): Likewise.
13916         (jn_test): Likewise.
13917         (ldexp_test): Likewise.
13918         (lgamma_test): Likewise.
13919         (gamma_test): Likewise.
13920         (lrint_test): Likewise.
13921         (lrint_test_tonearest): Likewise.
13922         (lrint_test_towardzero): Likewise.
13923         (lrint_test_downward): Likewise.
13924         (lrint_test_upward): Likewise.
13925         (llrint_test): Likewise.
13926         (llrint_test_tonearest): Likewise.
13927         (llrint_test_towardzero): Likewise.
13928         (llrint_test_downward): Likewise.
13929         (llrint_test_upward): Likewise.
13930         (log_test): Likewise.
13931         (log10_test): Likewise.
13932         (log1p_test): Likewise.
13933         (log2_test): Likewise.
13934         (logb_test): Likewise.
13935         (logb_test_downward): Likewise.
13936         (lround_test): Likewise.
13937         (llround_test): Likewise.
13938         (modf_test): Likewise.
13939         (nearbyint_test): Likewise.
13940         (nextafter_test): Likewise.
13941         (nexttoward_test): Likewise.
13942         (pow_test): Likewise.
13943         (pow_test_tonearest): Likewise.
13944         (pow_test_towardzero): Likewise.
13945         (pow_test_downward): Likewise.
13946         (pow_test_upward): Likewise.
13947         (remainder_test): Likewise.
13948         (drem_test): Likewise.
13949         (remainder_test_tonearest): Likewise.
13950         (drem_test_tonearest): Likewise.
13951         (remainder_test_towardzero): Likewise.
13952         (drem_test_towardzero): Likewise.
13953         (remainder_test_downward): Likewise.
13954         (drem_test_downward): Likewise.
13955         (remainder_test_upward): Likewise.
13956         (drem_test_upward): Likewise.
13957         (remquo_test): Likewise.
13958         (rint_test): Likewise.
13959         (rint_test_tonearest): Likewise.
13960         (rint_test_towardzero): Likewise.
13961         (rint_test_downward): Likewise.
13962         (rint_test_upward): Likewise.
13963         (round_test): Likewise.
13964         (scalb_test): Likewise.
13965         (scalbn_test): Likewise.
13966         (scalbln_test): Likewise.
13967         (signbit_test): Likewise.
13968         (sin_test): Likewise.
13969         (sin_test_tonearest): Likewise.
13970         (sin_test_towardzero): Likewise.
13971         (sin_test_downward): Likewise.
13972         (sin_test_upward): Likewise.
13973         (sincos_test): Likewise.
13974         (sinh_test): Likewise.
13975         (sinh_test_tonearest): Likewise.
13976         (sinh_test_towardzero): Likewise.
13977         (sinh_test_downward): Likewise.
13978         (sinh_test_upward): Likewise.
13979         (sqrt_test): Likewise.
13980         (sqrt_test_tonearest): Likewise.
13981         (sqrt_test_towardzero): Likewise.
13982         (sqrt_test_downward): Likewise.
13983         (sqrt_test_upward): Likewise.
13984         (tan_test): Likewise.
13985         (tan_test_tonearest): Likewise.
13986         (tan_test_towardzero): Likewise.
13987         (tan_test_downward): Likewise.
13988         (tan_test_upward): Likewise.
13989         (tanh_test): Likewise.
13990         (tgamma_test): Likewise.
13991         (trunc_test): Likewise.
13992         (y0_test): Likewise.
13993         (y1_test): Likewise.
13994         (yn_test): Likewise.
13995         (significand_test): Likewise.
13996
13997         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13998         individual tests in comment.
13999         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14000         (prev_max_error): New variable.
14001         (prev_real_max_error): Likewise.
14002         (prev_imag_max_error): Likewise.
14003         (compare_ulp_data): Don't refer to test names in comment.
14004         (find_test_ulps): Remove function.
14005         (find_function_ulps): Likewise.
14006         (find_complex_function_ulps): Likewise.
14007         (init_max_error): Take function name as argument.  Look up ulps
14008         for that function.
14009         (print_ulps): Remove function.
14010         (print_max_error): Use prev_max_error instead of calling
14011         find_function_ulps.
14012         (print_complex_max_error): Use prev_real_max_error and
14013         prev_imag_max_error instead of calling find_complex_function_ulps.
14014         (check_float_internal): Take max_ulp parameter instead of calling
14015         find_test_ulps.  Don't call print_ulps.
14016         (check_float): Update call to check_float_internal.
14017         (check_complex): Update calls to check_float_internal.
14018         (START): Pass argument to init_max_error.
14019         * math/gen-libm-test.pl (%results): Don't include "kind"
14020         information.
14021         (parse_ulps): Don't handle ulps of individual tests.
14022         (print_ulps_file): Likewise.
14023         (output_ulps): Likewise.
14024         * math/README.libm-test: Update.
14025         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14026         individual tests.
14027         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14028         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14029         * sysdeps/arm/libm-test-ulps: Likewise.
14030         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14031         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14032         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14033         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14034         * sysdeps/microblaze/libm-test-ulps: Likewise.
14035         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14036         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14037         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14038         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14039         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14040         * sysdeps/sh/libm-test-ulps: Likewise.
14041         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14042         * sysdeps/tile/libm-test-ulps: Likewise.
14043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14044
14045 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14046
14047         * math/libm-test.inc (print_complex_max_error): Check separately
14048         whether real and imaginary errors are within allowed range and
14049         pass 0 to print_complex_function_ulps instead of value within
14050         allowed range.
14051
14052 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14053
14054         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14055         formatting.
14056         (get_handles_fopen): Likewise.
14057         (do_write_test): Likewise.
14058
14059         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14060
14061         * libio/fileops.c (do_ftell): Use cached offset when
14062         available.
14063         * libio/iofwide.c (do_ftell_wide): Likewise.
14064         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14065         _IO_file_attach.
14066         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14067
14068         [BZ #16532]
14069         * libio/libioP.h (get_file_offset): New function.
14070         * libio/fileops.c (get_file_offset): Likewise.
14071         (do_ftell): Likewise.
14072         (_IO_new_file_seekoff): Split out ftell logic.
14073         * libio/wfileops.c (do_ftell_wide): Likewise.
14074         (_IO_wfile_seekoff): Split out ftell logic.
14075         * libio/tst-ftell-active-handler.c: New test case.
14076         * libio/Makefile (tests): Add it.
14077
14078 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14079
14080         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14081         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14082
14083 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14084
14085         [BZ #16639]
14086         * nscd/connections.c (nscd_init): Call do_exit.
14087         (start_threads): Call do_exit and notify_parent.
14088         (begin_drop_privileges): Call do_exit.
14089         (finish_drop_privileges): Likewise.
14090         * nscd/selinux.c (preserve_capabilities): Likewise.
14091         (install_real_capabilities): Likewise.
14092         (nscd_selinux_enabled): Likewise.
14093         (avc_create_thread): Likewise.
14094         (avc_alloc_lock): Likewise.
14095         (nscd_avc_init): Likewise.
14096         * nscd/nscd.c (parent_fd): New static variable.
14097         (main): Create a pipe between parent and child processes.
14098         Skip closing parent_fd.
14099         (monitor_child): New function.
14100         (do_exit): Likewise.
14101         (notify_parent): Likewise.
14102         * nscd/nscd.h (notify_parent): Likewise.
14103         (do_exit): Likewise.
14104
14105 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14106
14107         * malloc/malloc.c (__libc_calloc): Revert last change.
14108
14109 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14110
14111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14112
14113 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14114
14115         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14117         implementation.
14118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14119         (__libc_ifunc_impl_list): Likewise.
14120         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14121         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14122         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14123         * string/strrchr.c: Define STRRCHR.
14124
14125 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14126
14127         * benchtest/bench-strtok.c (simple_strtok): Delete.
14128         (strtok_string): Use as benchmark.
14129         * string/strtok (STRTOK): New macro.
14130
14131 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14132
14133         * manual/threads.texi: Add header and standard comments to all
14134         functions.
14135
14136         * elf/dl-lookup.c (check_match): New function.
14137         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14138         (do_lookup_x): Remove nested function check_match. Use non-nested
14139         function check_match.
14140
14141 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14142
14143         * csu/Makefile (generated, before-compile): Use += rather than =.
14144         * catgets/Makefile (generated, generated-dirs): Likewise.
14145         * debug/Makefile (generated): Likewise.
14146         * dlfcn/Makefile (generated): Likewise.
14147         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14148         * iconvdata/Makefile (before-compile, generated): Likewise.
14149         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14150         * libio/Makefile (generated): Likewise.
14151         * malloc/Makefile (generated): Likewise.
14152         * manual/Makefile (generated, generated-dirs): Likewise.
14153         * misc/Makefile (generated): Likewise.
14154         * posix/Makefile (generated): Likewise.
14155         * resolv/Makefile (generated): Likewise.
14156         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14157         * timezone/Makefile (generated, generated-dirs): Likewise.
14158
14159         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14160
14161 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14162
14163         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14164         power8 implementation.
14165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14166         file: POWER8 llround ifunc implementation.
14167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14168         (__lllround): Add POWER8 implementation.
14169         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14170         POWER8 llround implementation.
14171
14172         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14173         power8 implementation.
14174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14175         file: POWER8 llrint ifunc implementation.
14176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14177         Add POWER8 implementation.
14178         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14179         POWER8 llrint implementation.
14180
14181         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14182         power8 implementation.
14183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14184         file: POWER8 finite ifunc implementation.
14185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14186         Add POWER8 implementation.
14187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14188         Likewise.
14189         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14190         POWER8 finite implementation.
14191         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14192
14193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14194         power8 implementation.
14195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14196         file: POWER8 isinf ifunc implementation.
14197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14198         POWER8 implementation.
14199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14200         Likewise.
14201         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14202         isinf implementation.
14203         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14204
14205         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14206         (INIT_ARCH): Add hwcap2 initialization.
14207         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14208         power8 implementation.
14209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14210         file: POWER8 isnan ifunc implementation.
14211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14212         POWER8 implementation.
14213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14214         Likewise.
14215         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14216         isnan implementation.
14217         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14218
14219 2014-02-27  Joey Ye  <joey.ye@arm.com>
14220
14221         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14222         (_FP_NANFRAC_Q): Set to zero.
14223
14224 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14225
14226         [BZ #16623]
14227         * math/auto-libm-test-in: New test inputs.
14228         * math/auto-libm-test-out: Regenerate.
14229         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14230         and DA.
14231         (__cos): Likewise.
14232         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14233
14234 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14235
14236         * scripts/evaluate-test.sh: Take new argument indicating whether
14237         failure is expected.
14238         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14239         indicating whether failure is expected.
14240         * conform/Makefile (test-xfail-run-conformtest): New variable.
14241         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14242         level.
14243         * posix/Makefile (test-xfail-annexc): New variable.
14244         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14245
14246 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14247
14248         * argp/Makefile: Include Makeconfig immediately after defining
14249         subdir.
14250         * assert/Makefile: Likewise.
14251         * benchtests/Makefile: Likewise.
14252         * catgets/Makefile: Likewise.
14253         * conform/Makefile: Likewise.
14254         * crypt/Makefile: Likewise.
14255         * csu/Makefile: Likewise.
14256         (all): Remove target.
14257         * ctype/Makefile: Include Makeconfig immediately after defining
14258         subdir.
14259         * debug/Makefile: Likewise.
14260         * dirent/Makefile: Likewise.
14261         * dlfcn/Makefile: Likewise.
14262         * gmon/Makefile: Likewise.
14263         * gnulib/Makefile: Likewise.
14264         * grp/Makefile: Likewise.
14265         * gshadow/Makefile: Likewise.
14266         * hesiod/Makefile: Likewise.
14267         * hurd/Makefile: Likewise.
14268         (all): Remove target.
14269         * iconvdata/Makefile: Include Makeconfig immediately after
14270         defining subdir.
14271         * inet/Makefile: Likewise.
14272         * intl/Makefile: Likewise.
14273         * io/Makefile: Likewise.
14274         * libio/Makefile: Likewise.
14275         (all): Remove target.
14276         * locale/Makefile: Include Makeconfig immediately after defining
14277         subdir.
14278         * login/Makefile: Likewise.
14279         * mach/Makefile: Likewise.
14280         (all): Remove target.
14281         * malloc/Makefile: Include Makeconfig immediately after defining
14282         subdir.
14283         (all): Remove target.
14284         * manual/Makefile: Include Makeconfig immediately after defining
14285         subdir.
14286         * math/Makefile: Likewise.
14287         * misc/Makefile: Likewise.
14288         * nis/Makefile: Likewise.
14289         * nss/Makefile: Likewise.
14290         * po/Makefile: Likewise.
14291         (all): Remove target.
14292         * posix/Makefile: Include Makeconfig immediately after defining
14293         subdir.
14294         * pwd/Makefile: Likewise.
14295         * resolv/Makefile: Likewise.
14296         * resource/Makefile: Likewise.
14297         * rt/Makefile: Likewise.
14298         * setjmp/Makefile: Likewise.
14299         * shadow/Makefile: Likewise.
14300         * signal/Makefile: Likewise.
14301         * socket/Makefile: Likewise.
14302         * soft-fp/Makefile: Likewise.
14303         * stdio-common/Makefile: Likewise.
14304         * stdlib/Makefile: Likewise.
14305         * streams/Makefile: Likewise.
14306         * string/Makefile: Likewise.
14307         * sunrpc/Makefile: Likewise.
14308         (all): Remove target.
14309         * sysvipc/Makefile: Include Makeconfig immediately after defining
14310         subdir.
14311         * termios/Makefile: Likewise.
14312         * time/Makefile: Likewise.
14313         * timezone/Makefile: Likewise.
14314         (all): Remove target.
14315         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14316         subdir.
14317         * wctype/Makefile: Likewise.
14318
14319 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14320
14321         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14322         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14323         (libc_feholdexcept_setround_mips): Ditto.
14324         (libc_feholdsetround): New.
14325         (libc_feholdsetroundf): New.
14326         (libc_feholdsetroundl): New.
14327         (libc_feupdateenv_test_mips): New.
14328         (libc_feupdateenv_test): New.
14329         (libc_feupdateenv_testf): New.
14330         (libc_feupdateenv_testl): New.
14331         (libc_feresetround): New.
14332         (libc_feresetroundf): New.
14333         (libc_feresetroundl): New.
14334         (libc_fetestexcept_mips): New.
14335         (libc_fetestexcept): New.
14336         (libc_fetestexceptf): New.
14337         (libc_fetestexceptl): New.
14338         (HAVE_RM_CTX): New.
14339         (libc_feholdexcept_setround_mips_ctx): New.
14340         (libc_feholdexcept_setround_ctx): New.
14341         (libc_feholdexcept_setroundf_ctx): New.
14342         (libc_feholdexcept_setroundl_ctx): New.
14343         (libc_fesetenv_mips_ctx): New.
14344         (libc_fesetenv_ctx): New.
14345         (libc_fesetenv_ctxf): New.
14346         (libc_fesetenv_ctxl): New.
14347         (libc_feupdateenv_mips_ctx): New.
14348         (libc_feupdateenv_ctx): New.
14349         (libc_feupdateenvf_ctx): New.
14350         (libc_feupdateenvl_ctx): New.
14351         (libc_feholdsetround_mips_ctx): New.
14352         (libc_feholdsetround_ctx): New.
14353         (libc_feholdsetroundf_ctx): New.
14354         (libc_feholdsetroundl_ctx): New.
14355         (libc_feresetround_mips_ctx): New.
14356         (libc_feresetround_ctx): New.
14357         (libc_feresetroundf_ctx): New.
14358         (libc_feresetroundl_ctx): New.
14359
14360 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14361
14362         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14363
14364         * manual/ipc.texi: New file.
14365         * manual/Makefile (chapters): Add ipc.
14366         * manual/job.texi: Add "Inter-Process Communication" to next.
14367         * manual/process.texi: Add "Inter-Process Communication" to prev.
14368
14369 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14370
14371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14372
14373 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14374
14375         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14376
14377         * manual/arith.texi: Fix spaces after sentences.
14378         * manual/charset.texi: Likewise.
14379         * manual/errno.texi: Likewise.
14380         * manual/install.texi: Likewise.
14381         * manual/llio.texi: Likewise.
14382         * manual/locale.texi: Likewise.
14383         * manual/maint.texi: Likewise.
14384         * manual/math.texi: Likewise.
14385         * manual/memory.texi: Likewise.
14386         * manual/message.texi: Likewise.
14387         * manual/probes.texi: Likewise.
14388         * manual/resource.texi: Likewise.
14389         * manual/signal.texi: Likewise.
14390         * manual/socket.texi: Likewise.
14391         * manual/stdio.texi: Likewise.
14392         * manual/string.texi: Likewise.
14393         * manual/time.texi: Likewise.
14394         * manual/users.texi: Likewise.
14395
14396 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14397
14398         [BZ #16632]
14399         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14400         _DEFAULT_SOURCE is defined.
14401
14402 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14403             Carlos O'Donell  <carlos@redhat.com>
14404
14405         [BZ #16613]
14406         * elf/dl-tls.c (_dl_count_modids): New function.
14407         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14408         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14409         audit library and increment generation counter.
14410         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14411         * elf/tst-audit9.c: New file.
14412         * elf/tst-auditmod9a.c: New file.
14413         * elf/tst-auditmod9b.c: New file.
14414         * elf/Makefile: Add rules to build and run tst-audit9.
14415
14416 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14417
14418         [BZ #15347]
14419         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14420
14421 2014-02-25  Will Newton  <will.newton@linaro.org>
14422
14423         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14424         (__longjmp): Restore sp and lr before restoring callee
14425         saved registers.  Add longjmp and longjmp_target
14426         SystemTap probe point.
14427         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14428         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14429         Define to zero to match jmpbuf layout.
14430         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14431         (__sigsetjmp): Save sp and lr before saving callee
14432         saved registers.  Add setjmp SystemTap probe point.
14433
14434 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14435
14436         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14437
14438 2014-02-24  Andreas Schwab  <schwab@suse.de>
14439
14440         [BZ #15804]
14441         * elf/pldd.c (wait_for_ptrace_stop): New function.
14442         (main): Call it after attaching.
14443
14444 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14445
14446         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14447         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14448         Versions files is now verboten.
14449         * hurd/Versions (libc: GLIBC_2.0):
14450         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14451         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14452         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14453         * mach/Versions: Likewise.
14454
14455         * csu/Versions: Remove unused %include.
14456         * resolv/Versions: Likewise.
14457
14458 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14459
14460         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14461         ($(objpfx)check-local-headers.out): Likewise.
14462         ($(objpfx)begin-end-check.out): Likewise.
14463         * Makerules (check-abi-%.out): Likewise.
14464         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14465         ($(objpfx)test2.cat): Likewise.
14466         ($(objpfx)de/libc.cat): Likewise.
14467         ($(objpfx)test-gencat.out): Likewise.
14468         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14469         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14470         ($(objpfx)noload-mem): Likewise.
14471         ($(objpfx)tst-pathopt.out): Likewise.
14472         ($(objpfx)tst-rtld-load-self.out): Likewise.
14473         ($(objpfx)tst-array1-cmp.out): Likewise.
14474         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14475         ($(objpfx)tst-array2-cmp.out): Likewise.
14476         ($(objpfx)tst-array3-cmp.out): Likewise.
14477         ($(objpfx)tst-array4-cmp.out): Likewise.
14478         ($(objpfx)tst-array5-cmp.out): Likewise.
14479         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14480         ($(objpfx)check-textrel.out): Likewise.
14481         ($(objpfx)check-execstack.out): Likewise.
14482         ($(objpfx)check-localplt.out): Likewise.
14483         ($(objpfx)order2-cmp.out): Likewise.
14484         ($(objpfx)tst-leaks1-mem): Likewise.
14485         ($(objpfx)tst-leaks1-static-mem): Likewise.
14486         ($(objpfx)tst-initorder-cmp.out): Likewise.
14487         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14488         ($(objpfx)tst-unused-dep.out): Likewise.
14489         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14490         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14491         * iconv/Makefile (test-iconvconfig): Likewise.
14492         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14493         ($(objpfx)iconv-test.out): Likewise.
14494         ($(objpfx)tst-tables.out): Likewise.
14495         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14496         ($(objpfx)tst-gettext.out): Likewise.
14497         ($(objpfx)tst-translit.out): Likewise.
14498         ($(objpfx)tst-gettext2.out): Likewise.
14499         ($(objpfx)tst-gettext4.out): Likewise.
14500         ($(objpfx)tst-gettext6.out): Likewise.
14501         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14502         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14503         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14504         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14505         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14506         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14507         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14508         ($(objpfx)wordexp-tst.out): Likewise.
14509         ($(objpfx)annexc.out): Likewise.
14510         ($(objpfx)tst-fnmatch-mem): Likewise.
14511         ($(objpfx)bug-regex2-mem): Likewise.
14512         ($(objpfx)bug-regex14-mem): Likewise.
14513         ($(objpfx)bug-regex21-mem): Likewise.
14514         ($(objpfx)bug-regex31-mem): Likewise.
14515         ($(objpfx)tst-vfork3-mem): Likewise.
14516         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14517         ($(objpfx)tst-pcre-mem): Likewise.
14518         ($(objpfx)tst-boost-mem): Likewise.
14519         ($(objpfx)tst-getconf.out): Likewise.
14520         ($(objpfx)bug-ga2-mem): Likewise.
14521         ($(objpfx)bug-glob2-mem): Likewise.
14522         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14523         ($(objpfx)mtrace-tst-leaks2): Likewise.
14524         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14525         ($(objpfx)tst-printf.out): Likewise.
14526         ($(objpfx)tst-setvbuf1.out): Likewise.
14527         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14528         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14529         ($(objpfx)tst-fmtmsg.out): Likewise.
14530         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14531         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14532
14533         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14534         * bits/sigaction.h [__USE_MISC]: Likewise.
14535         * bits/waitstatus.h: Update #endif comments.
14536         * ctype/ctype.h: Likewise.
14537         * dirent/dirent.h: Likewise.
14538         [__USE_MISC]: Remove redundant conditionals.
14539         * grp/grp.h: Update #endif comments.
14540         [__USE_GNU]: Remove redundant conditionals.
14541         [__USE_MISC]: Likewise.
14542         * inet/netinet/in.h [__USE_GNU]: Likewise.
14543         * io/sys/stat.h [__USE_MISC]: Likewise.
14544         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14545         * libio/bits/stdio.h: Update #endif comments.
14546         [__USE_MISC]: Remove redundant conditionals.
14547         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14548         * libio/stdio.h: Update #endif comments.
14549         [__USE_MISC]: Remove redundant conditionals.
14550         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14551         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14552         * math/math.h: Update #else and #endif comments.
14553         [__USE_MISC]: Remove redundant conditionals.
14554         * misc/sys/uio.h: Update #endif comments.
14555         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14556         * posix/glob.h [__USE_MISC]: Likewise.
14557         * posix/sys/types.h: Update #endif comments.
14558         [__USE_MISC]: Remove redundant conditionals.
14559         * posix/sys/wait.h: Update #endif comments.
14560         [__USE_MISC]: Remove redundant conditionals.
14561         * posix/unistd.h: Update #endif comments.
14562         [__USE_MISC]: Remove redundant conditionals.
14563         * pwd/pwd.h [__USE_GNU]: Likewise.
14564         [__USE_MISC]: Likewise.
14565         * resolv/netdb.h [__USE_GNU]: Likewise.
14566         * signal/signal.h: Update #endif comments.
14567         [__USE_MISC]: Remove redundant conditionals.
14568         * stdlib/stdlib.h: Update #else and #endif comments.
14569         [__USE_MISC]: Remove redundant conditionals.
14570         [__USE_GNU]: Likewise.
14571         * string/bits/string2.h [__USE_MISC]: Likewise.
14572         * string/string.h: Update #endif comments.
14573         [__USE_MISC]: Remove redundant conditionals.
14574         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14575         Likewise.
14576         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14577         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14578         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14579         Likewise.
14580         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14581         Likewise.
14582         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14583         comments.
14584         [__USE_MISC]: Remove redundant conditionals.
14585         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14586         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14587         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14588         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14589         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14590         Likewise.
14591         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14592         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14593         Likewise.
14594         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14595         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14596         Likewise.
14597         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14598         Likewise.
14599         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14600         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14601         Likewise.
14602         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14603         Likewise.
14604         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14605         * sysdeps/x86/bits/string.h: Update #endif comments.
14606         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14607         conditionals.
14608         * time/sys/time.h: Update #endif comments.
14609         * time/time.h: Likewise.
14610         [__USE_MISC]: Remove redundant conditionals.
14611
14612 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14613
14614         [BZ #16600]
14615         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14616
14617 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14618
14619         * Versions.def (librt): Add GLIBC_2.17.
14620
14621 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14622
14623         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14624         synonym for _SYS_AUXV_H to allow direct inclusion.
14625         * sysdeps/sparc/bits/hwcap.h: Likewise.
14626         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14627         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14628         * sysdeps/sparc/sysdep.h: Likewise.
14629
14630 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14631
14632         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14633
14634 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14635
14636         * benchtests/bench-strrchr.c: Print length instead of position.
14637
14638 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14639
14640         [BZ #16611]
14641         * sysdeps/unix/sysv/linux/kernel-features.h
14642         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14643         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14644         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14645         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14646         Likewise.
14647         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14648         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14649         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14650         (__ASSUME_SENDMMSG): Define instead of using previous
14651         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14652         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14653         (__ASSUME_SENDMMSG_SYSCALL): Define.
14654         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14655         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14656         Likewise.
14657         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14658         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14659         Likewise.
14660         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14661         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14662         Likewise.
14663         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14664         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14665         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14666         [__ASSUME_SENDMMSG]: Change conditionals to
14667         [__ASSUME_SENDMMSG_SOCKETCALL].
14668         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14669         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14670         Define.
14671         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14672         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14673         Likewise.
14674         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14675         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14676         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14677         [!__ASSUME_SENDMMSG]: Change conditional to
14678         [!__ASSUME_SENDMMSG_SOCKETCALL].
14679         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14680         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14681         Define.
14682
14683         [BZ #16610]
14684         * sysdeps/unix/sysv/linux/kernel-features.h
14685         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14686         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14687         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14688         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14689         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14690         [__i386__ || __sparc__]
14691         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14692         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14693         (__ASSUME_RECVMMSG): Define instead of using previous
14694         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14695         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14696         (__ASSUME_RECVMMSG_SYSCALL): Define.
14697         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14698         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14699         Likewise.
14700         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14701         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14702         Likewise.
14703         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14704         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14705         Likewise.
14706         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14707         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14708         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14709         [__ASSUME_RECVMMSG]: Change condition to
14710         [__ASSUME_RECVMMSG_SOCKETCALL].
14711         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14712         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14713         Define.
14714         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14715         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14716         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14717         Likewise.
14718         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14719         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14720         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14721         [!__ASSUME_RECVMMSG]: Change condition to
14722         [!__ASSUME_RECVMMSG_SOCKETCALL].
14723         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14724         (__ASSUME_RECVMMSG_SYSCALL): Define.
14725
14726         [BZ #16609]
14727         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14728         __powerpc__ || __s390__ || __sh__ || __sparc__]
14729         (__ASSUME_SOCKETCALL): Define.
14730         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14731         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14732         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14733         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14734         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14735         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14736         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14737         (__ASSUME_ACCEPT4): Define instead of using previous
14738         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14739         __powerpc__ || __sparc__ || __s390__)] condition.
14740         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14741         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14742         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14743         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14744         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14745         [!__ASSUME_ACCEPT4]: Change condition to
14746         [!__ASSUME_ACCEPT4_SOCKETCALL].
14747         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14748         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14749         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14750         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14751         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14752         __ASSUME_ACCEPT4_SYSCALL.
14753         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14754         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14755         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14756         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14757         __ASSUME_ACCEPT4_SYSCALL.
14758         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14759         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14760         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14761         [__ASSUME_ACCEPT4]: Change condition to
14762         [__ASSUME_ACCEPT4_SOCKETCALL].
14763         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14764         (__ASSUME_SOCKETCALL): Define.
14765         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14766         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14767         (__ASSUME_SOCKETCALL): Define.
14768         (__ASSUME_ACCEPT4): Remove.
14769         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14770         Define.
14771         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14772         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14773         Likewise.
14774         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14775         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14776
14777         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14778         macro.
14779         (HWCAP_ARM_LPAE): Likewise.
14780         (HWCAP_ARM_EVTSTRM): Likewise.
14781         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14782         Add vpfd32, lpae and evtstrm.
14783         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14784         Increase to 22.
14785
14786 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14787
14788         * math/auto-libm-test-in: Add tests of clog10.
14789         * math/auto-libm-test-out: Regenerated.
14790         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14791         * sysdeps/i386/fpu/libm-test-ulps: Update.
14792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14793
14794 2014-02-18  Andreas Schwab  <schwab@suse.de>
14795
14796         [BZ #16574]
14797         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14798         Store non-zero if the second buffer was newly allocated.
14799         (send_dg): Likewise.
14800         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14801         to send_vc and send_dg.
14802         (res_nsend): Pass NULL for ansp2_malloced.
14803         * resolv/res_query.c (__libc_res_nquery): Add parameter
14804         answerp2_malloced and pass it down to __libc_res_nsend.
14805         (res_nquery): Pass additional NULL to __libc_res_nquery.
14806         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14807         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14808         second answer buffer if answerp2_malloced was set.
14809         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14810         (__libc_res_nquerydomain): Add parameter
14811         answerp2_malloced and pass it down to __libc_res_nquery.
14812         (res_nquerydomain): Pass additional NULL to
14813         __libc_res_nquerydomain.
14814         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14815         additional NULL to __libc_res_nsend and __libc_res_nquery.
14816         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14817         additional NULL to __libc_res_nsearch.
14818         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14819         parameter of __libc_res_nsearch to check for separately allocated
14820         second buffer.
14821         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14822         __libc_res_nquery.
14823         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14824         additional NULL to __libc_res_nquery.
14825         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14826         __libc_res_nsearch.
14827         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14828         * include/resolv.h: Update prototypes of __libc_res_nquery,
14829         __libc_res_nsearch, __libc_res_nsend.
14830
14831 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14832
14833         * math/auto-libm-test-in: Add tests of fma.
14834         * math/auto-libm-test-out: Regenerated.
14835         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14836         (fma_towardzero_test_data): Likewise.
14837         (fma_downward_test_data): Likewise.
14838         (fma_upward_test_data): Likewise.
14839         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14840         mpc_mode.
14841         (rounding_modes): Add values for new field.
14842         (func_calc_method): Add value mpfr_fff_f.
14843         (func_calc_desc): Add mpfr_fff_f union field.
14844         (test_function): Add field exact_args.
14845         (FUNC): Add macro argument EXACT_ARGS.
14846         (FUNC_mpfr_f_f): Update call to FUNC.
14847         (FUNC_mpfr_f_f): Likewise.
14848         (FUNC_mpfr_ff_f): Likewise.
14849         (FUNC_mpfr_if_f): Likewise.
14850         (FUNC_mpc_c_f): Likewise.
14851         (FUNC_mpc_c_c): Likewise.
14852         (test_functions): Add fma.  Update calls to FUNC.
14853         (handle_input_arg): Add argument exact_args.
14854         (add_test): Update call to handle_input_arg.
14855         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
14856         (output_for_one_input_case): Update call to calc_generic_results.
14857         Recalculate exact zero results in each rounding mode.
14858
14859         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14860         non-negative before setting low bit.
14861         * math/auto-libm-test-in: Mark one asin test possibly having
14862         spurious underflow.
14863         * math/auto-libm-test-out: Regenerated.
14864         * sysdeps/i386/fpu/libm-test-ulps: Update.
14865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14866
14867 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
14868
14869         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14870         * sysdeps/unix/sysv/linux/microblaze: Move directory from
14871         ports/sysdeps/unix/sysv/linux/microblaze.
14872         * README: Add missing listing for microblaze*-*-linux-gnu.
14873
14874 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
14875
14876         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14877         duplicate code
14878
14879 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
14880
14881         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14882         * sysdeps/unix/sysv/linux/ia64: Move directory from
14883         ports/sysdeps/unix/sysv/linux/ia64.
14884         * README: Update listing for ia64-*-linux-gnu.
14885
14886 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
14887             Joseph Myers  <joseph@codesourcery.com>
14888
14889         * Makeconfig (test-name): New variable.
14890         (evaluate-test): Likewise.
14891         * Makerules (do-test-clean): Remove .test-result files.
14892         (common-mostlyclean): Likewise.
14893         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14894         * scripts/evaluate-test.sh: New file.
14895
14896 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
14897
14898         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14899         separate $(objpfx)tst-fopenloc-cmp.out and
14900         $(objpfx)tst-fopenloc-mem.out targets.
14901         (tests): Update dependencies.
14902         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14903         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14904         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14905         (tst-rxspencer-no-utf8-ARGS): New variable.
14906         (tst-rxspencer-no-utf8-ENV): Likewise.
14907         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14908         instead of $(objpfx)tst-rxspencer-mem.
14909         ($(objpfx)tst-rxspencer-mem): Change target to
14910         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
14911         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14912         * posix/tst-rxspencer-no-utf8.c: New file.
14913
14914         * elf/Makefile ($(objpfx)order.out): Remove rule.
14915         [$(run-built-tests) = yes] (tests): Depend on
14916         $(objpfx)order-cmp.out.
14917         ($(objpfx)order-cmp.out): New rule.
14918         [$(run-built-tests) = yes] (tests): Depend on
14919         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14920         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14921         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14922         $(objpfx)tst-array5-static-cmp.out.
14923         ($(objpfx)tst-array1.out): Remove rule.
14924         ($(objpfx)tst-array1-cmp.out): New rule.
14925         ($(objpfx)tst-array1-static.out): Remove rule.
14926         ($(objpfx)tst-array1-static-cmp.out): New rule.
14927         ($(objpfx)tst-array2.out): Remove rule.
14928         ($(objpfx)tst-array2-cmp.out): New rule.
14929         ($(objpfx)tst-array3.out): Remove rule.
14930         ($(objpfx)tst-array3-cmp.out): New rule.
14931         ($(objpfx)tst-array4.out): Remove rule.
14932         ($(objpfx)tst-array4-cmp.out): New rule.
14933         ($(objpfx)tst-array5.out): Remove rule.
14934         ($(objpfx)tst-array5-cmp.out): New rule.
14935         ($(objpfx)tst-array5-static.out): Remove rule.
14936         ($(objpfx)tst-array5-static-cmp.out): New rule.
14937         [$(run-built-tests) = yes] (tests): Depend on
14938         $(objpfx)order2-cmp.out.
14939         ($(objpfx)order2.out): Remove rule.
14940         ($(objpfx)order2-cmp.out): New rule.
14941         ($(objpfx)tst-initorder.out): Remove rule.
14942         [$(run-built-tests) = yes] (tests): Depend on
14943         $(objpfx)tst-initorder-cmp.out.
14944         ($(objpfx)tst-initorder-cmp.out): New rule.
14945         ($(objpfx)tst-initorder2.out): Remove rule.
14946         [$(run-built-tests) = yes] (tests): Depend on
14947         $(objpfx)tst-initorder2-cmp.out.
14948         ($(objpfx)tst-initorder2-cmp.out): New rule.
14949         [$(run-built-tests) = yes] (tests): Depend on
14950         $(objpfx)tst-unused-dep-cmp.out.
14951         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14952         ($(objpfx)tst-unused-dep-cmp.out): New rule.
14953         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14954         on $(objpfx)tst-setvbuf1-cmp.out.
14955         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14956         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14957         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14958         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14959         ($(objpfx)tst-svc.out): Remove rule.
14960         ($(objpfx)tst-svc-cmp.out): New rule.
14961
14962 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
14963
14964         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14965         * ctype/ctype.h [__USE_MISC]: Likewise.
14966         * dirent/dirent.h [__USE_MISC]: Likewise.
14967         * grp/grp.h [__USE_MISC]: Likewise.
14968         * io/fcntl.h [__USE_MISC]: Likewise.
14969         * io/sys/stat.h [__USE_MISC]: Likewise.
14970         * libio/stdio.h [__USE_MISC]: Likewise.
14971         * posix/unistd.h [__USE_MISC]: Likewise.
14972         * pwd/pwd.h [__USE_MISC]: Likewise.
14973         * stdlib.h [__USE_MISC]: Likewise.
14974         * string/bits/string2.h [__USE_MISC]: Likewise.
14975         * string/string.h [__USE_MISC]: Likewise.
14976         * time/time.h [__USE_MISC]: Likewise.
14977
14978 2014-02-13  Andreas Schwab  <schwab@suse.de>
14979
14980         [BZ #16574]
14981         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14982         second answer buffer if it was separately allocated.
14983
14984 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
14985
14986         * sysdeps/mips/math-tests.h: Include <features.h>.
14987         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14988         (ROUNDING_TESTS_long_double): Do not define.
14989         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14990         (EXCEPTION_TESTS_long_double): Likewise.
14991         * sysdeps/mips/mips64/libm-test-ulps: Update.
14992
14993         * include/features.h (__USE_BSD): Remove macro definitions.
14994         (__USE_SVID): Likewise.
14995         (_BSD_SOURCE): Likewise.
14996         (_SVID_SOURCE): Likewise.
14997         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14998         from definition of _DEFAULT_SOURCE.
14999         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15000         [_DEFAULT_SOURCE].
15001         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15002         * bits/mman.h [__USE_BSD]: Likewise.
15003         * bits/termios.h [__USE_BSD]: Likewise.
15004         * bits/waitstatus.h [__USE_BSD]: Likewise.
15005         * ctype/ctype.h [__USE_SVID]: Likewise.
15006         * dirent/dirent.h [__USE_BSD]: Likewise.
15007         * grp/grp.h [__USE_SVID]: Likewise.
15008         [__USE_BSD]: Likewise.
15009         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15010         * io/fcntl.h [__USE_BSD]: Likewise.
15011         * io/ftw.h [__USE_BSD]: Likewise.
15012         * io/sys/stat.h [__USE_BSD]: Likewise.
15013         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15014         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15015         * libio/stdio.h [__USE_SVID]: Likewise.
15016         [__USE_BSD]: Likewise.
15017         * math/math.h [__USE_SVID]: Likewise.
15018         [__USE_BSD]: Likewise.
15019         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15020         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15021         * misc/search.h [__USE_SVID]: Likewise.
15022         * misc/sys/mman.h [__USE_BSD]: Likewise.
15023         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15024         * misc/sys/uio.h [__USE_BSD]: Likewise.
15025         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15026         * posix/glob.h [__USE_BSD]: Likewise.
15027         * posix/regex.h [__USE_BSD]: Likewise.
15028         * posix/sys/types.h [__USE_BSD]: Likewise.
15029         [__USE_SVID]: Likewise.
15030         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15031         * posix/sys/wait.h [__USE_BSD]: Likewise.
15032         [__USE_SVID]: Likewise.
15033         * posix/unistd.h [__USE_BSD]: Likewise.
15034         [__USE_SVID]: Likewise.
15035         * pwd/pwd.h [__USE_SVID]: Likewise.
15036         * resolv/netdb.h [__USE_BSD]: Likewise.
15037         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15038         * signal/signal.h [__USE_BSD]: Likewise.
15039         [__USE_SVID]: Likewise.
15040         * socket/sys/socket.h [__USE_BSD]: Likewise.
15041         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15042         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15043         [__USE_SVID]: Likewise.
15044         * string/bits/string2.h [__USE_BSD]: Likewise.
15045         [__USE_SVID]: Likewise.
15046         * string/bits/string3.h [__USE_BSD]: Likewise.
15047         * string/endian.h [__USE_BSD]: Likewise.
15048         * string/string.h [__USE_SVID]: Likewise.
15049         [__USE_BSD]: Likewise.
15050         * string/strings.h [__USE_BSD]: Likewise.
15051         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15052         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15053         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15054         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15055         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15056         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15057         Likewise.
15058         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15059         Likewise.
15060         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15061         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15062         Likewise.
15063         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15064         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15065         Likewise.
15066         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15067         Likewise.
15068         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15069         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15070         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15071         Likewise.
15072         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15073         Likewise.
15074         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15075         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15076         * termios/termios.h [__USE_BSD]: Likewise.
15077         * time/sys/time.h [__USE_BSD]: Likewise.
15078         * time/time.h [__USE_BSD]: Likewise.
15079         [__USE_SVID]: Likewise.
15080
15081         * Makefile (subdir_targets): Remove subdir_lint.out.
15082
15083         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15084         (do-tst-printf): Likewise.
15085         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15086         $(objpfx)tst-printf.out.
15087
15088         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15089
15090         * Makerules (check-abi-%): Change target to
15091         $(objpfx)check-abi-%.out.
15092         (check-abi target): Update dependencies.
15093         (check-abi-pattern variable): Redirect output of diff to $@.
15094         (check-abi variable): Likewise.
15095         * elf/Makefile (check-abi): Update dependencies.
15096
15097         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15098         unused.
15099         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15100         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15101         subnormal range.
15102         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15103         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15104         value has largest subnormal exponent.
15105         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15106         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15107         * sysdeps/aarch64/soft-fp/sfp-machine.h
15108         (_FP_TININESS_AFTER_ROUNDING): New macro.
15109         * sysdeps/alpha/soft-fp/sfp-machine.h
15110         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15111         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15112         Likewise.
15113         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15114         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15115         * sysdeps/mips/soft-fp/sfp-machine.h
15116         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15117         * sysdeps/powerpc/soft-fp/sfp-machine.h
15118         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15119         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15120         Likewise.
15121         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15122         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15123         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15124         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15125         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15126         Likewise.
15127
15128 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15129
15130         [BZ #16545]
15131         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15132         model 1.
15133
15134 2014-02-12  Richard Henderson  <rth@redhat.com>
15135
15136         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15137         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15138         * sysdeps/unix/sysv/linux/alpha: Move directory from
15139         ports/sysdeps/unix/sysv/linux/alpha.
15140         * README: Update listing for alpha-*-linux-gnu.
15141
15142 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15143
15144         * include/features.h: Update comment documenting feature test
15145         macros.
15146         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15147         _DEFAULT_SOURCE.
15148         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15149         (_SVID_SOURCE): Likewise.
15150         (_DEFAULT_SOURCE): Update description of default features.
15151         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15152         with _GNU_SOURCE.
15153         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15154         (S_ISVTX): Likewise.
15155         * manual/math.texi (Mathematical Constants): Likewise.
15156         * manual/signal.texi (Interrupted Primitives): Likewise.
15157         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15158         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15159         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15160         Don't refer to _SVID_SOURCE in warning text.
15161
15162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15163
15164         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15165         already defined.
15166         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15167         * sysdeps/mips/dl-lookup.c: Remove.
15168         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15169
15170 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15171
15172         [BZ #16447]
15173         * math/auto-libm-test-in: Add testcase for expl.
15174         * math/auto-libm-test-out: Regenerate.
15175         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15176         calculation of unsafe.
15177         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15178
15179 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15180
15181         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15182         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15183         ports/sysdeps/unix/sysv/linux/aarch64.
15184         * README: Update listing for aarch64*-*-linux-gnu.
15185
15186 2014-02-11  Will Newton  <will.newton@linaro.org>
15187
15188         * manual/probes.texi (Mathematical Function Probes): Use
15189         "triggered" instead of "hit".
15190
15191         * manual/probes.texi (Internal Probes): Add documentation
15192         of setjmp, longjmp and longjmp_target probes.
15193
15194         * include/stap-probe.h: Add comment about probe argument
15195         format.
15196
15197         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15198         definition.  (tr_where, tr_freehook, tr_mallochook,
15199         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15200
15201 2014-02-11  David S. Miller  <davem@davemloft.net>
15202
15203         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15204         processing int_tests.
15205
15206 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15207
15208         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15209         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15210         * sysdeps/unix/sysv/linux/mips: Move directory from
15211         ports/sysdeps/unix/sysv/linux/mips.
15212         * README: Update listing for mips-*-linux-gnu and
15213         mips64-*-linux-gnu.
15214
15215 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15216
15217         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15218         * sysdeps/unix/sysv/linux/m68k: Move directory from
15219         ports/sysdeps/unix/sysv/linux/m68k.
15220         * README: Update listing for m68k-*-linux-gnu.
15221
15222 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15223
15224         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15225         * sysdeps/unix/sysv/linux/generic: Move directory from
15226         ports/sysdeps/unix/sysv/linux/generic.
15227         * sysdeps/unix/sysv/linux/tile: Move directory from
15228         ports/sysdeps/unix/sysv/linux/tile.
15229         * README: Update listing for tile*-*-linux-gnu.
15230
15231 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15232
15233         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15234         __builtin_expect.
15235         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15236         * catgets/open_catalog.c (__open_catalog): Likewise.
15237         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15238         * debug/confstr_chk.c: Likewise.
15239         * debug/fread_chk.c (__fread_chk): Likewise.
15240         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15241         * debug/getgroups_chk.c: Likewise.
15242         * debug/mbsnrtowcs_chk.c: Likewise.
15243         * debug/mbsrtowcs_chk.c: Likewise.
15244         * debug/mbstowcs_chk.c: Likewise.
15245         * debug/memcpy_chk.c: Likewise.
15246         * debug/memmove_chk.c: Likewise.
15247         * debug/mempcpy_chk.c: Likewise.
15248         * debug/memset_chk.c: Likewise.
15249         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15250         * debug/strcat_chk.c (__strcat_chk): Likewise.
15251         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15252         * debug/strncat_chk.c (__strncat_chk): Likewise.
15253         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15254         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15255         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15256         * debug/wcpncpy_chk.c: Likewise.
15257         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15258         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15259         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15260         * debug/wcsncpy_chk.c: Likewise.
15261         * debug/wcsnrtombs_chk.c: Likewise.
15262         * debug/wcsrtombs_chk.c: Likewise.
15263         * debug/wcstombs_chk.c: Likewise.
15264         * debug/wmemcpy_chk.c: Likewise.
15265         * debug/wmemmove_chk.c: Likewise.
15266         * debug/wmempcpy_chk.c: Likewise.
15267         * debug/wmemset_chk.c: Likewise.
15268         * dirent/scandirat.c (SCANDIRAT): Likewise.
15269         * dlfcn/dladdr1.c (dladdr1): Likewise.
15270         * dlfcn/dladdr.c (dladdr): Likewise.
15271         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15272         * dlfcn/dlerror.c (__dlerror): Likewise.
15273         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15274         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15275         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15276         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15277         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15278         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15279         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15280         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15281         Likewise.
15282         * elf/dl-conflict.c: Likewise.
15283         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15284         * elf/dl-dst.h: Likewise.
15285         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15286         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15287         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15288         * elf/dl-init.c (call_init, _dl_init): Likewise.
15289         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15290         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15291         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15292         Likewise.
15293         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15294         Likewise.
15295         * elf/dl-minimal.c (__libc_memalign): Likewise.
15296         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15297         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15298         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15299         * elf/dl-sym.c (do_sym): Likewise.
15300         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15301         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15302         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15303         * elf/dl-writev.h (_dl_writev): Likewise.
15304         * elf/ldconfig.c (search_dir): Likewise.
15305         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15306         (dl_main): Likewise.
15307         * elf/setup-vdso.h (setup_vdso): Likewise.
15308         * grp/compat-initgroups.c (compat_call): Likewise.
15309         * grp/fgetgrent.c (fgetgrent): Likewise.
15310         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15311         * grp/putgrent.c (putgrent): Likewise.
15312         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15313         Likewise.
15314         * hurd/hurdinit.c: Likewise.
15315         * iconvdata/8bit-gap.c (struct): Likewise.
15316         * iconvdata/ansi_x3.110.c : Likewise.
15317         * iconvdata/big5.c : Likewise.
15318         * iconvdata/big5hkscs.c : Likewise.
15319         * iconvdata/cp1255.c: Likewise.
15320         * iconvdata/cp1258.c : Likewise.
15321         * iconvdata/cp932.c : Likewise.
15322         * iconvdata/euc-cn.c: Likewise.
15323         * iconvdata/euc-jisx0213.c : Likewise.
15324         * iconvdata/euc-jp.c: Likewise.
15325         * iconvdata/euc-jp-ms.c : Likewise.
15326         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15327         * iconvdata/gb18030.c : Likewise.
15328         * iconvdata/gbbig5.c (const): Likewise.
15329         * iconvdata/gbgbk.c: Likewise.
15330         * iconvdata/gbk.c : Likewise.
15331         * iconvdata/ibm1364.c : Likewise.
15332         * iconvdata/ibm930.c : Likewise.
15333         * iconvdata/ibm932.c: Likewise.
15334         * iconvdata/ibm933.c : Likewise.
15335         * iconvdata/ibm935.c : Likewise.
15336         * iconvdata/ibm937.c : Likewise.
15337         * iconvdata/ibm939.c : Likewise.
15338         * iconvdata/ibm943.c: Likewise.
15339         * iconvdata/iso_11548-1.c: Likewise.
15340         * iconvdata/iso-2022-cn.c : Likewise.
15341         * iconvdata/iso-2022-cn-ext.c : Likewise.
15342         * iconvdata/iso-2022-jp-3.c: Likewise.
15343         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15344         * iconvdata/iso-2022-kr.c : Likewise.
15345         * iconvdata/iso646.c (gconv_end): Likewise.
15346         * iconvdata/iso_6937-2.c : Likewise.
15347         * iconvdata/iso_6937.c : Likewise.
15348         * iconvdata/iso8859-1.c: Likewise.
15349         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15350         * iconvdata/shift_jisx0213.c : Likewise.
15351         * iconvdata/sjis.c : Likewise.
15352         * iconvdata/t.61.c : Likewise.
15353         * iconvdata/tcvn5712-1.c : Likewise.
15354         * iconvdata/tscii.c: Likewise.
15355         * iconvdata/uhc.c : Likewise.
15356         * iconvdata/unicode.c (gconv_end): Likewise.
15357         * iconvdata/utf-16.c (gconv_end): Likewise.
15358         * iconvdata/utf-32.c (gconv_end): Likewise.
15359         * iconvdata/utf-7.c (base64): Likewise.
15360         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15361         * iconv/gconv_close.c (__gconv_close): Likewise.
15362         * iconv/gconv_open.c (__gconv_open): Likewise.
15363         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15364         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15365         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15366         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15367         (ucs4le_internal_loop_single): Likewise.
15368         * iconv/iconv.c (iconv): Likewise.
15369         * iconv/iconv_close.c: Likewise.
15370         * iconv/loop.c (SINGLE): Likewise.
15371         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15372         * include/atomic.h: Likewise.
15373         * inet/inet6_option.c (option_alloc): Likewise.
15374         * intl/bindtextdom.c (set_binding_values): Likewise.
15375         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15376         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15377         * intl/localealias.c (read_alias_file): Likewise.
15378         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15379         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15380         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15381         * libio/fmemopen.c (fmemopen): Likewise.
15382         * libio/iofgets.c (_IO_fgets): Likewise.
15383         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15384         * libio/iofgetws.c (fgetws): Likewise.
15385         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15386         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15387         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15388         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15389         * locale/findlocale.c (_nl_find_locale): Likewise.
15390         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15391         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15392         Likewise.
15393         * locale/setlocale.c (setlocale): Likewise.
15394         * login/programs/pt_chown.c (main): Likewise.
15395         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15396         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15397         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15398         (mmap, mmap64, mremap, munmap): Likewise.
15399         * math/e_exp2l.c: Likewise.
15400         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15401         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15402         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15403         * math/s_catan.c (__catan): Likewise.
15404         * math/s_catanf.c (__catanf): Likewise.
15405         * math/s_catanh.c (__catanh): Likewise.
15406         * math/s_catanhf.c (__catanhf): Likewise.
15407         * math/s_catanhl.c (__catanhl): Likewise.
15408         * math/s_catanl.c (__catanl): Likewise.
15409         * math/s_ccosh.c (__ccosh): Likewise.
15410         * math/s_ccoshf.c (__ccoshf): Likewise.
15411         * math/s_ccoshl.c (__ccoshl): Likewise.
15412         * math/s_cexp.c (__cexp): Likewise.
15413         * math/s_cexpf.c (__cexpf): Likewise.
15414         * math/s_cexpl.c (__cexpl): Likewise.
15415         * math/s_clog10.c (__clog10): Likewise.
15416         * math/s_clog10f.c (__clog10f): Likewise.
15417         * math/s_clog10l.c (__clog10l): Likewise.
15418         * math/s_clog.c (__clog): Likewise.
15419         * math/s_clogf.c (__clogf): Likewise.
15420         * math/s_clogl.c (__clogl): Likewise.
15421         * math/s_csin.c (__csin): Likewise.
15422         * math/s_csinf.c (__csinf): Likewise.
15423         * math/s_csinh.c (__csinh): Likewise.
15424         * math/s_csinhf.c (__csinhf): Likewise.
15425         * math/s_csinhl.c (__csinhl): Likewise.
15426         * math/s_csinl.c (__csinl): Likewise.
15427         * math/s_csqrt.c (__csqrt): Likewise.
15428         * math/s_csqrtf.c (__csqrtf): Likewise.
15429         * math/s_csqrtl.c (__csqrtl): Likewise.
15430         * math/s_ctan.c (__ctan): Likewise.
15431         * math/s_ctanf.c (__ctanf): Likewise.
15432         * math/s_ctanh.c (__ctanh): Likewise.
15433         * math/s_ctanhf.c (__ctanhf): Likewise.
15434         * math/s_ctanhl.c (__ctanhl): Likewise.
15435         * math/s_ctanl.c (__ctanl): Likewise.
15436         * math/w_pow.c: Likewise.
15437         * math/w_powf.c: Likewise.
15438         * math/w_powl.c: Likewise.
15439         * math/w_scalb.c (sysv_scalb): Likewise.
15440         * math/w_scalbf.c (sysv_scalbf): Likewise.
15441         * math/w_scalbl.c (sysv_scalbl): Likewise.
15442         * misc/error.c (error_tail): Likewise.
15443         * misc/pselect.c (__pselect): Likewise.
15444         * nis/nis_callback.c (__nis_create_callback): Likewise.
15445         * nis/nis_call.c (__nisfind_server): Likewise.
15446         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15447         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15448         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15449         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15450         * nis/nis_lookup.c (nis_lookup): Likewise.
15451         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15452         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15453         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15454         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15455         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15456         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15457         * nis/nss_compat/compat-initgroups.c (add_group)
15458         (internal_getgrent_r): Likewise.
15459         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15460         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15461         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15462         (internal_getspnam_r): Likewise.
15463         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15464         (_nss_nis_getaliasbyname_r): Likewise.
15465         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15466         (_nss_nis_getntohost_r): Likewise.
15467         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15468         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15469         (_nss_nis_getgrgid_r): Likewise.
15470         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15471         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15472         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15473         (_nss_nis_gethostbyname4_r): Likewise.
15474         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15475         (initgroups_netid): Likewise.
15476         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15477         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15478         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15479         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15480         (_nss_nis_getprotobynumber_r): Likewise.
15481         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15482         (_nss_nis_getsecretkey): Likewise.
15483         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15484         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15485         (_nss_nis_getpwuid_r): Likewise.
15486         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15487         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15488         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15489         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15490         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15491         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15492         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15493         Likewise.
15494         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15495         (_nss_nisplus_getntohost_r): Likewise.
15496         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15497         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15498         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15499         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15500         Likewise.
15501         * nis/nss_nisplus/nisplus-initgroups.c
15502         (_nss_nisplus_initgroups_dyn): Likewise.
15503         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15504         (_nss_nisplus_getnetbyaddr_r): Likewise.
15505         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15506         (_nss_nisplus_getprotobynumber_r): Likewise.
15507         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15508         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15509         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15510         Likewise.
15511         * nis/nss_nisplus/nisplus-service.c
15512         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15513         (_nss_nisplus_getservbyport_r): Likewise.
15514         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15515         (_nss_nisplus_getspnam_r): Likewise.
15516         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15517         Likewise.
15518         * nscd/aicache.c (addhstaiX): Likewise.
15519         * nscd/cache.c (cache_search, prune_cache): Likewise.
15520         * nscd/connections.c (register_traced_file, send_ro_fd)
15521         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15522         (main_loop_epoll): Likewise.
15523         * nscd/grpcache.c (addgrbyX): Likewise.
15524         * nscd/hstcache.c (addhstbyX): Likewise.
15525         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15526         * nscd/mem.c (gc, mempool_alloc): Likewise.
15527         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15528         (addinnetgrX): Likewise.
15529         * nscd/nscd-client.h (__nscd_acquire_maplock)
15530         (__nscd_drop_map_ref): Likewise.
15531         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15532         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15533         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15534         Likewise.
15535         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15536         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15537         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15538         (__nscd_get_map_ref): Likewise.
15539         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15540         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15541         Likewise.
15542         * nscd/pwdcache.c (addpwbyX): Likewise.
15543         * nscd/selinux.c (preserve_capabilities): Likewise.
15544         * nscd/servicescache.c (addservbyX): Likewise.
15545         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15546         * posix/fnmatch.c (fnmatch): Likewise.
15547         * posix/getopt.c (_getopt_internal_r): Likewise.
15548         * posix/glob.c (glob, glob_in_dir): Likewise.
15549         * posix/wordexp.c (exec_comm_child): Likewise.
15550         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15551         (getanswer_r, gaih_getanswer_slice): Likewise.
15552         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15553         * resolv/res_init.c: Likewise.
15554         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15555         * resolv/res_query.c (__libc_res_nquery): Likewise.
15556         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15557         Likewise.
15558         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15559         * stdio-common/perror.c (perror): Likewise.
15560         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15561         * stdio-common/tmpnam.c (tmpnam): Likewise.
15562         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15563         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15564         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15565         Likewise.
15566         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15567         * stdlib/putenv.c (putenv): Likewise.
15568         * stdlib/setenv.c (__add_to_environ): Likewise.
15569         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15570         * stdlib/strtol_l.c (INTERNAL): Likewise.
15571         * string/memmem.c (memmem): Likewise.
15572         * string/strerror.c (strerror): Likewise.
15573         * string/strnlen.c (__strnlen): Likewise.
15574         * string/test-memmem.c (simple_memmem): Likewise.
15575         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15576         * sunrpc/pm_getport.c (__get_socket): Likewise.
15577         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15578         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15579         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15580         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15581         Likewise.
15582         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15583         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15584         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15585         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15586         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15587         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15588         Likewise.
15589         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15590         Likewise.
15591         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15592         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15593         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15594         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15595         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15596         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15597         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15598         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15599         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15600         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15601         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15602         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15603         Likewise.
15604         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15605         Likewise.
15606         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15607         Likewise.
15608         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15609         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15610         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15611         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15612         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15613         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15614         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15615         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15616         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15617         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15618         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15619         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15620         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15621         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15622         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15623         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15624         Likewise.
15625         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15626         Likewise.
15627         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15628         Likewise.
15629         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15630         Likewise.
15631         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15632         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15633         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15634         Likewise.
15635         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15636         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15637         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15638         * sysdeps/posix/sleep.c: Likewise.
15639         * sysdeps/posix/tempname.c: Likewise.
15640         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15641         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15642         Likewise.
15643         * sysdeps/powerpc/powerpc32/dl-machine.h
15644         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15645         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15646         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15647         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15648         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15649         Likewise.
15650         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15651         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15652         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15653         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15654         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15655         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15656         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15657         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15658         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15659         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15660         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15661         (elf_machine_lazy_rel): Likewise.
15662         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15663         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15664         (elf_machine_lazy_rel): Likewise.
15665         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15666         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15667         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15668         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15669         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15670         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15671         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15672         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15673         Likewise.
15674         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15675         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15676         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15677         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15678         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15679         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15680         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15681         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15682         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15683         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15684         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15685         Likewise.
15686         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15687         (__posix_fallocate64_l64): Likewise.
15688         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15689         (posix_fallocate): Likewise.
15690         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15691         Likewise.
15692         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15693         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15694         (getifaddrs_internal): Likewise.
15695         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15696         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15697         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15698         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15699         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15700         (__posix_fallocate64_l64): Likewise.
15701         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15702         Likewise.
15703         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15704         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15705         (__get_clockfreq): Likewise.
15706         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15707         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15708         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15709         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15710         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15711         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15712         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15713         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15714         Likewise.
15715         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15716         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15717         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15718         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15719         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15720         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15721         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15722         Likewise.
15723         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15724         (posix_fallocate): Likewise.
15725         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15726         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15727         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15728         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15729         (elf_machine_rela, elf_machine_rela_relative)
15730         (elf_machine_lazy_rel): Likewise.
15731         * time/asctime.c (asctime_internal): Likewise.
15732         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15733         * time/tzset.c (__tzset_parse_tz): Likewise.
15734         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15735         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15736         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15737         * wcsmbs/wcsmbsload.h: Likewise.
15738
15739         [BZ #15894]
15740         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15741
15742         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15743         (arena_get2): Remove THREAD_STATS conditionals.
15744         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15745         (__malloc_stats, int): Likewise.
15746
15747 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15748
15749         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15750         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15751
15752         * manual/setjmp.texi: Fix typos/grammar errors.
15753
15754         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15755         Only return early when n is <= 0.  Delete unused return statement.
15756
15757         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15758         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15759         * debug/tst-longjmp_chk3.c: New file.
15760
15761         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15762         (test_main): Replace code with set_fortify_handler call.
15763         * debug/test-strcpy_chk.c: Likewise.
15764         * debug/tst-chk1.c: Likewise.
15765         * debug/tst-longjmp_chk.c: Likewise.
15766         * test-skeleton.c: Include fcntl.h & paths.h
15767         (set_fortify_handler): Define.
15768
15769         * debug/tst-longjmp_chk.c: Add header comment and include
15770         ../test-skeleton.c.
15771         (do_test): Mark static.
15772         (TEST_FUNCTION): Define.
15773
15774         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15775         (IP_PMTUDISC_INTERFACE): Likewise.
15776         (IP_MULTICAST_IF): Likewise.
15777         (IP_MULTICAST_TTL): Likewise.
15778         (IP_MULTICAST_LOOP): Likewise.
15779         (IP_ADD_MEMBERSHIP): Likewise.
15780         (IP_DROP_MEMBERSHIP): Likewise.
15781         (IP_UNBLOCK_SOURCE): Likewise.
15782         (IP_BLOCK_SOURCE): Likewise.
15783         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15784         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15785         (IP_MSFILTER): Likewise.
15786         (MCAST_JOIN_GROUP): Likewise.
15787         (MCAST_BLOCK_SOURCE): Likewise.
15788         (MCAST_UNBLOCK_SOURCE): Likewise.
15789         (MCAST_LEAVE_GROUP): Likewise.
15790         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15791         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15792         (MCAST_MSFILTER): Likewise.
15793         (IP_MULTICAST_ALL): Likewise.
15794         (IP_UNICAST_IF): Likewise.
15795
15796         * timezone/Makefile: Delete $(have-ksh) check.
15797         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15798         * timezone/tzselect.ksh: Add +x mode bits.
15799
15800         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15801         (ANON_INODE_FS_MAGIC): Likewise.
15802         (BDEVFS_MAGIC): Likewise.
15803         (BINFMTFS_MAGIC): Likewise.
15804         (BTRFS_TEST_MAGIC): Likewise.
15805         (CRAMFS_MAGIC_WEND): Likewise.
15806         (DEBUGFS_MAGIC): Likewise.
15807         (ECRYPTFS_SUPER_MAGIC): Likewise.
15808         (EXT3_SUPER_MAGIC): Likewise.
15809         (EXT4_SUPER_MAGIC): Likewise.
15810         (FUTEXFS_SUPER_MAGIC): Likewise.
15811         (HOSTFS_SUPER_MAGIC): Likewise.
15812         (HUGETLBFS_MAGIC): Likewise.
15813         (MINIX3_SUPER_MAGIC): Likewise.
15814         (MTD_INODE_FS_MAGIC): Likewise.
15815         (NILFS_SUPER_MAGIC): Likewise.
15816         (OPENPROM_SUPER_MAGIC): Likewise.
15817         (PIPEFS_MAGIC): Likewise.
15818         (PSTOREFS_MAGIC): Likewise.
15819         (QNX6_SUPER_MAGIC): Likewise.
15820         (RAMFS_MAGIC): Likewise.
15821         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15822         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15823         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15824         (SECURITYFS_MAGIC): Likewise.
15825         (SELINUX_MAGIC): Likewise.
15826         (SMACK_MAGIC): Likewise.
15827         (SOCKFS_MAGIC): Likewise.
15828         (SQUASHFS_MAGIC): Likewise.
15829         (STACK_END_MAGIC): Likewise.
15830         (TMPFS_MAGIC): Likewise.
15831         (USBDEVICE_SUPER_MAGIC): Likewise.
15832         (V9FS_MAGIC): Likewise.
15833         (XENFS_SUPER_MAGIC): Likewise.
15834         (CRAMFS_MAGIC): Fix typo in comment.
15835         (EXT2_SUPER_MAGIC): Update comment.
15836         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15837
15838 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15839
15840         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15841         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15842         * sysdeps/unix/sysv/linux/arm: Move directory from
15843         ports/sysdeps/unix/sysv/linux/arm.
15844         * README: Update listing for arm-*-linux-gnueabi.
15845
15846         * README: Remove mention of am33.
15847
15848 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15849
15850         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15851         than the comma operator, to avoid "rhs of comma has no effect"
15852         compiler warnings.
15853         (__sigfillset, __sigandset, __sigorset): Likewise.
15854         * include/signal.h (__sigemptyset): Likewise.
15855         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15856
15857 2014-02-07  Allan McRae  <allan@archlinux.org>
15858
15859         * version.h (RELEASE): Set to "development".
15860         (VERSION): Set to "2.19.90"
15861         * NEWS: Add 2.20 section.
15862
15863 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
15864
15865         [BZ #16529]
15866         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15867
15868 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15869
15870         * manual/contrib.texi: Update entry for Carlos O'Donell,
15871         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15872
15873 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
15874
15875         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15876
15877         * sysdeps/unix/sysv/linux/kernel-features.h
15878         [__LINUX_KERNEL_VERSION >= 0x020621]
15879         (__ASSUME_PROC_PID_TASK_COMM): Define.
15880
15881 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15882
15883         [BZ #16398]
15884         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15885         conversion when destination buffer does not have enough space.
15886         * libio/tst-ftell-partial-wide.c: New test case.
15887         * libio/Makefile (tests): Add tst-ftell-partial-wide.
15888
15889         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15890         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
15891         Leonard and Allan McRae.
15892
15893 2014-02-04  David S. Miller  <davem@davemloft.net>
15894
15895         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15896         32-bit.
15897
15898 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15899
15900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15901         New file
15902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15903         New file
15904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15905         New file.
15906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15907         New file.
15908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15909         New file.
15910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15911         New file.
15912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15913         New file.
15914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15915         New file.
15916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15917         New file.
15918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15919         New file.
15920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15921         New file.
15922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15923         New file.
15924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15925         New file.
15926
15927 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15928
15929         * nptl/shlib-versions: Change powerpc*le start to 2.17.
15930         * shlib-versions: Likewise.
15931
15932 2014-02-04  Roland McGrath  <roland@hack.frob.com>
15933             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15934
15935         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15936         (abilist-pattern): New variable, set to %-le.abilist.
15937
15938         * Makerules (abilist-pattern): New variable.
15939         (vpath): Use $(abilist-pattern) in place of %.abilist.
15940         (check-abi-% pattern rule): Likewise.
15941         (check-abi, update-abi): Likewise.
15942
15943 2014-02-04  Eric Wong  <normalperson@yhbt.net>
15944
15945         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15946
15947 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
15948
15949         * manual/startup.texi: Add next, previous, and top entries for
15950         the `Program Arguments' and `Environment Variables' nodes.
15951
15952 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
15953
15954         * manual/macros.texi: Add comments before MTASC-safety macros.
15955
15956         * manual/users.texi: Document MTASC-safety properties.
15957
15958         * manual/threads.texi (pthread_key_create, pthread_key_delete)
15959         (pthread_getspecific, pthread_setspecific): Format with
15960         @deftypefun, and add @safety note.
15961         * manual/signal.texi: Move comments that analyze the above
15962         functions to their home place.
15963
15964 2014-02-03  Allan McRae  <allan@archlinux.org>
15965
15966         * po/sl.po: Update Slovenian translation from translation project.
15967
15968 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
15969
15970         * manual/time.texi (timegm): Add missing blank after @c.
15971         Reported by Joseph Myers <joseph@codesourcery.com>.
15972
15973 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
15974
15975         * manual/check-safety.sh: New.
15976         * manual/Makefile ($(objpfx)stamp-summary): Run it.
15977
15978         * manual/terminal.texi: Document MTASC-safety properties.
15979
15980         * manual/filesys.texi: Document MTASC-safety properties.
15981
15982         * manual/errno.texi: Document MTASC-safety properties.
15983
15984         * manual/intro.texi: Document safety identifiers and
15985         conditionals.
15986
15987         * manual/string.texi (wcstok): Fix prototype.
15988         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15989
15990         * manual/time.texi: Document MTASC-safety properties.
15991
15992         * manual/string.texi: Document MTASC-safety properties.
15993
15994         * manual/threads.texi: Document MTASC-safety properties.
15995
15996         * manual/stdio.texi: Document MTASC-safety properties.
15997
15998         * manual/syslog.texi: Document MTASC-safety properties.
15999
16000         * manual/sysinfo.texi: Document MTASC-safety properties.
16001
16002         * manual/startup.texi: Document MTASC-safety properties.
16003
16004         * manual/socket.texi: Document MTASC-safety properties.
16005
16006         * manual/signal.texi: Document MTASC-safety properties.
16007
16008 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16009
16010         * manual/setjmp.texi: Document MTASC-safety properties.
16011
16012         * manual/search.texi: Document MTASC-safety properties.
16013
16014         * manual/resource.texi: Document MTASC-safety properties.
16015
16016         * manual/process.texi: Document MTASC-safety properties.
16017
16018         * manual/platform.texi: Document MTASC-safety properties.
16019
16020         * manual/pipe.texi: Document MTASC-safety properties.
16021
16022         * manual/pattern.texi: Document MTASC-safety properties.
16023
16024         * manual/message.texi: Document MTASC-safety properties.
16025
16026         [BZ #12751]
16027         * manual/memory.texi: Document MTASC-safety properties.
16028
16029         * manual/math.texi: Document MTASC-safety properties.
16030
16031         * manual/locale.texi: Document MTASC-safety properties.
16032
16033         * manual/llio.texi: Document MTASC-safety properties.
16034
16035         * manual/libdl.texi: New.
16036
16037         * manual/lang.texi: Document MTASC-safety properties.
16038
16039         * manual/job.texi: Document MTASC-safety properties.
16040
16041         * manual/getopt.texi: Document MTASC-safety properties.
16042
16043         * manual/ctype.texi: Document MTASC-safety properties.
16044
16045 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16046
16047         [BZ #16046]
16048         * csu/libc-tls.c (static_map): Remove variable.
16049         (__libc_setup_tls): Use main executable's link map for TLS data.
16050         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16051         casing for LM_ID_BASE and GL(dl_nns).
16052         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16053         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16054         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16055         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16056         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16057         member.
16058         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16059         l_phnum members.
16060
16061 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16062
16063         * manual/debug.texi: Document MTASC-safety properties.
16064
16065 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16066
16067         [BZ #16510]
16068         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16069         of __x86_64__ when disabling x87 inline functions.
16070
16071 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16072
16073         * manual/charset.texi: Document MTASC-safety properties.
16074
16075         * manual/crypt.texi: Document MTASC-safety properties.
16076
16077         * manual/conf.texi: Document MTASC-safety properties.
16078
16079         * manual/arith.texi: Document MTASC-safety properties.
16080
16081         * manual/argp.texi: Document MTASC-safety properties.
16082
16083         * manual/macros.texi: Introduce macros to document multi
16084         thread, asynchronous signal and asynchronous cancellation
16085         safety properties.
16086         * manual/intro.texi: Introduce the properties themselves.
16087
16088 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16089
16090         * sysdeps/sh/sh4/Makefile: New file.
16091
16092 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16093
16094         * math/gen-libm-test.pl ($srcdir): New variable.
16095         ($auto_input): Use it.
16096
16097 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16098
16099         [BZ #16506]
16100         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16101         access beyond array bounds when parsing netgroups file.
16102
16103         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16104         the old buffer before realloc.
16105
16106 2014-01-27  Allan McRae  <allan@archlinux.org>
16107
16108         * po/fr.po: Update French translation from translation project.
16109
16110 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16111
16112         * sysdeps/sh/libm-test-ulps: Regenerate.
16113
16114 2014-01-24  David S. Miller  <davem@davemloft.net>
16115
16116         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16117
16118 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16119
16120         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16121         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16122
16123 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16124
16125         [BZ #16474]
16126         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16127         string pointers after reallocation.
16128
16129 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16130
16131         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16132         __SH4A__ instead of __SH_FPU_ANY__.
16133
16134 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16135
16136         * sysdeps/sh/fpu_control.h: New file.
16137         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16138         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16139         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16140         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16141         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16142         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16143         * sysdeps/sh/sys/ucontext.h: Remove.
16144         * sysdeps/sh/sys: Remove directory.
16145
16146 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16147
16148         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16149         s390/sys/ucontext.h.
16150         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16151         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16152
16153 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16154
16155         [BZ #15605]
16156         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16157
16158 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16159
16160         [BZ#16431]
16161         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16162         Adjust the vDSO correctly for internal calls.
16163         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16164
16165 2014-01-20  Allan McRae  <allan@archlinux.org>
16166
16167         * po/ca.po: Update Catalan translation from translation project.
16168
16169 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16170
16171         * sysdeps/s390/sotruss-lib.c: New file.
16172
16173 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16174
16175         [BZ#16430]
16176         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16177         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16178         local calls issues by not having a PLT stub required for IFUNC calls.
16179         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16180
16181 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16182
16183         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16184         * math/test-fpucw-static.c: Likewise.
16185
16186 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16187
16188         [BZ #16453]
16189         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16190
16191 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16192
16193         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16194         implementation for powerpc.
16195
16196 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16197
16198         [BZ #14782]
16199         * sysdeps/posix/system.c (__libc_system): Do not enable
16200         asynchronous cancellation.
16201
16202 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16203
16204         [BZ #16427]
16205         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16206         handling only for numbers special also in the IEEE case.
16207
16208 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16209
16210         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16211
16212 2014-01-11  Allan McRae  <allan@archlinux.org>
16213
16214         * po/bg.po: Update Bulgarian translation from translation project.
16215
16216         * po/de.po: Update German translation from translation project.
16217
16218 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16219
16220         * sysdeps/generic/gcc-compat.h: New file.
16221
16222 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16223
16224         * benchtests/asin-inputs: Correct slow inputs.
16225         * benchtests/acos-inputs: Likewise.
16226
16227 2014-01-10  Allan McRae  <allan@archlinux.org>
16228
16229         * po:sv.po: Update Swedish translation from translation project.
16230
16231         * po/vi.po: Update Vietnamese translation from translation project.
16232
16233         * po/eo.po: Update Esperanto translation from translation project.
16234
16235         * po/cs.po: Update Czech translation from translation project.
16236
16237         * po/nl.po: Update Dutch translation from translation project.
16238
16239         * po/pl.po: Update Polish translation from translation project.
16240
16241         * po/ru.po: Update Russian translation from translation project.
16242
16243         * po/uk.po: Update Ukrainian translation from translation project.
16244
16245 2014-01-08  Brooks Moses  <bmoses@google.com>
16246
16247         * elf/dl-load.c: Fix comment typo.
16248
16249 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16250
16251         * po/header.pot: Rename to...
16252         * po/pot.header: ... this.
16253         * po/Makefile: Use pot.header.
16254
16255 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16256             Maxim Kuvyrkov  <maxim@kugelworks.com>
16257
16258         [BZ #16394]
16259         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16260         SRC and DEST against LEN.
16261
16262 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16263
16264         [BZ #16414]
16265         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16266         implementation.
16267         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16268
16269 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16270
16271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16272
16273 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16274
16275         [BZ #16408]
16276         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16277         for large positive arguments.
16278
16279 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16280
16281         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16282
16283         * math/auto-libm-test-in: Mark various tests with
16284         xfail-rounding:ldbl-128ibm.
16285         * math/auto-libm-test-out: Regenerated.
16286
16287         [BZ #16407]
16288         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16289         Increase overflow threshold.
16290
16291 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16292
16293         [BZ #14286]
16294         * stdio-common/vfprintf.c: Check for integer overflow.
16295
16296 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16297
16298         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16299         the first argument and return value of __tls_get_addr_internal.
16300
16301 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16302
16303         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16304         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16305
16306 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16307
16308         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16309         * sysdeps/s390/rtld-global-offsets.sym: New file.
16310         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16311         GLIBC_2.19 symbol.
16312         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16313         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16314         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16315         ... this.
16316         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16317         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16318         ... this.
16319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16320         Regenerate.
16321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16322         Regenerate.
16323         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16324         halfs of GPRs for high_gprs contexts.
16325         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16326         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16327         field.
16328         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16329         uc_flags field.
16330         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16331         64 bit versions:
16332         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16333         for high GPRs (uc_high_gprs) and for future extensions
16334         (__reserved).
16335         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16336         for future extensions (__reserved).
16337         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16338         64 bit versions:
16339         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16340         SC_HIGHGPRS offset definition.
16341         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16342         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16343
16344         * Versions.def: Add GLIBC_2.19 for libpthread.
16345         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16346         siglongjmp for libpthread with GLIBC_2.19 symver.
16347         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16348         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16349         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16350         * sysdeps/s390/__longjmp.c: New file.
16351         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16352         * sysdeps/s390/longjmp.c: New file.
16353         * sysdeps/s390/setjmp.S: New file.
16354         * sysdeps/s390/sigjmp.S: New file.
16355         * sysdeps/s390/v1-longjmp.c: New file.
16356         * sysdeps/s390/v1-setjmp.h: New file.
16357         * sysdeps/s390/v1-sigjmp.c: New file.
16358         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16359         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16360         GLIBC_2.19 version.
16361         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16362         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16363         versioned symbols for ____longjmp_chk.
16364         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16365         Likewise.
16366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16367         Regenerate.
16368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16369         Regenerate.
16370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16371         Regenerate.
16372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16373         Regenerate.
16374         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16375         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16376         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16377         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16378         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16379         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16380         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16381         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16382         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16383         * sysdeps/s390/rtld-__longjmp.c: New file.
16384         * sysdeps/s390/rtld-setjmp.S: New file.
16385
16386 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16387
16388         [BZ #16400]
16389         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16390         Return -__logl (x) for small positive arguments without evaluating
16391         a polynomial.
16392
16393 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16394
16395         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16396         Rename to ...
16397         (__ptrace_peeksiginfo_args): ... this.
16398         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16399         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16400         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16401
16402 2014-01-06  Allan McRae  <allan@archlinux.org>
16403
16404         * inet/netinet/in.h: Fix typo in comment.
16405
16406 2014-01-05  Andreas Jaeger  <aj@suse.de>
16407
16408         * sysdeps/i386/fpu/libm-test-ulps: Update.
16409
16410 2014-01-05  Allan McRae  <allan@archlinux.org>
16411
16412         * po/libc.pot: Regenerated.
16413
16414         * malloc/memusagestat.c: Fix gettext call formatting.
16415
16416 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16417
16418         * nscd/nscd.c: Improve usage() output.
16419
16420 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16421
16422         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16423         * sysdeps/unix/sysv/linux/configure: Regenerated.
16424         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16425         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16426
16427 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16428
16429         [BZ #16390]
16430         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16431         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16432
16433 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16434
16435         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16436         extra tokens at end of #undef directive.
16437         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16438         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16439         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16440
16441 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16442
16443         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16444
16445         * math/auto-libm-test-in: Mark various tests with
16446         xfail-rounding:ldbl-128ibm.
16447         * math/auto-libm-test-out: Regenerated.
16448
16449 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16450
16451         [BZ #16386]
16452         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16453         numbers with subnormal high part when calculating exponent.
16454
16455         [BZ #16385]
16456         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16457         fabs.
16458
16459         [BZ #16384]
16460         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16461         M_LN2l.
16462         (__ieee754_acoshl): Use __log1pl not __log1p.
16463
16464 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16465
16466         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16467         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16468         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16469         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16470         (reused_arena, arena_get2): Convert to GNU style.
16471         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16472         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16473         (memalign_check, __malloc_set_state): Likewise.
16474         * malloc/mallocbug.c (main): Likewise.
16475         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16476         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16477         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16478         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16479         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16480         (__posix_memalign, malloc_info): Likewise.
16481         * malloc/malloc.h: Likewise.
16482         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16483         (mallochook, memalignhook, reallochook, mabort): Likewise.
16484         * malloc/mcheck.h: Likewise.
16485         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16486         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16487         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16488         * malloc/morecore.c (__default_morecore): Likewise.
16489         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16490         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16491         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16492         (print_and_abort): Likewise.
16493         * malloc/obstack.h: Likewise.
16494         * malloc/set-freeres.c (__libc_freeres): Likewise.
16495         * malloc/tst-mallocstate.c (main): Likewise.
16496         * malloc/tst-mtrace.c (main): Likewise.
16497         * malloc/tst-realloc.c (do_test): Likewise.
16498
16499 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16500
16501         [BZ #16366]
16502         * nscd/netgroupcache.c (do_notfound): New function.
16503         (addgetnetgrentX): Use it.
16504
16505         [BZ # 16365]
16506         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16507         NSS_STATUS_NOTFOUND.
16508
16509 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16510
16511         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16513
16514 2014-01-01  Allan McRae  <allan@archlinux.org>
16515
16516         * scripts/update-copyrights: Update configure input file suffix.
16517
16518         * NEWS: Update copyright year.
16519         * catgets/gencat.c: Likewise.
16520         * csu/version.c: Likewise.
16521         * debug/catchsegv.sh: Likewise.
16522         * debug/pcprofiledump.c: Likewise.
16523         * debug/xtrace.sh: Likewise.
16524         * elf/ldconfig.c: Likewise.
16525         * elf/ldd.bash.in: Likewise.
16526         * elf/pldd.c: Likewise.
16527         * elf/sotruss.ksh: Likewise.
16528         * elf/sprof.c: Likewise.
16529         * iconv/iconv_prog.c: Likewise.
16530         * iconv/iconvconfig.c: Likewise.
16531         * locale/programs/locale.c: Likewise.
16532         * locale/programs/localedef.c: Likewise.
16533         * login/programs/pt_chown.c: Likewise.
16534         * malloc/memusage.sh: Likewise.
16535         * malloc/memusagestat.c: Likewise.
16536         * malloc/mtrace.pl: Likewise.
16537         * manual/libc.texinfo: Likewise.
16538         * nscd/nscd.c: Likewise.
16539         * nss/getent.c: Likewise.
16540         * nss/makedb.c: Likewise.
16541         * posix/getconf.c: Likewise.
16542         * scripts/test-installation.pl: Likewise.
16543
16544         * All files with FSF copyright notices: Update copyright dates
16545         using scripts/update-copyrights.
16546         * intl/plural.c: Regenerated.
16547         * locale/programs/charmap-kw.h: Likewise.
16548         * locale/programs/locfile-kw.h: Likewise.
16549
16550 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16551
16552         * sysdeps/unix/sysv/linux/configure: Regenerated.
16553         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16554         the linux/fanotify.h header.
16555         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16556         HAVE_LINUX_FANOTIFY_H is defined.
16557
16558 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16559
16560         * benchtests/cos-inputs: New inputs.
16561         * benchtests/sin-inputs: Likewise.
16562
16563         * benchtests/atan-inputs: New inputs. Fix name of multiple
16564         precision fallback inputs.
16565
16566         * benchtests/atanh-inputs: New inputs.
16567         * benchtests/tanh-inputs: Likewise.
16568
16569         * benchtests/acosh-inputs: New inputs.
16570         * benchtests/asinh-inputs: Likewise.
16571
16572         * benchtests/cosh-inputs: New inputs.
16573         * benchtests/sinh-inputs: Likewise.
16574
16575         * benchtests/acos-inputs: Add more inputs.
16576         * benchtests/asin-inputs: Likewise.
16577
16578 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16579
16580         [BZ #16375]
16581         * manual/arith.texi: Fix spelling.
16582         * manual/charset.texi: Likewise.
16583         * manual/errno.texi: Likewise.
16584         * manual/filesys.texi: Likewise.
16585         * manual/lang.texi: Likewise.
16586         * manual/llio.texi: Likewise.
16587         * manual/locale.texi: Likewise.
16588         * manual/message.texi: Likewise.
16589         * manual/resource.texi: Likewise.
16590         * manual/search.texi: Likewise.
16591         * manual/setjmp.texi: Likewise.
16592         * manual/stdio.texi: Likewise.
16593         * manual/string.texi: Likewise.
16594         * manual/sysinfo.texi: Likewise.
16595         * manual/time.texi: Likewise.
16596
16597 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16598
16599         * po/sl.po: New file.
16600
16601 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16602
16603         * .gitignore: Add core/.gdbinit/.gdb_history.
16604
16605 2013-12-27  Allan McRae  <allan@archlinux.org>
16606
16607         [BZ #16369]
16608         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16609         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16610
16611 2013-12-24  Brooks Moses  <bmoses@google.com>
16612
16613         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16614         all compilers that claim C++98 compliance, not just GCC.
16615         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16616         Likewise.
16617
16618 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16619
16620         * NEWS: Restore accidentally deleted bug-fix entries.
16621
16622 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16623             Ondřej Bílka  <neleai@seznam.cz>
16624
16625         [BZ #15073]
16626         * malloc/malloc.c (_int_free): Perform sanity check only if we
16627         have_lock.
16628
16629 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16630
16631         [BZ #12986]
16632         * manual/stdio.texi (String Input Conversions): Clarify that character
16633         classes are not supported.
16634
16635 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16636
16637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16638
16639 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16640
16641         [BZ #16337]
16642         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16643         Calculate results for small negative arguments directly rather
16644         than using reflection formula with special underflow handling.
16645
16646         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16647         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16648         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16649         (fchflags): Likewise.
16650         (revoke): Likewise.
16651         (setlogin): Likewise.
16652         (sigaltstack): Likewise.
16653         (wait4): Likewise.
16654         (sigblock): Remove.
16655         (sigsetmask): Likewise.
16656         (wait3): Likewise.
16657         (waitpid): Likewise.
16658         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16659         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16660         file.
16661         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16662         * sysdeps/unix/bsd/Makefile: ... here.
16663         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16664         * sysdeps/unix/bsd/Versions: ... here.
16665         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16666         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16667         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16668         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16669         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16670         * sysdeps/unix/bsd/sigblock.c: ... here.
16671         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16672         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16673         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16674         * sysdeps/unix/bsd/sigvec.c: ... here.
16675         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16676         * sysdeps/unix/bsd/tcdrain.c: ... here.
16677         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16678         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16679         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16680         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16681         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16682         * sysdeps/unix/bsd/wait.c: ... here.
16683         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16684         * sysdeps/unix/bsd/wait3.c: ... here.
16685         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16686         * sysdeps/unix/bsd/waitpid.c: ... here.
16687
16688 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16689
16690         [BZ #16356]
16691         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16692         round-to-nearest for [!USE_AS_EXPM1L].
16693         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16694         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16695         more tests of exp and exp10.  Expect some exp10 tests to miss
16696         exceptions or fail in directed rounding modes.
16697         * math/auto-libm-test-out: Regenerated.
16698         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16699         (exp10_test_tonearest): New function.
16700         (exp10_towardzero_test_data): New array.
16701         (exp10_test_towardzero): New function.
16702         (exp10_downward_test_data): New array.
16703         (exp10_test_downward): New function.
16704         (exp10_upward_test_data): New array.
16705         (exp10_test_upward): New function.
16706         (main): Call the new functions.
16707         * sysdeps/i386/fpu/libm-test-ulps: Update.
16708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16709
16710 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16711
16712         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16713         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16714         * math/auto-libm-test-out: Regenerated.
16715         * math/libm-test.inc (acosh_test_data): Add more tests.
16716         (atanh_test_data): Likewise.
16717         (ceil_test_data): Likewise.
16718         (copysign_test_data): Likewise.
16719         * sysdeps/i386/fpu/libm-test-ulps: Update.
16720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16721
16722         * timezone/checktab.awk: Update from tzcode 2013i.
16723         * timezone/private.h: Likewise.
16724         * timezone/scheck.c: Likewise.
16725         * timezone/tzfile.h: Likewise.
16726         * timezone/tzselect.ksh: Likewise.
16727         * timezone/zdump.c: Likewise.
16728         * timezone/zic.c: Likewise.
16729
16730         * math/auto-libm-test-in: Add tests of cpow.
16731         * math/auto-libm-test-out: Regenerated.
16732         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16733         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16734         mpc_cc_c.
16735         (func_calc_desc): Add mpc_cc_c union field.
16736         (test_functions): Add cpow.
16737         (special_fill_2pi): New function.
16738         (special_real_inputs): Add 2pi.
16739         (calc_generic_results): Handle mpc_cc_c.
16740         * sysdeps/i386/fpu/libm-test-ulps: Update.
16741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16742
16743         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16744         csqrt, ctan and ctanh.
16745         * math/auto-libm-test-out: Regenerated.
16746         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16747         (TEST_COND_x86): Likewise.
16748         (ccos_test_data): Use AUTO_TESTS_c_c.
16749         (ccosh_test_data): Likewise.
16750         (cexp_test_data): Likewise.
16751         (clog_test_data): Likewise.
16752         (csqrt_test_data): Likewise.
16753         (ctan_test_data): Likewise.
16754         (ctan_tonearest_test_data): Likewise.
16755         (ctan_towardzero_test_data): Likewise.
16756         (ctan_downward_test_data): Likewise.
16757         (ctan_upward_test_data): Likewise.
16758         (ctanh_test_data): Likewise.
16759         (ctanh_tonearest_test_data): Likewise.
16760         (ctanh_towardzero_test_data): Likewise.
16761         (ctanh_downward_test_data): Likewise.
16762         (ctanh_upward_test_data): Likewise.
16763         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16764         mpc_c_c.
16765         (func_calc_desc): Add mpc_c_c union field.
16766         (FUNC_mpc_c_c): New macro.
16767         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16768         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16769         ctanh.
16770         (special_fill_min_subnorm_p120): New function.
16771         (special_real_inputs): Add min_subnorm_p120.
16772         (calc_generic_results): Handle mpc_c_c.
16773         * sysdeps/i386/fpu/libm-test-ulps: Update.
16774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16775
16776 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16777
16778         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16779         (do_sin_slow): New functions.
16780         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16781         (cslow2, csloww1, csloww2): Use the new functions.
16782
16783         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16784         Use M to change sign of result instead of X.  Assume X is
16785         positive.
16786         (csloww1): Likewise.
16787         (__sin): Adjust.
16788         (__cos): Adjust.
16789
16790         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16791         arguments A and DA.
16792         (__sin): Adjust.
16793         (__cos): Likewise.
16794
16795         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16796         (__cos): Likewise.
16797         (sloww1): Don't adjust sign of DX.
16798         (csloww1): Likewise.
16799         (sloww2): Use X directly and don't adjust sign of DX.
16800         (csloww2): Likewise.
16801
16802 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16803
16804         * math/auto-libm-test-in: Add tests of cabs and carg.
16805         * math/auto-libm-test-out: Regenerated.
16806         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16807         (carg_test_data): Likewise.
16808         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16809         mpc_c_f.
16810         (func_calc_desc): Add mpc_c_f union field.
16811         (test_functions): Add cabs and carg.
16812         (calc_generic_results): Handle mpc_c_f.
16813
16814         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16815         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16816         as a macro and a compat symbol.
16817         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16818         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16819         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16820         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16821         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16822         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16823         not use .hidden.
16824         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16825         Likewise.
16826         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16827         Likewise.
16828         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16829         Likewise.
16830         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16831         Likewise.
16832         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16833         Likewise.
16834         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16835         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16836         from GLIBC_2.3.2.
16837
16838 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16839
16840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16841
16842 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16843
16844         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16845         trailing whitespace removed.
16846         * scripts/config.guess: Update to version 2013-11-29.
16847         * scripts/config.sub: Update to version 2013-10-01.
16848
16849         * math/auto-libm-test-in: Add tests of sincos.
16850         * math/auto-libm-test-out: Regenerated.
16851         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16852         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16853         mpfr_f_11.
16854         (func_calc_desc): Add mpfr_f_11 union field.
16855         (test_functions): Add sincos.
16856         (calc_generic_results): Handle mpfr_f_11.
16857         * sysdeps/i386/fpu/libm-test-ulps: Update.
16858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16859
16860 2013-12-19  Andreas Schwab  <schwab@suse.de>
16861
16862         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16863         CALL_MCOUNT.
16864         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16865         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16866         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16867
16868 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16869
16870         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16871         * sysdeps/i386/fpu/libm-test-ulps: Update.
16872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16873
16874         [BZ #16293]
16875         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16876         round-to-nearest mode when using frndint.
16877         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16878         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16879         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16880         Likewise.
16881         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
16882         sinh test to fail.
16883         * math/auto-libm-test-out: Regenerated.
16884         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16885         (TEST_COND_x86): Likewise.
16886         (expm1_tonearest_test_data): New array.
16887         (expm1_test_tonearest): New function.
16888         (expm1_towardzero_test_data): New array.
16889         (expm1_test_towardzero): New function.
16890         (expm1_downward_test_data): New array.
16891         (expm1_test_downward): New function.
16892         (expm1_upward_test_data): New array.
16893         (expm1_test_upward): New function.
16894         (main): Run the new test functions.
16895         * sysdeps/i386/fpu/libm-test-ulps: Update.
16896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16897
16898         * include/features.h: Update comment documenting feature test
16899         macros.  Mention _DEFAULT_SOURCE in comment.
16900         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16901         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16902         _BSD_SOURCE and _SVID_SOURCE.
16903         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16904         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16905         !_SVID_SOURCE]: Likewise.
16906         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16907         (__USE_POSIX_IMPLICITLY): Define.
16908         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16909         (_POSIX_SOURCE): Undefine and redefine.
16910         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16911         (_POSIX_C_SOURCE): Likewise.
16912         * manual/creature.texi (_DEFAULT_SOURCE): Document.
16913         (Feature Test Macros): Update documentation of default features.
16914
16915 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16916
16917         * benchtests/Makefile: Add bench-strtok.
16918         * benchtests/bench-strtok.c: New file: strtok benchtest.
16919
16920 2013-12-19  Allan McRae  <allan@archlinux.org>
16921
16922         * manual/install.texi: Suppress menu for plain text output.
16923         * INSTALL: Regenerated.
16924
16925 2013-12-18  Brooks Moses  <bmoses@google.com>
16926
16927         [BZ #15846]
16928         * misc/getauxval.c: Include errno.h.
16929         (__getauxval): Set errno to ENOENT if the requested type is not
16930         found.
16931         * misc/sys/auxv.h (getauxval): Document that it may set errno;
16932         don't declare with __attribute_const__.
16933         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16934         * manual/startup.texi: Document that getauxval sets errno.
16935
16936 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16937
16938         * math/auto-libm-test-in: Add tests of jn and yn.
16939         * math/auto-libm-test-out: Regenerated.
16940         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16941         (yn_test_data): Likewise.
16942         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16943         mpfr_if_f.
16944         (func_calc_desc): Add mpfr_if_f union field.
16945         (FUNC_mpfr_if_f): New macro.
16946         (test_functions): Add jn and yn.
16947         (calc_generic_results): Assert type of second input for
16948         mpfr_ff_f.  Handle mpfr_if_f.
16949         (output_for_one_input_case): Disable all checking for arguments
16950         fitting floating-point types in case of an integer argument.
16951         * sysdeps/i386/fpu/libm-test-ulps: Update.
16952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16953
16954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16955         Don't expect fegetround reference in libm.so.
16956
16957 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16958
16959         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16960         $(config-cflags-nofma).
16961
16962 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16963
16964         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16965         * math/auto-libm-test-out: Regenerated.
16966
16967         [BZ #16338]
16968         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16969         to determine exponent and adjust argument to have exponent of -1.
16970         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16971         log2.
16972         * math/auto-libm-test-out: Regenerated.
16973         * sysdeps/i386/fpu/libm-test-ulps: Update.
16974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16975
16976 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
16977
16978         * manual/probes.texi: Remove cases when per-thread arenas are
16979         disabled.
16980
16981 2013-12-18  Andreas Schwab  <schwab@suse.de>
16982
16983         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16984         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16985         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16986         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16987         * sysdeps/i386/i686/multiarch/Makefile: Update.
16988         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16989
16990 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16991
16992         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16993         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16994
16995 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
16996
16997         [BZ #15968]
16998         Support TZ transition times < 00:00:00.
16999         This is needed for version-3 tz-format files; it supports time
17000         stamps past 2037 for America/Godthab (the only entry in the tz
17001         database for which this change is relevant).
17002         * manual/time.texi (TZ Variable): Document transition times
17003         from -167:59:59 through -00:00:01.
17004         * time/tzset.c (tz_rule): Time of day is now signed.
17005         (__tzset_parse_tz): Parse negative time of day.
17006
17007         Document TZ transition times >= 25:00:00.
17008         * manual/time.texi (TZ Variable): Document transition times from
17009         25:00:00 through 167:59:59.  These are already supported, and this
17010         support will help with version-3 tz-format files.
17011
17012         * manual/time.texi (TZ Variable): Modernize North America example
17013         to reflect current (i.e., 2007-and-later) daylight saving rules.
17014
17015         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17016
17017 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17018
17019         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17020         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17021         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17022         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17023         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17024         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17025         * sysdeps/unix/bsd/clock.c: Likewise.
17026         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17027         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17028         * sysdeps/unix/bsd/init-posix.c: Likewise.
17029         * sysdeps/unix/bsd/poll.c: Likewise.
17030         * sysdeps/unix/bsd/ptsname.c: Likewise.
17031         * sysdeps/unix/bsd/seekdir.c: Likewise.
17032         * sysdeps/unix/bsd/setegid.c: Likewise.
17033         * sysdeps/unix/bsd/seteuid.c: Likewise.
17034         * sysdeps/unix/bsd/setgid.c: Likewise.
17035         * sysdeps/unix/bsd/setrgid.c: Likewise.
17036         * sysdeps/unix/bsd/setruid.c: Likewise.
17037         * sysdeps/unix/bsd/setsid.c: Likewise.
17038         * sysdeps/unix/bsd/setuid.c: Likewise.
17039         * sysdeps/unix/bsd/sigaction.c: Likewise.
17040         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17041         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17042         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17043         * sysdeps/unix/bsd/telldir.c: Likewise.
17044         * sysdeps/unix/bsd/times.c: Likewise.
17045         * sysdeps/unix/bsd/usleep.c: Likewise.
17046
17047         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17048         ($(objpfx)libbsd-compat.a): Remove rule.
17049
17050         * include/features.h (__FAVOR_BSD): Do not define.
17051         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17052         features conflicting with POSIX.
17053         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17054         (_BSD_SOURCE): Remove description of not being a subset of other
17055         feature test macros.
17056         * manual/job.texi (getpgrp): Do not document BSD version.
17057         (getpgid): Do not document by reference to BSD getpgrp.
17058         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17059         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17060         * signal/signal.h [__FAVOR_BSD]: Likewise.
17061         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17062         instead of making contents conditional on [__FAVOR_BSD].
17063         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17064
17065 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17066
17067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17068
17069 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17070
17071         [BZ #16314]
17072         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17073         values below 2**-450, not 2**-500.
17074         * math/auto-libm-test-in: Don't allow spurious underflow from
17075         hypot.
17076         * math/auto-libm-test-out: Regenerated.
17077
17078         [BZ #16316]
17079         [BZ #16330]
17080         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17081         values of ha and hb and sort them after adjusting subnormal
17082         arguments.
17083         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17084         Likewise.
17085         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17086         values of ea and eb and sort them after adjusting subnormal
17087         arguments.
17088         * math/auto-libm-test-in: Do not expect some hypot tests of
17089         subnormals to fail.  Add more hypot tests.
17090         * math/auto-libm-test-out: Regenerated.
17091
17092 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17093
17094         [BZ #13304]
17095         * sysdeps/sh/s_fma.c: New file.
17096         * sysdeps/sh/s_fmaf.c: New file.
17097         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17098         version.
17099         * sysdeps/sh/Implies: Add sh/soft-fp.
17100
17101 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17102
17103         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17104         level of indirection to members `objname', `errstring', `malloced'.
17105         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17106         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17107         it as the __longjmp argument (just pass 1 instead).
17108         (_dl_catch_error): Initialize C with argument pointers and address of
17109         volatile local ERRCODE rather than copying values out of C at return.
17110
17111 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17112
17113         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17114         * math/auto-libm-test-out: Regenerated.
17115         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17116         (hypot_test_data): Likewise.
17117         (pow_test_data): Likewise.
17118         (pow_tonearest_test_data): Likewise.
17119         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17120         mpfr_ff_f.
17121         (func_calc_desc): Add mpfr_ff_f union field.
17122         (FUNC_mpfr_ff_f): New macro.
17123         (test_functions): Add atan2, hypot and pow.
17124         (special_fill_min): New function.
17125         (special_fill_minus_min): Likewise.
17126         (special_fill_min_subnorm): Likewise.
17127         (special_fill_minus_min_subnorm): Likewise.
17128         (special_real_inputs): Add min, -min, min_subnorm and
17129         -min_subnorm.
17130         (calc_generic_results): Handle mpfr_ff_f.
17131         * sysdeps/i386/fpu/libm-test-ulps: Update.
17132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17133
17134 2013-12-16  Will Newton  <will.newton@linaro.org>
17135
17136         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17137         (Aligned Memory Blocks): Add documentation for aligned_alloc
17138         and suggest it as an alternative to posix_memalign.
17139         (Hooks for Malloc): Document __memalign_hook is also called
17140         for aligned_alloc.  (Summary of Malloc): Add summary for
17141         aligned alloc.  Document __memalign_hook is also called
17142         for aligned_alloc.
17143
17144 2013-12-16  Will Newton  <will.newton@linaro.org>
17145
17146         * manual/memory.texi (Malloc Examples): Clarify default
17147         alignment documentation.  Suggest posix_memalign rather
17148         than memalign or valloc.
17149         (Aligned Memory Blocks): Remove suggestion to use memalign
17150         or valloc.  Remove obsolete comment about BSD.
17151         Document memalign errno values and mark the function obsolete.
17152         Document posix_memalign returned error codes.  Mark valloc
17153         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17154         called for posix_memalign and valloc.
17155         (Summary of Malloc): Add posix_memalign to function summary.
17156         __memalign_hook is also called for posix_memalign and valloc.
17157
17158 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17159
17160         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17161         TAYLOR_SIN.
17162         (__sin): Adjust.
17163         (__cos): Likewise.
17164         (sloww): Use mynumber union.  Expand ternary operator into
17165         if-else statements.
17166         (cslow): use mynumber union.
17167
17168 2013-12-16  Allan McRae  <allan@archlinux.org>
17169
17170         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17171         * configure: Regenerated.
17172
17173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17174
17175         [BZ #14120]
17176         * configure.ac: Added --enable-maintainer-mode. Check for
17177         autoconf when enabled.
17178         * configure: Regenerated.
17179
17180         * nscd/nscd.service: New file.
17181         * nscd/nscd.tmpfiles: New file.
17182
17183 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17184
17185         [BZ #12100]
17186         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17187         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17188         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17189         (strstr): Add __strstr_sse2_unaligned ifunc.
17190         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17191         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17192         (strcasestr): Remove __strcasestr_sse42 ifunc.
17193         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17195         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17196
17197 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17198
17199         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17200         * sysdeps/sh/bits/fenv.h: ... here.
17201         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17202
17203 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17204
17205         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17206
17207         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17208         hypotf multiarch implementations.
17209         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17210         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17211         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17212         multiarch hypot for PPC64.
17213         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17214         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17215         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17216         multiarch hypotf for PPC64.
17217
17218         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17219         modff multiarch implementations.
17220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17223         multiarch modf for PPC64.
17224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17227         multiarch modff for PPC64.
17228
17229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17230         and logl multiarch implementations.
17231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17234         multiarch logb for PPC64.
17235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17238         multiarch logb for PPC64.
17239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17242         multiarch logb for PPC64.
17243
17244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17245         isinff multiarch implementation.
17246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17247         file.
17248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17250         multiarch isinf for PPC64.
17251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17252         file.
17253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17254         multiarch isinff for PPC64.
17255
17256         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17257         finitef multiarch implementation.
17258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17259         file.
17260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17262         multiarch finite for PPC64.
17263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17264         file.
17265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17266         multiarch finitef for PPC64.
17267
17268         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17269         lrint multiarch implementation.
17270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17271         file.
17272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17274         multiarch llrint for PPC64.
17275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17276         multiarch lrint for PPC64.
17277
17278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17279         copysignf multiarch implementation.
17280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17281         file.
17282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17283         file.
17284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17285         multiarch copysign for PPC64.
17286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17287         multiarch copysignf for PPC64.
17288
17289         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17290         multiarch implementation.
17291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17292         file.
17293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17294         file.
17295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17296         file.
17297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17298         file.
17299         multiarch llround for PPC64.
17300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17301         multiarch trunc for PPC64.
17302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17303         multiarch truncf for PPC64.
17304
17305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17306         multiarch implementation.
17307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17308         file.
17309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17310         file.
17311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17312         file.
17313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17314         file.
17315         multiarch llround for PPC64.
17316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17317         multiarch round for PPC64.
17318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17319         multiarch roundf for PPC64.
17320
17321         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17322         multiarch implementation.
17323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17324         file.
17325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17326         file.
17327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17328         file.
17329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17330         file.
17331         multiarch llround for PPC64.
17332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17333         multiarch floor for PPC64.
17334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17335         multiarch floorf for PPC64.
17336
17337         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17338         multiarch implementation.
17339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17340         file.
17341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17342         file.
17343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17344         file.
17345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17346         file.
17347         multiarch llround for PPC64.
17348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17349         multiarch ceil for PPC64.
17350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17351         multiarch ceilf for PPC64.
17352
17353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17354         multiarch implementation.
17355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17356         file.
17357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17358         file.
17359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17360         file.
17361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17362         multiarch llround for PPC64.
17363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17364         multiarch lround for PPC64.
17365
17366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17367         multiarch implementation.
17368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17371         file.
17372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17375         multiarch isnan for PPC64.
17376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17377         multiarch isnanf for PPC64.
17378
17379         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17380         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17381         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17382         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17383         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17385
17386         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17387         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17388         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17389         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17390
17391         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17392         multiarch implementations.
17393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17394         (__libc_ifunc_impl_list): Likewise.
17395         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17396         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17397         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17398         multiarch stpcpy for PPC64.
17399
17400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17401         multiarch implementations.
17402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17403         (__libc_ifunc_impl_list): Likewise.
17404         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17405         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17406         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17407         multiarch strcpy for PPC64.
17408
17409         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17410         redefine function name.
17411         (_wordcopy_fwd_dest_aligned): Likewise.
17412         (_wordcopy_bwd_aligned): Likewise.
17413         (_wordcopy_bwd_dest_aligned): Likewise.
17414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17415         multiarch implementations.
17416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17417         (__libc_ifunc_impl_list): Likewise.
17418         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17419         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17420         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17421         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17422         multiarch wcscpy for PPC64.
17423
17424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17425         multiarch implementations.
17426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17427         (__libc_ifunc_impl_list): Likewise.
17428         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17429         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17430         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17431         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17432         multiarch wcscpy for PPC64.
17433
17434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17435         multiarch implementations.
17436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17437         (__libc_ifunc_impl_list): Likewise.
17438         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17439         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17440         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17441         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17442         multiarch wcsrchr for PPC64.
17443
17444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17445         multiarch implementations.
17446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17447         (__libc_ifunc_impl_list): Likewise.
17448         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17449         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17450         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17451         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17452         multiarch wcschr for PPC64.
17453
17454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17455         multiarch implementations.
17456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17457         (__libc_ifunc_impl_list): Likewise.
17458         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17459         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17460         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17461         multiarch strchrnul for PPC64.
17462
17463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17464         implementations.
17465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17466         (__libc_ifunc_impl_list): Likewise.
17467         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17468         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17469         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17470         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17471         strchr for PPC64.
17472
17473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17474         implementations.
17475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17476         (__libc_ifunc_impl_list): Likewise.
17477         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17478         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17479         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17480         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17481         strncmp for PPC64.
17482
17483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17484         multiarch implementations.
17485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17486         (__libc_ifunc_impl_list): Likewise.
17487         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17488         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17489         strncasecmp for PPC64.
17490         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17491         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17492         multiarch strncasecmp_l for PPC64.
17493
17494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17495         multiarch implementations.
17496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17497         (__libc_ifunc_impl_list): Likewise.
17498         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17499         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17500         multiarch strcasecmp for PPC64.
17501         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17502         file.
17503         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17504         multiarch strcasecmp_l for PPC64.
17505
17506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17507         implementations.
17508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17509         (__libc_ifunc_impl_list): Likewise.
17510         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17511         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17512         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17513         strnlen for PPC64.
17514
17515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17516         implementations.
17517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17518         (__libc_ifunc_impl_list): Likewise.
17519         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17520         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17521         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17522         strlen for PPC64.
17523
17524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17525         implementations.
17526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17527         (__libc_ifunc_impl_list): Likewise.
17528         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17529         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17530         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17531         rawmemrchr for PPC64.
17532
17533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17534         implementation.
17535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17536         (__libc_ifunc_impl_list): Likewise.
17537         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17538         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17539         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17540         memrchr for PPC64.
17541
17542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17543         implementation.
17544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17545         (__libc_ifunc_impl_list): Likewise.
17546         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17547         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17548         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17549         memchr for PPC64.
17550
17551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17552         implementation.
17553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17554         (__libc_ifunc_impl_list): Likewise.
17555         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17556         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17557         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17558         mempcpy for PPC64.
17559
17560         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17561         avoid cretion of __bzero symbol.
17562         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17563         Likewise.
17564         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17565         Likewise.
17566         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17567         Likewise.
17568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17569         multiarch implementations.
17570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17571         (__libc_ifunc_impl_list): Likewise.
17572         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17573         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17574         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17575         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17576         bzero for PPC32.
17577         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17578         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17579         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17580         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17581         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17582         memset for PPC64.
17583         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17584
17585         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17587         implementations.
17588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17589         (__libc_ifunc_impl_list): Likewise.
17590         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17591         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17592         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17593         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17594         memcmp for PPC64.
17595
17596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17597         multiarch for POWER/PPC64.
17598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17599         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17600         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17601         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17602         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17603         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17604         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17605         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17606         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17607         memcpy for PPC64.
17608
17609         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17610         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17611         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17612         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17613         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17614         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17615         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17616         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17617         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17618         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17619         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17620         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17621         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17622         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17623         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17631
17632 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17633
17634         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17635
17636 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17637
17638         * benchtests/Makefile (bench): Add exp2 and log2.
17639         (LDLIBS-bench-exp2): Add -lm.
17640         (LDLIBS-bench-log2): Likewise.
17641         * benchtests/exp2-inputs: New inputs file.
17642         * benchtests/log2-inputs: New inputs file.
17643         * benchtests/log-inputs: Add new inputs.
17644         * benchtests/tan-inputs: Likewise.
17645
17646 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17647
17648         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17649         definition...
17650         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17651         (csloww2): ... from here.
17652
17653         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17654         instead of structures.
17655         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17656         (POLYNOMIAL): Likewise.
17657         (TAYLOR_SLOW): Likewise.
17658         (__sin): Likewise.
17659         (__cos): Likewise.
17660         (slow1): Likewise.
17661         (slow2): Likewise.
17662         (sloww): Likewise.
17663         (sloww1); Likewise.
17664         (sloww2): Likewise.
17665         (bsloww1): Likewise.
17666         (bsloww2): Likewise.
17667         (cslow2): Likewise.
17668         (csloww): Likewise.
17669         (csloww1): Likewise.
17670         (csloww2): Likewise.
17671
17672 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17673
17674         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17675         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17676         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17677         * malloc/hooks.c (realloc_check): Likewise.
17678
17679         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17680         * malloc/arena.c: Remove PER_THREAD conditional.
17681         [!PER_THREAD]: Remove code.
17682         (ptmalloc_unlock_all2): Likewise.
17683         (ptmalloc_init): Likewise.
17684         (_int_new_arena): Likewise.
17685         (arena_get2): Likewise.
17686         * malloc/hooks.c (__malloc_get_state): Likewise.
17687         (__malloc_set_state): Likewise.
17688         * malloc/malloc.c: Likewise.
17689         (struct malloc_state): Likewise.
17690         (struct malloc_par): Likewise.
17691         (__libc_realloc): Likewise.
17692         (__libc_mallopt): Likewise.
17693
17694 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17695
17696         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17697
17698 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17699
17700         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17701         macro to a function.  Check for zero perturb_byte.
17702         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17703
17704         * malloc/malloc.c: (force_reg): Remove.
17705         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17706         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17707         force_reg by atomic_forced_read.
17708         * malloc/arena.c (ptmalloc_init): Likewise.
17709         * malloc/hooks.c (top_check): Likewise.
17710
17711 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17712
17713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17714
17715 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17716
17717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17718
17719 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17720
17721         * math/auto-libm-test-in: Add tests of lgamma.
17722         * math/auto-libm-test-out: Regenerated.
17723         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17724         (M_LOG_2_SQRT_PIl): Likewise.
17725         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17726         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17727         mpfr_f_f1.
17728         (func_calc_desc): Add mpfr_f_f1 union field.
17729         (ARGS1): New macro.
17730         (ARGS2): Likewise.
17731         (ARGS3): Likewise.
17732         (ARGS4): Likewise.
17733         (RET1): Likewise.
17734         (RET2): Likewise.
17735         (CALC): Likewise.
17736         (FUNC): Likewise.
17737         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17738         (test_functions): Add lgamma.
17739         (calc_generic_results): Handle mpfr_f_f1.
17740         * sysdeps/i386/fpu/libm-test-ulps: Update.
17741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17742
17743 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17744
17745         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17746         __mpn_add_n for PowerPC64/POWER7.
17747         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17748         __mpn_sub_n for PowerPC64/POWER7.
17749
17750         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17751         __mpn_addmul_1 for PowerPC64.
17752         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17753         __mpn_submul_1 for PowerPC64.
17754         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17755         for PowerPC64.
17756         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17757         for PowerPC64.
17758
17759 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17760
17761         [BZ #15089]
17762         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17763
17764 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17765
17766         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17767
17768         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17769         add multiarch folders.
17770         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17771         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17772         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17773         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17774         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17775         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17776         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17777         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17778         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17779         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17780         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17787
17788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17789         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17791         New file.
17792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17793         New file.
17794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17795         multiarch __ieee754_hypot for PowerPC32.
17796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17797         New file.
17798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17799         New file.
17800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17801         multiarch __ieee754_hypotf for PowerPC32.
17802
17803         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17804         long_double_symbol only if __logbl is defined.
17805         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17806         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17807         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17808         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17809         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17810         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17811         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17812         path for implementation.
17813         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17814         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17816         logb, and logbl multiarch implementations for PowerPC32.
17817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17818         file.
17819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17820         file.
17821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17822         multiarch logb for PowerPC32.
17823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17824         file.
17825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17826         file.
17827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17828         multiarch logbf for PowerPC32.
17829         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17831         file.
17832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17833         multiarch logbl implementation for PowerPC32.
17834
17835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17836         and modff multiarch implementations.
17837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17838         New file.
17839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17840         New file.
17841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17842         multiarch modf for PowerPC32.
17843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17844         New file.
17845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17846         New file.
17847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17848         multiarch modff for PowerPC32.
17849
17850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17851         and lrintf multiarch implementations.
17852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17853         New file.
17854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17855         New file.
17856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17857         multiarch lrint for PowerPC32.
17858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17859         file: multiarch lrintf for PowerPC32.
17860
17861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17862         and lroundf multiarch implementations.
17863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17864         New file.
17865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17866         New file.
17867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17868         New file.
17869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17870         multiarch lround for PowerPC32.
17871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17872         file: multiarch lroundf for PowerPC32.
17873
17874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17875         copysign and copysignf multiarch implementations.
17876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17877         New file.
17878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17879         New file.
17880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17881         file: multiarch copysign for PowerPC32.
17882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17883         file: multiarch copysignf for PowerPC32.
17884
17885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17886         and truncf multiarch implementations.
17887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17888         New file.
17889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17890         file.
17891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17892         multiarch trunc for PowerPC32.
17893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17894         New file.
17895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17896         New file.
17897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17898         multiarch truncf for PowerPC32.
17899
17900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17901         and roundf multiarch implementations.
17902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17903         New file.
17904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17905         file.
17906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17907         multiarch round for PowerPC32.
17908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17909         New file.
17910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17911         New file.
17912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17913         multiarch roundf for PowerPC32.
17914
17915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17916         and floorf multiarch implementations.
17917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17918         New file.
17919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17920         file.
17921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17922         multiarch floor for PowerPC32.
17923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17924         New file.
17925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17926         New file.
17927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17928         multiarch floorf for PowerPC32.
17929
17930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17931         and ceilf multiarch implementations.
17932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17933         New file.
17934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17935         file.
17936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17937         multiarch ceil for PowerPC32.
17938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17939         New file.
17940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17941         file.
17942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17943         multiarch ceilf for PowerPC32.
17944
17945         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17946         is defined.
17947         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17948         FINITEF is defined.
17949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17950         and finitef multiarch implementations.
17951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17952         New file.
17953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17954         file.
17955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17956         multiarch finite for PowerPC32.
17957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17958         New file.
17959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17960         file: multiarch finitef for PowerPC32.
17961
17962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17963         and isinff multiarch implementations.
17964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17965         file.
17966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17967         file.
17968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17969         multiarch isinf for PowerPC32.
17970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17971         New file.
17972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17973         multiarch isinff for PowerPC32.
17974
17975         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17976         alias when __isnan is defined.
17977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17978         and isnanf multiarch implementations.
17979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17980         file.
17981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17982         file.
17983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17984         file.
17985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17986         file.
17987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17988         multiarch isnan for PowerPC32.
17989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17990         New file.
17991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17992         New file.
17993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17994         multiarch isnanf for PowerPC32.
17995
17996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17997         and sqrtf multiarch implementations.
17998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17999         file.
18000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18001         file.
18002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18003         multiarch sqrt for PowerPC32.
18004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18005         file.
18006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18007         file.
18008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18009         multiarch sqrtf for PowerPC32.
18010
18011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18012         and llroundf multiarch implementations.
18013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18014         New file.
18015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18016         New file.
18017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18018         New file.
18019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18020         file: multiarch llround for PowerPC32.
18021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18022         file: multiarch llroundf for PowerPC32.
18023
18024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18025         multiarch PowerPC32 fpu implementations.
18026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18027         New file.
18028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18029         New file.
18030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18031         multiarch llrint for PowerPC32.
18032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18033         New file.
18034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18035         New file.
18036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18037         file.
18038
18039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18040
18041         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18042         file.
18043         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18044         file.
18045         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18046         file.
18047         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18048         multiarch wordcopy for PPC32.
18049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18050         wordcopy objects.
18051         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18052         (__libc_ifunc_impl_list): Likewise.
18053         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18054         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18055         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18056         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18057         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18058         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18059
18060         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18062         file.
18063         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18064         file.
18065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18066         file.
18067         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18068         multiarch wcscpy for PPC32.
18069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18070         multiarch objects.
18071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18072         (__libc_ifunc_impl_list): Likewise.
18073         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18074         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18075         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18076         sysdeps/powerpc/power6/wcscpy.c.
18077
18078         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18080         file.
18081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18082         file.
18083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18084         file.
18085         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18086         multiarch wcsrchr for PPC32.
18087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18088         multiarch objects.
18089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18090         (__libc_ifunc_impl_list): Likewise.
18091         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18092         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18093         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18094         sysdeps/powerpc/power6/wcsrchr.c.
18095
18096         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18097         file.
18098         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18099         file.
18100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18102         multiarch wcschr for PPc32.
18103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18104         multiarch objects.
18105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18106         (__libc_ifunc_impl_list): Likewise.
18107         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18108         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18109         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18110         sysdeps/powerpc/power6/wcschr.c.
18111
18112         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18113         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18114         file.
18115         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18116         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18117         file: multiarch strchr for PPC32.
18118         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18119         multiarch objects.
18120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18121         (__libc_ifunc_impl_list): Likewise.
18122
18123         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18124         name.
18125         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18126         file.
18127         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18128         file.
18129         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18130         multiarch strchrnul for PPC32.
18131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18132         multiarch objects.
18133         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18134         (__libc_ifunc_impl_list): Likewise.
18135
18136         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18137         file.
18138         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18139         multiarch strncasecmp for PPC32.
18140         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18141         file.
18142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18143         multiarch strncasecmp_l for PPC32.
18144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18145         strncasecmp multiarch objects.
18146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18147         (__libc_ifunc_impl_list): Likewise.
18148
18149         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18150         file.
18151         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18152         multiarch strncasecmp for PPC32.
18153         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18154         New file.
18155         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18156         multiarch strcasecmp_l for PPC32.
18157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18158         multiarch objects.
18159         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18160         (__libc_ifunc_impl_list): Likewise.
18161
18162         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18163         file.
18164         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18165         file.
18166         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18167         multiarch strncmp for PPC32.
18168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18169         multiarch objects.
18170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18171         (__libc_ifunc_impl_list): Likewise.
18172
18173         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18174         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18175         file.
18176         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18177         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18179         multiarch objects.
18180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18181         (__libc_ifunc_impl_list): Likewise.
18182
18183         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18184         file.
18185         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18186         file.
18187         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18189         multiarch objects.
18190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18191         (__libc_ifunc_impl_list): Likewise.
18192
18193         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18194         file.
18195         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18196         file.
18197         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18198         multiarch rawmemchr for PPC32.
18199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18200         multiarch objects.
18201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18202         (__libc_ifunc_impl_list): Likewise.
18203
18204         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18205         file.
18206         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18207         file.
18208         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18209         file: memrchr multiarch for PPC32.
18210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18211         multiarch objects.
18212         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18213         (__libc_ifunc_impl_list): Likewise.
18214
18215         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18216         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18217         file.
18218         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18219         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18220         multiarch memchr for PPC32.
18221         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18222         multiarch objects.
18223         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18224         (__libc_ifunc_impl_list): Likewise.
18225
18226         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18227         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18228         file.
18229         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18230         file.
18231         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18232         file: multiarch mempcpy for PPC32.
18233         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18234         multiarch objects.
18235         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18236         (__libc_ifunc_impl_list): Likewise.
18237
18238         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18239         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18240         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18241         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18242         multiarch bzero for PPC32.
18243         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18244         file.
18245         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18246         file.
18247         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18248         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18249         file: multiarch memset for PPC32.
18250         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18252         memset multiarch objects.
18253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18254         (__libc_ifunc_impl_list): Likewise.
18255
18256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18257         file.
18258         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18259         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18260         memcmp for PPC32.
18261         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18263         multiarch objects.
18264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18265         (__libc_ifunc_impl_list): Likewise.
18266
18267         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18268         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18269         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18270         file.
18271         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18272         file.
18273         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18274         file.
18275         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18276         multiarch memcpy for PPC32.
18277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18278         multiarch objects.
18279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18280         (__libc_ifunc_impl_list): Likewise.
18281
18282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18283         support multiarch for POWER/PPC32.
18284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18285         Likewise.
18286         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18288         Implies file to make multiarch folder appers before the fpu and
18289         default folder for power4 configuration.
18290
18291 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18292
18293         * scripts/bench.pl: Append volatile keyword to type.
18294
18295 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18296
18297         * sysdeps/sh/sotruss-lib.c: New file.
18298         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18299
18300 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18301
18302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18303
18304 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18305
18306         [BZ #6810]
18307         * math/w_tgamma.c: Include <errno.h>.
18308         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18309         * math/w_tgammaf.c: Include <errno.h>.
18310         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18311         * math/w_tgammal.c: Include <errno.h>.
18312         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18313         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18314         underflow.  Add more tgamma tests.
18315         * math/auto-libm-test-out: Regenerated.
18316         * sysdeps/i386/fpu/libm-test-ulps: Update.
18317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18318
18319         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18320         sin, sinh, tan, tanh, tgamma, y0 and y1.
18321         * math/auto-libm-test-out: Regenerated.
18322         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18323         (TEST_COND_x86): Likewise.
18324         (M_E2l): Remove macro.
18325         (M_E3l): Likewise.
18326         (M_2_SQRT_PIl): Likewise.
18327         (M_SQRT_PIl): Likewise.
18328         (M_1_DIV_El): Likewise.
18329         (log_test_data): Use AUTO_TESTS_f_f.
18330         (log10_test_data): Likewise.
18331         (log1p_test_data): Likewise.
18332         (log2_test_data): Likewise.
18333         (sin_test_data): Likewise.
18334         (sin_tonearest_test_data): Likewise.
18335         (sin_towardzero_test_data): Likewise.
18336         (sin_downward_test_data): Likewise.
18337         (sin_upward_test_data): Likewise.
18338         (sinh_test_data): Likewise.
18339         (sinh_tonearest_test_data): Likewise.
18340         (sinh_towardzero_test_data): Likewise.
18341         (sinh_downward_test_data): Likewise.
18342         (sinh_upward_test_data): Likewise.
18343         (tan_test_data): Likewise.
18344         (tan_tonearest_test_data): Likewise.
18345         (tan_towardzero_test_data): Likewise.
18346         (tan_downward_test_data): Likewise.
18347         (tan_upward_test_data): Likewise.
18348         (tanh_test_data): Likewise.
18349         (tgamma_test_data): Likewise.
18350         (y0_test_data): Likewise.
18351         (y1_test_data): Likewise.
18352         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18353         (special_real_inputs): Add pi/4.
18354         * sysdeps/i386/fpu/libm-test-ulps: Update.
18355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18356
18357 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18358
18359         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18360         "longjmp_target" static probes.
18361         (__longjmp): Rename to __longjmp_symbol.
18362         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18363         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18364         on which longjmp to generate.
18365         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18366         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18367         probe.
18368         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18369         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18370         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18371         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18372         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18373         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18375         __longjmp_symbol based on which __longjmp to generate.
18376         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18377         probe.
18378         (setjmp): Rename to setjmp_symbol.
18379         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18380         (_setjmp): Rename to _setjmp_symbol.
18381         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18382         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18383         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18384         which setjmp to generate.
18385         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18386         "longjmp_target" static probes.
18387
18388 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18389
18390         * benchtests/README: Add note about output arguments.
18391         * benchtests/bench-sincos.c: Remove file.
18392         * benchtests/sincos-inputs: New file.
18393         * scripts/bench.pl: Identify output arguments and define
18394         static variables for them.
18395
18396         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18397
18398         [BZ #15941]
18399         * Makefile (INSTALL): Add install-plain.texi as the primary
18400         dependency.
18401         * manual/install-plain.texi: New file.
18402         * manual/install.texi: Include node directive only for
18403         non-plaintext output.
18404
18405 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18406
18407         * stdlib/longlong.h: Update from GCC.
18408
18409         [BZ #6807]
18410         [BZ #15901]
18411         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18412         * math/w_j0f.c (y0f): Likewise.
18413         * math/w_j0l.c (__y0l): Likewise.
18414         * math/w_j1.c (y1): Likewise.
18415         * math/w_j1f.c (y1f): Likewise.
18416         * math/w_j1l.c (__y1l): Likewise
18417         * math/w_jn.c (yn): Likewise.
18418         * math/w_jnf.c (ynf): Likewise.
18419         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18420         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18421         value for Bessel function domain errors outside _SVID_ mode.
18422         Adjust sign of return value for yn (negative integer, 0).
18423         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18424         by zero in return for negative x and set sign appropriately for
18425         negative n.
18426         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18427         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18428         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18429         expectations in error cases.
18430         (y1_test_data): Likewise.
18431         (yn_test_data): Likewise.
18432         * sysdeps/i386/fpu/libm-test-ulps: Update.
18433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18434
18435 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18436
18437         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18438         "64" to "64-v1".  Add "64-v2".
18439         (abi-64-options): Rename to ...
18440         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18441         (abi-64-condition): Rename to ...
18442         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18443         (abi-64-ld-soname): Rename to ...
18444         (abi-64-v1-ld-soname): ... this.
18445         (abi-64-v2-options): Define.
18446         (abi-64-v2-condition): Likewise.
18447         (abi-64-v2-ld-soname): Likewise.
18448         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18449         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18453
18454 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18455             Alan Modra  <amodra@gmail.com>
18456
18457         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18458         New versions for use with the ELFv2 ABI.
18459         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18460         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18461         declaration.
18462         (struct La_ppc64v2_retval): Likewise.
18463         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18464         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18465         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18466         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18467         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18468         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18469         Do not save or restore CR.
18470         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18471         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18472         return values for ELFv2 ABI.  Fix location of FPR return registers.
18473         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18474         updated values for _CALL_ELF == 2.
18475         (La_regs, La_retval, int_retval): Likewise.
18476
18477 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18478
18479         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18480         (FRAME_MIN_SIZE_PARM): Likewise.
18481         (FRAME_BACKCHAIN): Likewise.
18482         (FRAME_CR_SAVE): Likewise.
18483         (FRAME_LR_SAVE): Likewise.
18484         (FRAME_TOC_SAVE): Likewise.
18485         (FRAME_PARM_SAVE): Likewise.
18486         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18487         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18488         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18489         (call_mcount_parm_offset): New macro.
18490         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18491         (PROF): Use symbolic stack frame offsets.
18492         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18493         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18494         Redefine in terms of FRAME_MIN_SIZE.
18495         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18496         (_dl_profile_resolve): Likewise.  Update comment.
18497         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18498         symbols stack frame offsets.
18499         (__sigsetjmp): Likewise.
18500         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18501         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18502         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18503         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18504
18505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18506         (FRAME_BACKCHAIN): Remove.
18507         (FRAME_CR_SAVE): Likewise.
18508         (FRAME_LR_SAVE): Likewise.
18509         (FRAME_COMPILER_DW): Likewise.
18510         (FRAME_LINKER_DW): Likewise.
18511         (FRAME_TOC_SAVE): Likewise.
18512         (FRAME_PARM_SAVE): Likewise.
18513         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18514         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18515         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18517         (CHECK_SP): Use symbolic stack frame offsets.
18518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18519         zone" instead of caller's parameter save area for temp storage.
18520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18521         Likewise.  Also, use symbolic stack frame offsets.
18522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18523         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18524         our own stack frame instead of the caller's.
18525         (__socket): Use symbolic stack frame offsets.
18526
18527 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18528             Alan Modra  <amodra@gmail.com>
18529
18530         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18531         Define.
18532         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18533         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18534         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18535         New function.
18536         (elf_machine_fixup_plt): Call it.
18537         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18538         reloc arguments.
18539         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18540         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18541         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18542         r2 before calling target.
18543
18544 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18545             Alan Modra  <amodra@gmail.com>
18546
18547         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18548         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18549         versions of macros to support ELFv2 ABI.
18550         (LOCALENTRY): New macro.
18551         (ENTRY, EALIGN): Use it.
18552         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18553         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18554         fall through into ENTRY entry point.
18555         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18556         Only define if _CALL_ELF != 2.
18557
18558         (elf_machine_matches_host): Verify ABI version matches.
18559         (RTLD_START): Use LOCALENTRY.
18560         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18561         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18562         (PLT_ENTRY_WORDS): New macro.
18563         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18564         (elf_machine_runtime_setup): Support ELFv2 ABI.
18565         (elf_machine_fixup_plt): Likewise.
18566         (elf_machine_plt_conflict): Likewise.
18567         (resolve_ifunc): Likewise.
18568         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18569         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18570         Likewise.
18571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18572         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18574         (makecontext): Support ELFv2 ABI.
18575         * elf/elf.h (EF_PPC64_ABI): Define.
18576
18577 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18578
18579         * sysdeps/powerpc/powerpc64/sysdep.h
18580         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18581         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18582         (ENTRY) [ASSEMBLER]: ... but instead here ...
18583         (EALIGN) [ASSEMBLER]: ... and here.
18584         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18585         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18586         (ENTRY_2) [!ASSEMBLER]: Use it.
18587         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18588         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18589         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18590         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18591         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18593         Use PPC64_LOAD_FUNCPTR.
18594
18595         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18596
18597 2013-12-04  Alan Modra  <amodra@gmail.com>
18598
18599         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18600         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18601         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18602         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18603
18604         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18605         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18606         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18607         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18608         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18609         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18610
18611 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18612
18613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18614         (__makecontext): Fix incorrect CFI when backtracing out of
18615         context created via makecontext.
18616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18617         (__setcontext): Fix incorrect CFI during switch to new context.
18618         (__novec_setcontext): Likewise.
18619
18620 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18621
18622         [BZ #4772]
18623         * time/strptime_l.c (__strptime_internal): Allow modifiers
18624         in strptime.
18625         * time/tst-strptime.c (day_tests): Add testcase.
18626
18627 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18628
18629         * scripts/bench.pl: Skip over blank lines.
18630
18631 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18632
18633         [BZ #926]
18634         * manual/time.texi (Calendar Time): Clarify what timezone functions
18635         use.
18636
18637 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18638
18639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18640
18641 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18642
18643         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18644         implementation.
18645         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18646         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18647         * debug/memset_chk.c (__memset_chk): Likewise.
18648         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18649         * debug/strncpy_chk.c: Likewise.
18650
18651 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18652
18653         [BZ #15268]
18654         [BZ #15425]
18655         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18656         (__ieee754_exp): For possibly underflowing results, check size of
18657         result and force underflow exception if required.
18658         * math/auto-libm-test-in: Add more tests of exp.
18659         * math/auto-libm-test-out: Regenerated.
18660         * sysdeps/i386/fpu/libm-test-ulps: Update.
18661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18662
18663         [BZ #16283]
18664         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18665         * math/w_exp2f.c (__exp2f): Likewise.
18666         * math/w_exp2l.c (__exp2l): Likewise.
18667         * math/auto-libm-test-in: Do not allow missing errno on exp2
18668         underflow.
18669         * math/auto-libm-test-out: Regenerated.
18670
18671 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18672
18673         [BZ #16274]
18674         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18675         handle filename validation.
18676         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18677         (do_open): Delete.
18678
18679 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18680
18681         [BZ #6786]
18682         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18683         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18684         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18685         <float.h>.
18686         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18687         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18688         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18689         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18690         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18691         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18692         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18693         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18694         Add more erfc tests.
18695         * math/auto-libm-test-out: Regenerated.
18696         * sysdeps/i386/fpu/libm-test-ulps: Update.
18697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18698
18699         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18700         exp2, expm1, j0 and j1.
18701         * math/auto-libm-test-out: Regenerated.
18702         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18703         (erfc_test_data): Likewise.
18704         (exp_test_data): Likewise.
18705         (exp_tonearest_test_data): Likewise.
18706         (exp_towardzero_test_data): Likewise.
18707         (exp_downward_test_data): Likewise.
18708         (exp_upward_test_data): Likewise.
18709         (exp10_test_data): Likewise.
18710         (exp2_test_data): Likewise.
18711         (expm1_test_data): Likewise.
18712         (j0_test_data): Likewise.
18713         (j1_test_data): Likewise.
18714         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18715         (input_flag_type): Add flag_xfail_rounding.
18716         (input_flags): Add xfail-rounding.
18717         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18718         (output_for_one_input_case): Handle flag_xfail_rounding.
18719         * sysdeps/i386/fpu/libm-test-ulps: Update.
18720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18721
18722 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18723
18724         [BZ #16289]
18725         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18726         division by 0.
18727
18728 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18729
18730         [BZ #16195]
18731         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18732         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18733         (STAP_PROBE0): New macro.
18734         (STAP_PROBE1): Likewise.
18735         (STAP_PROBE2): Likewise.
18736         (STAP_PROBE3): Likewise.
18737         (STAP_PROBE4): Likewise.
18738
18739 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18740
18741         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18742
18743 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18744
18745         * benchtests/Makefile (bench): Add sqrt.
18746         (LDLIBS-bench-sqrt): New.
18747         * benchtests/sqrt-input: New.
18748
18749 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18750
18751         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18752         (GAIH_EAI): Likewise.
18753         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18754         (gaih_inet): Likewise.
18755         (getaddrinfo): Don't use GAIH_EAI.
18756
18757         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18758         (struct gaih): Remove definition.
18759
18760 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18761
18762         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18763         Use HERRNOP directly.
18764
18765 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18766
18767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18768
18769 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18770
18771         * math/gen-auto-libm-tests.c (test_functions): Add more
18772         single-argument functions.
18773         (special_fill_pi_2): New function.
18774         (special_fill_minus_pi_2): Likewise.
18775         (special_fill_pi_6): Likewise.
18776         (special_fill_minus_pi_6): Likewise.
18777         (special_fill_pi_3): Likewise.
18778         (special_fill_2pi_3): Likewise.
18779         (special_fill_e): Likewise.
18780         (special_fill_1_e): Likewise.
18781         (special_fill_e_minus_1): Likewise.
18782         (special_real_inputs): Add more special inputs.
18783         (output_for_one_input_case): Do not require ERANGE on underflow to
18784         zero if round-to-nearest result does not underflow to zero, unless
18785         exact results required.
18786         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18787         atan, atanh, cbrt, cos and cosh.
18788         * math/auto-libm-test-out: Regenerated.
18789         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18790         (acos_tonearest_test_data): Likewise.
18791         (acos_towardzero_test_data): Likewise.
18792         (acos_downward_test_data): Likewise.
18793         (acos_upward_test_data): Likewise.
18794         (acosh_test_data): Likewise.
18795         (asin_test_data): Likewise.
18796         (asin_tonearest_test_data): Likewise.
18797         (asin_towardzero_test_data): Likewise.
18798         (asin_upward_test_data): Likewise.
18799         (asinh_test_data): Likewise.
18800         (atan_test_data): Likewise.
18801         (atanh_test_data): Likewise.
18802         (cbrt_test_data): Likewise.
18803         (cos_test_data): Likewise.
18804         (cos_tonearest_test_data): Likewise.
18805         (cos_towardzero_test_data): Likewise.
18806         (cos_downward_test_data): Likewise.
18807         (cos_upward_test_data): Likewise.
18808         (cosh_test_data): Likewise.
18809         (cosh_tonearest_test_data): Likewise.
18810         (cosh_towardzero_test_data): Likewise.
18811         (cosh_downward_test_data): Likewise.
18812         (cosh_upward_test_data): Likewise.
18813         * sysdeps/i386/fpu/libm-test-ulps: Update.
18814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18815
18816 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18817
18818         [BZ #6787]
18819         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18820         * math/w_exp10f.c (__exp10f): Likewise.
18821         * math/w_exp10l.c (__exp10l): Likewise.
18822         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18823         errno settings in existing tests.
18824
18825         [BZ #14032]
18826         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18827         precision control set to double precision.
18828         * sysdeps/i386/fpu/w_sqrt.c: New file.
18829         * math/auto-libm-test-in: Add more tests.
18830         * math/auto-libm-test-out: Update.
18831
18832         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18833         (sqrt_test_tonearest): New function.
18834         (sqrt_towardzero_test_data): New variable.
18835         (sqrt_test_towardzero): New function.
18836         (sqrt_downward_test_data): New variable.
18837         (sqrt_test_downward): New function.
18838         (sqrt_upward_test_data): New variable.
18839         (sqrt_test_upward): New function.
18840         (main): Call the new functions.
18841
18842         * math/gen-auto-libm-tests.c: New file.
18843         * math/auto-libm-test-in: Likewise.
18844         * math/auto-libm-test-out: New generated file.
18845         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18846         variables.
18847         (%beautify): Add generated representations of zero.
18848         (top level): Set $auto_input and call parse_auto_input.
18849         (beautify): Remove trailing "f" from hex float constants.
18850         (parse_args): Handle XFAIL_TEST.
18851         (convert_condition): New function.
18852         (or_value): Likewise.
18853         (or_cond_value): Likewise.
18854         (generate_testfile): Handle AUTO_TESTS_* lines.
18855         (parse_auto_input): New function.
18856         * math/libm-test.inc (XFAIL_TEST): New macro.
18857         (ERRNO_UNCHANGED): Update value.
18858         (ERRNO_EDOM): Likewise.
18859         (ERRNO_ERANGE): Likewise.
18860         (IGNORE_RESULT): Likewise.
18861         (TEST_COND_flt_32): New macro.
18862         (TEST_COND_dbl_64): Likewise.
18863         (TEST_COND_ldbl_96_intel): Likewise.
18864         (TEST_COND_ldbl_96_m68k): Likewise.
18865         (TEST_COND_ldbl_128): Likewise.
18866         (TEST_COND_ldbl_128ibm): Likewise.
18867         (TEST_COND_long32): Likewise.
18868         (TEST_COND_long64): Likewise.
18869         (TEST_COND_before_rounding): Likewise.
18870         (TEST_COND_after_rounding): Likewise.
18871         (enable_test): Handle XFAIL_TEST flag.
18872         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18873         with finite results.
18874         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18875         auto-libm-test-out.
18876
18877 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18878             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18879
18880         [BZ #16214]
18881         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18882         __tls_get_addr_internal instead of __tls_get_offset in order to
18883         avoid GOT pointer dependency.  Make rtld export
18884         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18885         __tls_get_addr since we are a __tls_get_offset platform.
18886         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18887         GOT pointer being set up before.
18888         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18889
18890 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
18891
18892         * manual/math.texi (Errors in Math Functions): Document accuracy
18893         goals.
18894
18895         [BZ #15004]
18896         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18897         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18898         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18899         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18900         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18901         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18902         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18903         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18904         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18905         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18906         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18907         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18908         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18909         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18910         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18911         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18912
18913         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18914         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18915         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18916         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18917         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18918         Likewise.
18919         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18920         Likewise.
18921         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18922         Likewise.
18923         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18924         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18925         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18926         atomic-feupdateenv and flt-rounds.
18927         * sysdeps/powerpc/nofpu/Versions (libc): Add
18928         __atomic_feholdexcept, __atomic_feclearexcept,
18929         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18930         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18931         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18932         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18933         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18934         here.
18935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18936         Update.
18937
18938         * manual/arith.texi (FP Exceptions): Document that exceptions may
18939         not be raised when matherr is used.
18940         (Math Error Reporting): Document overflow in directed rounding
18941         modes.  Document that errno may not be set when finite values are
18942         returned on overflow.  Document intent to set errno on underflow
18943         only for underflow to zero.
18944
18945         [BZ #16271]
18946         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18947         round-to-nearest then adjust result for other rounding modes.
18948         * include/fenv.h (fegetround): Use libm_hidden_proto.
18949         * math/fegetround.c (fegetround): Use libm_hidden_def.
18950         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18951         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18952         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18953         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18954         Likewise.
18955         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18956         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18957         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18958         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18959
18960 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18961
18962         [BZ #16077]
18963         * nss/Versions (libnss_files): Add
18964         _nss_files_gethostbyname3_r.
18965         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18966         New function.
18967         (HOST_DB_LOOKUP): Remove macro.
18968         (_nss_files_gethostbyname_r): Implement function without the
18969         HOST_DB_LOOKUP macro.
18970         (_nss_files_gethostbyname2_r): Likewise.
18971
18972 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
18973
18974         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18975
18976 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
18977
18978         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18979         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18980         warning.
18981
18982 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18983
18984         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18985         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18986         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18987         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18988         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18989         __fe_nomask_env_priv and attribute_hidden.
18990         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18991         (libc_feupdateenv_test_ppc): Likewise.
18992         (libc_feresetround_ppc): Likewise.
18993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18994         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18995         compat_symbol macro.
18996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18997         (__fe_nomask_env): Likewise.
18998         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18999
19000 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19001
19002         * string/Makefile: Remove ifunc tests.
19003         * string/test-string.h: Define TEST_IFUNC.
19004         * string/test-bcopy-ifunc.c: Remove.
19005         * string/test-bzero-ifunc.c: Likewise.
19006         * string/test-memccpy-ifunc.c: Likewise.
19007         * string/test-memchr-ifunc.c: Likewise.
19008         * string/test-memcmp-ifunc.c: Likewise.
19009         * string/test-memcpy-ifunc.c: Likewise.
19010         * string/test-memmem-ifunc.c: Likewise.
19011         * string/test-memmove-ifunc.c: Likewise.
19012         * string/test-mempcpy-ifunc.c: Likewise.
19013         * string/test-memrchr-ifunc.c: Likewise.
19014         * string/test-memset-ifunc.c: Likewise.
19015         * string/test-rawmemchr-ifunc.c: Likewise.
19016         * string/test-stpcpy-ifunc.c: Likewise.
19017         * string/test-stpncpy-ifunc.c: Likewise.
19018         * string/test-strcasecmp-ifunc.c: Likewise.
19019         * string/test-strcasestr-ifunc.c: Likewise.
19020         * string/test-strcat-ifunc.c: Likewise.
19021         * string/test-strchr-ifunc.c: Likewise.
19022         * string/test-strchrnul-ifunc.c: Likewise.
19023         * string/test-strcmp-ifunc.c: Likewise.
19024         * string/test-strcpy-ifunc.c: Likewise.
19025         * string/test-strcspn-ifunc.c: Likewise.
19026         * string/test-strlen-ifunc.c: Likewise.
19027         * string/test-strncasecmp-ifunc.c: Likewise.
19028         * string/test-strncat-ifunc.c: Likewise.
19029         * string/test-strncmp-ifunc.c: Likewise.
19030         * string/test-strncpy-ifunc.c: Likewise.
19031         * string/test-strnlen-ifunc.c: Likewise.
19032         * string/test-strpbrk-ifunc.c: Likewise.
19033         * string/test-strrchr-ifunc.c: Likewise.
19034         * string/test-strspn-ifunc.c: Likewise.
19035         * string/test-strstr-ifunc.c: Likewise.
19036
19037 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19038
19039         * benchtests/Makefile: Remove ifunc tests.
19040         * benchtests/bench-string.h: Define TEST_IFUNC.
19041         * benchtests/bench-bcopy-ifunc.c: Remove.
19042         * benchtests/bench-bzero-ifunc.c: Likewise.
19043         * benchtests/bench-memccpy-ifunc.c: Likewise.
19044         * benchtests/bench-memchr-ifunc.c: Likewise.
19045         * benchtests/bench-memcmp-ifunc.c: Likewise.
19046         * benchtests/bench-memcpy-ifunc.c: Likewise.
19047         * benchtests/bench-memmem-ifunc.c: Likewise.
19048         * benchtests/bench-memmove-ifunc.c: Likewise.
19049         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19050         * benchtests/bench-memrchr-ifunc.c: Likewise.
19051         * benchtests/bench-memset-ifunc.c: Likewise.
19052         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19053         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19054         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19055         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19056         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19057         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19058         * benchtests/bench-strcat-ifunc.c: Likewise.
19059         * benchtests/bench-strchr-ifunc.c: Likewise.
19060         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19061         * benchtests/bench-strcmp-ifunc.c: Likewise.
19062         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19063         * benchtests/bench-strcpy-ifunc.c: Likewise.
19064         * benchtests/bench-strcspn-ifunc.c: Likewise.
19065         * benchtests/bench-strlen-ifunc.c: Likewise.
19066         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19067         * benchtests/bench-strncat-ifunc.c: Likewise.
19068         * benchtests/bench-strncmp-ifunc.c: Likewise.
19069         * benchtests/bench-strncpy-ifunc.c: Likewise.
19070         * benchtests/bench-strnlen-ifunc.c: Likewise.
19071         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19072         * benchtests/bench-strrchr-ifunc.c: Likewise.
19073         * benchtests/bench-strsep-ifunc.c: Likewise.
19074         * benchtests/bench-strspn-ifunc.c: Likewise.
19075         * benchtests/bench-strstr-ifunc.c: Likewise.
19076
19077 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19078
19079         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19080
19081 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19082
19083         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19084         * rt/aio.h: Likewise.
19085         * sysdeps/gnu/bits/utmp.h: Likewise.
19086         * sysdeps/gnu/bits/utmpx.h: Likewise.
19087         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19088         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19089         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19090         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19091         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19092         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19093         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19094         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19095         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19096         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19097         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19098         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19099         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19101         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19102         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19103         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19104         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19105         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19106         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19107         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19108         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19109         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19110         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19111         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19112         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19113         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19114         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19115         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19116         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19117         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19118         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19119         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19120         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19121         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19122         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19123         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19124         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19125         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19126         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19127         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19128         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19129
19130 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19131
19132         [BZ #16245]
19133         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19134         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19135
19136 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19137
19138         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19139         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19140         Likewise.
19141
19142 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19143
19144         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19145         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19146         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19147         (__fesetround): Remove define.
19148         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19149         rounding and exceptions handling.
19150         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19151         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19152         (__fe_nomask_env): Likewise.
19153         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19154         __fegetround instead of fegetround.
19155         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19156         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19157
19158 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19159
19160         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19161         it's there.
19162
19163         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19164
19165 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19166
19167         [BZ #11157]
19168         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19169         (encrypt_r): Likewise.
19170         * malloc/obstack.h (obstack_free): Likewise.
19171         * posix/unistd.h (encrypt): Likewise.
19172
19173 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19174
19175         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19176         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19177         DL_CALL_DT_FINI() that call the functions directly.
19178         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19179         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19180         * elf/dl-fini.c: Likewise.
19181
19182 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19183
19184         * malloc/hooks.c (memalign_check): Add alignment rounding.
19185         * malloc/malloc.c (_mid_memalign): New function.
19186         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19187         Implement by calling _mid_memalign.
19188         * manual/probes.texi (Memory Allocation Probes): Remove
19189         memory_valloc_retry and memory_pvalloc_retry.
19190
19191 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19192
19193         * locale/programs/locarchive.c (open_archive): Add const
19194         qualifier to ARCHIVEFNAME and copy default fname to
19195         DEFAULT_FNAME.
19196
19197         [BZ #15601]
19198         * libio/tst-widetext.input: Rename Oriya to Odia.
19199         * locale/iso-639.def: Likewise.
19200
19201         * manual/probes.texi (Mathematical Function Probes): Add
19202         documentation for sin, cos, asin and acos probes.
19203         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19204         (__sin32): Add slowasin probe.
19205         (__cos32): Add slowacos probe.
19206         (__mpsin): Add slowsin probe.
19207         (__mpcos): Add slowcos probe.
19208
19209 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19210
19211         [BZ #15483]
19212         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19213         thread-local __sim_exceptions_thread and global
19214         __sim_exceptions_global.
19215         (__sim_disabled_exceptions): Change to thread-local
19216         __sim_disabled_exceptions_thread and global
19217         __sim_disabled_exceptions_global.
19218         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19219         and global __sim_round_mode_global.
19220         (__simulate_exceptions): Use thread-local floating-point state and
19221         set global state from it as needed.
19222         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19223         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19224         __sim_round_mode_thread.
19225         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19226         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19227         and global __sim_exceptions_global.
19228         (__sim_disabled_exceptions): Change to thread-local
19229         __sim_disabled_exceptions_thread and global
19230         __sim_disabled_exceptions_global.
19231         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19232         and global __sim_round_mode_global.
19233         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19234         (SIM_SET_GLOBAL): Likewise.
19235         * sysdeps/powerpc/soft-fp/sfp-machine.h
19236         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19237         __sim_round_mode_thread.
19238         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19239         __sim_disabled_exceptions_thread.
19240         (__sim_exceptions): Change to __sim_exceptions_thread.
19241         (__sim_disabled_exceptions): Change to
19242         __sim_disabled_exceptions_thread.
19243         (__sim_round_mode): Change to __sim_round_mode_thread.
19244         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19245         thread-local floating-point state and set global state from it as
19246         needed.
19247         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19248         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19249         (__sim_disabled_exceptions): Remove extern declaration.
19250         (feenableexcept): Use thread-local floating-point state and set
19251         global state from it as needed.
19252         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19253         extern declaration.
19254         (__sim_disabled_exceptions): Likewise.
19255         (__sim_round_mode): Likewise.
19256         (__fegetenv): Use thread-local floating-point state.
19257         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19258         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19259         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19260         floating-point state and set global state from it as needed.
19261         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19262         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19263         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19264         Likewise.
19265         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19266         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19267         Likewise.
19268         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19269         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19270         Use __sim_round_mode_thread.
19271         * math/test-fenv-tls.c: New file.
19272         * math/Makefile (tests): Add test-fenv-tls.
19273         ($(objpfx)test-fenv-tls): Depend on
19274         $(common-objpfx)nptl/libpthread.so.
19275
19276 2013-11-19  Andreas Schwab  <schwab@suse.de>
19277
19278         * locale/programs/locale.c (show_info): Decode wordarray elements.
19279         * locale/categories.def (LC_MONETARY): Add element for
19280         _NL_MONETARY_CRNCYSTR.
19281         * locale/C-monetary.c (conversion_rate): New variable.
19282         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19283         element.
19284
19285 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19286
19287         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19288         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19289
19290 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19291
19292         * elf/Makefile (tst-auxv): New test.
19293         * elf/tst-auxv.c: New
19294         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19295
19296 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19297
19298         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19299         (hidden_proto): Caller changed.
19300         (hidden_tls_proto): New macro.
19301         (libc_hidden_tls_proto): Likewise.
19302         (rtld_hidden_tls_proto): Likewise.
19303         (libm_hidden_tls_proto): Likewise.
19304         (libresolv_hidden_tls_proto): Likewise.
19305         (librt_hidden_tls_proto): Likewise.
19306         (libdl_hidden_tls_proto): Likewise.
19307         (libnss_files_hidden_tls_proto): Likewise.
19308         (libnsl_hidden_tls_proto): Likewise.
19309         (libnss_nisplus_hidden_tls_proto): Likewise.
19310         (libutil_hidden_tls_proto): Likewise.
19311
19312 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19313
19314         [BZ #10253]
19315         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19316         (decompose_rpath): Defer expansion to fillin_rpath.
19317         (_dl_init_paths): Pass linkmap to fillin_rpath.
19318
19319 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19320
19321         * benchtests/Makefile: Add strsep.
19322         * benchtests/bench-strsep.c: New file: strsep benchtest.
19323         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19324
19325 2013-11-18  Andreas Schwab  <schwab@suse.de>
19326
19327         * locale/programs/locale.c (show_info) [case byte]: Check for
19328         '\377' instead of '\177'.
19329         * locale/C-monetary.c (not_available): Always use "\377".
19330         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19331         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19332         detect unavailable sign_posn locale elements.
19333         * locale/localeconv.c (__localeconv): For grouping and
19334         mon_grouping handle "\177" and "\377" like no grouping.
19335         (INT_ELEM): New macro.  Use it to set all numeric members.
19336         * locale/programs/ld-monetary.c (monetary_read)
19337         <tok_mon_grouping>: Normalize single -1 to the empty string.
19338         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19339         Likewise.
19340
19341 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19342
19343         [BZ #16055]
19344         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19345         when we match (nil).
19346         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19347
19348 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19349
19350         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19351         (NO_TEST_INLINE): Update value.
19352         (ERRNO_UNCHANGED): Likewise.
19353         (ERRNO_EDOM): Likewise.
19354         (ERRNO_ERANGE): Likewise.
19355         (IGNORE_RESULT): Likewise.
19356         (check_float_internal): Check signs of NaN results if
19357         TEST_NAN_SIGN used.
19358         (check_complex): Pass TEST_NAN_SIGN flag through to second
19359         check_float_internal call.
19360         (copysign_test_data): Add tests with quiet NaNs as second
19361         argument.  Use TEST_NAN_SIGN.
19362         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19363         TEST_NAN_SIGN.
19364         (signbit_test_data): Add tests of quiet NaN argument.
19365         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19366
19367         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19368         $ignore_result.
19369         (parse_args): Handle function results specified as IGNORE.
19370         * math/libm-test.inc (IGNORE_RESULT): New macro.
19371         (check_float_internal): Do not check numerical result if flag
19372         IGNORE_RESULT set.
19373         (check_complex): Pass through IGNORE_RESULT to second
19374         check_float_internal call.
19375         (check_int): Do not check numerical result if flag IGNORE_RESULT
19376         set.
19377         (check_long): Likewise.
19378         (check_bool): Likewise.
19379         (check_longlong): Likewise.
19380         (lrint_test_data): Add tests of infinite and NaN arguments.
19381         (lrint_tonearest_test_data): Likewise.
19382         (lrint_towardzero_test_data): Likewise.
19383         (lrint_downward_test_data): Likewise.
19384         (lrint_upward_test_data): Likewise.
19385         (llrint_test_data): Likewise.
19386         (llrint_tonearest_test_data): Likewise.
19387         (llrint_towardzero_test_data): Likewise.
19388         (llrint_downward_test_data): Likewise.
19389         (llrint_upward_test_data): Likewise.
19390         (lround_test_data): Likewise.
19391         (llround_test_data): Likewise.
19392
19393         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19394         (ERRNO_UNCHANGED): Update value.
19395         (ERRNO_EDOM): Likewise.
19396         (ERRNO_ERANGE): Likewise.
19397         (NO_TEST_INLINE_FLOAT): New macro.
19398         (NO_TEST_INLINE_DOUBLE): Likewise.
19399         (enable_test): New function.
19400         (RUN_TEST_f_f): Check enable_test before running test.
19401         (RUN_TEST_2_f): Likewise.
19402         (RUN_TEST_fff_f): Likewise.
19403         (RUN_TEST_c_f): Likewise.
19404         (RUN_TEST_f_f1): Likewise.
19405         (RUN_TEST_fF_f1): Likewise.
19406         (RUN_TEST_fI_f1): Likewise.
19407         (RUN_TEST_ffI_f1): Likewise.
19408         (RUN_TEST_c_c): Likewise.
19409         (RUN_TEST_cc_c): Likewise.
19410         (RUN_TEST_f_i): Likewise.
19411         (RUN_TEST_f_i_tg): Likewise.
19412         (RUN_TEST_ff_i_tg): Likewise.
19413         (RUN_TEST_f_b): Likewise.
19414         (RUN_TEST_f_b_tg): Likewise.
19415         (RUN_TEST_f_l): Likewise.
19416         (RUN_TEST_f_L): Likewise.
19417         (RUN_TEST_fFF_11): Likewise.
19418         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19419         conditionals.
19420         (cosh_test_data): Likewise.
19421         (exp_test_data): Likewise.
19422         (expm1_test_data): Likewise.
19423         (hypot_test_data): Likewise.
19424         (pow_test_data): Likewise.
19425         (sinh_test_data): Likewise.
19426         (tanh_test_data): Likewise.
19427         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19428         flags argument.
19429
19430         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19431         tests with quiet NaN input and output.
19432         (acosh_test_data): Likewise.
19433         (asin_test_data): Likewise.
19434         (asinh_test_data): Likewise.
19435         (atan_test_data): Likewise.
19436         (atanh_test_data): Likewise.
19437         (atan2_test_data): Likewise.
19438         (cbrt_test_data): Likewise.
19439         (cos_test_data): Likewise.
19440         (cosh_test_data): Likewise.
19441         (erf_test_data): Likewise.
19442         (erfc_test_data): Likewise.
19443         (exp_test_data): Likewise.
19444         (exp10_test_data): Likewise.
19445         (exp2_test_data): Likewise.
19446         (expm1_test_data): Likewise.
19447         (hypot_test_data): Likewise.
19448         (j0_test_data): Likewise.
19449         (j1_test_data): Likewise.
19450         (jn_test_data): Likewise.
19451         (lgamma_test_data): Likewise.
19452         (log_test_data): Likewise.
19453         (log10_test_data): Likewise.
19454         (log1p_test_data): Likewise.
19455         (log2_test_data): Likewise.
19456         (pow_test_data): Likewise.
19457         (scalb_test_data): Likewise.
19458         (sin_test_data): Likewise.
19459         (sincos_test_data): Likewise.
19460         (sinh_test_data): Likewise.
19461         (tan_test_data): Likewise.
19462         (tanh_test_data): Likewise.
19463         (tgamma_test_data): Likewise.
19464         (y0_test_data): Likewise.
19465         (y1_test_data): Likewise.
19466         (yn_test_data): Likewise.
19467
19468         [BZ #16167]
19469         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19470         argument being NaN and avoid computations with second argument in
19471         that case.
19472         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19473         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19474         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19475
19476 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19477
19478         * locale/iso-639.def: Add Chitwani Tharu (the).
19479
19480 2013-11-14  Andreas Schwab  <schwab@suse.de>
19481
19482         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19483         word instead of empty string.
19484
19485 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19486
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19488         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19490         (__fe_nomask_env): Likewise.
19491
19492 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19493
19494         * benchtests/bench-timing.h: Include time.h.
19495
19496 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19497
19498         [BZ #15997]
19499         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19500         to 3.4.0 for x32.
19501         * sysdeps/unix/sysv/linux/configure: Regenerated.
19502
19503 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19504
19505         [BZ #16151]
19506         * stdlib/strtod_l.c (round_and_return): Do not consider
19507         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19508         exponent one less than half the least subnormal exponent.
19509         * stdlib/test-strtod-round-data: Add more tests.
19510         * stdlib/tst-strtod-round.c (tests): Regenerated.
19511
19512 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19513
19514         [BZ #14143]
19515         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19516         (__fe_mask_env): Likewise.
19517         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19518         libm_hidden_proto and add function prototype.
19519         (__fe_mask_env): Add function prototype.
19520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19521         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19523         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19525         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19526
19527 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19528
19529         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19530         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19531
19532 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19533
19534         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19535         of htab_find_slot().
19536
19537 2013-11-11  David S. Miller  <davem@davemloft.net>
19538
19539         [BZ #16150]
19540         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19541         symbol in the non-vis3 case in static builds.
19542         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19543         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19544         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19545         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19546
19547 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19548
19549         [BZ #387]
19550         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19551         it is empty.
19552
19553 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19554
19555         * benchtests/Makefile: Add bench-strtod.
19556         * benchtests/bench-strtod.c: New file: strtod benchtest
19557
19558 2013-11-11  Andreas Schwab  <schwab@suse.de>
19559
19560         [BZ #16153]
19561         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19562         terminating NUL in key length.
19563
19564 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19565
19566         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19567         Add artificial ODP entry for vDSO symbol for PPC64.
19568         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19569         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19570
19571 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19572
19573         [BZ #15374]
19574         * nss/getent.c (services_keys): Recognize services starting with digit.
19575
19576 2013-11-06  David S. Miller  <davem@davemloft.net>
19577
19578         [BZ #15985]
19579         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19580         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19581
19582 2013-11-06  Will Newton  <will.newton@linaro.org>
19583
19584         * manual/memory.texi (Malloc Examples): Remove register
19585         keyword from examples.
19586
19587 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19588
19589         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19590
19591 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19592
19593         [BZ #6981]
19594         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19595         depending on [__GCC_IEC_559 > 0].
19596         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19597         depending on [__GCC_IEC_559_COMPLEX > 0].
19598
19599 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19600
19601         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19602         to iso-639.def.
19603
19604 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19605
19606         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19607
19608 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19609
19610         [BZ #16112]
19611         * malloc/malloc (malloc_info): Do not handle first bin as
19612         special case.
19613
19614 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19615
19616         * locale/iso-639.def: Add Central Nahuatl (nhn).
19617
19618 2013-11-01  Bruno Haible  <bruno@clisp.org>
19619
19620         [BZ #7003]
19621         * manual/math.texi (BSD Random): Specify range upper bound as
19622         in POSIX.
19623
19624 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19625
19626         * locale/iso-639.def: Add Meadow Mari (mhr).
19627
19628 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19629
19630         [BZ #14752], [BZ #15763]
19631         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19632         Validate name.
19633         * rt/tst_shm.c: Add test for escaping directory.
19634
19635 2013-10-31  Andreas Schwab  <schwab@suse.de>
19636
19637         [BZ #15917]
19638         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19639         followed by 'x' as part of digit sequence.
19640         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19641
19642 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19643
19644         [BZ #16037]
19645         * configure.ac: allow GNU Make 4.0 and greater.
19646         * configure: Regenerated.
19647
19648 2013-10-30  Will Newton  <will.newton@linaro.org>
19649
19650         [BZ #16038]
19651         * malloc/hooks.c (memalign_check): Limit alignment to the
19652         maximum representable power of two.
19653         * malloc/malloc.c (__libc_memalign): Likewise.
19654         * malloc/tst-memalign.c (do_test): Add test for very
19655         large alignment values.
19656         * malloc/tst-posix_memalign.c (do_test): Likewise.
19657
19658 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19659
19660         [BZ #11087]
19661         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19662         (munmap_chunk): Likewise.
19663         (mremap_chunk): Likewise.
19664
19665 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19666
19667         [BZ #15799]
19668         * stdlib/div.c (div): Remove obsolete code.
19669         * stdlib/ldiv.c (ldiv): Likewise.
19670         * stdlib/lldiv.c (lldiv): Likewise.
19671
19672 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19673
19674         [BZ #16071]
19675         * nss/nss_files/files-XXX.c (get_contents_ret): New
19676         enumerator.
19677         (get_contents): New function.
19678         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19679
19680 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19681
19682         * configure.in: Moved to ...
19683         * configure.ac: ... here. Change reference to configure.in
19684         to configure.ac.
19685         * sysdeps/arm/preconfigure.ac: ... here.
19686         configure.in to configure.ac.
19687         * sysdeps/gnu/configure.in: Moved to ...
19688         * sysdeps/gnu/configure.ac: ... here.
19689         * sysdeps/i386/configure.in: Moved to ...
19690         * sysdeps/i386/configure.ac: ... here.
19691         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19692         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19693         * sysdeps/mach/configure.in: Moved to ...
19694         * sysdeps/mach/configure.ac: ... here.
19695         * sysdeps/mach/hurd/configure.in: Moved to ...
19696         * sysdeps/mach/hurd/configure.ac: ... here.
19697         * sysdeps/powerpc/configure.in: Moved to ...
19698         * sysdeps/powerpc/configure.ac: ... here.
19699         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19700         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19701         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19702         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19703         * sysdeps/s390/s390-32/configure.in: Moved to ...
19704         * sysdeps/s390/s390-32/configure.ac: ... here.
19705         * sysdeps/s390/s390-64/configure.in: Moved to ...
19706         * sysdeps/s390/s390-64/configure.ac: ... here.
19707         * sysdeps/sh/configure.in: Moved to ...
19708         * sysdeps/sh/configure.ac: ... here.
19709         * sysdeps/sparc/configure.in: Moved to ...
19710         * sysdeps/sparc/configure.ac: ... here.
19711         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19712         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19713         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19714         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19715         * sysdeps/x86_64/configure.in: Moved to ...
19716         * sysdeps/x86_64/configure.ac: ... here.
19717         * sysdeps/x86_64/preconfigure.in: Moved to ...
19718         * sysdeps/x86_64/preconfigure.ac: ... here.
19719         * aclocal.m4: Change reference to configure.in to configure.ac.
19720         * config.h.in: Likewise.
19721         * manual/install.texi: Likewise.
19722         * manual/maint.texi: Likewise.
19723         * Makefile: Likewise.
19724         * malloc/Makefile: Likewise.
19725         * nscd/Makefile: Likewise.
19726         * Makeconfig: Change reference to configure.in and
19727         preconfigure.in to configure.ac and preconfigure.ac
19728         respectively.
19729         * INSTALL: Regenerated.
19730         * configure: Likewise.
19731         * sysdeps/gnu/configure: Likewise.
19732         * sysdeps/i386/configure: Likewise.
19733         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19734         * sysdeps/mach/configure: Likewise.
19735         * sysdeps/mach/hurd/configure: Likewise.
19736         * sysdeps/powerpc/configure: Likewise.
19737         * sysdeps/powerpc/powerpc32/configure: Likewise.
19738         * sysdeps/powerpc/powerpc64/configure: Likewise.
19739         * sysdeps/s390/s390-32/configure: Likewise.
19740         * sysdeps/s390/s390-64/configure: Likewise.
19741         * sysdeps/sh/configure: Likewise.
19742         * sysdeps/sparc/configure: Likewise.
19743         * sysdeps/unix/sysv/linux/configure: Likewise.
19744         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19745         * sysdeps/x86_64/configure: Likewise.
19746         * sysdeps/x86_64/preconfigure: Likewise.
19747
19748 2013-10-29  Andreas Schwab  <schwab@suse.de>
19749
19750         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19751
19752 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19753
19754         * benchtests/pow-inputs: Add new inputs.
19755
19756         * benchtests/exp-inputs: Add new inputs.
19757
19758         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19759         conditional check for return value.
19760         (__cos32): Likewise.
19761
19762 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19763
19764         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19765         to provide a boost for large inputs with word alignment.
19766         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19767         implementation based on optimized PPC64 strcpy.
19768         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19769         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19770         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19771         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19772
19773 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19774
19775         [BZ #2801]
19776         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19777
19778 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19779
19780         [BZ #14876]
19781         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19782         * time/tst-strptime.c (day_tests): Add testcase.
19783
19784 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19785
19786         [BZ #14029]
19787         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19788
19789 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19790
19791         [BZ #16074]
19792         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19793         MAP_FAILED on error.
19794
19795 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19796
19797         [BZ #16072]
19798         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19799         heap for large requests.
19800
19801 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19802
19803         [BZ #9954]
19804         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19805         result if the result has no associated interface.
19806         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19807         interface for all 127.X.Y.Z addresses.
19808
19809 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19810
19811         * locale/iso-639.def: Add Ligurian (lij)
19812
19813 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19814
19815         [BZ #15825]
19816         * sunrpc/rpc_main.c: Document rpcgen -5.
19817
19818 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19819
19820         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19821
19822 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19823
19824         [BZ #10278]
19825         * posix/glob.c: Match only directories when trailing slash is present.
19826         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19827         (main): Add testcase.
19828
19829 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19830
19831         [BZ #15670]
19832         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19833
19834 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19835
19836         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19837         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19838         AUTH_DES and cindex for FIPS 140-2.
19839         (DES Encryption): Add cindex FIPS 46-3.
19840
19841         * locale/locarchive.h (struct locarhandle): Add fname.
19842         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19843         if an optional argument was specified to --list-archive,
19844         otherwise NULL.
19845         * locale/programs/locarchive.c (show_archive_content): Take new
19846         argument fname and pass it via ah.fname to open_archive.
19847         * locale/programs/localedef.h: Update decl.
19848         (open_archive): If AH->fname is non-null, open that file
19849         rather than the default file name, and don't ignore ENOENT.
19850         (create_archive): Set AH.fname to NULL.
19851         (delete_locales_from_archive): Likewise.
19852         (add_locales_to_archive): Likewise.
19853         * locale/programs/locfile.c (write_all_categories): Likewise.
19854
19855 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
19856             Aldy Hernandez  <aldyh@redhat.com>
19857
19858         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19859         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19860         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19861         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19862         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19863         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19864         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19865         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19866         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19867         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19868         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19869         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19870         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19871         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19872         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19873         Likewise.
19874         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19875         Likewise.
19876         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19877         Likewise.
19878         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19879         Likewise.
19880         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19881         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19882         Likewise.
19883         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19884         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19885         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19886         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19887         Likewise.
19888         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19889         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19890         * sysdeps/powerpc/preconfigure: Likewise.
19891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19892         Likewise.
19893         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19894         Replace contents of file by #include of <fenv_libc.h>.
19895         * sysdeps/powerpc/soft-fp/sfp-machine.h
19896         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19897         and <sys/prctl.h>.
19898         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19899         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19900         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19901         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19902         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19903         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19905         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19906         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19907         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19908         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19909         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19911         Allow copysignl PLT reference to be missing.
19912
19913 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
19914             Joseph Myers  <joseph@codesourcery.com
19915
19916         [BZ #15948]
19917         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19918         single character.
19919         (add_to_tablewc): Assert sequence of wide characters is nonempty.
19920
19921 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19922
19923         * elf/tst-tls-dlinfo.c: Don't include tls.h.
19924         * elf/tst-tls1.c: Likewise.
19925         * elf/tst-tls10.h: Likewise.
19926         * elf/tst-tls14.c: Likewise.
19927         * elf/tst-tls2.c: Likewise.
19928         * elf/tst-tls3.c: Likewise.
19929         * elf/tst-tls4.c: Likewise.
19930         * elf/tst-tls5.c: Likewise.
19931         * elf/tst-tls6.c: Likewise.
19932         * elf/tst-tls7.c: Likewise.
19933         * elf/tst-tls8.c: Likewise.
19934         * elf/tst-tls9.c: Likewise.
19935         * elf/tst-tlsmod1.c: Likewise.
19936         * elf/tst-tlsmod13.c: Likewise.
19937         * elf/tst-tlsmod13a.c: Likewise.
19938         * elf/tst-tlsmod14a.c: Likewise.
19939         * elf/tst-tlsmod16a.c: Likewise.
19940         * elf/tst-tlsmod16b.c: Likewise.
19941         * elf/tst-tlsmod2.c: Likewise.
19942         * elf/tst-tlsmod3.c: Likewise.
19943         * elf/tst-tlsmod4.c: Likewise.
19944         * elf/tst-tlsmod5.c: Likewise.
19945         * elf/tst-tlsmod6.c: Likewise.
19946
19947 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
19948
19949         [BZ #12486]
19950         * malloc/malloc.c: remove checks for statistics.
19951
19952 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19953
19954         [BZ #15277]
19955         * inet/inet_net.c (inet_network): Detect additional invalid strings.
19956         * inet/tst-network.c: Add testcase.
19957
19958 2013-10-17  Andreas Schwab  <schwab@suse.de>
19959
19960         [BZ #15218]
19961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19962         to determine canonical name.
19963
19964 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19965
19966         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19967         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19968         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19969         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19970         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19971         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19972         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19973         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19974         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19975         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19976         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19977         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19978         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19979         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19980         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19981         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19982         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19983         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19984         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19985         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19986         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19987         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19988         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19989         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19990         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19991         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19992         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19993         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19994         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19995         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19996         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19997         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19998         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19999         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20000         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20001         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20002         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20003         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20004         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20005         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20006         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20007         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20008         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20009         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20010         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20011         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20012         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20013         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20014         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20015         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20016         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20017         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20018         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20019         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20020         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20021         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20022         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20023         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20024
20025 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20026
20027         [BZ #16041]
20028         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20029         make result into a quiet NaN.
20030
20031 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20032
20033         * soft-fp/adddf3.c: Fix horizontal whitespace.
20034         * soft-fp/addsf3.c: Likewise.
20035         * soft-fp/addtf3.c: Likewise.
20036         * soft-fp/divdf3.c: Likewise.
20037         * soft-fp/divsf3.c: Likewise.
20038         * soft-fp/divtf3.c: Likewise.
20039         * soft-fp/double.h: Likewise.
20040         * soft-fp/eqdf2.c: Likewise.
20041         * soft-fp/eqsf2.c: Likewise.
20042         * soft-fp/eqtf2.c: Likewise.
20043         * soft-fp/extenddftf2.c: Likewise.
20044         * soft-fp/extended.h: Likewise.
20045         * soft-fp/extendsfdf2.c: Likewise.
20046         * soft-fp/extendsftf2.c: Likewise.
20047         * soft-fp/extendxftf2.c: Likewise.
20048         * soft-fp/fixdfdi.c: Likewise.
20049         * soft-fp/fixdfsi.c: Likewise.
20050         * soft-fp/fixdfti.c: Likewise.
20051         * soft-fp/fixsfdi.c: Likewise.
20052         * soft-fp/fixsfsi.c: Likewise.
20053         * soft-fp/fixsfti.c: Likewise.
20054         * soft-fp/fixtfdi.c: Likewise.
20055         * soft-fp/fixtfsi.c: Likewise.
20056         * soft-fp/fixtfti.c: Likewise.
20057         * soft-fp/fixunsdfdi.c: Likewise.
20058         * soft-fp/fixunsdfsi.c: Likewise.
20059         * soft-fp/fixunsdfti.c: Likewise.
20060         * soft-fp/fixunssfdi.c: Likewise.
20061         * soft-fp/fixunssfsi.c: Likewise.
20062         * soft-fp/fixunssfti.c: Likewise.
20063         * soft-fp/fixunstfdi.c: Likewise.
20064         * soft-fp/fixunstfsi.c: Likewise.
20065         * soft-fp/fixunstfti.c: Likewise.
20066         * soft-fp/floatdidf.c: Likewise.
20067         * soft-fp/floatdisf.c: Likewise.
20068         * soft-fp/floatditf.c: Likewise.
20069         * soft-fp/floatsidf.c: Likewise.
20070         * soft-fp/floatsisf.c: Likewise.
20071         * soft-fp/floatsitf.c: Likewise.
20072         * soft-fp/floattidf.c: Likewise.
20073         * soft-fp/floattisf.c: Likewise.
20074         * soft-fp/floattitf.c: Likewise.
20075         * soft-fp/floatundidf.c: Likewise.
20076         * soft-fp/floatundisf.c: Likewise.
20077         * soft-fp/floatunditf.c: Likewise.
20078         * soft-fp/floatunsidf.c: Likewise.
20079         * soft-fp/floatunsisf.c: Likewise.
20080         * soft-fp/floatunsitf.c: Likewise.
20081         * soft-fp/floatuntidf.c: Likewise.
20082         * soft-fp/floatuntisf.c: Likewise.
20083         * soft-fp/floatuntitf.c: Likewise.
20084         * soft-fp/fmadf4.c: Likewise.
20085         * soft-fp/fmasf4.c: Likewise.
20086         * soft-fp/fmatf4.c: Likewise.
20087         * soft-fp/gedf2.c: Likewise.
20088         * soft-fp/gesf2.c: Likewise.
20089         * soft-fp/getf2.c: Likewise.
20090         * soft-fp/ledf2.c: Likewise.
20091         * soft-fp/lesf2.c: Likewise.
20092         * soft-fp/letf2.c: Likewise.
20093         * soft-fp/muldf3.c: Likewise.
20094         * soft-fp/mulsf3.c: Likewise.
20095         * soft-fp/multf3.c: Likewise.
20096         * soft-fp/negdf2.c: Likewise.
20097         * soft-fp/negsf2.c: Likewise.
20098         * soft-fp/negtf2.c: Likewise.
20099         * soft-fp/op-1.h: Likewise.
20100         * soft-fp/op-2.h: Likewise.
20101         * soft-fp/op-4.h: Likewise.
20102         * soft-fp/op-8.h: Likewise.
20103         * soft-fp/op-common.h: Likewise.
20104         * soft-fp/quad.h: Likewise.
20105         * soft-fp/single.h: Likewise.
20106         * soft-fp/soft-fp.h: Likewise.
20107         * soft-fp/sqrtdf2.c: Likewise.
20108         * soft-fp/sqrtsf2.c: Likewise.
20109         * soft-fp/sqrttf2.c: Likewise.
20110         * soft-fp/subdf3.c: Likewise.
20111         * soft-fp/subsf3.c: Likewise.
20112         * soft-fp/subtf3.c: Likewise.
20113         * soft-fp/truncdfsf2.c: Likewise.
20114         * soft-fp/trunctfdf2.c: Likewise.
20115         * soft-fp/trunctfsf2.c: Likewise.
20116         * soft-fp/trunctfxf2.c: Likewise.
20117         * soft-fp/unorddf2.c: Likewise.
20118         * soft-fp/unordsf2.c: Likewise.
20119         * soft-fp/unordtf2.c: Likewise.
20120
20121 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20122
20123         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20124         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20125
20126 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20127
20128         * elf/dl-libc.c: Clear initfini list after freeing.
20129
20130 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20131
20132         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20133         * soft-fp/addsf3.c: Likewise.
20134         * soft-fp/addtf3.c: Likewise.
20135         * soft-fp/divdf3.c: Likewise.
20136         * soft-fp/divsf3.c: Likewise.
20137         * soft-fp/divtf3.c: Likewise.
20138         * soft-fp/double.h: Likewise.
20139         * soft-fp/eqdf2.c: Likewise.
20140         * soft-fp/eqsf2.c: Likewise.
20141         * soft-fp/eqtf2.c: Likewise.
20142         * soft-fp/extenddftf2.c: Likewise.
20143         * soft-fp/extended.h: Likewise.
20144         * soft-fp/extendsfdf2.c: Likewise.
20145         * soft-fp/extendsftf2.c: Likewise.
20146         * soft-fp/extendxftf2.c: Likewise.
20147         * soft-fp/fixdfdi.c: Likewise.
20148         * soft-fp/fixdfsi.c: Likewise.
20149         * soft-fp/fixdfti.c: Likewise.
20150         * soft-fp/fixsfdi.c: Likewise.
20151         * soft-fp/fixsfsi.c: Likewise.
20152         * soft-fp/fixsfti.c: Likewise.
20153         * soft-fp/fixtfdi.c: Likewise.
20154         * soft-fp/fixtfsi.c: Likewise.
20155         * soft-fp/fixtfti.c: Likewise.
20156         * soft-fp/fixunsdfdi.c: Likewise.
20157         * soft-fp/fixunsdfsi.c: Likewise.
20158         * soft-fp/fixunsdfti.c: Likewise.
20159         * soft-fp/fixunssfdi.c: Likewise.
20160         * soft-fp/fixunssfsi.c: Likewise.
20161         * soft-fp/fixunssfti.c: Likewise.
20162         * soft-fp/fixunstfdi.c: Likewise.
20163         * soft-fp/fixunstfsi.c: Likewise.
20164         * soft-fp/fixunstfti.c: Likewise.
20165         * soft-fp/floatdidf.c: Likewise.
20166         * soft-fp/floatdisf.c: Likewise.
20167         * soft-fp/floatditf.c: Likewise.
20168         * soft-fp/floatsidf.c: Likewise.
20169         * soft-fp/floatsisf.c: Likewise.
20170         * soft-fp/floatsitf.c: Likewise.
20171         * soft-fp/floattidf.c: Likewise.
20172         * soft-fp/floattisf.c: Likewise.
20173         * soft-fp/floattitf.c: Likewise.
20174         * soft-fp/floatundidf.c: Likewise.
20175         * soft-fp/floatundisf.c: Likewise.
20176         * soft-fp/floatunsidf.c: Likewise.
20177         * soft-fp/floatunsisf.c: Likewise.
20178         * soft-fp/floatuntidf.c: Likewise.
20179         * soft-fp/floatuntisf.c: Likewise.
20180         * soft-fp/floatuntitf.c: Likewise.
20181         * soft-fp/fmadf4.c: Likewise.
20182         * soft-fp/fmasf4.c: Likewise.
20183         * soft-fp/fmatf4.c: Likewise.
20184         * soft-fp/gedf2.c: Likewise.
20185         * soft-fp/gesf2.c: Likewise.
20186         * soft-fp/getf2.c: Likewise.
20187         * soft-fp/ledf2.c: Likewise.
20188         * soft-fp/lesf2.c: Likewise.
20189         * soft-fp/letf2.c: Likewise.
20190         * soft-fp/muldf3.c: Likewise.
20191         * soft-fp/mulsf3.c: Likewise.
20192         * soft-fp/multf3.c: Likewise.
20193         * soft-fp/negdf2.c: Likewise.
20194         * soft-fp/negsf2.c: Likewise.
20195         * soft-fp/negtf2.c: Likewise.
20196         * soft-fp/op-1.h: Likewise.
20197         * soft-fp/op-2.h: Likewise.
20198         * soft-fp/op-4.h: Likewise.
20199         * soft-fp/op-8.h: Likewise.
20200         * soft-fp/op-common.h: Likewise.
20201         * soft-fp/quad.h: Likewise.
20202         * soft-fp/single.h: Likewise.
20203         * soft-fp/soft-fp.h: Likewise.
20204         * soft-fp/sqrtdf2.c: Likewise.
20205         * soft-fp/sqrtsf2.c: Likewise.
20206         * soft-fp/sqrttf2.c: Likewise.
20207         * soft-fp/subdf3.c: Likewise.
20208         * soft-fp/subsf3.c: Likewise.
20209         * soft-fp/subtf3.c: Likewise.
20210         * soft-fp/truncdfsf2.c: Likewise.
20211         * soft-fp/trunctfdf2.c: Likewise.
20212         * soft-fp/trunctfsf2.c: Likewise.
20213         * soft-fp/trunctfxf2.c: Likewise.
20214         * soft-fp/unorddf2.c: Likewise.
20215         * soft-fp/unordsf2.c: Likewise.
20216         * soft-fp/unordtf2.c: Likewise.
20217
20218 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20219
20220         [BZ #15672]
20221         * misc/error.c (error_tail): Fix possible buffer overflow.
20222
20223 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20224
20225         [BZ #13028]
20226         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20227         address.
20228
20229 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20230
20231         [BZ #832]
20232         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20233         testing pipefail option.
20234
20235 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20236
20237         * soft-fp/double.h: Indent preprocessor directives inside #if.
20238         * soft-fp/extended.h: Likewise.
20239         * soft-fp/op-2.h: Likewise.
20240         * soft-fp/op-4.h: Likewise.
20241         * soft-fp/op-common.h: Likewise.
20242         * soft-fp/quad.h: Likewise.
20243         * soft-fp/single.h: Likewise.
20244         * soft-fp/soft-fp.h: Likewise.
20245
20246 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20247
20248         * iconv/iconv_prog.c: Fix typos.
20249         * stdio-common/psiginfo-data.h: Likewise.
20250
20251 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20252
20253         [BZ #15764]
20254         * locale/setlocale.c: Fix typo.
20255
20256 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20257
20258         [BZ #16036]
20259         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20260         signaling NaN arguments.
20261         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20262         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20263
20264         [BZ #14910]
20265         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20266         unordered operands.
20267         * soft-fp/gesf2.c (__gesf2): Likewise.
20268         * soft-fp/getf2.c (__getf2): Likewise.
20269         * soft-fp/ledf2.c (__ledf2): Likewise.
20270         * soft-fp/lesf2.c (__lesf2): Likewise.
20271         * soft-fp/letf2.c (__letf2): Likewise.
20272
20273         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20274         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20275         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20276         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20277         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20278         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20279         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20280         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20281         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20282         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20283         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20284         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20285         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20286         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20287         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20288         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20289         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20290         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20291         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20292         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20293         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20294         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20295         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20296         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20297         * soft-fp/floattidf.c (__floattidf): Likewise.
20298         * soft-fp/floattisf.c (__floattisf): Likewise.
20299         * soft-fp/floattitf.c (__floattitf): Likewise.
20300         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20301         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20302         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20303         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20304         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20305         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20306         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20307         * soft-fp/gesf2.c (__gesf2): Likewise.
20308         * soft-fp/getf2.c (__getf2): Likewise.
20309         * soft-fp/ledf2.c (__ledf2): Likewise.
20310         * soft-fp/lesf2.c (__lesf2): Likewise.
20311         * soft-fp/letf2.c (__letf2): Likewise.
20312
20313         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20314         Undefine and redefine.
20315         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20316         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20317         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20318         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20319         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20320         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20321         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20322         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20323         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20324         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20325         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20326         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20327         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20328         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20329         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20330
20331         [BZ #16032]
20332         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20333         without decrementing exponent if mantissa >= that for the
20334         denominator, not >.
20335         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20336         denominator, not >.  Decrement exponent in < case instead of
20337         incrementing in >= case.
20338         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20339         without decrementing exponent if mantissa >= that for the
20340         denominator, not >.
20341
20342         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20343         computing saturated result for unsigned overflow.
20344
20345 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20346             Jeff Law  <law@redhat.com>
20347
20348         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20349         (atan2Mp): Add systemtap probe marker.
20350         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20351         (__ieee754_log): Add systemtap probe marker.
20352         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20353         (atanMp): Add systemtap probe marker.
20354         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20355         (tanMp): Add systemtap probe marker.
20356         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20357         (__slowexp): Add systemtap probe marker.
20358         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20359         (__slowpow): Add systemtap probe marker.
20360         * manual/probes.texi: Document probes.
20361
20362 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20363
20364         [BZ #15362]
20365         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20366         written.
20367         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20368         written.
20369         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20370         written to buffer but not flushed.
20371         * libio/iofwrite_u.c:  Likewise.
20372         * libio/iopadn.c:  Return bytes returned even if EOF was
20373         encountered.
20374         * libio/iowpadn.c:  Likewise.
20375         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20376         if _IO_padn does not write the whole buffer.
20377         [!COMPILE_WPRINTF] (PAD): Likewise.
20378
20379 2013-10-10  David S. Miller  <davem@davemloft.net>
20380
20381         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20382         directory block.
20383
20384 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20385
20386         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20387         instead of FSF address.
20388         * soft-fp/fixdfti.c: Likewise.
20389         * soft-fp/fixsfti.c: Likewise.
20390         * soft-fp/fixtfti.c: Likewise.
20391         * soft-fp/fixunsdfti.c: Likewise.
20392         * soft-fp/fixunssfti.c: Likewise.
20393         * soft-fp/fixunstfti.c: Likewise.
20394         * soft-fp/floattidf.c: Likewise.
20395         * soft-fp/floattisf.c: Likewise.
20396         * soft-fp/floattitf.c: Likewise.
20397         * soft-fp/floatuntidf.c: Likewise.
20398         * soft-fp/floatuntisf.c: Likewise.
20399         * soft-fp/floatuntitf.c: Likewise.
20400         * soft-fp/trunctfxf2.c: Likewise.
20401
20402         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20403         * soft-fp/fixdfti.c: Likewise.
20404         * soft-fp/fixsfti.c: Likewise.
20405         * soft-fp/fixtfti.c: Likewise.
20406         * soft-fp/fixunsdfti.c: Likewise.
20407         * soft-fp/fixunssfti.c: Likewise.
20408         * soft-fp/fixunstfti.c: Likewise.
20409         * soft-fp/floattidf.c: Likewise.
20410         * soft-fp/floattisf.c: Likewise.
20411         * soft-fp/floattitf.c: Likewise.
20412         * soft-fp/floatuntidf.c: Likewise.
20413         * soft-fp/floatuntisf.c: Likewise.
20414         * soft-fp/floatuntitf.c: Likewise.
20415         * soft-fp/trunctfxf2.c: Likewise.
20416
20417 2013-10-10  David S. Miller  <davem@davemloft.net>
20418
20419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20420
20421 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20422
20423         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20424         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20425         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20426         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20427         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20428         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20429         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20430
20431         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20432         for NaNs before doing comparisons on argument.
20433         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20434         Likewise.
20435
20436 2013-10-10  Will Newton  <will.newton@linaro.org>
20437
20438         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20439         passed to _int_memalign does not overflow.
20440
20441 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20442
20443         * scripts/bench.pl: Add include-sources directive.
20444         * benchtests/README: Update documentation.
20445
20446 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20447
20448         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20449         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20450         instead of FP_INIT_ROUNDMODE.
20451         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20452         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20453
20454         [BZ #16034]
20455         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20456         copy class of input value.
20457         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20458         not handle exceptions.
20459         * soft-fp/negsf2.c (__negsf2): Likewise.
20460         * soft-fp/negtf2.c (__negtf2): Likewise.
20461         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20462
20463 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20464
20465         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20466         semicolon.  From Linux kernel.
20467
20468 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20469
20470         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20471
20472 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20473
20474         [BZ #156]
20475         * manual/socket.texi: Added statement about buffer
20476         for gethostbyname2_r.
20477
20478 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20479
20480         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20481         Use .p2align directive instead, throughout.
20482         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20483         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20484         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20485         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20486         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20487         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20488         * sysdeps/x86_64/strchr.S: Likewise.
20489         * sysdeps/x86_64/strrchr.S: Likewise.
20490
20491 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20492
20493         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20494
20495         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20496
20497         * sysdeps/generic/math_private.h (__mpsin1): Remove
20498         declaration.
20499         (__mpcos1): Likewise.
20500         (__mpsin): New argument __range_reduce.
20501         (__mpcos): Likewise.
20502         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20503         (slow): Use __mpsin and __mpcos.
20504         (slow1): Likewise.
20505         (slow2): Likewise.
20506         (sloww): Likewise.
20507         (sloww1): Likewise.
20508         (sloww2): Likewise.
20509         (bsloww): Likewise.
20510         (bsloww1): Likewise.
20511         (bsloww2): Likewise.
20512         (cslow2): Likewise.
20513         (csloww): Likewise.
20514         (csloww1): Likewise.
20515         (csloww2): Likewise.
20516         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20517         range_reduce.  Merge in __mpsin1.
20518         (__mpcos): Likewise.
20519         (__mpsin1): Remove.
20520         (__mpcos1): Likewise.
20521
20522 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20523
20524         * locale/loadlocale.c (_nl_intern_locale_data): Use
20525         LOCFILE_ALIGNED_P.
20526         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20527         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20528         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20529         obstack data is appropriately aligned.
20530         (obstack_int32_grow_fast): Likewise.
20531         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20532         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20533         (add_locale_uint32_array): Likewise.
20534
20535 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20536
20537         * benchtests/Makefile: Remove ARGLIST and RET variables.
20538         ($(objpfx)bench-%.c): Pass only function name to the script.
20539         * benchtests/README: Update documentation.
20540         * benchtests/acos-inputs: Add new directives.
20541         * benchtests/acosh-inputs: Likewise.
20542         * benchtests/asin-inputs: Likewise.
20543         * benchtests/asinh-inputs: Likewise.
20544         * benchtests/atan-inputs: Likewise.
20545         * benchtests/atanh-inputs: Likewise.
20546         * benchtests/cos-inputs: Likewise.
20547         * benchtests/cosh-inputs: Likewise.
20548         * benchtests/exp-inputs: Likewise.
20549         * benchtests/log-inputs: Likewise.
20550         * benchtests/pow-inputs: Likewise.
20551         * benchtests/rint-inputs: Likewise.
20552         * benchtests/sin-inputs: Likewise.
20553         * benchtests/sinh-inputs: Likewise.
20554         * benchtests/tan-inputs: Likewise.
20555         * benchtests/tanh-inputs: Likewise.
20556         * scripts/bench.pl: Add support for new directives.
20557
20558 2013-10-07  Alan Modra  <amodra@gmail.com>
20559
20560         * README: Fix careless merge.
20561
20562 2013-10-05  Alan Modra  <amodra@gmail.com>
20563
20564         * NEWS: Mention powerpc64le support and bugs fixed.
20565         * README: Both big-endian and little-endian powerpc64 supported.
20566
20567 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20568
20569         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20570         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20571         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20572         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20573
20574 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20575
20576         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20577         match prototype.
20578
20579 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20580
20581         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20582         Move -mhard-float appending from
20583         ports/sysdeps/powerpc/powerpc32/Makefile.
20584         [$(with-fp) = yes] (ASFLAGS): Likewise.
20585         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20586         * sysdeps/powerpc/nofpu: Move directory from
20587         ports/sysdeps/powerpc/nofpu.
20588         * sysdeps/powerpc/soft-fp: Move directory from
20589         ports/sysdeps/powerpc/soft-fp.
20590         * sysdeps/powerpc/powerpc32/405: Move directory from
20591         ports/sysdeps/powerpc/powerpc32/405.
20592         * sysdeps/powerpc/powerpc32/440: Move directory from
20593         ports/sysdeps/powerpc/powerpc32/440.
20594         * sysdeps/powerpc/powerpc32/464: Move directory from
20595         ports/sysdeps/powerpc/powerpc32/464.
20596         * sysdeps/powerpc/powerpc32/476: Move directory from
20597         ports/sysdeps/powerpc/powerpc32/476.
20598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20599         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20601         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20603         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20605         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20607         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20608         * README: Update for powerpc-*-linux-gnu software floating point
20609         support in libc.
20610
20611         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20612         case to powerpc/powerpc32*.
20613         * sysdeps/unix/sysv/linux/configure: Regenerated.
20614
20615         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20616         (_FPU_MASK_OM): Define as 0x04.
20617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20619         0x00c10080.
20620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20621         0x0000003c.
20622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20623
20624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20625         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20626         getcontext_e500.
20627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20628         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20629         setcontext_e500.
20630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20631         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20632         and setcontext_e500.
20633
20634 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20635
20636         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20637
20638 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20639
20640         * manual/threads.texi (Default Thread Attributes): Fix typo.
20641
20642 2013-10-04  Will Newton  <will.newton@linaro.org>
20643
20644         * malloc/Makefile: Add tst-memalign.
20645         * malloc/tst-memalign.c: New file.
20646
20647         * malloc/tst-posix_memalign.c: Add comments.
20648         (do_test): Add comments and call free on all potentially
20649         allocated pointers. Add space after cast.
20650
20651         * malloc/tst-pvalloc.c: Add comments.
20652         (do_test): Add comments and call free on all potentially
20653         allocated pointers. Remove duplicate check for NULL pointer.
20654         Add space after cast.
20655
20656         * malloc/tst-valloc.c: Add comments.
20657         (do_test): Add comments and call free on all potentially
20658         allocated pointers. Remove duplicate check for NULL pointer.
20659         Add space after cast.
20660
20661 2013-10-04  Alan Modra  <amodra@gmail.com>
20662
20663         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20664         Use stdint types in rather than __attribute__((mode())).
20665         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20666
20667 2013-10-04  Alan Modra  <amodra@gmail.com>
20668
20669         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20670         Correct handling of unaligned relocs for little-endian.
20671         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20672
20673 2013-10-04  Alan Modra  <amodra@gmail.com>
20674
20675         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20676         * configure: Regenerate.
20677         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20678         * shlib-versions: Likewise.
20679
20680 2013-10-04  Alan Modra  <amodra@gmail.com>
20681
20682         * string/tester.c (test_memrchr): Increment reported test cycle.
20683
20684 2013-10-04  Alan Modra  <amodra@gmail.com>
20685
20686         * string/test-memcpy.c (do_one_test): When reporting errors, print
20687         string address and don't overrun end of string.
20688
20689 2013-10-04  Alan Modra  <amodra@gmail.com>
20690
20691         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20692         insrdi.  Make better use of reg selection to speed exit slightly.
20693         Schedule entry path a little better.  Remove useless "are we done"
20694         checks on entry to main loop.  Handle wrapping around zero address.
20695         Correct main loop count.  Handle single left-over word from main
20696         loop inline rather than by using loop_small.  Remove extra word
20697         case in loop_small caused by wrong loop count.  Add little-endian
20698         support.
20699         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20700         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20701         cache hint.
20702         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20703         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20704         support.  Avoid rlwimi.
20705         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20706
20707 2013-10-04  Alan Modra  <amodra@gmail.com>
20708
20709         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20710         insrdi.  Formatting.
20711         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20712         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20713         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20714         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20715         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20716         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20717
20718 2013-10-04  Alan Modra  <amodra@gmail.com>
20719
20720         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20721         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20722         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20723         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20724         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20725         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20726         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20727         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20728         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20729         use of regs.  Use power7 mtocrf.  Tidy function tails.
20730
20731 2013-10-04  Alan Modra  <amodra@gmail.com>
20732
20733         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20734         Formatting.  Consistently use rXXX register defines or rN defines.
20735         Use early exit labels that avoid restoring unused non-volatile regs.
20736         Make cr field use more consistent with rWORDn compares.  Rename
20737         regs used as shift registers for unaligned loop, using rN defines
20738         for short lifetime/multiple use regs.
20739         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20740         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20741         addi 1,1,64 to pop stack frame.  Simplify return value code.
20742         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20743
20744 2013-10-04  Alan Modra  <amodra@gmail.com>
20745
20746         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20747         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20748         rather than rlwimi.
20749         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20750         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20751         little-endian support.  Correct typos.
20752         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20753         rather than rlwimi.
20754         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20755         in loop and entry code to keep "and." results.
20756         (strchr): Add little-endian support.  Comment.  Move cntlzd
20757         earlier in tail.
20758         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20759
20760 2013-10-04  Alan Modra  <amodra@gmail.com>
20761
20762         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20763         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20764         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20765         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20766
20767 2013-10-04  Alan Modra  <amodra@gmail.com>
20768
20769         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20770         (rTMP): Define as r11.
20771         (strcmp): Add little-endian support.  Optimise tail.
20772         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20773         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20774         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20775         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20776         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20777         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20778         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20779
20780 2013-10-04  Alan Modra  <amodra@gmail.com>
20781
20782         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20783         little-endian support.  Remove unnecessary "are we done" tests.
20784         Handle "s" wrapping around zero and extremely large "size".
20785         Correct main loop count.  Handle single left-over word from main
20786         loop inline rather than by using small_loop.  Correct comments.
20787         Delete "zero" tail, use "end_max" instead.
20788         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20789
20790 2013-10-04  Alan Modra  <amodra@gmail.com>
20791
20792         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20793         support.  Don't branch over align.
20794         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20795         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20796         support.  Rearrange tmp reg use to suit.  Comment.
20797         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20798
20799 2013-10-04  Alan Modra  <amodra@gmail.com>
20800
20801         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20802
20803 2013-10-04  Alan Modra  <amodra@gmail.com>
20804
20805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20806         conditional form of branch and link when obtaining pc.
20807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20808
20809 2013-10-04  Alan Modra  <amodra@gmail.com>
20810
20811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20812         HIWORD/LOWORD.
20813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20815
20816 2013-10-04  Alan Modra  <amodra@gmail.com>
20817
20818         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20819         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20820         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20821         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20822         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20823         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20824         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20825         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20826         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20827         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20828
20829 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20830             Alistair Popple <alistair@ozlabs.au.ibm.com>
20831             Alan Modra <amodra@gmail.com>
20832
20833         [BZ #15723]
20834         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20835         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20836         _dl_hwcap access for little-endian.
20837         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20838         destroy vmx regs when saving unaligned.
20839         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20840         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20841         destroy vmx regs when saving unaligned.
20842
20843 2013-10-04  Alan Modra  <amodra@gmail.com>
20844
20845         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20846         Don't use a union to pack hi/low value.
20847
20848 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20849
20850         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20851         for little-endian.
20852         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20853         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20854         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20855         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20856         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20857
20858 2013-10-04  Alan Modra  <amodra@gmail.com>
20859
20860         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20861         constants to usual value for .cst8 section, and remove redundant
20862         high address load.
20863         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20864         constant for 0x1p52.  Load little-endian words of double from
20865         correct stack offsets.
20866
20867 2013-10-04  Alan Modra  <amodra@gmail.com>
20868
20869         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20870         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20871         words of double from correct stack offsets.
20872         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20873         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20874         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20875         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20876         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20877         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20878         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20879         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20880         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20881         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20882         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20883         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20884         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20885         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20886         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20887         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20888         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20889
20890 2013-10-04  Alan Modra  <amodra@gmail.com>
20891
20892         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20893         64-bit int/double union.
20894         (_FPU_SETCW): Likewise.
20895         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20896         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20897
20898 2013-10-04  Alan Modra  <amodra@gmail.com>
20899
20900         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20901         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20902
20903 2013-10-04  Alan Modra  <amodra@gmail.com>
20904
20905         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20906         use vector int constants.
20907         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20908
20909 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20910
20911         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20912         array with long long.
20913         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20914         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20915         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20916         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20917         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20918         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20919         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20920         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20921         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20922         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20923         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20924         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20925         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20926
20927 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20928
20929         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20930         (__signbit): Likewise.  Correct for little-endian.
20931         (__signbitl): Call __signbit.
20932         (lrint): Correct for little-endian.
20933         (lrintf): Call lrint.
20934
20935 2013-10-04  Alan Modra  <amodra@gmail.com>
20936
20937         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20938         union 32-bit int array member with 64-bit int array.
20939         (t515, tm256): Double rather than long double.
20940         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20941
20942 2013-10-04  Alan Modra  <amodra@gmail.com>
20943
20944         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20945         Delete.
20946         (IEEE854_LONG_DOUBLE_BIAS): Delete.
20947         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20948         version of math_ldbl.h.
20949
20950 2013-10-04  Alan Modra  <amodra@gmail.com>
20951
20952         [BZ #15734], [BZ #15735]
20953         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20954         all uses of ieee875 long double macros and unions.  Simplify test
20955         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
20956         ldbl_extract_mantissa value for ix,iy exponents.  Properly
20957         normalize after ldbl_extract_mantissa, and don't add hidden bit
20958         already handled.  Don't treat low word of ieee854 mantissa like
20959         low word of IBM long double and mask off bit when testing for
20960         zero.
20961         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20962         all uses of ieee875 long double macros and unions.  Simplify tests
20963         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
20964         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
20965         two1022, instead use their values.  Recognise that tests for large
20966         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
20967         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20968         Rewrite all uses of ieee875 long double macros and unions.  Simplify
20969         test for 0.0L and nan.  Correct negation.
20970         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20971         ieee875 long double macros and unions.  Correct output for large
20972         magnitude x.  Correct absolute value calculation.
20973         (__erfcl): Likewise.
20974         * math/libm-test.inc: Add tests for errors discovered in IBM long
20975         double versions of fmodl, remainderl, erfl and erfcl.
20976
20977 2013-10-04  Alan Modra  <amodra@gmail.com>
20978
20979         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20980         all uses of ieee854 long double macros and unions.  Simplify tests
20981         for long doubles that are fully specified by the high double.
20982         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20983         Likewise.
20984         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20985         Remove dead code too.
20986         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20987         (__ieee754_ynl): Likewise.
20988         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20989         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20990         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20991         Remove dead code too.
20992         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20993         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20994         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20995         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20996         Simplify.
20997         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20998         Simplify.
20999         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21000         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21001         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21002         Comment on variable precision.
21003         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21004         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21005         Likewise.
21006         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21007         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21008         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21009         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21010         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21011
21012 2013-10-04  Alan Modra  <amodra@gmail.com>
21013
21014         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21015         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21016         all uses of ieee854 long double macros and unions.
21017         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21018         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21019         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21020         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21021         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21022         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21023         Likewise.
21024         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21025         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21026         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21027         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21028         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21029         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21030         Simplify sign and nan test too.
21031         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21032         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21033         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21034         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21035         Likewise.
21036         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21037         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21038         Likewise.
21039         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21040         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21041         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21042         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21043         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21044         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21045
21046 2013-10-04  Alan Modra  <amodra@gmail.com>
21047
21048         * stdio-common/printf_size.c (__printf_size): Don't use
21049         union ieee854_long_double in fpnum union.
21050         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21051         signbit macro to retrieve sign from long double.
21052         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21053         retrieve sign from long double.
21054         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21055         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21056         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21057         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21058         * math/test-misc.c (main): Don't use union ieee854_long_double.
21059
21060 2013-10-04  Alan Modra  <amodra@gmail.com>
21061
21062         [BZ #15680]
21063         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21064         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21065         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21066         calculation.  Remove unnecessary test for denormal exponent.
21067         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21068         Correct handling of denormals.  Avoid undefined shift behaviour.
21069         Correct normalisation of low mantissa when low double is denormal.
21070         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21071         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21072         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21073         Correct normalisation of low mantissa.  Test for overflow of high
21074         mantissa and normalise.
21075         (ldbl_nearbyint): Use more readable constant for two52.
21076         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21077         (__mpn_construct_long_double): Fix test for overflow of high
21078         mantissa and correct normalisation.  Avoid undefined shift.
21079
21080 2013-10-04  Alan Modra  <amodra@gmail.com>
21081
21082         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21083         (union ibm_extended_long_double): Define as an array of ieee754_double.
21084         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21085         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21086         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21087         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21088         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21089         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21090         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21091         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21092         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21093         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21094         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21095
21096 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21097
21098         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21099         page size instead of calling getpagesize.
21100
21101         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21102         (LOCFILE_ALIGN_MASK): Likewise.
21103         (LOCFILE_ALIGN_UP): Likewise.
21104         (LOCFILE_ALIGNED_P): Likewise.
21105         * locale/programs/ld-collate.c (collate_output): Use the new
21106         macros instead of __alignof__ (int32_t).
21107         * locale/weight.h (findidx): Likewise.
21108
21109 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21110
21111         [BZ #431]
21112         * manual/string.texi: Fix strncat and wcsncat.
21113
21114 2013-10-03  Brooks Moses  <bmoses@google.com>
21115
21116         [BZ #15915]
21117         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21118         * Makerules: ...here, and adjust associated comments.
21119
21120 2013-10-02  Will Newton  <will.newton@linaro.org>
21121
21122         * malloc/Makefile: Add tst-pvalloc.
21123         * malloc/tst-pvalloc.c: New file.
21124
21125 2013-10-02  Will Newton  <will.newton@linaro.org>
21126
21127         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21128         improve test coverage.
21129
21130 2013-10-02  Will Newton  <will.newton@linaro.org>
21131
21132         * malloc/Makefile: Add tst-posix_memalign.
21133         * malloc/tst-posix_memalign.c: New file.
21134
21135 2013-10-01  Eric Blake  <eblake@redhat.com>
21136
21137         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21138         Use __THROWNL rather than __THROW on static functions.
21139
21140 2013-09-30  Petr Machata  <pmachata@redhat.com>
21141
21142         * elf/elf.h (R_AARCH64_ABS16): New macro.
21143         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21144         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21145         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21146         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21147         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21148         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21149         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21150         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21151         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21152         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21153         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21154         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21155         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21156         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21157         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21158         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21159         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21160         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21161         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21162         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21163         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21164         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21165         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21166         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21167         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21168         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21169         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21170         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21171         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21172         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21173         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21174         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21175         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21176         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21177         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21178         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21179         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21180         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21181         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21182         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21183         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21184         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21185         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21186         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21187         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21188         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21189         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21190         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21191         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21192         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21193         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21194         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21195         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21196         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21197         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21198         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21199         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21200         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21201         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21202         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21203         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21204         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21205         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21206         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21207         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21208         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21209         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21210         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21211         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21212         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21213         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21214         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21215         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21216         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21217         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21218         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21219         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21220         (R_AARCH64_TLSDESC_LDR): Likewise.
21221         (R_AARCH64_TLSDESC_ADD): Likewise.
21222         (R_AARCH64_TLSDESC_CALL): Likewise.
21223
21224 2013-09-30  Andreas Schwab  <schwab@suse.de>
21225
21226         [BZ #15048]
21227         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21228         the nss database lookup.
21229         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21231
21232 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21233
21234         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21235
21236 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21237
21238         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21239         ${Bash-specific parameter/pattern/string} parameter expansion.
21240         * sysdeps/unix/make-syscalls.sh: Likewise.
21241
21242 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21243
21244         * sysdeps/sh/stackguard-macros.h: New file.
21245
21246 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21247
21248         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21249         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21250         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21251         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21252         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21253         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21254
21255 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21256
21257         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21258         Fix thread ID register.
21259
21260 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21261
21262         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21263         [POSIX || UNIX98]: Require rather than permitting all symbols from
21264         <time.h>.
21265         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21266         element of struct sched_param.
21267         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21268         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21269         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21270         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21271         constant.
21272
21273 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21274
21275         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21276         argument calculation.
21277
21278 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21279
21280         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21281         Expect macro.
21282         [POSIX] (pthread_attr_t): Do not require type.
21283         [POSIX] (pthread_cond_t): Likewise.
21284         [POSIX] (pthread_condattr_t): Likewise.
21285         [POSIX] (pthread_key_t): Likewise.
21286         [POSIX] (pthread_mutex_t): Likewise.
21287         [POSIX] (pthread_mutexattr_t): Likewise.
21288         [POSIX] (pthread_once_t): Likewise.
21289         [POSIX] (pthread_t): Likewise.
21290         [POSIX-based standards] (pthread_atfork): Expect function.
21291
21292 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21293             Richard Sandiford  <richard@codesourcery.com>
21294
21295         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21296         (swap_endianness_p): New extern variable.
21297         (set_big_endian): New inline function.
21298         (maybe_swap_uint32): Likewise.
21299         (maybe_swap_uint32_array): Likewise.
21300         (maybe_swap_uint32_obstack): Likewise.
21301         * locale/programs/locfile.c: Include <stdbool.h>.
21302         (swap_endianness_p): New variable.
21303         (add_locale_uint32): Call maybe_swap_uint32.
21304         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21305         (write_locale_data): Call maybe_swap_uint32_array.
21306         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21307         maybe_swap_uint32.
21308         (obstack_int32_grow_fast): Likewise.
21309         (output_weightwc): Call maybe_swap_uint32_obstack.
21310         (collate_output): Likewise.
21311         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21312         (OPT_LITTLE_ENDIAN): Likewise.
21313         (options): Add --little-endian and --big-endian options.
21314         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21315         * locale/programs/locarchive.c: Include "locfile.h".
21316         (GET): New macro.
21317         (SET): Likewise.
21318         (INC): Likewise.
21319         (create_archive): Use the new macros to access fields of
21320         structures directly mapped from or written to locale archives.
21321         (oldlocrecentcmp): Likewise.
21322         (enlarge_archive): Likewise.
21323         (insert_name): Likewise.
21324         (add_alias): Likewise.
21325         (add_locale): Likewise.
21326         (delete_locales_from_archive): Likewise.
21327         (show_archive_content): Likewise.
21328         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21329         locale data.
21330
21331 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21332
21333         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21334         http://www.gnu.org/doc/freemanuals.texi.
21335         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21336
21337 2013-09-24  Will Newton  <will.newton@linaro.org>
21338
21339         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21340         macro.
21341
21342 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21343
21344         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21345         unsigned char.
21346
21347 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21348
21349         * manual/threads.texi (POSIX Threads): Fix a typo.
21350
21351 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21352
21353         [BZ #14547]
21354         * string/tst-strcoll-overflow.c: New test case.
21355         * string/Makefile (xtests): Add tst-strcoll-overflow.
21356         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21357         cache if string sizes may cause integer overflow.
21358
21359         [BZ #14547]
21360         * string/strcoll_l.c (coll_seq): New members rule, idx,
21361         save_idx and back_us.
21362         (get_next_seq_nocache): New function.
21363         (do_compare_nocache): New function.
21364         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21365         when malloc fails.
21366
21367 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21368
21369         [BZ #15754]
21370         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21371         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21372         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21373
21374         [BZ #15754]
21375         * elf/Makefile (tests): Add tst-ptrguard1.
21376         (tests-static): Add tst-ptrguard1-static.
21377         (tst-ptrguard1-ARGS): Define.
21378         (tst-ptrguard1-static-ARGS): Define.
21379         * elf/tst-ptrguard1.c: New file.
21380         * elf/tst-ptrguard1-static.c: New file.
21381         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21382         * sysdeps/i386/stackguard-macros.h: Likewise.
21383         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21384         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21385         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21386         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21387         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21388         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21389
21390 2013-09-23  Hector Marco  <hecmargi@upv.es>
21391             Ismael Ripoll  <iripoll@disca.upv.es>
21392             Carlos O'Donell  <carlos@redhat.com>
21393
21394         [BZ #15754]
21395         * sysdeps/generic/stackguard-macros.h: Define
21396         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21397         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21398         Define __pointer_chk_guard_local.
21399         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21400         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21401
21402 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21403
21404         [BZ #15859]
21405         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21406
21407 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21408
21409         * include/string.h (__ffs): Declare as hidden.
21410         * string/ffs.c (__ffs): Define as hidden.
21411         * sysdeps/i386/ffs.c (__ffs): Likewise.
21412         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21413         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21414         * sysdeps/s390/ffs.c (__ffs): Likewise.
21415         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21416
21417 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21418
21419         * NEWS: Mention malloc probes.
21420
21421         * malloc/arena.c (new_heap): New memory_heap_new probe.
21422         (grow_heap): New memory_heap_more probe.
21423         (shrink_heap): New memory_heap_less probe.
21424         (heap_trim): New memory_heap_free probe.
21425         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21426         (systrim): New memory_sbrk_less probe.
21427         * manual/probes.texi: Document them.
21428
21429         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21430         * manual/probes.texi: Document it.
21431
21432         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21433         (__libc_realloc): Add memory_realloc_retry probe.
21434         (__libc_memalign): Add memory_memalign_retry probe.
21435         (__libc_valloc): Add memory_valloc_retry probe.
21436         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21437         (__libc_calloc): Add memory_calloc_retry probe.
21438         * manual/probes.texi: Document them.
21439
21440         * malloc/arena.c (get_free_list): Add probe
21441         memory_arena_reuse_free_list.
21442         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21443         and memory_arena_reuse.
21444         (arena_get2) [!PER_THREAD]: Likewise.
21445         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21446         memory_arena_reuse_realloc.
21447         * manual/probes.texi: Document them.
21448
21449         * malloc/malloc.c (__libc_free): Add
21450         memory_mallopt_free_dyn_thresholds probe.
21451         (__libc_mallopt): Add multiple memory_mallopt probes.
21452         * manual/probes.texi: Document them.
21453
21454         * malloc/malloc.c: Include stap-probe.h.
21455         (__libc_mallopt): Add memory_mallopt probe.
21456         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21457         * manual/probes.texi: New.
21458         * manual/Makefile (chapters): Add probes.
21459         * manual/threads.texi: Set next node.
21460
21461 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21462
21463         [BZ #15963, #13985]
21464         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21465         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21466         Add `Chinese' to `nan' entry name.
21467
21468 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21469
21470         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21471         (POLYNOMIAL): Likewise.
21472         (TAYLOR_SINCOS): Likewise.
21473         (TAYLOR_SLOW): Likewise.
21474         (__sin): Use TAYLOR_SINCOS.
21475         (__cos): Likewise.
21476         (slow): Use TAYLOR_SLOW.
21477         (sloww): Likewise.
21478         (bsloww): Likewise.
21479         (csloww): Likewise.
21480
21481 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21482
21483         * stdlib/strtod_l.c: Fix buffer overrun.
21484
21485 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21486
21487         * benchtests/Makefile (bench): Add sincos.
21488         * benchtests/bench-sincos.c: New file.
21489
21490         * math/libm-test.inc (cos_test_data): New test inputs.
21491         (sin_test_data): Likewise.
21492
21493         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21494         macro.
21495         (__sin): Use it.
21496         (__cos): Likewise.
21497         (slow1): Likewise.
21498         (slow2): Likewise.
21499         (sloww1): Likewise.
21500         (sloww2): Likewise.
21501         (bsloww1): Likewise.
21502         (bsloww2): Likewise.
21503         (cslow2): Likewise.
21504         (csloww1): Likewise.
21505         (csloww2): Likewise.
21506
21507         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21508         function.
21509         (__sin): Use it.
21510         (__cos): Likewise.
21511
21512         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21513         gotos.
21514         (__cos): Likewise.
21515
21516 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21517
21518         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21519         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21520         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21521         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21522         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21523         * elf/cache.c (print_entry): Handle the new cache flags.
21524
21525 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21526             Aldy Hernandez  <aldyh@redhat.com>
21527
21528         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21529         Change condition to [_SOFT_FLOAT].
21530         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21531         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21532         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21540         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21541         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21542         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21545         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21546         declaration.
21547
21548 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21549
21550         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21551         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21552         (__longjmp): Use LOAD_GP to load saved GPRs.
21553         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21554         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21555         (__sigsetjmp): Use SAVE_GP to save GPRs.
21556
21557         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21558         Do not append -msoft-float.
21559         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21560
21561 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21562
21563         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21564
21565 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21566
21567         [BZ #15966]
21568         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21569         (_FPU_GETCW): Use initial "__" on variable and field names but not
21570         on macro parameter name.
21571         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21572         parentheses around reference to macro parameter.
21573
21574 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21575
21576         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21577         prototype.
21578         (ctype_startup): Use uint32_t in cast and sizeof for
21579         ctype->charnames.
21580
21581 2013-09-11  Jia Liu  <proljc@gmail.com>
21582
21583         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21584         __daddr_t_defined.
21585         [__FreeBSD__]: Likewise.
21586
21587 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21588
21589         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21590         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21591         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21592         (strchr): Remove __strchr_sse42 ifunc selection.
21593         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21594         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21595
21596 2013-09-11  Will Newton  <will.newton@linaro.org>
21597
21598         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21599         parameter to RES. Remove hardcoded 1000 value.
21600         * benchtests/bench-skeleton.c (main): Pass RES parameter
21601         to TIMING_INIT and multiply result by 1000.
21602
21603 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21604
21605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21606
21607 2013-09-11  Andreas Schwab  <schwab@suse.de>
21608
21609         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21610         if not defined.
21611         (O_TMPFILE) [__USE_GNU]: Define.
21612         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21613         Define.
21614
21615 2013-09-11  Will Newton  <will.newton@linaro.org>
21616
21617         [BZ #15857]
21618         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21619         does not overflow.
21620
21621 2013-09-11  Will Newton  <will.newton@linaro.org>
21622
21623         [BZ #15856]
21624         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21625         does not overflow.
21626
21627 2013-09-11  Will Newton  <will.newton@linaro.org>
21628
21629         [BZ #15855]
21630         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21631         does not overflow.
21632
21633 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21634
21635         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21636         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21637         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21638         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21639         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21640
21641 2013-09-10  Allan McRae  <allan@archlinux.org>
21642
21643         [BZ #15748]
21644         * manual/arith.texi (Parsing of Floats): Clarify
21645         cross-reference.
21646
21647         [BZ #15849]
21648         * manual/install.texi (Running make install): Mention
21649         --enable-pt-chown.
21650         * INSTALL: Regenerated.
21651
21652 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21653
21654         * csu/init-first.c (_init): Remove the !SHARED condition around
21655         FPU control word initialization.
21656         * elf/dl-support.c (_dl_fpu_control): New variable.
21657         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21658         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21659         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21660         * math/test-fpucw-static.c: New file.
21661         * math/test-fpucw-ieee.c: New file.
21662         * math/test-fpucw-ieee-static.c: New file.
21663         * math/Makefile (tests): Add `test-fpucw-ieee' and
21664         `$(tests-static)'.
21665         (tests-static): New variable.
21666         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21667         dependency to...
21668         [($(build-shared),yes)]
21669         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21670         ... this.
21671         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21672         New dependency.
21673
21674 2013-09-09  Allan McRae  <allan@archlinux.org>
21675
21676         [BZ #15939]
21677         * manual/string.texi (Collation Functions): Fix typo in
21678         strcoll example.
21679         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21680
21681         [BZ #15893]
21682         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21683
21684         [BZ #15892]
21685         * libio/memstream.c (open_memstream): Fix memory leak.
21686         * libio/wmemstream.c (open_wmemstream): Likewise.
21687
21688         [BZ #15895]
21689         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21690
21691 2013-09-09  Will Newton  <will.newton@linaro.org>
21692
21693         * malloc/Makefile: Add tst-realloc to tests.
21694         * malloc/tst-realloc.c: New file.
21695
21696 2013-09-09  Allan McRae  <allan@archlinux.org>
21697
21698         [BZ #15844]
21699         * COPYING: Update from GNU website to fix FSF address.
21700         * COPYING.LIB: Likewise.
21701
21702 2013-09-06  David S. Miller  <davem@davemloft.net>
21703
21704         * po/zh_TW.po: Update Chinese (traditional) translation from
21705         translation project.
21706
21707 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21708             Joseph Myers  <joseph@codesourcery.com>
21709
21710         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21711         "localeinfo.h".
21712         (obstack_chunk_alloc): New macro.
21713         (obstack_chunk_free): Likewise.
21714         (record_offset): New function.
21715         (init_locale_data): Likewise.
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): Take locale_file structure rather than an
21730         iovec.
21731         * locale/programs/locfile.h: Include "obstack.h".
21732         (struct locale_file): Change to store locale file contents instead
21733         of header.
21734         (init_locale_data): New prototype.
21735         (align_locale_data): Likewise.
21736         (add_locale_empty): Likewise.
21737         (add_locale_raw_data): Likewise.
21738         (add_locale_raw_obstack): Likewise.
21739         (add_locale_string): Likewise.
21740         (add_locale_wstring): Likewise.
21741         (add_locale_uint32): Likewise.
21742         (add_locale_uint32_array): Likewise.
21743         (add_locale_char): Likewise.
21744         (start_locale_structure): Likewise.
21745         (end_locale_structure): Likewise.
21746         (start_locale_prelude): Likewise.
21747         (end_locale_prelude): Likewise.
21748         (write_locale_data): Update prototype.
21749         * locale/programs/3level.h (struct TABLE): Remove result field.
21750         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21751         Use new locale_file interface.
21752         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21753         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21754         * locale/programs/ld-address.c (address_output): Use new
21755         locale_file interface.
21756         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21757         NO_ADD_LOCALE.
21758         (collate_finish): Don't call collseq_table_finalize.
21759         (collate_output): Use new locale_file interface.
21760         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21761         in file.
21762         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21763         (TABLE): Move defines earlier in file.
21764         (ELEMENT): Likewise.
21765         (DEFAULT): Likewise.
21766         (wctrans_table_add): Move macro and inline function earlier in
21767         file.
21768         (struct wctype_table): Move type earlier in file.
21769         (add_locale_wctype_table): New static prototype.
21770         (struct locale_ctype_t): Use logical types instead of struct iovec
21771         pointers for members.
21772         (ctype_output): Use new locale_file interface.
21773         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21774         new locale_file interface.
21775         (allocate_arrays): Update for use of new locale_file interface.
21776         * locale/programs/ld-identification.c (identification_output): Use
21777         new locale_file interface.
21778         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21779         * locale/programs/ld-messages.c (messages_output): Likewise.
21780         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21781         * locale/programs/ld-name.c (name_output): Likewise.
21782         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21783         * locale/programs/ld-paper.c (paper_output): Likewise.
21784         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21785         * locale/programs/ld-time.c (time_output): Likewise.
21786
21787 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21788
21789         * benchtests/Makefile: Add memrchr benchmark.
21790         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21791         benchmark as memrchr.
21792         * benchtests/bench-memrchr-ifunc.c: New file.
21793         * benchtests/bench-memrchr.c: New file.
21794
21795 2013-09-06   Will Newton  <will.newton@linaro.org>
21796
21797         * benchtests/Makefile (string-bench): Add memcpy.
21798
21799 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21800             Cong Wang  <amwang@redhat.com>
21801
21802         [BZ #15850]
21803         * sysdeps/unix/sysv/linux/bits/in.h
21804         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21805         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21806         before __USE_KERNEL_IPV6_DEFS uses.
21807         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21808         IPPROTO_BEETPH.
21809         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21810         sockaddr_in6, or ipv6_mreq.
21811
21812 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21813
21814         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21815         memory access for final bytes in some large inputs.
21816         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21817
21818 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21819
21820         * string/test-memrchr.c: New file.
21821         * string/test-memrchr-ifunc.c: New file.
21822         * string/Makefile: Add new memrchr testcase.
21823
21824 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21825
21826         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21827         fanotify_init returns EPERM.
21828
21829 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21830
21831         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21832         errors.
21833         (top level): Treat second token from macro or constant entries for
21834         allowed headers as allowed.
21835         * include/complex.h: Condition internal declarations on
21836         [!_ISOMAC].
21837         * include/fenv.h: Condition include of <stdbool.h> and internal
21838         declarations on [!_ISOMAC].
21839
21840 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21841
21842         [BZ #15923]
21843         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21844
21845 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21846
21847         * configure.in (--enable-versioning): Remove configure option.
21848         (libc_cv_asm_symver_directive): Remove configure test.
21849         (libc_cv_ld_version_script_option): Likewise.
21850         (VERSIONING): Remove variable and AC_SUBST.
21851         (DO_VERSIONING): Remove AC_DEFINE.
21852         * configure: Regenerated.
21853         * config.h.in (DO_VERSIONING): Remove macro.
21854         * Makerules [$(versioning) = yes]: Change conditionals to
21855         [$(build-shared) = yes].
21856         * config.make.in (versioning): Remove variable.
21857         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21858         [$(build-shared) = yes].
21859         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21860         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21861         * elf/Makefile [$(versioning) = yes]: Change conditionals to
21862         [$(build-shared) = yes].
21863         * extra-lib.mk [$(versioning) = yes]: Likewise.
21864         * hurd/Makefile [$(versioning) = yes]: Likewise.
21865         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21866         [SHARED].
21867         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21868         [SHARED].
21869         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21870         [SHARED && !NO_HIDDEN].
21871         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21872         [SHARED].
21873         [SHARED && DO_VERSIONING]: Likewise..
21874         * libio/Makefile [$(versioning) = yes]: Change conditionals to
21875         [$(build-shared) = yes].
21876         * manual/install.texi (--disable-versioning): Remove
21877         documentation.
21878         * INSTALL: Regenerated.
21879         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21880         to [SHARED].
21881         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21882         [$(build-shared) = yes].
21883         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21884         * sysdeps/i386/i686/multiarch/strstr-c.c
21885         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21886         [SHARED && !NO_HIDDEN].
21887         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21888         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21889         * sysdeps/powerpc/powerpc32/dl-machine.c
21890         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21891         * sysdeps/powerpc/powerpc32/sysdep.h
21892         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21893         to [SHARED && PIC && !NO_HIDDEN].
21894         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21895         conditional to [SHARED].
21896
21897 2013-09-04   Will Newton  <will.newton@linaro.org>
21898
21899         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21900         * benchtests/bench-string.h: Include bench-timing.h instead
21901         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21902         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21903         call to HP_TIMING_DIFF_INIT.
21904         * benchtests/bench-memccpy.c: Use bench-timing.h macros
21905         instead of hp-timing.h macros.
21906         * benchtests/bench-memchr.c: Likewise.
21907         * benchtests/bench-memcmp.c: Likewise.
21908         * benchtests/bench-memcpy.c: Likewise.
21909         * benchtests/bench-memmem.c: Likewise.
21910         * benchtests/bench-memmove.c: Likewise.
21911         * benchtests/bench-memset.c: Likewise.
21912         * benchtests/bench-rawmemchr.c: Likewise.
21913         * benchtests/bench-strcasecmp.c: Likewise.
21914         * benchtests/bench-strcasestr.c: Likewise.
21915         * benchtests/bench-strcat.c: Likewise.
21916         * benchtests/bench-strchr.c: Likewise.
21917         * benchtests/bench-strcmp.c: Likewise.
21918         * benchtests/bench-strcpy.c: Likewise.
21919         * benchtests/bench-strcpy_chk.c: Likewise.
21920         * benchtests/bench-strlen.c: Likewise.
21921         * benchtests/bench-strncasecmp.c: Likewise.
21922         * benchtests/bench-strncat.c: Likewise.
21923         * benchtests/bench-strncmp.c: Likewise.
21924         * benchtests/bench-strncpy.c: Likewise.
21925         * benchtests/bench-strnlen.c: Likewise.
21926         * benchtests/bench-strpbrk.c: Likewise.
21927         * benchtests/bench-strrchr.c: Likewise.
21928         * benchtests/bench-strspn.c: Likewise.
21929         * benchtests/bench-strstr.c: Likewise.
21930
21931 2013-09-04  Will Newton  <will.newton@linaro.org>
21932
21933         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21934
21935 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
21936
21937         [BZ #15427]
21938         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21939         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21940         * math/libm-test.inc (lgamma_test_data): Add more tests.
21941         * sysdeps/i386/fpu/libm-test-ulps: Update.
21942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21943
21944 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
21945
21946         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21948         Add ifunc.
21949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21950         Add strcmp-sse2-unaligned
21951         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21952
21953 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21954
21955         * Versions.def (libc): Add GLIBC_2.19.
21956
21957 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21958
21959         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21960         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21961
21962 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
21963
21964         [BZ #14155]
21965         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21966         intermediate calculations in recurrence.
21967         (__ieee754_ynf): Likewise.
21968         * math/libm-test.inc (jn_test_data): Do not allow spurious
21969         underflow exception.  Add more tests.
21970         (yn_test_data): Add more tests.
21971         * sysdeps/i386/fpu/libm-test-ulps: Update.
21972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21973
21974 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
21975
21976         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21977
21978 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21979
21980         * csu/init-first.c: Fix then/than typos.
21981         * locale/programs/ld-collate.c: Likewise.
21982         * locale/programs/linereader.h: Likewise.
21983         * manual/charset.texi: Likewise.
21984         * manual/filesys.texi: Likewise.
21985         * manual/stdio.texi: Likewise.
21986         * manual/string.texi: Likewise.
21987         * stdlib/fmtmsg.c: Likewise.
21988         * sysdeps/i386/stpncpy.S: Likewise.
21989         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21990         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21991         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21992         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21993
21994 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21995
21996         * elf/dl-open.c: Fix typos.
21997         * iconvdata/gbbig5.c: Likewise.
21998         * iconvdata/iso-2022-jp.c: Likewise.
21999         * iconv/gconv_int.h: Likewise.
22000         * iconv/loop.c: Likewise.
22001         * nis/rpcsvc/nis.h: Likewise.
22002         * resolv/ns_name.c: Likewise.
22003         * stdio-common/vfscanf.c: Likewise.
22004         * streams/stropts.h: Likewise.
22005         * sunrpc/rpc_thread.c: Likewise.
22006         * sysdeps/i386/strpbrk.S: Likewise.
22007         * sysdeps/ieee754/k_standard.c: Likewise.
22008         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22009         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22010         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22011         * sysdeps/mach/hurd/profil.c: Likewise.
22012         * sysdeps/s390/dl-procinfo.h: Likewise.
22013         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22014         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22015         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22016         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22017         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22018
22019 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22020
22021         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22023
22024 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22025
22026         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22027         aix specific files.
22028         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22029         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22030         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22031         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22032         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22033         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22034         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22035         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22036
22037 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22038             Roland McGrath  <roland@hack.frob.com>
22039
22040         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22041         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22042
22043 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22044
22045         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22046         __executable_start symbol instead of _start.
22047
22048 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22049
22050         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22051         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22052         Move macros to...
22053         * sysdeps/gnu/ldsodefs.h: ... this new file.
22054
22055         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22056         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22057         instead of ELFOSABI_LINUX.
22058
22059         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22060         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22061         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22062         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22063         Likewise.
22064         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22065         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22066         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22067         Likewise.
22068         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22069         (ibm_extended_long_double): Add ieee_nan member.
22070         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22071         (do_test): New function.
22072
22073         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22074         TEST_TRUNC.
22075         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22076         functions, renamed from truncdfsf_test, trunctfsf_test,
22077         trunctfdf_test.
22078         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22079         functions.
22080         (do_test): Run all these.
22081
22082 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22083
22084         * argp/argp-help.c: Fix typos.
22085         * argp/argp-parse.c: Likewise.
22086         * debug/backtracesyms.c: Likewise.
22087         * elf/elf.h: Likewise.
22088         * malloc/malloc.c: Likewise.
22089         * nis/nis_print.c: Likewise.
22090         * resolv/res_comp.c: Likewise.
22091         * stdlib/stdlib.h: Likewise.
22092         * sunrpc/clnt_tcp.c: Likewise.
22093         * sunrpc/clnt_udp.c: Likewise.
22094         * sunrpc/clnt_unix.c: Likewise.
22095         * sysdeps/unix/bsd/ptsname.c: Likewise.
22096         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22097         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22099         Likewise.
22100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22101         Likewise.
22102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22103         Likewise.
22104         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22105
22106 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22107
22108         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22109         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22110
22111 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22112
22113         [BZ #15897]
22114         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22115         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22116         ($(objpfx)bug-dl-leaf): New rule.
22117         ($(objpfx)bug-dl-leaf.so): Likewise.
22118         ($(objpfx)bug-dl-leaf.out): Likewise.
22119         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22120         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22121         * dlfcn/bug-dl-leaf.c: New test.
22122         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22123         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22124         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22125         (dlclose): Likewise.
22126         (dlmopen): Likewise.
22127
22128 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22129
22130         * include/netdb.h [!_ISOMAC]:
22131         Don't include <tls.h>.
22132         (h_errno, __libc_h_errno): Move declaration and macros out of
22133         [_LIBC_REENTRANT].
22134
22135         * include/resolv.h [_RESOLV_H_]:
22136         Don't include <tls.h>.
22137         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22138         * resolv/res_libc.c: Don't include <tls.h>.
22139         (_res): Use __attribute__ ((nocommon)) in place of
22140         __attribute__ ((section (".bss"))).
22141
22142         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22143         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22144
22145         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22146
22147         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22148         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22149
22150         * resolv/res_mkquery.c: Include <sys/time.h>.
22151
22152         * inet/ifreq.c: Moved to ...
22153         * sysdeps/unix/ifreq.c: ... here.
22154         * inet/ifreq.c: New file, true stub version.
22155
22156         * socket/sa_len.c: New file.
22157         * socket/Makefile (aux): Add it.
22158         * sysdeps/unix/sysv/linux/Makefile
22159         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22160         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22161         and #include <socket/sa_len.c>.
22162         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22163         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22164
22165         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22166         * bits/socket.h: ... here.
22167
22168         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22169         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22170         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22171
22172 2013-08-27  Andreas Schwab  <schwab@suse.de>
22173
22174         [BZ #15736]
22175         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22176         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22177         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22178         * string/test-strcasecmp.c (test_main): Run tests in several
22179         locales.
22180         * string/test-strncasecmp.c (test_main): Likewise.
22181
22182         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22183         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22184         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22185         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22186         (__strncasecmp_ssse3) [PIC]: Likewise.
22187
22188 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22189
22190         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22191
22192         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22193         instead of explicitly declaring xdecrypt.
22194         * nis/nss_nis/nis-publickey.c: Likewise.
22195
22196 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22197
22198         [BZ #15890]
22199         * nscd/aicache.c: Include res_hconf.h.
22200         (addhstaiX): Initialize res_hconf.
22201
22202 2013-08-26  Andreas Schwab  <schwab@suse.de>
22203
22204         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22205         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22206
22207 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22208
22209         * nscd/aicache.c (addhstaiX): Fix indentation.
22210
22211 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22212
22213         * configure.ac: Quote $build_pt_chown test.
22214         * configure: Regenerated.
22215
22216 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22217
22218         [BZ #15532]
22219         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22220         * math/s_cexpf.c (__cexpf): Likewise.
22221         * math/s_cexpl.c (__cexpl): Likewise.
22222         * math/libm-test.inc (cexp_test_data): Correct expected return
22223         value for NaN + i0.  Add another test.
22224
22225 2013-08-22  David S. Miller  <davem@davemloft.net>
22226
22227         * po/ca.po: Update Catalan translation from translation project.
22228         * po/uk.po: Add Ukrainian translations from translation project.
22229
22230 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22231
22232         [BZ #15797]
22233         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22234         is infinite, not alongside NaN test.
22235         * math/s_fdimf.c (__fdimf): Likewise.
22236         * math/s_fdiml.c (__fdiml): Likewise.
22237         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22238         errno is unchanged.
22239
22240 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22241
22242         * argp/argp-help.c: Fix typos.
22243         * crypt/speeds.c: Likewise.
22244         * csu/check_fds.c: Likewise.
22245         * elf/dl-load.c: Likewise.
22246         * elf/dl-open.c: Likewise.
22247         * elf/reldep3.c: Likewise.
22248         * elf/reldep.c: Likewise.
22249         * elf/sprof.c: Likewise.
22250         * iconv/iconv_charmap.c: Likewise.
22251         * iconv/skeleton.c: Likewise.
22252         * iconv/strtab.c: Likewise.
22253         * io/lockf64.c: Likewise.
22254         * libio/libioP.h: Likewise.
22255         * resolv/gai_notify.c: Likewise.
22256         * resolv/ns_name.c: Likewise.
22257         * resolv/ns_samedomain.c: Likewise.
22258         * resolv/res_send.c: Likewise.
22259         * stdlib/random.c: Likewise.
22260         * sunrpc/rpc/xdr.h: Likewise.
22261         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22262         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22263         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22264         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22265         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22266         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22267         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22268         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22269         * sysdeps/mach/hurd/check_fds.c: Likewise.
22270         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22271         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22272         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22273         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22274         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22275         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22276         * sysdeps/pthread/aio_notify.c: Likewise.
22277         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22278         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22279         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22280         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22281         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22282
22283 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22284
22285         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22286         version if bit_Slow_SSE4_2 is set.
22287         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22288         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22289
22290 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22291
22292         [BZ #15867]
22293         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22294         trampoline stack frame information.
22295         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22296         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22297         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22298         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22299         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22300         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22301         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22302         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22303         sa_flags value.
22304         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22305         interrupting a syscall and set with option SA_SIGINFO.
22306
22307 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22308
22309         [BZ #15531]
22310         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22311         argument is infinite.
22312         * math/s_cprojf.c (__cprojf): Likewise.
22313         * math/s_cprojl.c (__cprojl): Likewise.
22314         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22315         * math/libm-test.inc (cproj_test_data): Add more tests.
22316
22317         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22318
22319         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22320         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22321         size.  Use __ffs to determine corresponding shift.
22322
22323 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22324             Roland McGrath  <roland@hack.frob.com>
22325
22326         * Makefile (INSTALL): Remove trailing blank lines from output of
22327         makeinfo.
22328
22329 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22330
22331         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22332         Align 32 bit compat elf_greg to 8 bytes.
22333
22334 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22335
22336         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22337
22338 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22339
22340         * string/strcoll_l.c (coll_seq): New structure.
22341         (get_next_seq_cached): New function.
22342         (get_next_seq): New function.
22343         (do_compare): New function.
22344         (STRCOLL): Use GNU style definition.  Simplify implementation
22345         by using get_next_seq, get_next_seq_cached and do_compare.
22346
22347 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22348
22349         [BZ #14699]
22350         CVE-2013-4237
22351         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22352         member.
22353         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22354         member.
22355         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22356         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22357         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22358         conditional.
22359         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22360         GETDENTS_64BIT_ALIGNED.
22361         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22362         * manual/filesys.texi (Reading/Closing Directory): Document
22363         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22364         strongly.
22365         * manual/conf.texi (Limits for Files): Add portability note to
22366         NAME_MAX, PATH_MAX.
22367         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22368
22369 2013-08-13  Andreas Schwab  <schwab@suse.de>
22370
22371         [BZ #15749]
22372         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22373         of fabs.
22374         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22375         LDBL_MAX_EXP >= 16384]: Add tests for it.
22376
22377 2013-08-12  David S. Miller  <davem@davemloft.net>
22378
22379         * version.h (RELEASE): Set to "development".
22380         (VERSION): Set to "2.18.90".
22381         * NEWS: Add 2.19 section.
22382
22383 2013-08-03  David S. Miller  <davem@davemloft.net>
22384
22385         * po/ko.po: Update Korean translation from translation project.
22386
22387 2013-08-01  David S. Miller  <davem@davemloft.net>
22388
22389         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22390         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22391         Bilka.
22392
22393 2013-07-30  David S. Miller  <davem@davemloft.net>
22394
22395         * po/fr.po: Update French translation from translation project.
22396
22397 2013-07-28  David S. Miller  <davem@davemloft.net>
22398
22399         * po/cs.po: Update Czech translation from translation project.
22400
22401         * po/sv.po: Update Swedish translation from translation project.
22402
22403 2013-07-27  David S. Miller  <davem@davemloft.net>
22404
22405         * po/eo.po: Update Esperanto translation from translation project.
22406
22407         * po/vi.po: Update Vietnamese translation from translation project.
22408
22409         * po/de.po: Update German translation from translation project.
22410
22411 2013-07-26  David S. Miller  <davem@davemloft.net>
22412
22413         * po/bg.po: Update Bulgarian translation from translation project.
22414
22415         * po/nl.po: Update Dutch translation from translation project.
22416         * po/pl.po: Update Polish translation from translation project.
22417         * po/ru.po: Update Russian translation from translation project.
22418
22419 2013-07-24  David S. Miller  <davem@davemloft.net>
22420
22421         * po/libc.pot: Update.
22422
22423 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22424
22425         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22426         variable page size.
22427         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22428         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22429         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22430
22431 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22432
22433         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22434
22435 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22436             Andreas Schwab  <schwab@suse.de>
22437             Roland McGrath  <roland@hack.frob.com>
22438             Joseph Myers  <joseph@codesourcery.com>
22439             Carlos O'Donell  <carlos@redhat.com>
22440
22441         [BZ #15755]
22442         * config.h.in: Define HAVE_PT_CHOWN.
22443         * config.make.in (build-pt-chown): New variable.
22444         * configure.in (--enable-pt_chown): New configure option.
22445         * configure: Regenerate.
22446         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22447         build-pt-chown is enabled.
22448         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22449         pt_chown to fix pty ownership.
22450         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22451         CLOSE_ALL_FDS.
22452         * manual/install.texi (Configuring and compiling): Mention
22453         --enable-pt_chown. Add @findex for grantpt.
22454         * INSTALL: Regenerate.
22455
22456 2013-07-20  David S. Miller  <davem@davemloft.net>
22457
22458         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22459         difference between 32-bit and 64-bit.
22460
22461 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22462
22463         [BZ #15711]
22464         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22465         Avoid system header dependency with -ffreestanding.
22466         ($(objpfx)bits/syscall%d): Likewise.
22467
22468 2013-07-13  David S. Miller  <davem@davemloft.net>
22469
22470         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22471         underflows from atanl/atan2l due to bug 15319.
22472         (casinh_test_data): Likewise.
22473
22474 2013-07-07  David S. Miller  <davem@davemloft.net>
22475
22476         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22477
22478 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22479
22480         * sysdeps/i386/fpu/libm-test-ulps: Update.
22481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22482
22483 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22484
22485         * configure.in (--enable-lock-elision): Fix message text.
22486         * INSTALL: Regenerate.
22487         * configure: Regenerate.
22488
22489 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22490
22491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22492
22493 2013-07-03  Andreas Jaeger  <aj@suse.de>
22494
22495         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22496         define.
22497         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22498         (ptrace_peeksiginfo_args): Add.
22499         (__ptrace_peeksiginfo_flags): Add.
22500         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22501         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22502         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22503
22504 2013-07-03  Allan McRae  <allan@archlinux.org>
22505
22506         * sysdeps/i386/fpu/libm-test-ulps: Update.
22507
22508 2013-07-02  David S. Miller  <davem@davemloft.net>
22509
22510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22511
22512 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22513
22514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22515
22516 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22517
22518         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22520
22521 2013-07-02  Andi Kleen <ak@linux.intel.com>
22522
22523         * config.h.in (ENABLE_LOCK_ELISION): Add.
22524         * configure.in (--enable-lock-elision): Add option.
22525         * manual/install.texi: Document --enable lock elision.
22526         * configure: Regenerate
22527         * INSTALL: Regenerate.
22528
22529 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22530
22531         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22532         SSE4.2 strcasecmp for libc.a.
22533         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22534
22535 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22536
22537         [BZ #13304]
22538         * soft-fp/op-common.h (_FP_FMA): New macro.
22539         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22540         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22541         (_FP_MUL_MEAT_1_imm): ... here.
22542         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22543         (_FP_MUL_MEAT_1_wide): ... here.
22544         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22545         (_FP_MUL_MEAT_1_hard): ... here.
22546         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22547         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22548         (_FP_MUL_MEAT_2_wide): ... here.
22549         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22550         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22551         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22552         (_FP_MUL_MEAT_2_gmp): ... here.
22553         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22554         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22555         (_FP_MUL_MEAT_4_wide): ... here.
22556         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22557         (_FP_MUL_MEAT_4_gmp): ... here.
22558         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22559         (_FP_WFRACBITS_DW_S): Likewise.
22560         (_FP_WFRACXBITS_DW_S): Likewise.
22561         (_FP_HIGHBIT_DW_S): Likewise.
22562         (FP_FMA_S): Likewise.
22563         (_FP_FRAC_HIGH_DW_S): Likewise.
22564         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22565         (_FP_WFRACBITS_DW_D): Likewise.
22566         (_FP_WFRACXBITS_DW_D): Likewise.
22567         (_FP_HIGHBIT_DW_D): Likewise.
22568         (FP_FMA_D): Likewise.
22569         (_FP_FRAC_HIGH_DW_D): Likewise.
22570         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22571         (_FP_WFRACBITS_DW_E): Likewise.
22572         (_FP_WFRACXBITS_DW_E): Likewise.
22573         (_FP_HIGHBIT_DW_E): Likewise.
22574         (FP_FMA_E): Likewise.
22575         (_FP_FRAC_HIGH_DW_E): Likewise.
22576         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22577         (_FP_WFRACBITS_DW_Q): Likewise.
22578         (_FP_WFRACXBITS_DW_Q): Likewise.
22579         (_FP_HIGHBIT_DW_Q): Likewise.
22580         (FP_FMA_Q): Likewise.
22581         (_FP_FRAC_HIGH_DW_Q): Likewise.
22582         * soft-fp/fmasf4.c: New file.
22583         * soft-fp/fmadf4.c: Likewise.
22584         * soft-fp/fmatf4.c: Likewise.
22585
22586 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22587
22588         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22589         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22590         Silvermont.
22591         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22592         macro.
22593         (index_Slow_SSE4_2): Likewise.
22594         (index_Prefer_PMINUB_for_stringop): Likewise.
22595         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22596         bit_Slow_SSE4_2 is set.
22597         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22598         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22599
22600 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22601
22602         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22603         rtld_global._dl_hwcap2.
22604         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22605         POWER8.
22606         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22607         POWER8 feature descriptions defined in _dl_hwcap2.
22608         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22609         string handling for POWER8 feature bits.
22610         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22611         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22612         _dl_powerpc_cap_flags.
22613         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22614         * sysdeps/powerpc/rtld-global-offsets.sym
22615         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22616         _dl_hwcap2 in the rtld_global_ro structure.
22617
22618 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22619
22620         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22621         hardware capabilities in support of AT_HWCAP2.
22622         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22623         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22624         GLRO(dl_hwcap2).
22625         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22626         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22627         explicitly the unknown a_type display mechanism is used.
22628         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22629         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22630         struct member.
22631         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22632         to macro prototype for AT_HWCAP2 support.
22633         * sysdeps/i386/dl-procinfo.h: Likewise.
22634         * sysdeps/s390/dl-procinfo.h: Likewise.
22635         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22636         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22637         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22638         return -1 for unknown a_type display fallback.
22639         * sysdeps/sparc/dl-procinfo.h: Likewise.
22640         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22641         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22642
22643 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22644
22645         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22646         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22647
22648 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22649
22650         [BZ #12492]
22651         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22652         mprotect making __stack_prot writable.
22653
22654 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22655             Joseph Myers  <joseph@codesourcery.com>
22656
22657         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22658         as being properly aligned.
22659
22660 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22661
22662         * dlfcn/modstatic5.c: New file.
22663         * dlfcn/tststatic5.c: New file.
22664         * dlfcn/Makefile (tests): Add tststatic5.
22665         (tests-static): Likewise.
22666         (modules-names): Add modstatic5.
22667         (tststatic5-ENV): New variable.
22668         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22669
22670         [BZ #15022]
22671         * elf/dl-support.c (_dl_main_map): New variable.
22672         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22673         (_dl_nns, _dl_load_adds): Set to 1.
22674         (_dl_initial_searchlist): Refer to _dl_main_map.
22675         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22676         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22677         call to _dl_get_origin.
22678         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22679         around call_map.
22680         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22681         * dlfcn/modstatic3.c: New file.
22682         * dlfcn/tststatic3.c: New file.
22683         * dlfcn/tststatic4.c: New file.
22684         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22685         (tests-static): Likewise.
22686         (modules-names): Add modstatic3.
22687         (tststatic3-ENV, tststatic4-ENV): New variables.
22688         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22689         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22690
22691 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22692
22693         * configure.in (CC): Require GCC version 4.4 or later.
22694         * configure: Regenerated.
22695         * manual/install.texi (Tools for Compilation): Update GCC version
22696         requirement.
22697         * INSTALL: Regenerated.
22698
22699 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22700
22701         [BZ #15674]
22702         * string/test-memcmp.c (check2): New.
22703         (main): Call check2.
22704
22705         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22706
22707 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22708
22709         [BZ #15022]
22710         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22711         over to...
22712         (dl_open_worker) [!SHARED]: ... here.
22713
22714 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22715
22716         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22717
22718 2013-06-25  Richard Henderson  <rth@redhat.com>
22719
22720         * locale/programs/locarchive.c: Include <libc-internal.h>
22721
22722 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22723
22724         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22725         trailing whitespace removed.
22726
22727 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22728
22729         [BZ #10283]
22730         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22731         * locale/programs/locarchive.c: Include libc-mmap.h.
22732         (prepare_address_space): Take two new outputs (the mmap base and len).
22733         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22734         values.
22735         (create_archive): Declare new mmap base and len values for
22736         prepare_address_space, and store the result in ah.
22737         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22738         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22739         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22740         Declare new mmap base and len values for
22741         prepare_address_space, and store the result in new_ah.
22742         (open_archive): Declare new mmap base and len values for
22743         prepare_address_space, and store the result in ah.
22744         (close_archive): If ah->mmap_base is not NULL, use that and
22745         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22746         * sysdeps/generic/libc-mmap.h: New file.
22747
22748 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22749
22750         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22751         (ALIGN_UP): Likewise.
22752         (PTR_ALIGN_DOWN): Likewise.
22753         (PTR_ALIGN_UP): Likewise.
22754
22755 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22756
22757         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22758         entry mapped to PPC_PLATFORM_POWER8.
22759         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22760         POWER8.
22761         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22762         (_dl_string_platform): Add case for exporting platform position for
22763         POWER8.
22764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22765         search path to sysdeps/powerpc/powerpc32/power8 directory.
22766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22767         search path to sysdeps/powerpc/powerpc64/power8 directory.
22768         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22769         power7 directories.
22770         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22771         power7 directories.
22772
22773 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22774
22775         * INSTALL: Regenerate.
22776
22777         * nscd/connections.c (nscd_init): Fix comment.
22778
22779 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22780
22781         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22782
22783         [BZ #15667]
22784         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22785         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22786
22787 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22788
22789         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22790         DL_DST_REQ_STATIC.
22791         (DL_DST_REQ_STATIC): Remove macro.
22792
22793 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22794
22795         [BZ #7006]
22796         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22797         with a shift of 0 bits.
22798
22799 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22800
22801         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22802         $(tststatic-ENV).
22803
22804 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22805
22806         [BZ #15655]
22807         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22808
22809 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22810
22811         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22812         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22813         accepts -fno-tree-loop-distribute-patterns.
22814         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22815         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22816         recursive call.
22817         * string/memset.c (memset): Likewise.
22818         * string/test-memmove.c (simple_memmove): Disable loop transformation
22819         to library calls.
22820         * string/test-memset.c (simple_memset): Likewise.
22821         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22822         * benchtests/bench-memset.c (simple_memset): Likewise.
22823         * configure: Regenerated.
22824
22825 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22826
22827         * math/test-misc.c (main): Ignore fesetround failure when failures
22828         of subsequent rounding tests would be ignored.
22829
22830         [BZ #15654]
22831         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22832         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22833         * math/fegetenv.c (__fegetenv): Return 0.
22834         * math/fegetexcept.c (fegetexcept): Return 0.
22835         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22836         FE_TONEAREST.
22837         * math/feholdexcpt.c (feholdexcept): Return 0.
22838         * math/fesetenv.c (__fesetenv): Return 0.
22839         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22840         argument FE_TONEAREST.
22841         * math/feupdateenv.c (__feupdateenv): Return 0.
22842         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22843
22844 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22845
22846         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22847         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22848         ($(objpfx)rtld-%.os rules): Use them.
22849
22850 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22851
22852         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22853         fields.
22854
22855 2013-06-17  Roland McGrath  <roland@hack.frob.com>
22856
22857         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22858         length of target pattern, then descending length of dependency pattern.
22859         * configure.in (AWK): Require gawk 3.1.2 or newer.
22860         * manual/install.texi (Tools for Compilation): Say that we do.
22861         * configure: Regenerated.
22862
22863         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22864         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22865         * scripts/sysd-rules.awk: ... this new script.
22866         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22867         than a glob-style pattern.
22868
22869 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
22870
22871         * math/test-misc.c (main): Do not treat incorrectly rounded
22872         conversions as failure unless ROUNDING_TESTS passes.
22873
22874 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
22875
22876         [BZ #15631]
22877         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22878         restore exception state around main square root computation, then
22879         check for inexactness explicitly.
22880
22881         * math/libm-test.inc (fma_test_data): Add another test.
22882
22883 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22884
22885         * manual/threads.texi (Non-POSIX Extensions): New document
22886         node.  Document pthread_getattr_default_np and
22887         pthread_setattr_default_np.
22888
22889         * Versions.def (libpthread): Add GLIBC_2.18.
22890         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22892         Likewise.
22893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22894         Likewise.
22895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22896         Likewise.
22897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22898         Likewise.
22899         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22900         Likewise.
22901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22902         Likewise.
22903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22904         Likewise.
22905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22906         Likewise.
22907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22908         Likewise.
22909
22910 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22911
22912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22913         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22914
22915 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22916             H.J. Lu  <hjl.tools@gmail.com>
22917
22918         [BZ #15627]
22919         * sysdeps/x86_64/rtld-memset.c: Remove file.
22920         * sysdeps/x86_64/rtld-memset.S: New file.
22921
22922 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
22923
22924         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22925         (test_in_one_mode): Take arguments for whether the rounding mode
22926         is supported for each floating-point type.
22927         (do_test): Pass new arguments to test_in_one_mode using
22928         ROUNDING_TESTS.
22929
22930 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22931
22932         * posix/tst-waitid.c (do_test): Distinguish different instances of
22933         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
22934         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22935         before entering the kernel for waitpid.
22936
22937 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22938
22939         * NEWS: Fix note on clock function precision.  Text by Roland
22940         McGrath.
22941
22942 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22943
22944         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22945         it into place only when and if the sanity check passes.
22946
22947 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
22948
22949         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22950         output for whether conversion result is exact.  Take argument
22951         indicating whether type is IBM long double.
22952         (round_for_all): Change need_exact field to ibm_ld.
22953         * stdlib/tst-strtod-round.c (struct exactness): New type.
22954         (struct test): Change bool ld_ok field to struct exactness exact.
22955         (TEST): Update all definitions for change to field.
22956         (tests): Regenerate array contents.
22957         (test_in_one_mode): Take pointer to new field instead of old ld_ok
22958         field value.  Check for IBM long double here.
22959         (do_test): Update calls to test_in_one_mode.
22960
22961 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22962
22963         [BZ #12515]
22964         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22965         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22966
22967 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22968
22969         [BZ #15605]
22970         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22971         generated by the compiler on loop optimizations.
22972         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22973         general definitions.
22974
22975 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
22976
22977         * math/bug-nextafter.c: Include <math-tests.h>.
22978         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22979         the relevant type.
22980         * math/bug-nexttoward.c: Include <math-tests.h>.
22981         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22982         the relevant type.
22983         * math/test-misc.c: Include <math-tests.h>.
22984         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22985         the relevant type.
22986
22987 2013-06-12  Andreas Jaeger  <aj@suse.de>
22988
22989         * po/ia.po: Update Interlingua translation from translation
22990         project.
22991
22992 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22993
22994         * include/fenv.h: Include stdbool.h.
22995         (struct rm_ctx): New structure.
22996         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22997         Define macro.
22998         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22999         (SET_RESTORE_ROUNDF): Likewise.
23000         (SET_RESTORE_ROUNDL): Likewise.
23001         (SET_RESTORE_ROUND_NOEX): Likewise.
23002         (SET_RESTORE_ROUND_NOEXF): Likewise.
23003         (SET_RESTORE_ROUND_NOEXL): Likewise.
23004         (SET_RESTORE_ROUND_53BIT): Likewise.
23005         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23006         (libc_feresetround_noexf_ctx): Likewise.
23007         (libc_feresetround_noexl_ctx): Likewise.
23008         (libc_feholdsetround_53bit_ctx): Likewise.
23009         (libc_feresetround_53bit_ctx): Likewise.
23010         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23011         (libc_feholdexcept_setround_sse_ctx): New function.
23012         (libc_fesetenv_sse_ctx): Likewise.
23013         (libc_feupdateenv_sse_ctx): Likewise.
23014         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23015         (libc_feholdexcept_setround_387_ctx): Likewise.
23016         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23017         (libc_feholdsetround_387_prec_ctx): Likewise.
23018         (libc_feholdsetround_387_ctx): Likewise.
23019         (libc_feholdsetround_387_53bit_ctx): Likewise.
23020         (libc_feholdsetround_sse_ctx): Likewise.
23021         (libc_feresetround_sse_ctx): Likewise.
23022         (libc_feresetround_387_ctx): Likewise.
23023         (libc_feupdateenv_387_ctx): Likewise.
23024         (libc_feholdexcept_setroundf_ctx): Define macro.
23025         (libc_fesetenvf_ctx): Likewise.
23026         (libc_feupdateenvf_ctx): Likewise.
23027         (libc_feholdsetroundf_ctx): Likewise.
23028         (libc_feresetroundf_ctx): Likewise.
23029         (libc_feholdexcept_setround_ctx): Likewise.
23030         (libc_fesetenv_ctx): Likewise.
23031         (libc_feupdateenv_ctx): Likewise.
23032         (libc_feholdsetround_ctx): Likewise.
23033         (libc_feresetround_ctx): Likewise.
23034         (libc_feholdexcept_setroundl_ctx): Likewise.
23035         (libc_feupdateenvl_ctx): Likewise.
23036         (libc_feholdsetroundl_ctx): Likewise.
23037         (libc_feresetroundl_ctx): Likewise.
23038         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23039         (libc_feresetround_53bit_ctx): Likewise.
23040
23041 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23042
23043         * locale/iso-639.def: Convert to UTF-8.
23044
23045 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23046
23047         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23048         (EXCEPTION_TESTS_double): Likewise.
23049         (EXCEPTION_TESTS_long_double): Likewise.
23050         (EXCEPTION_TESTS): Likewise.
23051         * math/libm-test.inc (test_exceptions): Only test exceptions if
23052         EXCEPTION_TESTS (FLOAT).
23053
23054 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23055
23056         * benchtests/Makefile (string-bench): Add strcpy_chk and
23057         stpcpy_chk.
23058         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23059         * benchtests/bench-stpcpy_chk.c: New file.
23060         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23061         * benchtests/bench-strcpy_chk.c: New file.
23062         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23063         code.
23064         (do_test): Likewise.
23065
23066 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23067
23068         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23069         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23070         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23071         with tabs where appropriate.
23072         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23073         dl-procinfo.h.
23074         [PPC_PLATFORM_PPC440]: Likewise.
23075         [PPC_PLATFORM_PPC464]: Likewise.
23076         [PPC_PLATFORM_PPC476]: Likewise.
23077         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23078         ppc464, and ppc476 platform strings merging from ports/
23079         dl-procinfo.h.
23080
23081 2013-06-11  Andreas Schwab  <schwab@suse.de>
23082
23083         [BZ #14991]
23084         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23085         (from_ucs4_idx): Regenerate.
23086         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23087         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23088         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23089         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23090         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23091         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23092         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23093         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23094         from FROM_LOOP and TO_LOOP specific macros.
23095         (BODY): Handle combining characters.
23096         * iconvdata/BIG5HKSCS.irreversible: Update.
23097         * iconvdata/BIG5HKSCS.precomposed: New file.
23098         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23099         characters.
23100         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23101
23102 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23103
23104         * include/sys/time.h: Fix indentation and add copyright header.
23105
23106         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23107         (do_test): Likewise.
23108         * string/test-memchr.c (do_one_test): Likewise.
23109         (do_test): Likewise.
23110         * string/test-memcmp.c (do_one_test): Likewise.
23111         (do_test): Likewise.
23112         * string/test-memcpy.c (do_one_test): Likewise.
23113         (do_test): Likewise.
23114         * string/test-memmem.c (do_one_test): Likewise.
23115         (do_test): Likewise.
23116         (do_random_tests): Likewise.
23117         * string/test-memmove.c (do_one_test): Likewise.
23118         (do_test): Likewise.
23119         * string/test-memset.c (do_one_test): Likewise.
23120         (do_test): Likewise.
23121         * string/test-rawmemchr.c (do_one_test): Likewise.
23122         (do_test): Likewise.
23123         * string/test-strcasecmp.c (do_one_test): Likewise.
23124         (do_test): Likewise.
23125         * string/test-strcasestr.c (do_one_test): Likewise.
23126         (do_test): Likewise.
23127         * string/test-strcat.c (do_one_test): Likewise.
23128         (do_test): Likewise.
23129         * string/test-strchr.c (do_one_test): Likewise.
23130         (do_test): Likewise.
23131         * string/test-strcmp.c (do_one_test): Likewise.
23132         (do_test): Likewise.
23133         * string/test-strcpy.c (do_one_test): Likewise.
23134         (do_test): Likewise.
23135         * string/test-string.h: Likewise.
23136         (test_init): Likewise.
23137         * string/test-strlen.c (do_one_test): Likewise.
23138         (do_test): Likewise.
23139         * string/test-strncasecmp.c (do_one_test): Likewise.
23140         (do_test): Likewise.
23141         * string/test-strncat.c (do_one_test): Likewise.
23142         (do_test): Likewise.
23143         * string/test-strncmp.c (do_one_test): Likewise.
23144         (do_test_limit): Likewise.
23145         (do_test): Likewise.
23146         * string/test-strncpy.c (do_one_test): Likewise.
23147         (do_test): Likewise.
23148         * string/test-strnlen.c (do_one_test): Likewise.
23149         (do_test): Likewise.
23150         * string/test-strpbrk.c (do_one_test): Likewise.
23151         (do_test): Likewise.
23152         * string/test-strrchr.c (do_one_test): Likewise.
23153         (do_test): Likewise.
23154         * string/test-strspn.c (do_one_test): Likewise.
23155         (do_test): Likewise.
23156         * string/test-strstr.c (do_one_test): Likewise.
23157         (do_test): Likewise.
23158
23159         * benchtests/Makefile (string-bench): Add string benchmarks.
23160         * benchtests/bench-bcopy-ifunc.c: New file.
23161         * benchtests/bench-bcopy.c: New file.
23162         * benchtests/bench-bzero-ifunc.c: New file.
23163         * benchtests/bench-bzero.c: New file.
23164         * benchtests/bench-memccpy-ifunc.c: New file.
23165         * benchtests/bench-memccpy.c: New file.
23166         * benchtests/bench-memchr-ifunc.c: New file.
23167         * benchtests/bench-memchr.c: New file.
23168         * benchtests/bench-memcmp-ifunc.c: New file.
23169         * benchtests/bench-memcmp.c: New file.
23170         * benchtests/bench-memmem-ifunc.c: New file.
23171         * benchtests/bench-memmem.c: New file.
23172         * benchtests/bench-memmove-ifunc.c: New file.
23173         * benchtests/bench-memmove.c: New file.
23174         * benchtests/bench-mempcpy-ifunc.c: New file.
23175         * benchtests/bench-mempcpy.c: New file.
23176         * benchtests/bench-memset-ifunc.c: New file.
23177         * benchtests/bench-memset.c: New file.
23178         * benchtests/bench-rawmemchr-ifunc.c: New file.
23179         * benchtests/bench-rawmemchr.c: New file.
23180         * benchtests/bench-stpcpy-ifunc.c: New file.
23181         * benchtests/bench-stpcpy.c: New file.
23182         * benchtests/bench-stpncpy-ifunc.c: New file.
23183         * benchtests/bench-stpncpy.c: New file.
23184         * benchtests/bench-strcasecmp-ifunc.c: New file.
23185         * benchtests/bench-strcasecmp.c: New file.
23186         * benchtests/bench-strcasestr-ifunc.c: New file.
23187         * benchtests/bench-strcasestr.c: New file.
23188         * benchtests/bench-strcat-ifunc.c: New file.
23189         * benchtests/bench-strcat.c: New file.
23190         * benchtests/bench-strchr-ifunc.c: New file.
23191         * benchtests/bench-strchr.c: New file.
23192         * benchtests/bench-strchrnul-ifunc.c: New file.
23193         * benchtests/bench-strchrnul.c: New file.
23194         * benchtests/bench-strcmp-ifunc.c: New file.
23195         * benchtests/bench-strcmp.c: New file.
23196         * benchtests/bench-strcpy-ifunc.c: New file.
23197         * benchtests/bench-strcpy.c: New file.
23198         * benchtests/bench-strcspn-ifunc.c: New file.
23199         * benchtests/bench-strcspn.c: New file.
23200         * benchtests/bench-strlen-ifunc.c: New file.
23201         * benchtests/bench-strlen.c: New file.
23202         * benchtests/bench-strncasecmp-ifunc.c: New file.
23203         * benchtests/bench-strncasecmp.c: New file.
23204         * benchtests/bench-strncat-ifunc.c: New file.
23205         * benchtests/bench-strncat.c: New file.
23206         * benchtests/bench-strncmp-ifunc.c: New file.
23207         * benchtests/bench-strncmp.c: New file.
23208         * benchtests/bench-strncpy-ifunc.c: New file.
23209         * benchtests/bench-strncpy.c: New file.
23210         * benchtests/bench-strnlen-ifunc.c: New file.
23211         * benchtests/bench-strnlen.c: New file.
23212         * benchtests/bench-strpbrk-ifunc.c: New file.
23213         * benchtests/bench-strpbrk.c: New file.
23214         * benchtests/bench-strrchr-ifunc.c: New file.
23215         * benchtests/bench-strrchr.c: New file.
23216         * benchtests/bench-strspn-ifunc.c: New file.
23217         * benchtests/bench-strspn.c: New file.
23218         * benchtests/bench-strstr-ifunc.c: New file.
23219         * benchtests/bench-strstr.c: New file.
23220
23221         * benchtests/Makefile: Disable parallel execution of targets.
23222         (string-bench): Add memcpy.
23223         (benchset): New variable to store a list of benchmark sets.
23224         (bench-func): Renamed from bench.
23225         (bench-set): New target.
23226         (bench): Depend on bench-func and bench-set.
23227         * benchtests/README: Add section on benchmark sets.
23228         * benchtests/bench-memcpy-ifunc.c: New file.
23229         * benchtests/bench-memcpy.c: New file.
23230         * benchtests/bench-string.h: New file.
23231
23232 2013-06-11  Andreas Schwab  <schwab@suse.de>
23233
23234         [BZ #15577]
23235         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23236         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23237         values in the triple.
23238         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23239         terminator in the group key.
23240
23241 2013-06-11  Andreas Jaeger  <aj@suse.de>
23242
23243         * po/zh_TW.po: Update Chinese (traditional) translation from
23244         translation project.
23245
23246 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23247
23248         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23249         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23250         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23251         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23252         (clock_getcpuclockid): Likewise.
23253         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23254         Add weak_alias and libc_hidden_def.
23255         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23256         * rt/clock_gettime.c (clock_gettime): Rename to
23257         __clock_gettime.  Add weak_alias and libc_hidden_def.
23258         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23259         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23260         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23261         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23262         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23263         Likewise.
23264         * rt/clock_settime.c (clock_settime): Rename to
23265         __clock_settime.  Add weak_alias and libc_hidden_def.
23266         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23267
23268 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23269
23270         * mach/err_boot.sub: Remove trailing whitespace.
23271         * mach/err_ipc.sub: Likewise.
23272         * mach/err_mach.sub: Likewise.
23273
23274         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23275         (ROUNDING_TESTS_double): Likewise.
23276         (ROUNDING_TESTS_long_double): Likewise.
23277         (ROUNDING_TESTS): Likewise.
23278         * math/libm-test.inc: Include <math-tests.h>.
23279         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23280         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23281         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23282         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23283
23284 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23285
23286         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23287         of assigning.
23288
23289 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23290
23291         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23292         otherwise empty TRANS lines.
23293         * sysdeps/gnu/errlist.c: Regenerated.
23294
23295         * catgets/gencat.c (error_print): Use (void) in function
23296         definition.
23297         * crypt/crypt_util.c (__init_des): Likewise.
23298         * crypt/speeds.c (Stop): Likewise.
23299         (main): Likewise.
23300         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23301         * inet/ruserpass.c (token): Likewise.
23302         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23303         * intl/localealias.c (extend_alias_table): Likewise.
23304         * intl/plural-exp.c (init_germanic_plural): Likewise.
23305         * libio/fcloseall.c (__fcloseall): Likewise.
23306         * libio/genops.c (_IO_flush_all): Likewise.
23307         (_IO_flush_all_linebuffered): Likewise.
23308         (_IO_cleanup): Likewise.
23309         (_IO_iter_begin): Likewise.
23310         (_IO_iter_end): Likewise.
23311         (_IO_list_lock): Likewise.
23312         (_IO_list_unlock): Likewise.
23313         (_IO_list_resetlock): Likewise.
23314         * libio/getchar.c (getchar): Likewise.
23315         * libio/getchar_u.c (getchar_unlocked): Likewise.
23316         * libio/getwchar.c (getwchar): Likewise.
23317         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23318         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23319         * login/getpt.c (__getpt): Likewise.
23320         * login/tst-utmp.c (main): Likewise.
23321         * malloc/hooks.c (__malloc_check_init): Likewise.
23322         * malloc/malloc.c (__malloc_stats): Likewise.
23323         * malloc/mtrace.c (tr_break): Likewise.
23324         (mtrace): Likewise.
23325         (muntrace): Likewise.
23326         * misc/fstab.c (endfsent): Likewise.
23327         * misc/getclktck.c (__getclktck): Likewise.
23328         * misc/getdtsz.c (__getdtablesize): Likewise.
23329         * misc/gethostid.c (gethostid): Likewise.
23330         * misc/getpagesize.c (__getpagesize): Likewise.
23331         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23332         (__get_nprocs): Likewise.
23333         (__get_phys_pages): Likewise.
23334         (__get_avphys_pages): Likewise.
23335         * misc/getttyent.c (getttyent): Likewise.
23336         (setttyent): Likewise.
23337         (endttyent): Likewise.
23338         * misc/getusershell.c (getusershell): Likewise.
23339         (endusershell): Likewise.
23340         (setusershell): Likewise.
23341         (initshells): Likewise.
23342         * misc/hsearch.c (__hdestroy): Likewise.
23343         * misc/sync.c (sync): Likewise.
23344         * misc/syslog.c (closelog_internal): Likewise.
23345         (closelog): Likewise.
23346         * misc/ttyslot.c (ttyslot): Likewise.
23347         * misc/vhangup.c (vhangup): Likewise.
23348         * posix/fork.c (__fork): Likewise.
23349         * posix/getegid.c (__getegid): Likewise.
23350         * posix/geteuid.c (__geteuid): Likewise.
23351         * posix/getgid.c (__getgid): Likewise.
23352         * posix/getpid.c (__getpid): Likewise.
23353         * posix/getppid.c (__getppid): Likewise.
23354         * posix/getuid.c (__getuid): Likewise.
23355         * posix/pause.c (pause): Likewise.
23356         * posix/setpgrp.c (setpgrp): Likewise.
23357         * posix/setsid.c (__setsid): Likewise.
23358         * posix/test-vfork.c (noop): Likewise.
23359         * resolv/gethnamaddr.c (_endhtent): Likewise.
23360         (_gethtent): Likewise.
23361         (ht_endhostent): Likewise.
23362         (gethostent): Likewise.
23363         (dns_service): Likewise.
23364         * stdlib/drand48.c (drand48): Likewise.
23365         * stdlib/lrand48.c (lrand48): Likewise.
23366         * stdlib/mrand48.c (mrand48): Likewise.
23367         * stdlib/rand.c (rand): Likewise.
23368         * stdlib/random.c (__random): Likewise.
23369         * stdlib/setenv.c (clearenv): Likewise.
23370         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23371         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23372         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23373         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23374         (__get_nprocs): Likewise.
23375         (__get_phys_pages): Likewise.
23376         (__get_avphys_pages): Likewise.
23377         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23378         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23379         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23380         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23381         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23382         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23383         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23384         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23385         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23386         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23387         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23388         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23389         * sysdeps/posix/clock.c (clock): Likewise.
23390         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23391         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23392         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23393         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23394         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23395         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23396         (__get_nprocs_conf): Likewise.
23397         (__get_phys_pages): Likewise.
23398         (__get_avphys_pages): Likewise.
23399         * time/clock.c (clock): Likewise.
23400         * time/tzset.c (__tzname_max): Likewise.
23401
23402 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23403
23404         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23405         (__bswap_32): Do not use "register".
23406         * crypt/crypt.c (_ufc_doit_r): Likewise.
23407         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23408         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23409         * gmon/gmon.c (__monstartup): Likewise.
23410         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23411         * hurd/hurdmalloc.c (more_memory): Likewise.
23412         (malloc): Likewise.
23413         (free): Likewise.
23414         (realloc): Likewise.
23415         (malloc_fork_prepare): Likewise.
23416         (malloc_fork_parent): Likewise.
23417         (malloc_fork_child): Likewise.
23418         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23419         (_svcauth_des): Likewise.
23420         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23421         * inet/inet_net.c (inet_network): Likewise.
23422         * inet/inet_netof.c (inet_netof): Likewise.
23423         * inet/rcmd.c (__validuser2_sa): Likewise.
23424         * io/fts.c (fts_open): Likewise.
23425         (fts_load): Likewise.
23426         (fts_close): Likewise.
23427         (fts_read): Likewise.
23428         (fts_children): Likewise.
23429         (fts_build): Likewise.
23430         (fts_stat): Likewise.
23431         (fts_sort): Likewise.
23432         (fts_alloc): Likewise.
23433         (fts_lfree): Likewise.
23434         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23435         (_IO_file_xsgetn): Likewise.
23436         (_IO_file_xsgetn_mmap): Likewise.
23437         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23438         (_IO_cookie_write): Likewise.
23439         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23440         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23441         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23442         * malloc/obstack.c (_obstack_begin): Likewise.
23443         (_obstack_begin_1): Likewise.
23444         (_obstack_newchunk): Likewise.
23445         (_obstack_allocated_p): Likewise.
23446         (obstack_free): Likewise.
23447         (_obstack_memory_used): Likewise.
23448         * misc/getttyent.c (getttynam): Likewise.
23449         (getttyent): Likewise.
23450         (skip): Likewise.
23451         (value): Likewise.
23452         * misc/getusershell.c (initshells): Likewise.
23453         * misc/syslog.c (__vsyslog_chk): Likewise.
23454         * misc/ttyslot.c (ttyslot): Likewise.
23455         * nis/nis_hash.c (__nis_hash): Likewise.
23456         * posix/fnmatch_loop.c (FCT): Likewise.
23457         * posix/getconf.c (print_all): Likewise.
23458         (main): Likewise.
23459         * posix/getopt.c (exchange): Likewise.
23460         * posix/glob.c (globfree): Likewise.
23461         (prefix_array): Likewise.
23462         (__glob_pattern_type): Likewise.
23463         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23464         (NS_GET32): Likewise.
23465         (NS_PUT16): Likewise.
23466         (NS_PUT32): Likewise.
23467         * resolv/gethnamaddr.c (getanswer): Likewise.
23468         (gethostbyname2): Likewise.
23469         (gethostbyaddr): Likewise.
23470         (_gethtent): Likewise.
23471         (_gethtbyname2): Likewise.
23472         (_gethtbyaddr): Likewise.
23473         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23474         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23475         * resolv/res_init.c (__res_vinit): Likewise.
23476         (net_mask): Likewise.
23477         * resolv/res_mkquery.c (outchar): Likewise.
23478         (PRINT): Likewise.
23479         * stdio-common/printf_fp.c (outchar): Likewise.
23480         (PRINT): Likewise.
23481         * stdio-common/printf_fphex.c (outchar): Likewise.
23482         (PRINT): Likewise.
23483         * stdio-common/printf_size.c (outchar): Likewise.
23484         (PRINT): Likewise.
23485         * stdio-common/test_rdwr.c (main): Likewise.
23486         * stdio-common/tfformat.c (matches): Likewise.
23487         * stdio-common/vfprintf.c (outchar): Likewise.
23488         (printf_unknown): Likewise.
23489         (buffered_vfprintf): Likewise.
23490         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23491         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23492         (ReadFile): Likewise.
23493         * stdlib/qsort.c (SWAP): Likewise.
23494         (_quicksort): Likewise.
23495         * stdlib/setenv.c (__add_to_environ): Likewise.
23496         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23497         * stdlib/strtol_l.c (__strtol_l): Likewise.
23498         * stdlib/tst-strtod.c (main): Likewise.
23499         * stdlib/tst-strtol.c (main): Likewise.
23500         * stdlib/tst-strtoll.c (main): Likewise.
23501         * string/bits/string2.h (__strcmp_cc): Likewise.
23502         (__strcmp_cg): Likewise.
23503         (__strcspn_c1): Likewise.
23504         (__strcspn_c2): Likewise.
23505         (__strcspn_c3): Likewise.
23506         (__strspn_c1): Likewise.
23507         (__strspn_c2): Likewise.
23508         (__strspn_c3): Likewise.
23509         (__strsep_1c): Likewise.
23510         (__strsep_2c): Likewise.
23511         (__strsep_3c): Likewise.
23512         * string/memccpy.c (__memccpy): Likewise.
23513         * string/stpcpy.c (__stpcpy): Likewise.
23514         * string/strcmp.c (strcmp): Likewise.
23515         * string/strrchr.c (strrchr): Likewise.
23516         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23517         Likewise.
23518         * sysdeps/mach/hurd/getcwd.c
23519         (_hurd_canonicalize_directory_name_internal): Likewise.
23520         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23521         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23522         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23523         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23524         Likewise, in both definitions.
23525         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23526         definitions.
23527         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23528         64] (__bswap_64): Likewise.
23529         * time/test_time.c (main): Likewise.
23530         * time/tzfile.c (__tzfile_read): Likewise.
23531         (__tzfile_compute): Likewise.
23532         * time/tzset.c (__tzset_parse_tz): Likewise.
23533         (tzset_internal): Likewise.
23534         (compute_change): Likewise.
23535         * wcsmbs/wcscat.c (__wcscat): Likewise.
23536         * wcsmbs/wcschr.c (wcschr): Likewise.
23537         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23538         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23539         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23540         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23541         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23542         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23543         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23544         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23545         * wcsmbs/wmemset.c (wmemset): Likewise.
23546
23547 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23548
23549         * scripts/config.guess: Update to version 2013-05-16.
23550         * scripts/config.sub: Update to version 2013-04-24.
23551         * scripts/install-sh: Update to version 2011-11-20.07.
23552         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23553         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23554
23555 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23556
23557         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23558         * elf/sln.c: Likewise.
23559         * hurd/hurd/ioctl.h: Likewise.
23560         * hurd/hurdmalloc.c: Likewise.
23561         * hurd/xattr.c: Likewise.
23562         * include/shlib-compat.h: Likewise.
23563         * inet/ruserpass.c: Likewise.
23564         * libio/iofgets_u.c: Likewise.
23565         * libio/iofgetws_u.c: Likewise.
23566         * locale/programs/ld-identification.c: Likewise.
23567         * locale/programs/ld-time.c: Likewise.
23568         * mach/msg-destroy.c: Likewise.
23569         * nss/nss_files/files-netgrp.c: Likewise.
23570         * resolv/res_data.c: Likewise.
23571         * soft-fp/op-1.h: Likewise.
23572         * soft-fp/op-2.h: Likewise.
23573         * soft-fp/op-4.h: Likewise.
23574         * soft-fp/op-common.h: Likewise.
23575         * stdio-common/printf_fphex.c: Likewise.
23576         * stdlib/strtod_l.c: Likewise.
23577         * sunrpc/rpc/clnt.h: Likewise.
23578         * sysdeps/generic/framestate.c: Likewise.
23579         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23580         * sysdeps/i386/bsd-setjmp.S: Likewise.
23581         * sysdeps/i386/__longjmp.S: Likewise.
23582         * sysdeps/i386/setjmp.S: Likewise.
23583         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23584         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23585         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23586         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23587         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23588         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23589         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23590         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23591         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23592         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23593         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23594         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23595         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23596         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23597         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23598         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23599         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23600         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23601         * sysdeps/ieee754/support.c: Likewise.
23602         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23603         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23604         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23605         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23606         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23607         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23608         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23609         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23610         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23611         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23612         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23613         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23614         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23615         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23616         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23617         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23618         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23620
23621 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23622
23623         * posix/transbug.c: Remove executable mode.
23624
23625 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23626
23627         * crypt/speeds.c: Remove trailing whitespace.
23628         * dlfcn/default.c: Likewise.
23629         * elf/ifuncdep2.c: Likewise.
23630         * elf/ifuncmain1.c: Likewise.
23631         * elf/ifuncmain1vis.c: Likewise.
23632         * elf/testobj.h: Likewise.
23633         * elf/tst-stackguard1.c: Likewise.
23634         * gmon/sys/gmon.h: Likewise.
23635         * hurd/hurdmsg.c: Likewise.
23636         * hurd/new-fd.c: Likewise.
23637         * hurd/ports-get.c: Likewise.
23638         * iconvdata/ibm1008_420.c: Likewise.
23639         * inet/tst-getni1.c: Likewise.
23640         * inet/tst-getni2.c: Likewise.
23641         * libio/ioungetc.c: Likewise.
23642         * libio/wfiledoalloc.c: Likewise.
23643         * manual/libm-err-tab.pl: Likewise.
23644         * math/w_dremf.c: Likewise.
23645         * misc/ftruncate.c: Likewise.
23646         * posix/bug-glob2.c: Likewise.
23647         * posix/tst-pcre.c: Likewise.
23648         * posix/wait4.c: Likewise.
23649         * resolv/README: Likewise.
23650         * resolv/res_debug.h: Likewise.
23651         * resolv/tst-inet_ntop.c: Likewise.
23652         * setjmp/bug269-setjmp.c: Likewise.
23653         * soft-fp/extended.h: Likewise.
23654         * soft-fp/op-1.h: Likewise.
23655         * soft-fp/op-2.h: Likewise.
23656         * soft-fp/op-4.h: Likewise.
23657         * soft-fp/op-8.h: Likewise.
23658         * soft-fp/testit.c: Likewise.
23659         * stdio-common/bug16.c: Likewise.
23660         * stdlib/random.c: Likewise.
23661         * sunrpc/rpcsvc/rquota.x: Likewise.
23662         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23663         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23664         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23665         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23666         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23667         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23668         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23669         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23670         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23671         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23672         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23673         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23674         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23675         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23676         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23677         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23678         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23679         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23680         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23681         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23682         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23683         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23684         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23685         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23686         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23687         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23688         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23689         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23690         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23691         * sysdeps/ieee754/s_lib_version.c: Likewise.
23692         * sysdeps/mach/hurd/check_fds.c: Likewise.
23693         * sysdeps/mach/hurd/getsockname.c: Likewise.
23694         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23695         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23696         * sysdeps/powerpc/bits/link.h: Likewise.
23697         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23698         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23699         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23700         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23701         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23702         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23703         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23704         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23705         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23706         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23707         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23708         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23709         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23710         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23711         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23712         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23713         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23714         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23715         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23716         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23717         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23718         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23719         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23720         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23721         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23722         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23723         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23724         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23725         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23726         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23727         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23728         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23729         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23730         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23731         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23732         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23733         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23734         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23735         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23736         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23737         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23738         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23739         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23740         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23741         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23742         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23743         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23744         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23745         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23746         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23747         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23748         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23749         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23750         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23751         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23752         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23753         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23754         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23755         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23756         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23757         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23758         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23759         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23760         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23761         * sysdeps/powerpc/sysdep.h: Likewise.
23762         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23763         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23764         * sysdeps/sh/dl-trampoline.S: Likewise.
23765         * sysdeps/sh/memset.S: Likewise.
23766         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23767         * sysdeps/sh/strlen.S: Likewise.
23768         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23769         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23770         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23771         * sysdeps/sparc/sparc32/rem.S: Likewise.
23772         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23773         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23774         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23775         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23776         * sysdeps/sparc/sparc32/urem.S: Likewise.
23777         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23778         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23779         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23780         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23781         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23782         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23783         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23784         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23785         * sysdeps/unix/bsd/times.c: Likewise.
23786         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23787         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23791         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23792         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23793         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23794         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23795         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23796         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23797         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23798         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23799         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23800         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23801         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23802         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23803         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23804         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23805         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23806         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23807         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23808         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23809         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23810         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23811         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23812         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23813         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23814         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23815         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23816         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23817         * sysdeps/x86_64/strcspn.S: Likewise.
23818
23819 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23820
23821         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23822         generated file.  Regenerate properly from gen-translit.pl.
23823         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23824         locale/C-translit.h.
23825
23826 2013-06-05  Andreas Schwab  <schwab@suse.de>
23827
23828         [BZ #15100]
23829         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23830         week as 6 instead of -1.
23831         * time/tst-strptime.c (day_tests): Add test case.
23832
23833 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23834
23835         * sysdeps/generic/math_private.h
23836         (libc_feholdexcept_setround_53bit): Replace with
23837         libc_feholdsetround_53bit.
23838         (libc_feupdateenv_53bit): Replace with
23839         libc_feresetround_53bit.
23840         (SET_RESTORE_ROUND_53BIT): Adjust.
23841
23842 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23843
23844         * string/test-strchrnul.c: Add copyright header.
23845
23846         * posix/tst-getaddrinfo4.c: Increase test timeout.
23847
23848 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23849
23850         [BZ #15536]
23851         * math/libm-test.inc (MAX_EXP): Remove
23852         (MIN_EXP): Define.
23853         (ulp): Use MIN_EXP - MANT_DIG.
23854         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23855
23856 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
23857
23858         * po/be.po: Revert last change.
23859         * po/zh_CN.po: Likewise.
23860         * po/header.pot: Likewise.
23861
23862 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
23863
23864         * Makefile ($(common-objpfx)linkobj/libc.so): Define
23865         link-libc-deps to empty as target-specific variable.
23866         * Makerules (link-libc-args): New variable.
23867         (libc-for-link): Likewise.
23868         (link-libc-deps): Likewise.
23869         (lib%.so): Depend on $(link-libc-deps).  Link with
23870         $(link-libc-args).
23871         (build-module): Link with $(link-libc-args).
23872         (build-module-asneeded): Likewise.
23873         (build-module-helper-objlist): Filter out $(link-libc-deps) from
23874         list of objects.
23875         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23876         target-specific variable.
23877         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23878         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23879         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23880         libc.
23881         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23882         libc and ld.so.
23883         ($(objpfx)libpcprofile.so): Likewise.
23884         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23885         libc_nonshared.a.
23886         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23887         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23888         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23889         $(link-libc-deps).
23890         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23891         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23892         * login/Makefile ($(objpfx)libutil.so): Likewise.
23893         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23894         * math/Makefile ($(objpfx)libm.so): Likewise.
23895         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23896         $(objpfx)libnsl.so): Define libc-for-link as target-specific
23897         variable instead of depending directly on libc.
23898         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23899         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23900         $(link-libc-deps).
23901         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23902         libc.
23903         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23904         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23905         ($(objpfx)libanl.so): Likewise.
23906         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23907         ld.so.
23908         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23909         $(link-libc-deps).
23910         * sysdeps/i386/fpu/Makefile: Remove file.
23911         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23912         ($(objpfx)libm.so): Remove dependency on ld.so.
23913
23914 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
23915
23916         [BZ # 15553]
23917         * nis/yp_xdr.c (XDRMAXNAME): Define.
23918         (XDRMAXRECORD): Define.
23919         (xdr_domainname): Use XDRMAXNAME.
23920         (xdr_mapname): Likewise.
23921         (xdr_peername): Likewise.
23922         (xdr_keydat): Use XDRMAXRECORD.
23923         (xdr_valdat): Likewise.
23924
23925 2013-05-30  Jeff Law  <law@redhat.com>
23926
23927         [BZ #14256]
23928         * manual/errno.texi (ESTALE): Update to account for more than
23929         just NFS file systems.
23930         * sysdeps/gnu/errlist.c: Regenerated.
23931
23932 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23933
23934         [BZ #15465]
23935         * elf/Makefile (tests): Add tst-null-argv.
23936         (modules-names):  Add tst-null-argv-lib.
23937         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23938         (tst-null-argv-ENV): Set environment for tst-null-argv.
23939         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23940         (RTLD_PROGNAME): New macro.
23941         * elf/tst-null-argv.c: New test case.
23942         * elf/tst-null-argv-lib.c: Library for test case.
23943         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23944         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23945         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23946         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23947         * elf/dl-init.c (call_init): Likewise.
23948         (_dl_init): Likewise.
23949         * elf/dl-load.c (print_search_path): Likewise.
23950         (_dl_map_object): Likewise.
23951         * elf/dl-lookup.c (do_lookup_x): Likewise.
23952         (add_dependency): Likewise.
23953         (_dl_lookup_symbol_x): Likewise.
23954         (_dl_debug_bindings): Likewise.
23955         * elf/dl-open.c (_dl_show_scope): Likewise.
23956         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23957         * elf/dl-version.c (match_symbol): Likewise.
23958         (_dl_check_map_versions): Likewise.
23959         * elf/rtld.c (dl_main): Likewise.
23960         (print_unresolved): Use RTLD_PROGNAME.
23961         (print_missing_version): Likewise.
23962         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23963         (elf_machine_rela): Likewise.
23964         * sysdeps/powerpc/powerpc32/dl-machine.c
23965         (__process_machine_rela): Likewise.
23966         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23967         Likewise.
23968         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23969         Likewise.
23970         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23971         Likewise.
23972         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23973         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23974         Likewise.
23975         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23976         Likewise.
23977         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23978
23979 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
23980
23981         * po/be.po: Add descriptive title.
23982         * po/zh_CN.po: Likewise.
23983         * po/header.pot: Likewise.
23984
23985 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
23986
23987         * locale/programs/locarchive.c (create_archive): Inlucde fname in
23988         error message.
23989         (enlarge_archive): Likewise.
23990
23991 2013-05-28  Ben North  <ben@redfrontdoor.org>
23992
23993         * manual/arith.texi (frexp): It is the magnitude of the return
23994         value which lies in [0.5, 1), not the return value itself.
23995
23996 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23997
23998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23999
24000 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24001
24002         * stdio-common/bug26.c (main): Correct fscanf template.
24003
24004         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24005         declare _dl_skip_args.
24006
24007         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24008         Don't declare.
24009
24010         * manual/platform.texi: Add missing @end deftypefun.
24011
24012 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24013
24014         [BZ #15529]
24015         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24016         bit of mantissa of 2^16382.
24017         * math/libm-test.inc (hypot_test_data): Add more tests.
24018
24019         * math/libm-test.inc: Add drem and pow10 to list of tested
24020         functions.
24021         (pow10_test): New function.
24022         (drem_test): Likewise.
24023         (drem_test_tonearest): Likewise.
24024         (drem_test_towardzero): Likewise.
24025         (drem_test_downward): Likewise.
24026         (drem_test_upward): Likewise.
24027         (main): Call the new functions.
24028
24029         * math/libm-test.inc (finite_test_data): Remove.
24030         (finite_test): Run tests from isfinite_test_data.
24031         (gamma_test_data): Remove.
24032         (gamma_test): Run tests from lgamma_test_data.
24033         * sysdeps/i386/fpu/libm-test-ulps: Update.
24034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24035
24036 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24037
24038         * manual/platform.texi: Add PowerPC PPR function set documentation.
24039         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24040         implementation.
24041
24042 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24043
24044         * math/libm-test.inc (MAX_EXP): Define.
24045         (ULPDIFF): Define.
24046         (ulp): New function.
24047         (check_float_internal): Use ULPDIFF.
24048         (cpow_test): Disable failing test.
24049         (check_ulp): Test ulp() implemetnation.
24050         (main): Call check_ulp before starting tests.
24051
24052 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24053
24054         * math/gen-libm-test.pl (generate_testfile): Do not handle
24055         START_DATA and END_DATA.
24056         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24057         END_DATA.
24058         (acos_tonearest_test_data): Likewise.
24059         (acos_towardzero_test_data): Likewise.
24060         (acos_downward_test_data): Likewise.
24061         (acos_upward_test_data): Likewise.
24062         (acosh_test_data): Likewise.
24063         (asin_test_data): Likewise.
24064         (asin_tonearest_test_data): Likewise.
24065         (asin_towardzero_test_data): Likewise.
24066         (asin_downward_test_data): Likewise.
24067         (asin_upward_test_data): Likewise.
24068         (asinh_test_data): Likewise.
24069         (atan_test_data): Likewise.
24070         (atanh_test_data): Likewise.
24071         (atan2_test_data): Likewise.
24072         (cabs_test_data): Likewise.
24073         (cacos_test_data): Likewise.
24074         (cacosh_test_data): Likewise.
24075         (carg_test_data): Likewise.
24076         (casin_test_data): Likewise.
24077         (casinh_test_data): Likewise.
24078         (catan_test_data): Likewise.
24079         (catanh_test_data): Likewise.
24080         (cbrt_test_data): Likewise.
24081         (ccos_test_data): Likewise.
24082         (ccosh_test_data): Likewise.
24083         (ceil_test_data): Likewise.
24084         (cexp_test_data): Likewise.
24085         (cimag_test_data): Likewise.
24086         (clog_test_data): Likewise.
24087         (clog10_test_data): Likewise.
24088         (conj_test_data): Likewise.
24089         (copysign_test_data): Likewise.
24090         (cos_test_data): Likewise.
24091         (cos_tonearest_test_data): Likewise.
24092         (cos_towardzero_test_data): Likewise.
24093         (cos_downward_test_data): Likewise.
24094         (cos_upward_test_data): Likewise.
24095         (cosh_test_data): Likewise.
24096         (cosh_tonearest_test_data): Likewise.
24097         (cosh_towardzero_test_data): Likewise.
24098         (cosh_downward_test_data): Likewise.
24099         (cosh_upward_test_data): Likewise.
24100         (cpow_test_data): Likewise.
24101         (cproj_test_data): Likewise.
24102         (creal_test_data): Likewise.
24103         (csin_test_data): Likewise.
24104         (csinh_test_data): Likewise.
24105         (csqrt_test_data): Likewise.
24106         (ctan_test_data): Likewise.
24107         (ctan_tonearest_test_data): Likewise.
24108         (ctan_towardzero_test_data): Likewise.
24109         (ctan_downward_test_data): Likewise.
24110         (ctan_upward_test_data): Likewise.
24111         (ctanh_test_data): Likewise.
24112         (ctanh_tonearest_test_data): Likewise.
24113         (ctanh_towardzero_test_data): Likewise.
24114         (ctanh_downward_test_data): Likewise.
24115         (ctanh_upward_test_data): Likewise.
24116         (erf_test_data): Likewise.
24117         (erfc_test_data): Likewise.
24118         (exp_test_data): Likewise.
24119         (exp_tonearest_test_data): Likewise.
24120         (exp_towardzero_test_data): Likewise.
24121         (exp_downward_test_data): Likewise.
24122         (exp_upward_test_data): Likewise.
24123         (exp10_test_data): Likewise.
24124         (exp2_test_data): Likewise.
24125         (expm1_test_data): Likewise.
24126         (fabs_test_data): Likewise.
24127         (fdim_test_data): Likewise.
24128         (finite_test_data): Likewise.
24129         (floor_test_data): Likewise.
24130         (fma_test_data): Likewise.
24131         (fma_towardzero_test_data): Likewise.
24132         (fma_downward_test_data): Likewise.
24133         (fma_upward_test_data): Likewise.
24134         (fmax_test_data): Likewise.
24135         (fmin_test_data): Likewise.
24136         (fmod_test_data): Likewise.
24137         (fpclassify_test_data): Likewise.
24138         (frexp_test_data): Likewise.
24139         (gamma_test_data): Likewise.
24140         (hypot_test_data): Likewise.
24141         (ilogb_test_data): Likewise.
24142         (isfinite_test_data): Likewise.
24143         (isgreater_test_data): Likewise.
24144         (isgreaterequal_test_data): Likewise.
24145         (isinf_test_data): Likewise.
24146         (isless_test_data): Likewise.
24147         (islessequal_test_data): Likewise.
24148         (islessgreater_test_data): Likewise.
24149         (isnan_test_data): Likewise.
24150         (isnormal_test_data): Likewise.
24151         (issignaling_test_data): Likewise.
24152         (isunordered_test_data): Likewise.
24153         (j0_test_data): Likewise.
24154         (j1_test_data): Likewise.
24155         (jn_test_data): Likewise.
24156         (ldexp_test_data): Likewise.
24157         (lgamma_test_data): Likewise.
24158         (lrint_test_data): Likewise.
24159         (lrint_tonearest_test_data): Likewise.
24160         (lrint_towardzero_test_data): Likewise.
24161         (lrint_downward_test_data): Likewise.
24162         (lrint_upward_test_data): Likewise.
24163         (llrint_test_data): Likewise.
24164         (llrint_tonearest_test_data): Likewise.
24165         (llrint_towardzero_test_data): Likewise.
24166         (llrint_downward_test_data): Likewise.
24167         (llrint_upward_test_data): Likewise.
24168         (log_test_data): Likewise.
24169         (log10_test_data): Likewise.
24170         (log1p_test_data): Likewise.
24171         (log2_test_data): Likewise.
24172         (logb_test_data): Likewise.
24173         (logb_downward_test_data): Likewise.
24174         (lround_test_data): Likewise.
24175         (llround_test_data): Likewise.
24176         (modf_test_data): Likewise.
24177         (nearbyint_test_data): Likewise.
24178         (nextafter_test_data): Likewise.
24179         (nexttoward_test_data): Likewise.
24180         (pow_test_data): Likewise.
24181         (pow_tonearest_test_data): Likewise.
24182         (pow_towardzero_test_data): Likewise.
24183         (pow_downward_test_data): Likewise.
24184         (pow_upward_test_data): Likewise.
24185         (remainder_test_data): Likewise.
24186         (remainder_tonearest_test_data): Likewise.
24187         (remainder_towardzero_test_data): Likewise.
24188         (remainder_downward_test_data): Likewise.
24189         (remainder_upward_test_data): Likewise.
24190         (remquo_test_data): Likewise.
24191         (rint_test_data): Likewise.
24192         (rint_tonearest_test_data): Likewise.
24193         (rint_towardzero_test_data): Likewise.
24194         (rint_downward_test_data): Likewise.
24195         (rint_upward_test_data): Likewise.
24196         (round_test_data): Likewise.
24197         (scalb_test_data): Likewise.
24198         (scalbn_test_data): Likewise.
24199         (scalbln_test_data): Likewise.
24200         (signbit_test_data): Likewise.
24201         (sin_test_data): Likewise.
24202         (sin_tonearest_test_data): Likewise.
24203         (sin_towardzero_test_data): Likewise.
24204         (sin_downward_test_data): Likewise.
24205         (sin_upward_test_data): Likewise.
24206         (sincos_test_data): Likewise.
24207         (sinh_test_data): Likewise.
24208         (sinh_tonearest_test_data): Likewise.
24209         (sinh_towardzero_test_data): Likewise.
24210         (sinh_downward_test_data): Likewise.
24211         (sinh_upward_test_data): Likewise.
24212         (sqrt_test_data): Likewise.
24213         (tan_test_data): Likewise.
24214         (tan_tonearest_test_data): Likewise.
24215         (tan_towardzero_test_data): Likewise.
24216         (tan_downward_test_data): Likewise.
24217         (tan_upward_test_data): Likewise.
24218         (tanh_test_data): Likewise.
24219         (tgamma_test_data): Likewise.
24220         (trunc_test_data): Likewise.
24221         (y0_test_data): Likewise.
24222         (y1_test_data): Likewise.
24223         (yn_test_data): Likewise.
24224         (significand_test_data): Likewise.
24225
24226         * math/gen-libm-test.pl (@functions): Remove variable.
24227         (generate_testfile): Don't handle START and END lines.
24228         * math/libm-test.inc (START): New macro.
24229         (END): Likewise.
24230         (END_COMPLEX): Likewise.
24231         (acos_test): Use END macro without arguments.
24232         (acos_test_tonearest): Likewise.
24233         (acos_test_towardzero): Likewise.
24234         (acos_test_downward): Likewise.
24235         (acos_test_upward): Likewise.
24236         (acosh_test): Likewise.
24237         (asin_test): Likewise.
24238         (asin_test_tonearest): Likewise.
24239         (asin_test_towardzero): Likewise.
24240         (asin_test_downward): Likewise.
24241         (asin_test_upward): Likewise.
24242         (asinh_test): Likewise.
24243         (atan_test): Likewise.
24244         (atanh_test): Likewise.
24245         (atan2_test): Likewise.
24246         (cabs_test): Likewise.
24247         (cacos_test): Use END_COMPLEX macro without arguments.
24248         (cacosh_test): Likewise.
24249         (carg_test): Use END macro without arguments.
24250         (casin_test): Use END_COMPLEX macro without arguments.
24251         (casinh_test): Likewise.
24252         (catan_test): Likewise.
24253         (catanh_test): Likewise.
24254         (cbrt_test): Use END macro without arguments.
24255         (ccos_test): Use END_COMPLEX macro without arguments.
24256         (ccosh_test): Likewise.
24257         (ceil_test): Use END macro without arguments.
24258         (cexp_test): Use END_COMPLEX macro without arguments.
24259         (cimag_test): Use END macro without arguments.
24260         (clog_test): Use END_COMPLEX macro without arguments.
24261         (clog10_test): Likewise.
24262         (conj_test): Likewise.
24263         (copysign_test): Use END macro without arguments.
24264         (cos_test): Likewise.
24265         (cos_test_tonearest): Likewise.
24266         (cos_test_towardzero): Likewise.
24267         (cos_test_downward): Likewise.
24268         (cos_test_upward): Likewise.
24269         (cosh_test): Likewise.
24270         (cosh_test_tonearest): Likewise.
24271         (cosh_test_towardzero): Likewise.
24272         (cosh_test_downward): Likewise.
24273         (cosh_test_upward): Likewise.
24274         (cpow_test): Use END_COMPLEX macro without arguments.
24275         (cproj_test): Likewise.
24276         (creal_test): Use END macro without arguments.
24277         (csin_test): Use END_COMPLEX macro without arguments.
24278         (csinh_test): Likewise.
24279         (csqrt_test): Likewise.
24280         (ctan_test): Likewise.
24281         (ctan_test_tonearest): Likewise.
24282         (ctan_test_towardzero): Likewise.
24283         (ctan_test_downward): Likewise.
24284         (ctan_test_upward): Likewise.
24285         (ctanh_test): Likewise.
24286         (ctanh_test_tonearest): Likewise.
24287         (ctanh_test_towardzero): Likewise.
24288         (ctanh_test_downward): Likewise.
24289         (ctanh_test_upward): Likewise.
24290         (erf_test): Use END macro without arguments.
24291         (erfc_test): Likewise.
24292         (exp_test): Likewise.
24293         (exp_test_tonearest): Likewise.
24294         (exp_test_towardzero): Likewise.
24295         (exp_test_downward): Likewise.
24296         (exp_test_upward): Likewise.
24297         (exp10_test): Likewise.
24298         (exp2_test): Likewise.
24299         (expm1_test): Likewise.
24300         (fabs_test): Likewise.
24301         (fdim_test): Likewise.
24302         (finite_test): Likewise.
24303         (floor_test): Likewise.
24304         (fma_test): Likewise.
24305         (fma_test_towardzero): Likewise.
24306         (fma_test_downward): Likewise.
24307         (fma_test_upward): Likewise.
24308         (fmax_test): Likewise.
24309         (fmin_test): Likewise.
24310         (fmod_test): Likewise.
24311         (fpclassify_test): Likewise.
24312         (frexp_test): Likewise.
24313         (gamma_test): Likewise.
24314         (hypot_test): Likewise.
24315         (ilogb_test): Likewise.
24316         (isfinite_test): Likewise.
24317         (isgreater_test): Likewise.
24318         (isgreaterequal_test): Likewise.
24319         (isinf_test): Likewise.
24320         (isless_test): Likewise.
24321         (islessequal_test): Likewise.
24322         (islessgreater_test): Likewise.
24323         (isnan_test): Likewise.
24324         (isnormal_test): Likewise.
24325         (issignaling_test): Likewise.
24326         (isunordered_test): Likewise.
24327         (j0_test): Likewise.
24328         (j1_test): Likewise.
24329         (jn_test): Likewise.
24330         (ldexp_test): Likewise.
24331         (lgamma_test): Likewise.
24332         (lrint_test): Likewise.
24333         (lrint_test_tonearest): Likewise.
24334         (lrint_test_towardzero): Likewise.
24335         (lrint_test_downward): Likewise.
24336         (lrint_test_upward): Likewise.
24337         (llrint_test): Likewise.
24338         (llrint_test_tonearest): Likewise.
24339         (llrint_test_towardzero): Likewise.
24340         (llrint_test_downward): Likewise.
24341         (llrint_test_upward): Likewise.
24342         (log_test): Likewise.
24343         (log10_test): Likewise.
24344         (log1p_test): Likewise.
24345         (log2_test): Likewise.
24346         (logb_test): Likewise.
24347         (logb_test_downward): Likewise.
24348         (lround_test): Likewise.
24349         (llround_test): Likewise.
24350         (modf_test): Likewise.
24351         (nearbyint_test): Likewise.
24352         (nextafter_test): Likewise.
24353         (nexttoward_test): Likewise.
24354         (pow_test): Likewise.
24355         (pow_test_tonearest): Likewise.
24356         (pow_test_towardzero): Likewise.
24357         (pow_test_downward): Likewise.
24358         (pow_test_upward): Likewise.
24359         (remainder_test): Likewise.
24360         (remainder_test_tonearest): Likewise.
24361         (remainder_test_towardzero): Likewise.
24362         (remainder_test_downward): Likewise.
24363         (remainder_test_upward): Likewise.
24364         (remquo_test): Likewise.
24365         (rint_test): Likewise.
24366         (rint_test_tonearest): Likewise.
24367         (rint_test_towardzero): Likewise.
24368         (rint_test_downward): Likewise.
24369         (rint_test_upward): Likewise.
24370         (round_test): Likewise.
24371         (scalb_test): Likewise.
24372         (scalbn_test): Likewise.
24373         (scalbln_test): Likewise.
24374         (signbit_test): Likewise.
24375         (sin_test): Likewise.
24376         (sin_test_tonearest): Likewise.
24377         (sin_test_towardzero): Likewise.
24378         (sin_test_downward): Likewise.
24379         (sin_test_upward): Likewise.
24380         (sincos_test): Likewise.
24381         (sinh_test): Likewise.
24382         (sinh_test_tonearest): Likewise.
24383         (sinh_test_towardzero): Likewise.
24384         (sinh_test_downward): Likewise.
24385         (sinh_test_upward): Likewise.
24386         (sqrt_test): Likewise.
24387         (tan_test): Likewise.
24388         (tan_test_tonearest): Likewise.
24389         (tan_test_towardzero): Likewise.
24390         (tan_test_downward): Likewise.
24391         (tan_test_upward): Likewise.
24392         (tanh_test): Likewise.
24393         (tgamma_test): Likewise.
24394         (trunc_test): Likewise.
24395         (y0_test): Likewise.
24396         (y1_test): Likewise.
24397         (yn_test): Likewise.
24398         (significand_test): Likewise.
24399
24400 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24401
24402         [BZ #15381]
24403         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24404
24405 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24406
24407         [BZ #14894]
24408         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24409         __ppc_mdoio and __ppc_mdoom.
24410         * manual/platform.texi: Document new functions __ppc_yield,
24411         __ppc_mdoio and __ppc_mdoom.
24412
24413 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24414
24415         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24416         (main): Mention "tls" pseudo-hwcap is legacy.
24417         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24418
24419 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24420
24421         * math/gen-libm-test.pl (parse_args): Output only string of
24422         arguments as text for test name, not full call or descriptions of
24423         tests for extra outputs.
24424         (generate_testfile): Do not pass function name to parse_args.
24425         Generate this_func variable from START.
24426         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24427         field to arg_str.
24428         (struct test_ff_f_data): Likewise.
24429         (test_ff_f_data_nexttoward): Likewise.
24430         (struct test_fi_f_data): Likewise.
24431         (struct test_fl_f_data): Likewise.
24432         (struct test_if_f_data): Likewise.
24433         (struct test_fff_f_data): Likewise.
24434         (struct test_c_f_data): Likewise.
24435         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24436         (struct test_fF_f1_data): Likewise.
24437         (struct test_ffI_f1_data): Likewise.
24438         (struct test_c_c_data): Rename test_name field to arg_str.
24439         (struct test_cc_c_data): Likewise.
24440         (struct test_f_i_data): Likewise.
24441         (struct test_ff_i_data): Likewise.
24442         (struct test_f_l_data): Likewise.
24443         (struct test_f_L_data): Likewise.
24444         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24445         and extra2_name.
24446         (COMMON_TEST_SETUP): New macro.
24447         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24448         (COMMON_TEST_CLEANUP): Likewise.
24449         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24450         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24451         macros.
24452         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24453         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24454         macros.
24455         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24456         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24457         cleanup macros.
24458         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24459         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24460         macros.
24461         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24462         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24463         macros.
24464         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24465         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24466         cleanup macros.
24467         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24468         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24469         cleanup macros.
24470         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24471         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24472         cleanup macros.
24473         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24474         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24475         macros.
24476         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24477         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24478         macros.
24479         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24480         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24481         macros.
24482         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24483         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24484         cleanup macros.
24485         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24486         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24487         cleanup macros.
24488         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24489         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24490         macros.
24491         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24492         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24493         cleanup macros.
24494         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24495         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24496         macros.
24497         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24498         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24499         macros.
24500         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24501         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24502         cleanup macros.
24503         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24504
24505 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24506
24507         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24508         to _sifields.sigfault.
24509         (si_addr_lsb): Define new macro.
24510         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24511         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24512         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24513
24514 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24515
24516         [BZ #15441]
24517         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24518         returns -1.
24519         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24520         null return -1.
24521         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24522         loading the domain.
24523
24524 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24525
24526         * math/gen-libm-test.pl (parse_args): Do not include expected
24527         result in test name.
24528         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24529         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24530         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24531         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24532         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24534
24535 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24536
24537         * benchtests/Makefile: Sort function entries.
24538
24539         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24540         tanh, asinh, acosh, atanh.
24541         * benchtests/acos-inputs: New file.
24542         * benchtests/acosh-inputs: New file.
24543         * benchtests/asin-inputs: New file.
24544         * benchtests/asinh-inputs: New file.
24545         * benchtests/atanh-inputs: New file.
24546         * benchtests/cosh-inputs: New file.
24547         * benchtests/log-inputs: New file.
24548         * benchtests/sinh-inputs: New file.
24549         * benchtests/tanh-inputs: New file.
24550
24551 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24552
24553         [BZ #15339]
24554         * posix/tst-getaddrinfo4.c: New test.
24555         * posix/Makefile (tests): Add it.
24556
24557 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24558
24559         [BZ #15339]
24560         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24561         when no services were used.
24562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24563         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24564
24565 2013-05-21  Andreas Schwab  <schwab@suse.de>
24566
24567         [BZ #15014]
24568         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24569         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24570         successful.
24571         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24572         redundant variable declarations and reallocation of buffer when
24573         parsing as IPv6 address.  Always set NSS status when called from
24574         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24575         buffer too small.  Correct computation of needed size.
24576         * nss/Makefile (tests): Add test-digits-dots.
24577         * nss/test-digits-dots.c: New test.
24578
24579 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24580
24581         * benchtests/Makefile: Remove instructions for adding
24582         benchmark tests.
24583         * benchtests/README: New file to explain how to execute and
24584         enhance the benchmark tests.
24585
24586 2013-05-21  Andreas Schwab  <schwab@suse.de>
24587
24588         [BZ #15493]
24589         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24590         * setjmp/tst-sigsetjmp.c: New test.
24591
24592 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24593
24594         * sysdeps/x86_64/memset.S (memset): New implementation.
24595         (__bzero): Likewise.
24596         (__memset_tail): New function.
24597
24598 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24599
24600         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24601         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24602         __memcpy_sse2_unaligned ifunc selection.
24603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24604         Add memcpy-sse2-unaligned.S.
24605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24606         Add: __memcpy_sse2_unaligned.
24607
24608 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24609
24610         [BZ #15490]
24611         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24612         math_force_eval before restoring floating-point envrionment.
24613         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24614         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24615         Likewise.
24616         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24617         <math_private.h>.
24618         (__nearbyintl): Use math_force_eval before restoring
24619         floating-point environment.
24620         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24621
24622         * math/gen-libm-test.pl (special_functions): Remove.
24623         (parse_args): Don't handle TEST_extra.  Handle functions with no
24624         return value.
24625         * math/libm-test.inc (struct test_sincos_data): Replace with
24626         struct test_fFF_11_data.
24627         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24628         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24629         (sincos_test_data): Change element type to struct
24630         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24631         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24632         RUN_TEST_LOOP_sincos.
24633         * math/README.libm-test: Don't mention special handling of
24634         individual functions.
24635         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24636         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24637         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24638         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24639         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24641
24642         * math/gen-libm-test.pl (get_variable): Remove function.
24643         (parse_args): Don't show pointer parameters to call in test
24644         names.  Use "extra output N" in test names for extra outputs
24645         rather than naming variables.
24646
24647 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24648
24649         [BZ #15488]
24650         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24651         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24652         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24653         double tests.
24654         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24655         disable.
24656         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24657         check_long_double.
24658
24659         * math/gen-libm-test.pl (@tests): Remove variable.
24660         ($count): Likewise.
24661         (new_test): Remove function.
24662         (show_exceptions): New function.
24663         (special_functions): Use show_exceptions instead of new_test.
24664         (parse_args): Likewise.
24665         (generate_testfile): Pass only function name in generated call to
24666         print_max_error or print_complex_max_error.
24667         (get_ulps): Do not handle complex tests specially.
24668         (output_test): Rename to ...
24669         (get_all_ulps_for_test): ... this.  Return a string rather than
24670         printing to a file.  Require ulps to be present.
24671         (output_ulps): Generate arrays rather than #defines.
24672         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24673         (struct ulp_data): New type.
24674         (BUILD_COMPLEX_ULP): Remove macro.
24675         (compare_ulp_data): New function.
24676         (find_ulps): Likewise.
24677         (find_test_ulps): Likewise.
24678         (find_function_ulps): Likewise.
24679         (find_complex_function_ulps): Likewise.
24680         (print_max_error): Determine allowed ulps using
24681         find_function_ulps.
24682         (print_complex_max_error): Determine allowed ulps using
24683         find_complex_function_ulps.
24684         (check_float_internal): Determine max ulps using find_test_ulps.
24685         (check_float): Do not take max_ulp parameter.  Update call to
24686         check_float_internal.
24687         (check_complex): Likewise.
24688         (check_int): Do not take max_ulp parameter.
24689         (check_long): Likewise.
24690         (check_bool): Likewise.
24691         (check_longlong): Likewise.
24692         (struct test_f_f_data): Remove max_ulp field.
24693         (struct test_ff_f_data): Likewise.
24694         (struct test_ff_f_data_nexttoward): Likewise.
24695         (struct test_fi_f_data): Likewise.
24696         (struct test_fl_f_data): Likewise.
24697         (struct test_if_f_data): Likewise.
24698         (struct test_fff_f_data): Likewise.
24699         (struct test_c_f_data): Likewise.
24700         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24701         (struct test_fF_f1_data): Likewise.
24702         (struct test_ffI_f1_data): Likewise.
24703         (struct test_c_c_data): Remove max_ulp field.
24704         (struct test_cc_c_data): Likewise.
24705         (struct test_f_i_data): Likewise.
24706         (struct test_ff_i_data): Likewise.
24707         (struct test_f_l_data): Likewise.
24708         (struct test_f_L_data): Likewise.
24709         (struct test_sincos_data): Likewise.
24710         (RUN_TEST_f_f): Do not handle ulps.
24711         (RUN_TEST_LOOP_f_f): Likewise.
24712         (RUN_TEST_2_f): Likewise.
24713         (RUN_TEST_LOOP_2_f): Likewise.
24714         (RUN_TEST_fff_f): Likewise.
24715         (RUN_TEST_LOOP_fff_f): Likewise.
24716         (RUN_TEST_c_f): Likewise.
24717         (RUN_TEST_LOOP_c_f): Likewise.
24718         (RUN_TEST_f_f1): Likewise.
24719         (RUN_TEST_LOOP_f_f1): Likewise.
24720         (RUN_TEST_fF_f1): Likewise.
24721         (RUN_TEST_LOOP_fF_f1): Likewise.
24722         (RUN_TEST_fI_f1): Likewise.
24723         (RUN_TEST_LOOP_fI_f1): Likewise.
24724         (RUN_TEST_ffI_f1): Likewise.
24725         (RUN_TEST_LOOP_ffI_f1): Likewise.
24726         (RUN_TEST_c_c): Likewise.
24727         (RUN_TEST_LOOP_c_c): Likewise.
24728         (RUN_TEST_cc_c): Likewise.
24729         (RUN_TEST_LOOP_cc_c): Likewise.
24730         (RUN_TEST_f_i): Likewise.
24731         (RUN_TEST_LOOP_f_i): Likewise.
24732         (RUN_TEST_f_i_tg): Likewise.
24733         (RUN_TEST_LOOP_f_i_tg): Likewise.
24734         (RUN_TEST_ff_i_tg): Likewise.
24735         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24736         (RUN_TEST_f_b): Likewise.
24737         (RUN_TEST_LOOP_f_b): Likewise.
24738         (RUN_TEST_f_b_tg): Likewise.
24739         (RUN_TEST_LOOP_f_b_tg): Likewise.
24740         (RUN_TEST_f_l): Likewise.
24741         (RUN_TEST_LOOP_f_l): Likewise.
24742         (RUN_TEST_f_L): Likewise.
24743         (RUN_TEST_LOOP_f_L): Likewise.
24744         (RUN_TEST_sincos): Likewise.
24745         (RUN_TEST_LOOP_sincos): Likewise.
24746
24747 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24748
24749         [BZ #15480]
24750         [BZ #15485]
24751         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24752         main case of finite arguments, set rounding mode to FE_TONEAREST
24753         and discard exceptions.
24754         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24755         exceptions.
24756         (remainder_tonearest_test_data): New variable.
24757         (remainder_test_tonearest): New function.
24758         (remainder_towardzero_test_data): New variable.
24759         (remainder_test_towardzero): New function.
24760         (remainder_downward_test_data): New variable.
24761         (remainder_test_downward): New function.
24762         (remainder_upward_test_data): New variable.
24763         (remainder_test_upward): New function.
24764         (main): Call the new test functions.
24765
24766         * math/libm-test.inc (struct test_f_f1_data): Remove field
24767         extra_init.
24768         (struct test_fF_f1_data): Likewise.
24769         (struct test_ffI_f1_data): Likewise.
24770         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24771         based on value of EXTRA_EXPECTED.
24772         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24773         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24774         EXTRA_VAR based on value of EXTRA_EXPECTED.
24775         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24776         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24777         EXTRA_VAR based on value of EXTRA_EXPECTED.
24778         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24779         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24780         EXTRA_VAR based on value of EXTRA_EXPECTED.
24781         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24782         * math/gen-libm-test.pl (parse_args): Don't output initializers
24783         for extra output values.
24784
24785         * math/libm-test.inc (check_int): Expect result to be exactly
24786         equal to expected value and do not handle ulps.
24787         (check_long): Likewise.
24788         (check_longlong): Likewise.
24789
24790         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24791         exceptions.
24792         (cimag_test_data): Likewise.
24793         (conj_test_data): Likewise.
24794         (copysign_test_data): Likewise.
24795         (cproj_test_data): Likewise.
24796         (creal_test_data): Likewise.
24797         (fabs_test_data): Likewise.
24798         (fdim_test_data): Likewise.
24799         (finite_test_data): Likewise.
24800         (floor_test_data): Likewise.
24801         (fmax_test_data): Likewise.
24802         (fmin_test_data): Likewise.
24803         (fmod_test_data): Likewise.
24804         (fpclassify_test_data): Likewise.
24805         (frexp_test_data): Likewise.
24806         (ilogb_test_data): Likewise.
24807         (isfinite_test_data): Likewise.
24808         (isgreater_test_data): Likewise.
24809         (isgreaterequal_test_data): Likewise.
24810         (isinf_test_data): Likewise.
24811         (isless_test_data): Likewise.
24812         (islessequal_test_data): Likewise.
24813         (islessgreater_test_data): Likewise.
24814         (isnan_test_data): Likewise.
24815         (isnormal_test_data): Likewise.
24816         (issignaling_test_data): Likewise.
24817         (isunordered_test_data): Likewise.
24818         (ldexp_test_data): Likewise.
24819         (lrint_test_data): Likewise.
24820         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24821         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24822         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24823         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24824         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24825         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24826         test input.
24827         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24828         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24829         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24830         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24831         that test input.
24832         (lrint_downward_test_data): Test for "inexact" exceptions.
24833         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24834         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24835         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24836         test input.
24837         (lrint_upward_test_data): Test for "inexact" exceptions.
24838         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24839         test input.
24840         (llrint_test_data): Test for "inexact" exceptions.
24841         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24842         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24843         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24844         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24845         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24846         (llrint_downward_test_data): Test for "inexact" exceptions.
24847         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24848         (llrint_upward_test_data): Test for "inexact" exceptions.
24849         (logb_test_data): Likewise.
24850         (logb_downward_test_data): Likewise.
24851         (nextafter_test_data): Likewise.
24852         (nexttoward_test_data): Likewise.
24853         (remainder_test_data): Likewise.
24854         (remquo_test_data): Likewise.
24855         (scalbn_test_data): Likewise.
24856         (scalbln_test_data): Likewise.
24857         (signbit_test_data): Likewise.
24858         (sqrt_test_data): Likewise.
24859         (significand_test_data): Likewise.
24860
24861 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24862
24863         [BZ #15424]
24864         * benchtests/bench-modf.c (struct args): Mark arg0 as
24865         volatile.
24866         * scripts/bench.pl: Mark members of struct args as volatile.
24867
24868 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24869
24870         [BZ # 15497]
24871         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24872         negative infinity on POWER6 or lower.
24873         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24874
24875 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24876
24877         [BZ #15442]
24878         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24879         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24880         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24881         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24882         (_FP_SETQNAN): New macro.
24883         (_FP_SETQNAN_SEMIRAW): Likewise.
24884         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24885         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24886         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24887         (FP_EXTEND): Use _FP_FRAC_SNANP.
24888         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24889         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24890         into account.
24891         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24892         New macro.
24893         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24894         Likewise.
24895
24896 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24897
24898         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24899         with DIVIDE_BY_ZERO_EXCEPTION.
24900         (gamma_test_data): Likewise.
24901         (lgamma_test_data): Likewise.
24902         (log_test_data): Likewise.
24903         (log10_test_data): Likewise.
24904         (log2_test_data): Likewise.
24905         (tgamma_test_data): Likewise.
24906
24907         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24908         (acos_test_tonearest): Likewise.
24909         (acos_test_towardzero): Likewise.
24910         (acos_test_downward): Likewise.
24911         (acos_test_upward): Likewise.
24912         (acosh_test): Likewise.
24913         (asin_test): Likewise.
24914         (asin_test_tonearest): Likewise.
24915         (asin_test_towardzero): Likewise.
24916         (asin_test_downward): Likewise.
24917         (asin_test_upward): Likewise.
24918         (asinh_test): Likewise.
24919         (atan_test): Likewise.
24920         (atanh_test): Likewise.
24921         (atan2_test): Likewise.
24922         (cabs_test): Likewise.
24923         (cacos_test): Likewise.
24924         (cacosh_test): Likewise.
24925         (casin_test): Likewise.
24926         (casinh_test): Likewise.
24927         (catan_test): Likewise.
24928         (catanh_test): Likewise.
24929         (cbrt_test): Likewise.
24930         (ccos_test): Likewise.
24931         (ccosh_test): Likewise.
24932         (cexp_test): Likewise.
24933         (clog_test): Likewise.
24934         (clog10_test): Likewise.
24935         (cos_test): Likewise.
24936         (cos_test_tonearest): Likewise.
24937         (cos_test_towardzero): Likewise.
24938         (cos_test_downward): Likewise.
24939         (cos_test_upward): Likewise.
24940         (cosh_test): Likewise.
24941         (cosh_test_tonearest): Likewise.
24942         (cosh_test_towardzero): Likewise.
24943         (cosh_test_downward): Likewise.
24944         (cosh_test_upward): Likewise.
24945         (cpow_test): Likewise.
24946         (csin_test): Likewise.
24947         (csinh_test): Likewise.
24948         (csqrt_test): Likewise.
24949         (ctan_test): Likewise.
24950         (ctan_test_tonearest): Likewise.
24951         (ctan_test_towardzero): Likewise.
24952         (ctan_test_downward): Likewise.
24953         (ctan_test_upward): Likewise.
24954         (ctanh_test): Likewise.
24955         (ctanh_test_tonearest): Likewise.
24956         (ctanh_test_towardzero): Likewise.
24957         (ctanh_test_downward): Likewise.
24958         (ctanh_test_upward): Likewise.
24959         (erf_test): Likewise.
24960         (erfc_test): Likewise.
24961         (exp_test): Likewise.
24962         (exp_test_tonearest): Likewise.
24963         (exp_test_towardzero): Likewise.
24964         (exp_test_downward): Likewise.
24965         (exp_test_upward): Likewise.
24966         (exp10_test): Likewise.
24967         (exp2_test): Likewise.
24968         (expm1_test): Likewise.
24969         (fmod_test): Likewise.
24970         (gamma_test): Likewise.
24971         (hypot_test): Likewise.
24972         (j0_test): Likewise.
24973         (j1_test): Likewise.
24974         (jn_test): Likewise.
24975         (lgamma_test): Likewise.
24976         (log_test): Likewise.
24977         (log10_test): Likewise.
24978         (log1p_test): Likewise.
24979         (log2_test): Likewise.
24980         (logb_test_downward): Likewise.
24981         (pow_test): Likewise.
24982         (pow_test_tonearest): Likewise.
24983         (pow_test_towardzero): Likewise.
24984         (pow_test_downward): Likewise.
24985         (pow_test_upward): Likewise.
24986         (remainder_test): Likewise.
24987         (remquo_test): Likewise.
24988         (sin_test): Likewise.
24989         (sin_test_tonearest): Likewise.
24990         (sin_test_towardzero): Likewise.
24991         (sin_test_downward): Likewise.
24992         (sin_test_upward): Likewise.
24993         (sincos_test): Likewise.
24994         (sinh_test): Likewise.
24995         (sinh_test_tonearest): Likewise.
24996         (sinh_test_towardzero): Likewise.
24997         (sinh_test_downward): Likewise.
24998         (sinh_test_upward): Likewise.
24999         (sqrt_test): Likewise.
25000         (tan_test): Likewise.
25001         (tan_test_tonearest): Likewise.
25002         (tan_test_towardzero): Likewise.
25003         (tan_test_downward): Likewise.
25004         (tan_test_upward): Likewise.
25005         (tanh_test): Likewise.
25006         (tgamma_test): Likewise.
25007         (y0_test): Likewise.
25008         (y1_test): Likewise.
25009         (yn_test): Likewise.
25010
25011         * math/gen-libm-test.pl (adjust_arg): Remove function.
25012         (special_function): Remove argument $in_func.  Only handle
25013         generating output for tables of tests, not inside functions.
25014         (parse_args): Likewise.
25015         (generate_testfile): Remove variable $in_func.  Update call to
25016         parse_args.
25017         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25018         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25019         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25020         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25021         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25022         (MAX_VALUE_INIT): Rename macro to max_value.
25023         (MIN_VALUE_INIT): Rename macro to min_value.
25024         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25025         (plus_zero): Remove variable.
25026         (minus_zero): Likewise.
25027         (plus_infty): Likewise.
25028         (minus_infty): Likewise.
25029         (qnan_value): Likewise.
25030         (max_value): Likewise.
25031         (min_value): Likewise.
25032         (min_subnorm_value): Likewise.
25033
25034 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25035
25036         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25037         uint64_t or uint32_t usage.
25038         * crypt/sha256-block.c: Likewise.
25039         * crypt/sha256-crypt.c: Likewise.
25040         * crypt/sha256.c: Likewise.
25041         * crypt/sha512-block.c: Likewise.
25042         * crypt/sha512-crypt.c: Likewise.
25043         * crypt/sha512.c: Likewise.
25044         * debug/backtrace-tst.c: Likewise.
25045         * debug/pcprofiledump.c: Likewise.
25046         * elf/cache.c: Likewise.
25047         * elf/dl-cache.c: Likewise.
25048         * elf/dl-misc.c: Likewise.
25049         * elf/dl-profile.c: Likewise.
25050         * elf/dl-support.c: Likewise.
25051         * elf/ldconfig.c: Likewise.
25052         * elf/sprof.c: Likewise.
25053         * iconv/dummy-repertoire.c: Likewise.
25054         * iconv/iconv_charmap.c: Likewise.
25055         * iconv/skeleton.c: Likewise.
25056         * iconvdata/8bit-generic.c: Likewise.
25057         * iconvdata/cp737.h: Likewise.
25058         * iconvdata/cp775.h: Likewise.
25059         * iconvdata/ibm1008.h: Likewise.
25060         * iconvdata/ibm1025.h: Likewise.
25061         * iconvdata/ibm1046.h: Likewise.
25062         * iconvdata/ibm1097.h: Likewise.
25063         * iconvdata/ibm1112.h: Likewise.
25064         * iconvdata/ibm1122.h: Likewise.
25065         * iconvdata/ibm1123.h: Likewise.
25066         * iconvdata/ibm1124.h: Likewise.
25067         * iconvdata/ibm1129.h: Likewise.
25068         * iconvdata/ibm1130.h: Likewise.
25069         * iconvdata/ibm1132.h: Likewise.
25070         * iconvdata/ibm1133.h: Likewise.
25071         * iconvdata/ibm1137.h: Likewise.
25072         * iconvdata/ibm1140.h: Likewise.
25073         * iconvdata/ibm1141.h: Likewise.
25074         * iconvdata/ibm1142.h: Likewise.
25075         * iconvdata/ibm1143.h: Likewise.
25076         * iconvdata/ibm1144.h: Likewise.
25077         * iconvdata/ibm1145.h: Likewise.
25078         * iconvdata/ibm1146.h: Likewise.
25079         * iconvdata/ibm1147.h: Likewise.
25080         * iconvdata/ibm1148.h: Likewise.
25081         * iconvdata/ibm1149.h: Likewise.
25082         * iconvdata/ibm1153.h: Likewise.
25083         * iconvdata/ibm1154.h: Likewise.
25084         * iconvdata/ibm1155.h: Likewise.
25085         * iconvdata/ibm1156.h: Likewise.
25086         * iconvdata/ibm1157.h: Likewise.
25087         * iconvdata/ibm1158.h: Likewise.
25088         * iconvdata/ibm1160.h: Likewise.
25089         * iconvdata/ibm1161.h: Likewise.
25090         * iconvdata/ibm1162.h: Likewise.
25091         * iconvdata/ibm1163.h: Likewise.
25092         * iconvdata/ibm1164.h: Likewise.
25093         * iconvdata/ibm1166.h: Likewise.
25094         * iconvdata/ibm1167.h: Likewise.
25095         * iconvdata/ibm12712.h: Likewise.
25096         * iconvdata/ibm1390.h: Likewise.
25097         * iconvdata/ibm1399.h: Likewise.
25098         * iconvdata/ibm16804.h: Likewise.
25099         * iconvdata/ibm4517.h: Likewise.
25100         * iconvdata/ibm4899.h: Likewise.
25101         * iconvdata/ibm4909.h: Likewise.
25102         * iconvdata/ibm4971.h: Likewise.
25103         * iconvdata/ibm5347.h: Likewise.
25104         * iconvdata/ibm803.h: Likewise.
25105         * iconvdata/ibm856.h: Likewise.
25106         * iconvdata/ibm901.h: Likewise.
25107         * iconvdata/ibm902.h: Likewise.
25108         * iconvdata/ibm9030.h: Likewise.
25109         * iconvdata/ibm9066.h: Likewise.
25110         * iconvdata/ibm921.h: Likewise.
25111         * iconvdata/ibm922.h: Likewise.
25112         * iconvdata/ibm9448.h: Likewise.
25113         * iconvdata/isiri-3342.h: Likewise.
25114         * iconvdata/jis0201.h: Likewise.
25115         * include/link.h: Likewise.
25116         * include/netdb.h: Likewise.
25117         * inet/check_native.c: Likewise.
25118         * inet/check_pf.c: Likewise.
25119         * inet/getipv4sourcefilter.c: Likewise.
25120         * inet/getnameinfo.c: Likewise.
25121         * inet/getsourcefilter.c: Likewise.
25122         * inet/htonl.c: Likewise.
25123         * inet/setipv4sourcefilter.c: Likewise.
25124         * inet/setsourcefilter.c: Likewise.
25125         * inet/test-inet6_opt.c: Likewise.
25126         * inet/tst-network.c: Likewise.
25127         * locale/C-collate.c: Likewise.
25128         * locale/C-ctype.c: Likewise.
25129         * locale/C-time.c: Likewise.
25130         * locale/C-translit.h: Likewise.
25131         * locale/loadarchive.c: Likewise.
25132         * locale/programs/3level.h: Likewise.
25133         * locale/programs/charmap.c: Likewise.
25134         * locale/programs/charmap.h: Likewise.
25135         * locale/programs/ld-address.c: Likewise.
25136         * locale/programs/ld-collate.c: Likewise.
25137         * locale/programs/ld-ctype.c: Likewise.
25138         * locale/programs/ld-identification.c: Likewise.
25139         * locale/programs/ld-measurement.c: Likewise.
25140         * locale/programs/ld-messages.c: Likewise.
25141         * locale/programs/ld-monetary.c: Likewise.
25142         * locale/programs/ld-name.c: Likewise.
25143         * locale/programs/ld-numeric.c: Likewise.
25144         * locale/programs/ld-paper.c: Likewise.
25145         * locale/programs/ld-telephone.c: Likewise.
25146         * locale/programs/ld-time.c: Likewise.
25147         * locale/programs/linereader.c: Likewise.
25148         * locale/programs/locale.c: Likewise.
25149         * locale/programs/locarchive.c: Likewise.
25150         * locale/programs/locfile.h: Likewise.
25151         * locale/programs/repertoire.c: Likewise.
25152         * locale/programs/simple-hash.c: Likewise.
25153         * locale/programs/simple-hash.h: Likewise.
25154         * malloc/memusage.c: Likewise.
25155         * malloc/memusagestat.c: Likewise.
25156         * nis/nis_defaults.c: Likewise.
25157         * nis/nis_hash.c: Likewise.
25158         * nis/nis_print.c: Likewise.
25159         * nis/nis_xdr.c: Likewise.
25160         * nscd/connections.c: Likewise.
25161         * nscd/hstcache.c: Likewise.
25162         * nscd/nscd_gethst_r.c: Likewise.
25163         * nscd/nscd_getserv_r.c: Likewise.
25164         * nscd/nscd_helper.c: Likewise.
25165         * nscd/servicescache.c: Likewise.
25166         * nss/makedb.c: Likewise.
25167         * nss/nss_db/db-XXX.c: Likewise.
25168         * nss/nss_db/db-initgroups.c: Likewise.
25169         * nss/nss_db/db-netgrp.c: Likewise.
25170         * nss/nss_files/files-network.c: Likewise.
25171         * nss/nss_files/files-parse.c: Likewise.
25172         * posix/bug-regex5.c: Likewise.
25173         * posix/fnmatch_loop.c: Likewise.
25174         * posix/regcomp.c: Likewise.
25175         * posix/regexec.c: Likewise.
25176         * posix/tst-rfc3484-2.c: Likewise.
25177         * posix/tst-rfc3484-3.c: Likewise.
25178         * posix/tst-rfc3484.c: Likewise.
25179         * resolv/nss_dns/dns-canon.c: Likewise.
25180         * resolv/nss_dns/dns-network.c: Likewise.
25181         * resolv/res_init.c: Likewise.
25182         * resolv/res_mkquery.c: Likewise.
25183         * resolv/tst-aton.c: Likewise.
25184         * stdlib/cxa_atexit.c: Likewise.
25185         * stdlib/cxa_finalize.c: Likewise.
25186         * stdlib/gen-fpioconst.c: Likewise.
25187         * stdlib/strtol_l.c: Likewise.
25188         * string/tst-endian.c: Likewise.
25189         * sunrpc/auth_des.c: Likewise.
25190         * sunrpc/clnt_udp.c: Likewise.
25191         * sunrpc/rtime.c: Likewise.
25192         * sunrpc/svcauth_des.c: Likewise.
25193         * sunrpc/xdr.c: Likewise.
25194         * sunrpc/xdr_intXX_t.c: Likewise.
25195         * sunrpc/xdr_rec.c: Likewise.
25196         * sysdeps/generic/ldconfig.h: Likewise.
25197         * sysdeps/generic/ldsodefs.h: Likewise.
25198         * sysdeps/generic/memusage.h: Likewise.
25199         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25200         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25201         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25202         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25203         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25204         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25205         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25206         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25207         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25208         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25209         * sysdeps/posix/getaddrinfo.c: Likewise.
25210         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25211         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25212         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25213         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25214         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25215         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25216         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25217         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25218         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25219         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25220         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25221         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25222         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25223         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25224         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25225         * sysdeps/x86_64/dl-tls.h: Likewise.
25226         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25227         * time/alt_digit.c: Likewise.
25228         * time/era.c: Likewise.
25229         * wcsmbs/tst-c16c32-1.c: Likewise.
25230
25231 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25232
25233         * math/libm-test.inc (struct test_sincos_data): New type.
25234         (RUN_TEST_LOOP_sincos): New macro.
25235         (sincos_test_data): New variable.
25236         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25237
25238 2013-05-16  Richard Henderson  <rth@redhat.com>
25239
25240         * math/atest-exp2.c (LIMB64): New macro.
25241         (CONSTSZ): New macro.
25242         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25243         (hexdig): Move ...
25244         (print_mpn_fp): ... to function scope.
25245         (read_mpn_hex): Remove.
25246         (get_log2): Remove.
25247         (exp2_mpn): Use mp_log2.
25248         (main): Use mp_exp1.
25249
25250 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25251
25252         * math/libm-test.inc: Remove comment about not testing "inexact"
25253         exceptions.
25254         (INEXACT_EXCEPTION): New macro.
25255         (NO_INEXACT_EXCEPTION): Likewise.
25256         (INVALID_EXCEPTION_OK): Update value.
25257         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25258         (OVERFLOW_EXCEPTION_OK): Likewise.
25259         (UNDERFLOW_EXCEPTION_OK): Likewise.
25260         (IGNORE_ZERO_INF_SIGN): Likewise.
25261         (ERRNO_UNCHANGED): Likewise.
25262         (ERRNO_EDOM): Likewise.
25263         (ERRNO_ERANGE): Likewise.
25264         (test_exceptions): Handle testing "inexact" exceptions.
25265         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25266         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25267         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25268         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25269         INEXACT_EXCEPTION.
25270         (rint_towardzero_test_data): Likewise.
25271         (rint_downward_test_data): Likewise.
25272         (rint_upward_test_data): Likewise.
25273
25274         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25275         with OVERFLOW_EXCEPTION.
25276         (exp10_test_data): Likewise.
25277         (exp2_test_data): Likewise.
25278         (expm1_test_data): Likewise.
25279         (lgamma_test_data): Likewise.
25280         (pow_test_data): Likewise.
25281         (tgamma_test_data): Likewise.
25282         (yn_test_data): Remove duplicate test of overflow.
25283
25284         * math/libm-test.inc (struct test_cc_c_data): New type.
25285         (RUN_TEST_LOOP_cc_c): New macro.
25286         (cpow_test_data): New variable.
25287         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25288
25289         * math/libm-test.inc (struct test_f_L_data): New type.
25290         (RUN_TEST_LOOP_f_L): New macro.
25291         (llrint_test_data): New variable.
25292         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25293         (llrint_tonearest_test_data): New variable.
25294         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25295         (llrint_towardzero_test_data): New variable.
25296         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25297         (llrint_downward_test_data): New variable.
25298         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25299         (llrint_upward_test_data): New variable.
25300         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25301         (llround_test_data): New variable.
25302         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25303
25304 2013-05-13  Peter Collingbourne  <pcc@google.com>
25305
25306         * math/atest-exp2.c (get_log2): Remove const attribute.
25307
25308 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25309
25310         * math/libm-test.inc (struct test_f_l_data): New type.
25311         (RUN_TEST_LOOP_f_l): New macro.
25312         (lrint_test_data): New variable.
25313         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25314         (lrint_tonearest_test_data): New variable.
25315         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25316         (lrint_towardzero_test_data): New variable.
25317         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25318         (lrint_downward_test_data): New variable.
25319         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25320         (lrint_upward_test_data): New variable.
25321         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25322         (lround_test_data): New variable.
25323         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25324
25325 2013-05-15  Peter Collingbourne  <pcc@google.com>
25326
25327         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25328         (EXTRACT_WORDS64) Use where appropriate.
25329         (INSERT_WORDS64) Likewise.
25330
25331         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25332         constraints with x constraints.
25333         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25334
25335         * malloc/obstack.c (_obstack_compat): Add initializer.
25336
25337 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25338
25339         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25340         si_trapno and add si_addr_lsb to _sifields.sigfault.
25341         (si_trapno): Remove macro.
25342         (si_addr_lsb): Define new macro.
25343         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25344
25345 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25346
25347         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25348         instead of TEST_f_l.
25349         (llrint_test_tonearest): Likewise.
25350         (llrint_test_towardzero): Likewise.
25351         (llrint_test_downward): Likewise.
25352         (llrint_test_upward): Likewise.
25353         (llround_test): Likewise.
25354
25355         * math/libm-test.inc (struct test_f_i_data): Add comment.
25356         (RUN_TEST_LOOP_f_b): New macro.
25357         (RUN_TEST_LOOP_f_b_tg): Likewise.
25358         (finite_test_data): New variable.
25359         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25360         (isfinite_test_data): New variable.
25361         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25362         (isinf_test_data): New variable.
25363         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25364         (isnan_test_data): New variable.
25365         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25366         (isnormal_test_data): New variable.
25367         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25368         (issignaling_test_data): New variable.
25369         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25370         (signbit_test_data): New variable.
25371         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25372
25373         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25374         with INVALID_EXCEPTION.
25375         (acosh_test_data): Likewise.
25376         (asin_test_data): Likewise.
25377         (atanh_test_data): Likewise.
25378         (fmod_test_data): Likewise.
25379         (log_test_data): Likewise.
25380         (log10_test_data): Likewise.
25381         (log2_test_data): Likewise.
25382         (pow_test_data): Likewise.
25383         (sqrt_test_data): Likewise.
25384         (y0_test_data): Likewise.
25385         (y1_test_data): Likewise.
25386         (yn_test_data): Likewise.
25387
25388         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25389         function contents.
25390
25391         * math/libm-test.inc (struct test_ff_i_data): New type.
25392         (RUN_TEST_LOOP_ff_i_tg): New macro.
25393         (isgreater_test_data): New variable.
25394         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25395         (isgreaterequal_test_data): New variable.
25396         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25397         (isless_test_data): New variable.
25398         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25399         (islessequal_test_data): New variable.
25400         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25401         (islessgreater_test_data): New variable.
25402         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25403         (isunordered_test_data): New variable.
25404         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25405
25406 2013-05-14  David S. Miller  <davem@davemloft.net>
25407
25408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25409
25410 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25411
25412         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25413
25414         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25415         extra_test to int.
25416         (struct test_f_i_data): Change type of max_ulp to int.
25417
25418         * math/libm-test.inc (test_ffI_f1_data): New type.
25419         (RUN_TEST_LOOP_ffI_f1): New macro.
25420         (remquo_test_data): New variable.
25421         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25422
25423         * setjmp/tst-setjmp-fp.c: New file.
25424         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25425         (link-libm): New variable.
25426         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25427
25428         * math/libm-test.inc (struct test_f_i_data): New type.
25429         (RUN_TEST_LOOP_f_i): New macro.
25430         (RUN_TEST_LOOP_f_i_tg): Likewise.
25431         (fpclassify_test_data): New variable.
25432         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25433         (ilogb_test_data): New variable.
25434         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25435
25436         * math/libm-test.inc (scalbln_test): Correct function name in END
25437         call.
25438
25439         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25440         (RUN_TEST_LOOP_fI_f1): New macro.
25441         (frexp_test_data): New variable.
25442         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25443
25444         * math/libm-test.inc (struct test_fF_f1_data): New type.
25445         (RUN_TEST_LOOP_fF_f1): New macro.
25446         (modf_test_data): New variable.
25447         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25448
25449         * math/libm-test.inc (struct test_f_f1_data): New type.
25450         (RUN_TEST_LOOP_f_f1): New macro.
25451         (gamma_test_data): New variable.
25452         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25453         (lgamma_test_data): New variable.
25454         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25455
25456 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25457
25458         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25459         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25460         (main): Comment "tls" pseudo-hwcap.
25461
25462 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25463
25464         * math/libm-test.inc (struct test_fl_f_data): New type.
25465         (RUN_TEST_LOOP_fl_f): New variable.
25466         (scalbln_test_data): New variable.
25467         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25468
25469         * math/libm-test.inc (struct test_fi_f_data): New type.
25470         (RUN_TEST_LOOP_fi_f): New macro.
25471         (ldexp_test_data): New variable.
25472         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25473         (scalbn_test_data): New variable.
25474         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25475
25476         * math/libm-test.inc (struct test_c_f_data): New type.
25477         (RUN_TEST_LOOP_c_f): New macro.
25478         (cabs_test_data): New variable.
25479         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25480         (carg_test_data): New variable.
25481         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25482         (cimag_test_data): New variable.
25483         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25484         (creal_test_data): New variable.
25485         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25486
25487         * math/libm-test.inc (struct test_if_f_data): New type.
25488         (RUN_TEST_LOOP_if_f): New macro.
25489         (jn_test_data): New variable.
25490         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25491         (yn_test_data): New variable.
25492         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25493
25494         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25495
25496 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25497
25498         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25499         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25500
25501 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25502
25503         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25504         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25505         (bench-deps): Add bench-timing.h.
25506         * benchtests-bench-skeleton.c: Include bench-timing.h.
25507         (main): Use TIMING_* macros instead of clock_gettime.
25508         * benchtests/bench-timing.h: New file.
25509
25510         [BZ #14582]
25511         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25512         Renamed from _LIB_VERSION.
25513         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25514
25515 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25516
25517         * math/libm-test.inc (struct test_fff_f_data): New type.
25518         (RUN_TEST_LOOP_fff_f): New macro.
25519         (fma_test_data): New variable.
25520         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25521         (fma_towardzero_test_data): New variable.
25522         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25523         (fma_downward_test_data): New variable.
25524         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25525         (fma_upward_test_data): New variable.
25526         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25527
25528         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25529         (struct test_c_c_data): New type.
25530         (RUN_TEST_LOOP_c_c): New macro.
25531         (cacos_test_data): New variable.
25532         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25533         (cacosh_test_data): New variable.
25534         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25535         (casin_test_data): New variable.
25536         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25537         (casinh_test_data): New variable.
25538         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25539         (catan_test_data): New variable.
25540         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25541         (catanh_test_data): New variable.
25542         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25543         (ccos_test_data): New variable.
25544         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25545         (ccosh_test_data): New variable.
25546         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25547         (cexp_test_data): New variable.
25548         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25549         (clog_test_data): New variable.
25550         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25551         (clog10_test_data): New variable.
25552         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25553         (conj_test_data): New variable.
25554         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25555         (cproj_test_data): New variable.
25556         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25557         (csin_test_data): New variable.
25558         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25559         (csinh_test_data): New variable.
25560         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25561         (csqrt_test_data): New variable.
25562         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25563         (ctan_test_data): New variable.
25564         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25565         (ctan_tonearest_test_data): New variable.
25566         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25567         (ctan_towardzero_test_data): New variable.
25568         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25569         (ctan_downward_test_data): New variable.
25570         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25571         (ctan_upward_test_data): New variable.
25572         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25573         (ctanh_test_data): New variable.
25574         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25575         (ctanh_tonearest_test_data): New variable.
25576         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25577         (ctanh_towardzero_test_data): New variable.
25578         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25579         (ctanh_downward_test_data): New variable.
25580         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25581         (ctanh_upward_test_data): New variable.
25582         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25583         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25584         of BUILD_COMPLEX.
25585
25586         * math/libm-test.inc (struct test_ff_f_data): New type.
25587         (struct test_ff_f_data_nexttoward): Likewise.
25588         (RUN_TEST_LOOP_2_f): New macro.
25589         (RUN_TEST_LOOP_ff_f): Likewise.
25590         (atan2_test_data): New variable.
25591         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25592         (copysign_test_data): New variable.
25593         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25594         (fdim_test_data): New variable.
25595         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25596         (fmax_test_data): New variable.
25597         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25598         (fmin_test_data): New variable.
25599         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25600         (fmod_test_data): New variable.
25601         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25602         (hypot_test_data): New variable.
25603         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25604         (nextafter_test_data): New variable.
25605         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25606         (nexttoward_test_data): New variable.
25607         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25608         (pow_test_data): New variable.
25609         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25610         (pow_tonearest_test_data): New variable.
25611         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25612         (pow_towardzero_test_data): New variable.
25613         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25614         (pow_downward_test_data): New variable.
25615         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25616         (pow_upward_test_data): New variable.
25617         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25618         (remainder_test_data): New variable.
25619         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25620         (scalb_test_data): New variable.
25621         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25622         * sysdeps/i386/fpu/libm-test-ulps: Update.
25623
25624 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25625
25626         * math/libm-test.inc (fma_test): Use max_value instead of local
25627         variable fltmax.
25628         (nextafter_test): Likewise.
25629
25630         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25631         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25632         (acos_downward_test_data): New variable.
25633         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25634         (acos_upward_test_data): New variable.
25635         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25636         (acosh_test_data): New variable.
25637         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25638         (asin_test_data): New variable.
25639         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25640         (asin_tonearest_test_data): New variable.
25641         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25642         (asin_towardzero_test_data): New variable.
25643         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25644         (asin_downward_test_data): New variable.
25645         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25646         (asin_upward_test_data): New variable.
25647         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25648         (asinh_test_data): New variable.
25649         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25650         (atan_test_data): New variable.
25651         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25652         (atanh_test_data): New variable.
25653         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25654         (cbrt_test_data): New variable.
25655         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25656         (ceil_test_data): New variable.
25657         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25658         (cos_test_data): New variable.
25659         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25660         (cos_tonearest_test_data): New variable.
25661         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25662         (cos_towardzero_test_data): New variable.
25663         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25664         (cos_downward_test_data): New variable.
25665         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25666         (cos_upward_test_data): New variable.
25667         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25668         (cosh_test_data): New variable.
25669         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25670         (cosh_tonearest_test_data): New variable.
25671         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25672         (cosh_towardzero_test_data): New variable.
25673         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25674         (cosh_downward_test_data): New variable.
25675         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25676         (cosh_upward_test_data): New variable.
25677         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25678         (erf_test_data): New variable.
25679         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25680         (erfc_test_data): New variable.
25681         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25682         (exp_test_data): New variable.
25683         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25684         (exp_tonearest_test_data): New variable.
25685         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25686         (exp_towardzero_test_data): New variable.
25687         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25688         (exp_downward_test_data): New variable.
25689         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25690         (exp_upward_test_data): New variable.
25691         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25692         (exp10_test_data): New variable.
25693         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25694         (exp2_test_data): New variable.
25695         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25696         (expm1_test_data): New variable.
25697         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25698         (fabs_test_data): New variable.
25699         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25700         (floor_test_data): New variable.
25701         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25702         (j0_test_data): New variable.
25703         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25704         (j1_test_data): New variable.
25705         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25706         (log_test_data): New variable.
25707         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25708         (log10_test_data): New variable.
25709         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25710         (log1p_test_data): New variable.
25711         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25712         (log2_test_data): New variable.
25713         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25714         (logb_test_data): New variable.
25715         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25716         (logb_downward_test_data): New variable.
25717         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25718         (nearbyint_test_data): New variable.
25719         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25720         (rint_test_data): New variable.
25721         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25722         (rint_tonearest_test_data): New variable.
25723         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25724         (rint_towardzero_test_data): New variable.
25725         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25726         (rint_downward_test_data): New variable.
25727         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25728         (rint_upward_test_data): New variable.
25729         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25730         (round_test_data): New variable.
25731         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25732         (sin_test_data): New variable.
25733         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25734         (sin_tonearest_test_data): New variable.
25735         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25736         (sin_towardzero_test_data): New variable.
25737         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25738         (sin_downward_test_data): New variable.
25739         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25740         (sin_upward_test_data): New variable.
25741         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25742         (sinh_test_data): New variable.
25743         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25744         (sinh_tonearest_test_data): New variable.
25745         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25746         (sinh_towardzero_test_data): New variable.
25747         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25748         (sinh_downward_test_data): New variable.
25749         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25750         (sinh_upward_test_data): New variable.
25751         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25752         (sqrt_test_data): New variable.
25753         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25754         (tan_test_data): New variable.
25755         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25756         (tan_tonearest_test_data): New variable.
25757         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25758         (tan_towardzero_test_data): New variable.
25759         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25760         (tan_downward_test_data): New variable.
25761         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25762         (tan_upward_test_data): New variable.
25763         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25764         (tanh_test_data): New variable.
25765         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25766         (tgamma_test_data): New variable.
25767         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25768         (trunc_test_data): New variable.
25769         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25770         (y0_test_data): New variable.
25771         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25772         (y1_test_data): New variable.
25773         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25774         (significand_test_data): New variable.
25775         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25776
25777 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25778
25779         [BZ #12387]
25780         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25781
25782 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25783
25784         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25785
25786 2013-05-10  Andreas Jaeger  <aj@suse.de>
25787
25788         [BZ #15448]
25789         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25790         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25791
25792 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25793
25794         * math/gen-libm-test.pl (adjust_arg): New function.
25795         (special_functions): Handle generating output in both functions
25796         and arrays.
25797         (parse_args): Likewise.
25798         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25799         $in_func argument to parse_args.
25800         * math/libm-test.inc (struct test_f_f_data): New type.
25801         (IF_ROUND_INIT_): New macro.
25802         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25803         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25804         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25805         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25806         (ROUND_RESTORE_): Likewise.
25807         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25808         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25809         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25810         (ROUND_RESTORE_FE_UPWARD): Likewise.
25811         (RUN_TEST_LOOP_f_f): New macro.
25812         (acos_test_data): New variable.
25813         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25814         (acos_tonearest_test_data): New variable.
25815         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25816
25817 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25818
25819         * benchtests/bench-skeleton.c (startup): Fix coding style.
25820
25821 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25822
25823         [BZ #6809]
25824         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25825         negative infinity argument.
25826         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25827         negative infinity argument.
25828         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25829         negative infinity argument.
25830         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25831         domain errors.
25832
25833 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25834
25835         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25836         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25837         * iconv/iconv_prog.c (main): Likewise.
25838         * locale/programs/charmap-dir.c (charmap_readdir)
25839         (fopen_uncompressed): Likewise.
25840         * locale/programs/locfile.c (siblings_uncached)
25841         (write_locale_data): Use lstat64 instead of lstat.
25842         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25843         stat.
25844
25845 2013-05-10  Andreas Jaeger  <aj@suse.de>
25846
25847         [BZ #15395]
25848         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25849         localization.
25850         Include <locale.h>.
25851
25852 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
25853
25854         * elf/dl-close.c (_dl_close_worker): Add comments.
25855
25856 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
25857
25858         [BZ #15359]
25859         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25860         high part of pi/2.
25861         (__ieee754_rem_pio2l): Update comments.
25862
25863         [BZ #15429]
25864         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25865         high part of pi/2.
25866         (__ieee754_rem_pio2l): Update comments.
25867
25868         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25869         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25870
25871         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25872         M_PI_4l.
25873
25874         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25875         (M_PI_34_LOG10El): Likewise.
25876         (M_PI2_LOG10El): Likewise.
25877         (M_PI4_LOG10El): Likewise.
25878         (M_PI_LOG10El): Likewise.
25879
25880 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25881
25882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25883
25884 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
25885
25886         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25887         (MINUS_ZERO_INIT): Likewise.
25888         (PLUS_INFTY_INIT): Likewise.
25889         (MINUS_INFTY_INIT): Likewise.
25890         (QNAN_VALUE_INIT): Likewise.
25891         (MAX_VALUE_INIT): Likewise.
25892         (MIN_VALUE_INIT): Likewise.
25893         (MIN_SUBNORM_VALUE_INIT): Likewise.
25894         (plus_zero): Initialize with PLUS_ZERO_INIT.
25895         (minus_zero): Initialize with MINUS_ZERO_INIT.
25896         (plus_infty): Initialize with PLUS_INFTY_INIT.
25897         (minus_infty): Initialize with MINUS_INFTY_INIT.
25898         (qnan_value): Initialize with QNAN_VALUE_INIT.
25899         (max_value): Initialize with MAX_VALUE_INIT.
25900         (min_value): Initialize with MIN_VALUE_INIT.
25901         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25902
25903         * math/libm-test.inc (RUN_TEST_if_f): New macro.
25904         (jn_test): Use TEST_if_f instead of TEST_ff_f.
25905         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25906         (yn_test): Use TEST_if_f instead of TEST_ff_f.
25907
25908         * math/libm-test.inc (RUN_TEST_f_f): New macro.
25909         (RUN_TEST_2_f): Likewise.
25910         (RUN_TEST_ff_f): Likewise.
25911         (RUN_TEST_fi_f): Likewise.
25912         (RUN_TEST_fl_f): Likewise.
25913         (RUN_TEST_fff_f): Likewise.
25914         (RUN_TEST_c_f): Likewise.
25915         (RUN_TEST_f_f1): Likewise.
25916         (RUN_TEST_fF_f1): Likewise.
25917         (RUN_TEST_fI_f1): Likewise.
25918         (RUN_TEST_ffI_f1): Likewise.
25919         (RUN_TEST_c_c): Likewise.
25920         (RUN_TEST_cc_c): Likewise.
25921         (RUN_TEST_f_i): Likewise.
25922         (RUN_TEST_f_i_tg): Likewise.
25923         (RUN_TEST_ff_i_tg): Likewise.
25924         (RUN_TEST_f_b): Likewise.
25925         (RUN_TEST_f_b_tg): Likewise.
25926         (RUN_TEST_f_l): Likewise.
25927         (RUN_TEST_f_L): Likewise.
25928         (RUN_TEST_sincos): Likewise.
25929         * math/gen-libm-test.pl (new_test): Take new argument to indicate
25930         whether to show exceptions.  Do not include ");\n" in return
25931         value.
25932         (special_functions): Output call to RUN_TEST_sincos instead of
25933         check_float calls.  Update calls to new_test.
25934         (parse_args): Output call to single RUN_TEST_* macro instead of
25935         check_* calls and other assignments.  Update calls to new_test.
25936
25937         [BZ #2546]
25938         [BZ #2560]
25939         [BZ #5159]
25940         [BZ #15426]
25941         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25942         input to result for tgamma overflow.
25943         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25944         (gamma_coeff): New variable.
25945         (NCOEFF): New macro.
25946         (gamma_positive): New function.
25947         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25948         underflow here.  Use gamma_positive instead of exp (lgamma) for
25949         other arguments.
25950         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25951         (gamma_coeff): New variable.
25952         (NCOEFF): New macro.
25953         (gammaf_positive): New function.
25954         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25955         underflow here.  Use gamma_positive instead of exp (lgamma) for
25956         other arguments.
25957         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25958         (gamma_coeff): New variable.
25959         (NCOEFF): New macro.
25960         (gammal_positive): New function.
25961         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25962         underflow here.  Use gamma_positive instead of exp (lgamma) for
25963         other arguments.
25964         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25965         (gamma_coeff): New variable.
25966         (NCOEFF): New macro.
25967         (gammal_positive): New function.
25968         (__ieee754_gammal_r): Handle positive infinity, overflow and
25969         underflow here.  Handle NaN the same as positive infinity.  Remove
25970         check x < 0xffffffff for negative integers.  Use gamma_positive
25971         instead of exp (lgamma) for other arguments.
25972         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25973         (gamma_coeff): New variable.
25974         (NCOEFF): New macro.
25975         (gammal_positive): New function.
25976         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25977         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25978         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25979         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25980         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25981         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25982         * sysdeps/generic/math_private.h (__gamma_productf): New
25983         prototype.
25984         (__gamma_product): Likewise.
25985         (__gamma_productl): Likewise.
25986         * math/Makefile (libm-calls): Add gamma_product.
25987         * math/libm-test.inc (tgamma_test): Add more tests.
25988         * sysdeps/i386/fpu/libm-test-ulps: Update.
25989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25990
25991 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
25992
25993         * benchtests/bench-skeleton.c (main): Preheat CPU.
25994
25995 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
25996
25997         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25998
25999 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26000
26001         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26002         and _dl_skip_args_internal.
26003
26004 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26005
26006         * manual/message.texi (Message Translation): Talk about users.
26007         Message to key mapping impacts design.
26008
26009 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26010
26011         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26012
26013         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26014
26015         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26016         * sysdeps/wordsize-64/glob64.c: ... here.
26017
26018         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26019         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26020         New macros.
26021
26022         * debug/getlogin_r_chk.c: Moved to ...
26023         * login/getlogin_r_chk.c: ... here.
26024         * debug/Makefile (routines): Move getlogin_r_chk to ...
26025         * login/Makefile (routines): ... here.
26026         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26027         * login/Versions (libc: GLIBC_2.4): ... here.
26028
26029         * io/poll.c (__poll): Renamed from poll.
26030         Add libc_hidden_def.
26031         (poll): Define as weak alias.
26032
26033         * debug/ptsname_r_chk.c: Moved to ...
26034         * login/ptsname_r_chk.c: ... here.
26035         * debug/Makefile (routines): Move ptsname_r_chk to ...
26036         * login/Makefile (routines): ... here.
26037         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26038         * login/Versions (libc: GLIBC_2.4): ... here.
26039
26040         * posix/getlogin.c: Moved to ...
26041         * login/getlogin.c: ... here.
26042         * posix/getlogin_r.c: Moved to ...
26043         * login/getlogin_r.c: ... here.
26044         * posix/getlogin_r.c: Moved to ...
26045         * login/getlogin_r.c: ... here.
26046         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26047         * login/Makefile (routines): ... here.
26048         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26049         * login/Versions (libc: GLIBC_2.0): ... here.
26050
26051         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26052         (setrlimit): Define as weak alias.
26053
26054         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26055         Call __ names for open, ftruncate, and close.
26056         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26057         (truncate): Define as weak alias.
26058
26059 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26060
26061         * math/gen-libm-test.pl (parse_args): Initialize x before each
26062         test of frexp, modf and remquo.
26063
26064         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26065         test signgam value.
26066
26067 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26068
26069         [BZ #15418]
26070         [BZ #15419]
26071         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26072         internal tests.
26073         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26074
26075 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26076
26077         * elf/dl-writev.h: New file.
26078         * elf/dl-misc.c: Include it.
26079         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26080         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26081
26082 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26083
26084         * math/libm-test.inc (noXFails): Remove variable.
26085         (noXPasses): Likewise.
26086         (BUILD_COMPLEX_INT): Remove macro.
26087         (print_screen): Remove xfail argument.
26088         (print_screen_max_error): Likewise.
26089         (update_stats): Likewise.
26090         (print_max_error): Likewise.  Update calls to other affected
26091         functions.
26092         (print_complex_max_error): Likewise.
26093         (test_single_exception): Update calls to print_screen.
26094         (test_single_errno): Likewise.
26095         (check_float_internal): Remove xfail argument.  Update calls to
26096         other affected functions.
26097         (check_float): Likewise.
26098         (check_complex): Likewise.
26099         (check_int): Likewise.
26100         (check_long): Likewise.
26101         (check_bool): Likewise.
26102         (check_longlong): Likewise.
26103         (main): Don't print noXFails and noXPasses.
26104         * math/gen-libm-test.pl (top level): Don't mention expected
26105         failure handling in comment.
26106         (new_test): Don't handle expected failures.
26107         (parse_args): Don't mention expected failure handling in comment.
26108         (generate_testfile): Don't handle expected failures.
26109         (parse_ulps): Likewise.
26110         (print_ulps_file): Likewise.
26111         (get_failure): Remove function.
26112         (output_test): Don't handle expected failures.
26113         * make/README.libm-test: Don't mention expected failure handling.
26114
26115         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26116         (minus_zero): Likewise.
26117         (plus_infty): Likewise.
26118         (minus_infty): Likewise.
26119         (qnan_value): Likewise.
26120         (max_value): Likewise.
26121         (min_value): Likewise.
26122         (min_subnorm_value): Likewise.
26123         (initialize): Do not initialize those variables dynamically.
26124
26125 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26126
26127         * io/open.c (__open_2): Moved to ...
26128         * io/open_2.c: ... this new file.
26129         * io/open64.c (__open64_2): Moved to ...
26130         * io/open64_2.c: ... this new file.
26131         * io/openat.c (__openat_2): Moved to ...
26132         * io/openat_2.c: ... this new file.
26133         * io/openat64.c (__openat64_2): Moved to ...
26134         * io/openat64_2.c: ... this new file.
26135         * io/Makefile (routines): Add them.
26136         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26137         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26138         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26139         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26140         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26141         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26142         (__openat64): Add hidden_ver.
26143         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26144         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26145
26146         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26147         Separately conditionalize setting of GLRO(dl_sysinfo) so
26148         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26149         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26150
26151 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26152
26153         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26154         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26155         definition.
26156         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26157         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26158         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26159         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26160         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26161
26162 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26163
26164         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26165         test signgam value.
26166
26167         * math/libm-test.inc (hypot_test): Do not use
26168         IGNORE_ZERO_INF_SIGN.
26169
26170 2013-05-03  Andreas Jaeger  <aj@suse.de>
26171
26172         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26173         Linux 3.9.
26174         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26175         (PF_MAX): Adjust for VSOCK change.
26176
26177 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26178
26179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26180
26181 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26182
26183         [BZ #15264]
26184         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26185         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26186         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26187
26188 2013-05-02  David S. Miller  <davem@davemloft.net>
26189
26190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26191
26192 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26193
26194         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26195
26196 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26197
26198         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26199
26200 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26201
26202         [BZ #14952]
26203         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26204         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26205         Use __attribute__ ((__gnu_inline__)).
26206         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26207         Don't use __attribute__ ((__gnu_inline__)).
26208
26209 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26210
26211         [BZ #15423]
26212         * math/s_catan.c (__catan): Handle small real or imaginary part of
26213         input specially to avoid spurious underflow.
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.
26223
26224 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26225
26226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26227
26228 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26229
26230         [BZ #15416]
26231         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26232         accurately for denominator in atan2.
26233         * math/s_catanf.c (__catanf): Likewise.
26234         * math/s_catanh.c (__catanh): Likewise.
26235         * math/s_catanhf.c (__catanhf): Likewise.
26236         * math/s_catanhl.c (__catanhl): Likewise.
26237         * math/s_catanl.c (__catanl): Likewise.
26238         * math/libm-test.inc (catan_test): Add more tests.
26239         (catanh_test): Likewise.
26240         * sysdeps/i386/fpu/libm-test-ulps: Update.
26241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26242
26243 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26244
26245         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26246
26247         * benchtests/Makefile (bench): Remove slow benchmarks.
26248         * benchtests/atan-inputs: Add slow benchmark inputs.
26249         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26250         (BENCH_FUNC): Accept variant offset.
26251         (VARIANT): Define.
26252         * benchtests/bench-skeleton.c (main): Run benchmark for each
26253         variant.
26254         * benchtests/cos-inputs: Add slow benchmark inputs.
26255         * benchtests/exp-inputs: Likewise.
26256         * benchtests/pow-inputs: Likewise.
26257         * benchtests/sin-inputs: Likewise.
26258         * benchtests/slowatan-inputs: Remove.
26259         * benchtests/slowatan.c: Remove.
26260         * benchtests/slowcos-inputs: Remove.
26261         * benchtests/slowcos.c: Remove.
26262         * benchtests/slowexp-inputs: Remove.
26263         * benchtests/slowexp.c: Remove.
26264         * benchtests/slowpow-inputs: Remove.
26265         * benchtests/slowpow.c: Remove.
26266         * benchtests/slowsin-inputs: Remove.
26267         * benchtests/slowsin.c: Remove.
26268         * benchtests/slowtan-inputs: Remove.
26269         * benchtests/slowtan.c: Remove.
26270         * benchtests/tan-inputs: Add slow benchmark inputs.
26271         * scripts/bench.pl: Parse comments and directives.
26272
26273         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26274         in CPPFLAGS.
26275         ($(objpfx)bench-%.c): Remove *-ITER.
26276         * benchtests/bench-modf.c: Remove definition of ITER.
26277         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26278         (main): Loop for DURATION seconds instead of fixed number of
26279         iterations.
26280         * scripts/bench.pl: Don't expect iterations in parameters.
26281
26282 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26283
26284         * io/fchdir.c (__fchdir): Renamed from fchdir.
26285         (fchdir): Define as weak alias.
26286
26287 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26288
26289         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26290         (ERRNO_EDOM): Likewise.
26291         (ERRNO_ERANGE): Likewise.
26292         (noErrnoTests): New variable.
26293         (init_max_error): Set errno to 0.
26294         (test_single_errno): New function.
26295         (test_errno): Likewise.
26296         (check_float_internal): Call test_errno.  Set errno to 0.
26297         (check_complex): Refer to errno tests in comment.
26298         (check_int): Call test_errno.  Set errno to 0.
26299         (check_long): Likewise.
26300         (check_bool): Likewise.
26301         (check_longlong): Likewise.
26302         (cos_test): Use ERRNO_* flags for errno tests instead of
26303         check_int.
26304         (expm1_test): Likewise.
26305         (fmod_test): Likewise.
26306         (ilogb_test): Likewise.
26307         (lgamma_test): Likewise.
26308         (pow_test): Likewise.
26309         (remainder_test): Likewise.
26310         (sin_test): Likewise.
26311         (tan_test): Likewise.
26312         (yn_test): Likewise.
26313         (initialize): Set errno to 0.
26314         (main): Print number of errno tests.
26315         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26316
26317 2013-04-29  Andreas Jaeger  <aj@suse.de>
26318
26319         [BZ #15084]
26320         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26321         and RES_USEVC.
26322
26323         [BZ #15085]
26324         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26325         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26326         unimplemented.
26327
26328         [BZ #15380]
26329         * stdlib/random.c (__initstate): Return NULL if
26330         __initstate fails.
26331
26332         [BZ #15086]
26333         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26334         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26335         RES_SNGLKUPREOP.
26336
26337 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26338
26339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26340
26341 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26342
26343         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26344         of individual tests.
26345         (casin_test): Likewise.
26346         (casinh_test): Likewise.
26347
26348 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26349
26350         [BZ #15409]
26351         * math/s_catan.c (__catan): Handle arguments with large real or
26352         imaginary part separately without squaring.
26353         * math/s_catanf.c (__catanf): Likewise.
26354         * math/s_catanh.c (__catanh): Likewise.
26355         * math/s_catanhf.c (__catanhf): Likewise.
26356         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26357         and redefine.
26358         (__catanhl): Handle arguments with large real or imaginary part
26359         separately without squaring.
26360         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26361         and redefine.
26362         (__catanl): Handle arguments with large real or imaginary part
26363         separately without squaring.
26364         * math/libm-test.inc (catan_test): Add more tests.
26365         (catanh_test): Likewise.
26366         * sysdeps/i386/fpu/libm-test-ulps: Update.
26367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26368
26369 2013-04-27  Andreas Jaeger  <aj@suse.de>
26370
26371         [BZ #15007]
26372         * stdlib/stdlib.h: Update guards for qecvt.
26373         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26374         <stdlib.h>.
26375
26376 2013-04-27  Allan McRae  <allan@archlinux.org>
26377
26378         * sysdeps/i386/fpu/libm-test-ulps: Update.
26379
26380 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26381
26382         [BZ #15406]
26383         * math/s_catan.c: Include <float.h>.
26384         (__catan): Ensure underflow exception occurs for underflowed
26385         result.
26386         * math/s_catanf.c: Include <float.h>.
26387         (__catanf): Ensure underflow exception occurs for underflowed
26388         result.
26389         * math/s_catanh.c: Include <float.h>.
26390         (__catanh): Ensure underflow exception occurs for underflowed
26391         result.
26392         * math/s_catanhf.c: Include <float.h>.
26393         (__catanhf): Ensure underflow exception occurs for underflowed
26394         result.
26395         * math/s_catanhl.c: Include <float.h>.
26396         (__catanhl): Ensure underflow exception occurs for underflowed
26397         result.
26398         * math/s_catanl.c: Include <float.h>.
26399         (__catanl): Ensure underflow exception occurs for underflowed
26400         result.
26401         * math/libm-test.inc (catan_test): Add more tests.
26402         (catanh_test): Likewise.
26403
26404         [BZ #15405]
26405         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26406         underflowed result.
26407         * math/s_ccoshf.c (__ccoshf): Likewise.
26408         * math/s_ccoshl.c (__ccoshl): Likewise.
26409         * math/s_csin.c (__csin): Likewise.
26410         * math/s_csinf.c (__csinf): Likewise.
26411         * math/s_csinh.c (__csinh): Likewise.
26412         * math/s_csinhf.c (__csinhf): Likewise.
26413         * math/s_csinhl.c (__csinhl): Likewise.
26414         * math/s_csinl.c (__csinl): Likewise.
26415         * math/libm-test.inc (ccos_test): Add more tests.
26416         (ccosh_test): Likewise.
26417         (csin_test): Likewise.
26418         (csinh_test): Likewise.
26419
26420 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26421
26422         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26423         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26424         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26425         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26426         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26427         powerpc/power5+/fpu folders.
26428         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26429
26430
26431 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26432
26433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26434
26435 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26436
26437         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26438         additions to variable.
26439         [$(config-machine) = x86_64] (modules-names): Likewise.
26440         ($(objpfx)tst-audit3): Remove dependency.
26441         ($(objpfx)tst-audit3.out): Likewise.
26442         ($(objpfx)tst-audit4): Likewise.
26443         ($(objpfx)tst-audit4.out): Likewise.
26444         ($(objpfx)tst-audit5): Likewise.
26445         ($(objpfx)tst-audit5.out): Likewise.
26446         ($(objpfx)tst-audit6): Likewise.
26447         ($(objpfx)tst-audit6.out): Likewise.
26448         ($(objpfx)tst-audit7): Likewise.
26449         ($(objpfx)tst-audit7.out): Likewise.
26450         (tst-audit3-ENV): Remove variable.
26451         (tst-audit4-ENV): Likewise.
26452         (tst-audit5-ENV): Likewise.
26453         (tst-audit6-ENV): Likewise.
26454         (tst-audit7-ENV): Likewise.
26455         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26456         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26457         addition to variable.
26458         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26459         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26460         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26461         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26462         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26463         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26464         tst-audit3, tst-audit4 and tst-audit5.
26465         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26466         tst-audit6 and tst-audit7.
26467         [$(subdir) = elf] (modules-names): Add audit modules for those
26468         tests.
26469         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26470         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26471         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26472         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26473         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26474         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26475         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26476         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26477         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26478         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26479         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26480         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26481         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26482         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26483         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26484         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26485         Likewise.
26486         [$(subdir) = elf && $(config-cflags-avx) = yes]
26487         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26488         [$(subdir) = elf && $(config-cflags-avx) = yes]
26489         (CFLAGS-tst-auditmod4a.c): Likewise.
26490         [$(subdir) = elf && $(config-cflags-avx) = yes]
26491         (CFLAGS-tst-auditmod4b.c): Likewise.
26492         [$(subdir) = elf && $(config-cflags-avx) = yes]
26493         (CFLAGS-tst-auditmod6b.c): Likewise.
26494         [$(subdir) = elf && $(config-cflags-avx) = yes]
26495         (CFLAGS-tst-auditmod6c.c): Likewise.
26496         [$(subdir) = elf && $(config-cflags-avx) = yes]
26497         (CFLAGS-tst-auditmod7b.c): Likewise.
26498         * elf/tst-audit3.c: Move to ...
26499         * sysdeps/x86_64/tst-audit3.c: ... here.
26500         * elf/tst-audit4.c: Move to ...
26501         * sysdeps/x86_64/tst-audit4.c: ... here.
26502         * elf/tst-audit5.c: Move to ...
26503         * sysdeps/x86_64/tst-audit5.c: ... here.
26504         * elf/tst-audit6.c: Move to ...
26505         * sysdeps/x86_64/tst-audit6.c: ... here.
26506         * elf/tst-audit7.c: Move to ...
26507         * sysdeps/x86_64/tst-audit7.c: ... here.
26508         * elf/tst-auditmod3a.c: Move to ...
26509         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26510         * elf/tst-auditmod3b.c: Move to ...
26511         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26512         * elf/tst-auditmod4a.c: Move to ...
26513         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26514         * elf/tst-auditmod4b.c: Move to ...
26515         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26516         * elf/tst-auditmod5a.c: Move to ...
26517         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26518         * elf/tst-auditmod5b.c: Move to ...
26519         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26520         * elf/tst-auditmod6a.c: Move to ...
26521         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26522         * elf/tst-auditmod6b.c: Move to ...
26523         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26524         * elf/tst-auditmod6c.c: Move to ...
26525         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26526         * elf/tst-auditmod7a.c: Move to ...
26527         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26528         * elf/tst-auditmod7b.c: Move to ...
26529         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26530
26531 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26532
26533         [BZ #15366]
26534         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26535         define unconditionally.
26536         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26537         define unconditionally.
26538         (INT8_C, INT16_C, etc.): Likewise.
26539
26540 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26541
26542         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26543         __ehdr_start with hidden visibility.
26544
26545         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26546
26547 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26548
26549         * math/libm-test.inc (cos_test): Use accurate hex constants.
26550         (sincost_test): Likewise.
26551
26552 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26553
26554         * math/libm-test.inc (catan_test): Add more tests.
26555         (catanh_test): Likewise.
26556
26557         * math/s_catanf.c (__catanf): Use suffixed floating-point
26558         constants.
26559         * math/s_catanhf.c (__catanhf): Likewise.
26560         * math/s_catanhl.c (__catanhl): Likewise.
26561         * math/s_catanl.c (__catanl): Likewise.
26562
26563         [BZ #15394]
26564         * math/s_catan.c (__catan): Calculate imaginary part of result
26565         with log1p not log unless computing log of number close to 0.
26566         * math/s_catanf.c (__catanf): Likewise.
26567         * math/s_catanl.c (__catanl): Likewise.
26568         * math/s_catanh.c (__catanh): Calculate real part of result with
26569         log1p not log unless computing log of number close to 0.
26570         * math/s_catanhf.c (__catanhf): Likewise.
26571         * math/s_catanhl.c (__catanhl): Likewise.
26572         * math/libm-test.inc (catan_test): Add more tests.
26573         (catanh_test): Likewise.
26574         * sysdeps/i386/fpu/libm-test-ulps: Update.
26575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26576
26577 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26578
26579         * benchtests/Makefile: Mention files in which fast and slow
26580         paths of math functions are implemented.
26581
26582 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26583
26584         * sysdeps/posix/timespec_get.c: New file.
26585
26586 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26587
26588         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26589         POWER.
26590         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26591         for POWER.
26592         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26593         powerpc/power5/fpu folders.
26594         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26595         * benchtests/Makefile: Add modf testcase.
26596         * benchtests/bench-modf.c: New file: Benchmark test for mo
26597
26598 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26599
26600         [BZ #14888]
26601         * time/Makefile (tests): Add tst-strptime-whitespace.
26602         * time/strptime_l.c (get_number): Use ISSPACE.
26603         (__strptime_internal): Likewise.
26604         * time/tst-strptime-whitespace.c: New test case.
26605
26606 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26607
26608         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26609         member.
26610         (_nss_files_init): Set it here.
26611
26612 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26613
26614         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26615         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26616         unsigned.
26617
26618 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26619
26620         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26621
26622 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26623
26624         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26625         size just once.
26626
26627 2013-04-21  David S. Miller  <davem@davemloft.net>
26628
26629         * po/ru.po: Update Russion translation from translation project.
26630
26631 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26632
26633         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26634         and setfsgid.
26635
26636 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26637
26638         * configure.in: Remove i386 configure warning. Remove i386 case.
26639         * configure: Regenerate.
26640         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26641         Add example to error message.
26642         * sysdeps/i386/configure: Regenerate.
26643
26644 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26645
26646         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26647         slowtan.
26648         * benchtests/cos-inputs: New file.
26649         * benchtests/slowcos-inputs: New file.
26650         * benchtests/slowcos.c: New file.
26651         * benchtests/slowtan-inputs: New file.
26652         * benchtests/slowtan.c: New file.
26653         * benchtests/tan-inputs: New file.
26654
26655 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26656
26657         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26658         considered kosher.
26659
26660 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26661
26662         * benchtests/Makefile: Include cppflags-iterator.mk to add
26663         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26664
26665         * Makefile.in (bench-clean): New target.
26666         * benchtests/Makefile (bench-clean): Likewise.
26667
26668 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26669
26670         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26671
26672 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26673
26674         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26675
26676 2013-04-15  Andreas Schwab  <schwab@suse.de>
26677
26678         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26679         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26680         * nscd/pwdcache.c (cache_addpw): Likewise.
26681         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26682         more than recsize.
26683
26684 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26685
26686         * benchtests/Makefile (bench): Write all output to
26687         bench-out.tmp together.
26688
26689 2013-04-15  Andreas Schwab  <schwab@suse.de>
26690
26691         * nscd/nscd.c (main): Don't fork again after closing files.
26692
26693 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26694
26695         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26696
26697         * benchtests/Rules (bench-deps): Collect dependencies into a
26698         single variable.  Add Makefile to dependencies.
26699         ($(objpfx)bench-%.c): Depend on bench-deps.
26700
26701 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26702             Xavier Roche  <roche+kml2@exalead.com>
26703
26704         [BZ #15361]
26705         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26706         just that it's a file descriptor.
26707         * manual/llio.texi (Synchronizing AIO Operations): Update description
26708         for EBADF error from aio_fsync.
26709
26710 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26711
26712         * Rules (bench): Move target definition...
26713         * benchtests/Makefile: ... here.
26714
26715 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26716
26717         * math/libm-test.inc (cos_test): Fix PI/2 test.
26718         (sincos_test): Likewise.
26719         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26720         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26721
26722 2013-04-11  Andreas Schwab  <schwab@suse.de>
26723
26724         [BZ #13988]
26725         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26726         accept exponent character only when digits were seen.
26727         * stdio-common/Makefile (tests): Add bug26.
26728         * stdio-common/bug26.c: New file.
26729
26730         [BZ #14293]
26731         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26732         non-freeable.
26733
26734 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26735
26736         * Makeconfig (rtld-prefix): Define built linker prefix.
26737         * Rules (run-bench): Use it.
26738         * math/Makefile (run-regen-ulps): Likewise.
26739
26740         * Rules (bench): Remove eval.
26741
26742 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26743             Roland McGrath  <roland@hack.frob.com>
26744             Ondrej Bilka  <neleai@seznam.cz>
26745
26746         [BZ #15346]
26747         * time/getdate.c: Include ctype.h and alloca.h.
26748         (__getdate_r): Trim leading and trailing spaces of input.
26749         * time/tst-getdate.c (tests): Add tests with leading and
26750         trailing spaces.
26751
26752 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26753
26754         [BZ #14280]
26755         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26756         when computing value.
26757
26758 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26759
26760         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26761         Use testrun.sh to run libm tests.
26762
26763         [BZ #15309]
26764         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26765
26766 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26767
26768         [BZ #15264]
26769         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26770
26771 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26772
26773         * Makefile.in (regen-ulps): New target.
26774         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26775         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26776         [ifneq (no,$(PERL)] (regen-ulps): New target.
26777         [ifeq (no,$(PERL)] (regen-ulps): New target.
26778         * math/libm-test.inc (ulps_file_name): Define.
26779         (output_dir): New variable.
26780         (options): Add "output-dir" option.
26781         (parse_opt): Handle 'o' case.
26782         (main): If output_dir is non-NULL use it as a prefix
26783         otherwise use "".
26784         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26785
26786 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26787
26788         [BZ #10060, #10062]
26789         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26790         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26791         fail configure if __sync_val_compare_and_swap is not inlined.
26792         * sysdeps/i386/configure: Regenerate.
26793         * configure.in: Build for i686 when configured for i386.
26794         * configure: Regenerate.
26795         * README: Remove i386 reference.
26796
26797 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26798
26799         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26800         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26801
26802 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26803
26804         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26805         (lmsnanval): New variables.
26806         (F): Add conversion tests.
26807         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26808         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26809
26810         * stdio-common/tstdiomisc.c (F): Properly collect individual
26811         tests' results.
26812
26813         [BZ #14686, #15336]
26814         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26815         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26816         Instead, use input NaN values or generate a qNaN by arithmetic
26817         operation.  Also fix bugs to comply with the standard.
26818         * math/libm-test.inc (remainder_test): Add more tests.
26819
26820         [BZ #15335, #15342]
26821         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26822         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26823         input NaN values or generate a qNaN by arithmetic operation.
26824
26825         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26826         unreachable code.
26827
26828         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26829         definitions.
26830
26831 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26832
26833         [BZ #14478]
26834         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26835         underflowed result.
26836         * math/s_cexpf.c (__cexpf): Likewise.
26837         * math/s_cexpl.c (__cexpl): Likewise.
26838         * math/libm-test.inc (cexp_test): Add more tests.
26839
26840 2013-04-03  Andreas Schwab  <schwab@suse.de>
26841
26842         [BZ #15330]
26843         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26844         order arrays from heap if bigger than alloca cutoff.
26845
26846 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26847
26848         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26849         (SNAN_TESTS_double): Refer to GCC PR56831.
26850         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26851         GCC PR56828.
26852
26853 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26854
26855         * Rules (bench): Move bench.out after the run is complete.
26856
26857         * Rules (bench): Echo currently running benchmark.
26858
26859         * benchtests/Makefile (bench): Add atan and slowatan.
26860         * benchtests/atan-inputs: New file.
26861         * benchtests/slowatan-inputs: New file.
26862         * benchtests/slowatan.c: New file.
26863
26864         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26865         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26866         its value.
26867
26868         [BZ #15305]
26869         * sysdeps/unix/sysv/linux/kernel-features.h
26870         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26871         __ASSUME_XFS_RESTRICTED_CHOWN.
26872         * sysdeps/unix/sysv/linux/pathconf.c
26873         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26874         Save and restore errno.
26875
26876 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
26877
26878         [BZ #15327]
26879         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26880         arguments using __kernel_casinh.
26881         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26882         arguments using __kernel_casinhf.
26883         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26884         arguments using __kernel_casinhl.
26885         * math/libm-test.inc (cacosh_test): Add more tests.
26886         * sysdeps/i386/fpu/libm-test-ulps: Update.
26887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26888
26889 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26890
26891         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26892         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26893
26894         * bench/Makefile (bench): Add sin and slowsin.
26895         * benchtests/sin-inputs: New file.
26896         * benchtests/slowsin-inputs: New file.
26897         * benchtests/slowsin.c: New file.
26898
26899         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26900         (bench): Add slowexp and slowpow.
26901         (exp-ITER): Increase iterations.
26902         (pow-ITER): Likewise.
26903         * benchtests/exp-inputs: Change input.
26904         * benchtests/pow-inputs: Likewise.
26905         * benchtests/slowexp-inputs: New file.
26906         * benchtests/slowexp.c: New file.
26907         * benchtests/slowpow-inputs: New file.
26908         * benchtests/slowpow.c: New file.
26909
26910 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26911
26912         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26913         instructions.
26914         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26915         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26916         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26917         * benchtests/Makefile: Add rint benchtest.
26918         * benchtests/rint-inputs: Input for rint benchtest.
26919
26920 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26921
26922         * Versions.def (libm): Add GLIBC_2.18.
26923         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26924         hidden libm prototypes.
26925         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26926         * math/Makefile (libm-calls): Add s_issignaling.
26927         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26928         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
26929         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26930         declaration.
26931         * math/math.h [__USE_GNU] (issignaling): New macro.
26932         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26933         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26934         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26935         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26936         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26937         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26938         * manual/arith.texi (issignaling): New section.
26939         * manual/libm-err-tab.pl (@all_functions): Update comment.
26940         * math/gen-libm-test.pl (parse_args): Apply special handling for
26941         issignaling.
26942         * math/libm-test.inc (print_float, issignaling_test): New
26943         functions.
26944         (check_float_internal): Add issignaling checks.
26945         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26946         default definition.
26947         * sysdeps/powerpc/math-tests.h: New file.
26948         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26949         tests.
26950         * math/test-snan.c (TEST_FUNC): Likewise.
26951
26952 2013-03-30  David S. Miller  <davem@davemloft.net>
26953
26954         * po/de.po: Update from translation team.
26955
26956 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
26957
26958         [BZ #10357]
26959         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26960         imaginary part less than 1.0 and real part less than 0.5
26961         specially.
26962         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26963         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26964         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26965         (cacos_test): Add more tests.
26966         (casin_test): Likewise.
26967         (casinh_test): Likewise.
26968         * sysdeps/i386/fpu/libm-test-ulps: Update.
26969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26970
26971 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26972
26973         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26974         ONE with its value.
26975
26976         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26977         (__pow_mp): Replace ONE and MONE with their values.
26978         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26979         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26980         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26981         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26982         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26983         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26984
26985         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26986
26987         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26988         (__pow_mp): Replace ZERO and MZERO with their values.
26989         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26990         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26991         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26993         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26994         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26995         (__sqr): Likewise.
26996
26997         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26998
26999         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27000
27001 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27002
27003         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27004         Declare with __attribute__ ((weak)).
27005         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27006         Call __call_tls_dtors only if it's not NULL.
27007
27008 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27009
27010         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27011         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27012         magic __ehdr_start linker symbol if it's defined.
27013         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27014         them up here if it was already done.
27015
27016         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27017         (_dl_aux_init): Use const in cast when setting it.
27018         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27019         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27020         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27021
27022         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27023         Declare them here.
27024         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27025         * csu/libc-tls.c: Nor here.
27026         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27027
27028         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27029         (__libc_message): Never call vsyslog.
27030
27031 2013-03-28  Alan Modra  <amodra@gmail.com>
27032
27033         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27034         Define as empty.
27035         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27036         Likewise.
27037
27038 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27039
27040         [BZ #15214]
27041         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27042         underflow.
27043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27044
27045 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27046
27047         [BZ #15304]
27048         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27049         Don't add gid passed as argument.
27050
27051         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27052
27053 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27054
27055         [BZ #15307]
27056         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27057         imaginary part between 1.0 and 1.5 and real part less than 0.5
27058         specially.
27059         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27060         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27061         * math/libm-test.inc (cacos_test): Add more tests.
27062         (casin_test): Likewise.
27063         (casinh_test): Likewise.
27064         * sysdeps/i386/fpu/libm-test-ulps: Update.
27065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27066
27067 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27068
27069         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27070         constants.
27071         (norm): Likewise.
27072         (denorm): Likewise.
27073         (__dbl_mp): Likewise.
27074         (add_magnitudes): Likewise.
27075         (sub_magnitudes): Likewise.
27076         (__add): Likewise.
27077         (__sub): Likewise.
27078         (__mul): Likewise.
27079         (__sqr): Likewise.
27080         (__inv): Likewise.
27081         (__dvd): Likewise.
27082
27083         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27084         commented code.
27085         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27086         (__dubcos): Likewise.
27087         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27088         (__ieee754_acos): Likewise.
27089         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27090         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27091         (__exp1): Likewise.
27092         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27093         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27094         (log1): Likewise.
27095         (my_log2): Likewise.
27096         (checkint): Likewise.
27097         * sysdeps/ieee754/dbl-64/e_remainder.c
27098         (__ieee754_remainder): Likewise.
27099         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27100         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27101         (bsloww): Likewise.
27102         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27103
27104         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27105         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27106         MANTISSA_STORE_T to store computations on mantissa.  Use
27107         macros for rounding and division.
27108         (denorm): Likewise.
27109         (__dbl_mp): Likewise.
27110         (add_magnitudes): Likewise.
27111         (sub_magnitudes): Likewise.
27112         (__mul): Likewise.
27113         (__sqr): Likewise.
27114         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27115         powers of two in terms of TWOPOW macro.
27116         (mp_no): Make type of mantissa as MANTISSA_T.
27117         [!RADIXI]: Define RADIXI.
27118         [!TWO52]: Define TWO52.
27119         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27120
27121 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27122
27123         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27124         llroundl symbol when building for PPC32.
27125
27126 2013-03-24  Mark H Weaver  <mhw@netris.org>
27127
27128         * manual/arith.texi (Normalization Functions): Fix prototypes for
27129         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27130
27131 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27132
27133         [BZ #13889]
27134         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27135         high value to check if expl overflow.
27136         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27137         to check for underflow and overflow.
27138         * math/libm-test.inc: Add exp test.
27139
27140 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27141
27142         [BZ #11120]
27143         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27144         with NOT_IN_libc.
27145
27146 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27147
27148         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27149         symbol.
27150
27151 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27152
27153         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27154         wrap blocks consisting of several statements.
27155
27156         * sysdeps/generic/math-tests.h: New file.
27157         * sysdeps/i386/fpu/math-tests.h: Likewise.
27158         * math/test-snan.c: Include it.
27159         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27160
27161 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27162
27163         [BZ #15285]
27164         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27165         (__ieee754_j0l): Do not improve calculations using cos of twice
27166         input for inputs above LDBL_MAX / 2.0L.
27167         (__ieee754_y0l): Likewise.
27168         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27169         (__ieee754_j1l): Do not improve calculations using cos of twice
27170         input for inputs above LDBL_MAX / 2.0L.
27171         (__ieee754_y1l): Likewise.
27172         * math/libm-test.inc (j0_test): Add another test.
27173         (j1_test): Likewise.
27174         (y0_test): Likewise.
27175         (y1_test): Likewise.
27176         * sysdeps/i386/fpu/libm-test-ulps: Update.
27177
27178 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27179
27180         * Rules ($(objpfx)bench-%.c): Include code from a C source
27181         file.
27182
27183 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27184
27185         [BZ #15287]
27186         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27187         imaginary part 1.0 and real part less than 0.5 specially.
27188         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27189         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27190         * math/libm-test.inc (cacos_test): Add more tests.
27191         (casin_test): Likewise.
27192         (casinh_test): Likewise.
27193         * sysdeps/i386/fpu/libm-test-ulps: Update.
27194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27195
27196 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27197
27198         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27199         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27200
27201 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27202
27203         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27204         * config.make.in (config-cflags-sse4): Remove variable.
27205         (config-cflags-avx): Likewise.
27206         (config-cflags-sse2avx): Likewise.
27207         (config-cflags-novzeroupper): Likewise.
27208         (config-asflags-i686): Likewise.
27209         (have-mfma4): Likewise.
27210         (have-as-vis3): Likewise.
27211         (MIG): Likewise.
27212         * configure.in (MIG): Do not AC_SUBST.
27213         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27214         (libc_cv_cc_sse4): Do not AC_SUBST.
27215         (libc_cv_cc_avx): Likewise.
27216         (libc_cv_cc_sse2avx): Likewise.
27217         (libc_cv_cc_novzeroupper): Likewise.
27218         (libc_cv_cc_fma4): Likewise.
27219         (libc_cv_as_i686): Likewise.
27220         (libc_cv_sparc_as_vis3): Likewise.
27221         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27222         LIBC_CONFIG_VAR.
27223         (config-asflags-i686): Likewise.
27224         (config-cflags-avx): Likewise.
27225         (config-cflags-sse2avx): Likewise.
27226         (have-mfma4): Likewise.
27227         (config-cflags-novzeroupper): Likewise.
27228         * sysdeps/mach/configure.in (MIG): Likewise.
27229         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27230         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27231         LIBC_CONFIG_VAR.
27232         (config-cflags-avx): Likewise.
27233         (config-cflags-sse2avx): Likewise.
27234         (have-mfma4): Likewise.
27235         (config-cflags-novzeroupper): Likewise.
27236         * configure: Regenerated.
27237         * sysdeps/i386/configure: Likewise.
27238         * sysdeps/mach/configure: Likewise.
27239         * sysdeps/sparc/configure: Likewise.
27240         * sysdeps/x86_64/configure: Likewise.
27241
27242 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27243
27244         [BZ #14812]
27245         * locale/programs/localedef.c (options): Put N_ translation marker
27246         on argument names, not just descriptions.
27247
27248 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27249
27250         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27251
27252 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27253
27254         [BZ #14176]
27255         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27256
27257 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27258
27259         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27260         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27261         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27262         [!BEFORE_ABORT] (before_abort): New function.
27263         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27264         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27265         (writev_for_fatal): New function.
27266         (WRITEV_FOR_FATAL): New macro; call that.
27267         (backtrace_and_maps): New function.
27268         (BEFORE_ABORT): New macro; call that.
27269         (struct str_list): Type removed.
27270         (__libc_message, __libc_fatal): Functions removed.
27271         Include <sysdeps/posix/libc_fatal.c> instead.
27272
27273 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27274
27275         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27276         constants.
27277         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27278         double constants.
27279
27280 2013-03-19  Andreas Schwab  <schwab@suse.de>
27281
27282         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27283         * sysdeps/gnu/configure: Regenerate.
27284
27285         * configure.in: Substitute libc_cv_rtlddir.
27286         * configure: Regenerate.
27287         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27288         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27289         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27290         * elf/Makefile (install-others, CFLAGS-interp.c)
27291         (ldso_install, common-ldd-rewrite): Likewise.
27292         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27293         $(inst_slibdir)/$(rtld-installed-name).
27294         * scripts/rellns-sh: Add -p option.
27295         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27296         for source.
27297
27298 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27299
27300         * manual/nptl.texi: Renamed to ...
27301         * manual/threads.texi: ... this.
27302         * manual/Makefile (chapters): Update.
27303
27304 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27305
27306         [BZ #14812]
27307         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27308         on argument names, not just descriptions.
27309         * malloc/memusagestat.c (options): Likewise.
27310         * nss/getent.c (options): Likewise.
27311
27312 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27313
27314         [BZ #14812]
27315         * iconv/iconv_prog.c (options): Put N_ translation marker
27316         on argument names, not just descriptions.
27317         * iconv/iconvconfig.c (options): Likewise.
27318
27319 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27320
27321         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27322         implementation which is faster on all x86_64 architectures.
27323         Tested on AMD, Intel Nehalem, SNB, IVB.
27324         * sysdeps/x86_64/strnlen.S: Likewise.
27325
27326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27327         Remove all multiarch strlen and strnlen versions.
27328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27329         Remove strlen and strnlen related parts.
27330
27331         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27332         Inline strlen part.
27333         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27334
27335         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27336         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27337         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27338         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27339         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27340         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27341
27342 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27343
27344         * manual/memory.texi (Malloc Tunable Parameters):
27345         Sort parameters alphabetically. Add comments for missing entries.
27346
27347 2013-03-17  David S. Miller  <davem@davemloft.net>
27348
27349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27350
27351 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27352
27353         [BZ #15283]
27354         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27355         for arguments at most half maximum finite value.
27356         * math/libm-test.inc (j0_test): Add more tests.
27357         (j1_test): Likewise.
27358         (y0_test): Likewise.
27359         (y1_test): Likewise.
27360         * sysdeps/i386/fpu/libm-test-ulps: Update.
27361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27362
27363         [BZ #14155]
27364         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27365         1 / x and functions P and Q for arguments above 0x1p256L.
27366         (__ieee754_y0l): Likewise.
27367         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27368         (__ieee754_y1l): Likewise.
27369         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27370         (j1_test): Likewise.
27371         (y0_test): Likewise.
27372         (y1_test): Likewise.
27373
27374 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27375
27376         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27377         variable.
27378
27379 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27380
27381         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27382         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27383         zero since it's initialized to EXEC_PAGESIZE.
27384
27385         * sysdeps/unix/sysv/linux/ldsodefs.h
27386         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27387         * sysdeps/generic/ldsodefs.h: ... here.
27388
27389 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27390
27391         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27392
27393         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27394         math/test-snan.c.
27395         * math/test-snan.c: Renamed from
27396         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27397         * math/Makefile (tests): Add test-snan.
27398         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27399         test-powerpc-snan.
27400
27401         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27402         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27403         functions.
27404         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27405         __builtin_nan family of functions.
27406         * math/libm-test.inc (initialize): Initialize qnan_value with
27407         __builtin_nan family of functions.
27408         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27409         Remove variables.
27410         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27411         Remove functions.
27412         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27413         storage class.  Initialize qNaN_var and sNaN_var with
27414         __builtin_nan and __builtin_nans families of functions,
27415         respectively.
27416
27417         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27418         (sqrt_test): Remove duplicate test with qNaN input.
27419         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27420         (round_test, signbit_test, significand_test): Note missing +/-Inf
27421         as well as qNaN tests.
27422
27423         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27424         qNaN_var.  Fix a few strings, too.
27425         * math/libm-test.inc (nan_value): Rename to qnan_value.
27426         * math/gen-libm-test.pl (%beautify): Adjust to that.
27427         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27428         * math/test-misc.c (main): Likewise.
27429         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27430         to __qnan_bytes, and __qnan_union, respectively.
27431         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27432         Likewise.
27433         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27434         and lqnanval, respectively.
27435         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27436         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27437         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27438         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27439
27440         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27441         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27442         doubles.
27443
27444         * math/test-misc.c (main): Fix copy'n'pastos.
27445         * misc/tst-efgcvt.c (special): Likewise.
27446
27447         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27448         Remove declarations.
27449
27450 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27451
27452         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27453         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27454         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27455         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27456
27457 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27458
27459         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27460         macro to return vdso values correctly in IFUNC implementations.
27461         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27462         Optimization by using IFUNC.
27463
27464 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27465             Richard Henderson  <rth@redhat.com>
27466             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27467
27468         * Makefile.in (bench): New target.
27469         * NEWS: Mention the benchmark framework.
27470         * Rules (bench): Likewise.
27471         (binaries-bench): Generate binaries for functions to
27472         benchmark.
27473         * benchtests/Makefile: New makefile for benchmark tests.
27474         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27475         programs.
27476         * benchtests/exp-inputs: New input file for EXP function.
27477         * benchtests/pow-inputs: New input file for POW function.
27478         * scripts/bench.pl: New script to generate source files for
27479         benchmark programs.
27480
27481 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27482
27483         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27484         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27485         computations on mantissa.  Use macros for rounding and
27486         division.
27487         (denorm): Likewise.
27488         (__dbl_mp): Likewise.
27489         (add_magnitudes): Likewise.
27490         (sub_magnitudes): Likewise.
27491         (__mul): Likewise.
27492         (__sqr): Likewise.
27493         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27494         powers of two in terms of TWOPOW macro.
27495         (mp_no): Make type of mantissa as MANTISSA_T.
27496         [!RADIXI]: Define RADIXI.
27497         [!TWO52]: Define TWO52.
27498         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27499
27500         * manual/nptl.texi (cindex): Modify threads to pthreads.
27501
27502 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27503
27504         * sysdeps/x86_64/preconfigure: Regenerated.
27505
27506 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27507
27508         [BZ #14155]
27509         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27510         0x1p28 and above.
27511         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27512         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27513         0x1p28 and above.
27514         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27515         * math/libm-test.inc (j0_test): Do not allow one spurious
27516         underflow exception.
27517         (y1_test): Likewise.
27518
27519 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27520
27521         * manual/Makefile (chapters): Add nptl.
27522         * manual/debug.texi (Debugging Support): Add link to Threads
27523         chapter.
27524         * manual/nptl.texi: New file.
27525
27526         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27527
27528 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27529
27530         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27531         for non-NULL pointer before the memory validity test. Pointed
27532         out by Holger Brunck <holger.brunck@keymile.com>.
27533
27534 2013-03-13  Andreas Schwab  <schwab@suse.de>
27535
27536         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27537         instead of .os.
27538
27539 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27540
27541         * timezone/zic.c: Update from tzcode 2013b.
27542
27543 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27544
27545         * manual/install.texi (Configuring and compiling):
27546         Mention i686 and i586.
27547         * INSTALL: Regenerate.
27548
27549 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27550
27551         * sysdeps/init_array/elf-init.c: New file.
27552         * csu/elf-init.c
27553         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27554         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27555
27556         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27557         __gmon_start__ as global, but as static with a .preinit_array pointer.
27558         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27559         * sysdeps/init_array/crti.S: New file, empty except for comments.
27560         * sysdeps/init_array/crtn.S: Likewise.
27561
27562 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27563
27564         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27565         definining bcopy.
27566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27567         Remove Prefer_SSE_for_memop.
27568         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27569         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27570         HAS_PREFER_SSE_FOR_MEMOP.
27571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27572         memset-x86-64.
27573         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27574         Remove bzero, memset ifunc support.
27575         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27576         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27577         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27578         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27579
27580 2013-03-11  Andreas Schwab  <schwab@suse.de>
27581
27582         [BZ #15234]
27583         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27584         by SHLIB_COMPAT.
27585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27586         (GLIBC_2.16): Remove pthread_atfork.
27587
27588 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27589
27590         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27591         (ptestcases.h): Likewise.
27592
27593 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27594
27595         * Makeconfig ($(common-objpfx)config.status): Depend on
27596         sysdeps/*/preconfigure{,.in} too.
27597
27598 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27599
27600         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27601         (__free_hook): Use void * instead of __malloc_ptr_t.
27602         (__malloc_hook): Likewise.
27603         (__realloc_hook): Likewise.
27604         (__memalign_hook): Likewise.
27605         (__after_morecore_hook): Likewise.
27606         * malloc/arena.c (save_malloc_hook): Likewise.
27607         (save_free_hook): Likewise.
27608         * malloc/hooks.c (malloc_hook_ini): Likewise.
27609         (realloc_hook_ini): Likewise.
27610         (memalign_hook_ini): Likewise.
27611         * malloc/malloc.c (malloc_hook_ini): Likewise.
27612         (realloc_hook_ini): Likewise.
27613         (memalign_hook_ini): Likewise.
27614         (__free_hook): Likewise.
27615         (__malloc_hook): Likewise.
27616         (__realloc_hook): Likewise.
27617         (__memalign_hook): Likewise.
27618         (__libc_malloc): Likewise.
27619         (__libc_free): Likewise.
27620         (__libc_realloc): Likewise.
27621         (__libc_memalign): Likewise.
27622         (__libc_valloc): Likewise.
27623         (__libc_pvalloc): Likewise.
27624         (__libc_calloc): Likewise.
27625         (__posix_memalign): Likewise.
27626         * malloc/morecore.c (__sbrk): Likewise.
27627         (__default_morecore): Likewise.
27628
27629         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27630
27631         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27632         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27633         __malloc_ptrdiff_t.
27634
27635         * malloc/malloc.h (__malloc_size_t): Remove macro.
27636         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27637         __malloc_size_t.
27638         (old_memalign_hook): Likewise.
27639         (old_realloc_hook): Likewise.
27640         (struct hdr): Likewise.
27641         (flood): Likewise.
27642         (mallochook): Likewise.
27643         (memalignhook): Likewise.
27644         (reallochook): Likewise.
27645         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27646         (tr_old_realloc_hook): Likewise.
27647         (tr_old_memalign_hook): Likewise.
27648         (tr_mallochook): Likewise.
27649         (tr_reallochook): Likewise.
27650         (tr_memalignhook): Likewise.
27651
27652 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27653
27654         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27655         default_ldbl_pack and using as default implementation.
27656         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27657         implementation.
27658         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27659         redundant definition.
27660         (ldbl_insert_mantissa): Likewise.
27661         (ldbl_canonicalize): Likewise.
27662         (ldbl_nearbyint): Likewise.
27663         (ldbl_pack): Rename to ldbl_pack_ppc.
27664         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27665         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27666         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27667
27668 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27669
27670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27671         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27672         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27673         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27675         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27676         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27677         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27678
27679 2013-03-07  Andreas Jaeger  <aj@suse.de>
27680
27681         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27682         bits/mman-linux.h.
27683
27684 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27685
27686         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27687         Include mpa.h and declare __MPEXP.
27688         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27689         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27690         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27691         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27692         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27693         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27694         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27695
27696         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27697         (__slowpow): Use long double EXPL and LOGL functions to
27698         compute POW.
27699         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27700         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27701         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27702         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27703         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27704         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27705
27706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27707         intermediate variable to calculate exponent.
27708         (__sqr): Likewise.
27709         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27710         Likewise.
27711         (__sqr): Likewise.
27712
27713         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27714         [!NO__SQR]: Define __sqr.
27715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27716         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27717         sysdeps/ieee754/dbl-64/mpa.c.
27718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27719
27720         [BZ #12723]
27721         * posix/Makefile (tests): Add tst-pathconf.
27722         * posix/tst-pathconf.c: New test case.
27723         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27724         _PC_PIPE_BUF.
27725         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27726
27727 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27728
27729         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27730
27731 2013-03-06  Andreas Jaeger  <aj@suse.de>
27732
27733         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27734         definition via __MAP_ANONYMOUS.
27735
27736         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27737         it's not part of Linux headers.
27738
27739         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27740         (MAP_HUGE_MASK): Define.
27741
27742         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27743         Define.
27744         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27745         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27746         Define.
27747         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27748         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27749         Define.
27750         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27751         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27752         Define.
27753         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27754
27755         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27756         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27757         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27758         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27759         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27760         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27761
27762         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27763         Handle f2fs.
27764
27765         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27766         Handle f2fs and efivarfs.
27767
27768         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27769         f2fs.
27770
27771         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27772         (EFIVARFS_MAGIC): Add.
27773         (F2FS_LINK_MAX): Add.
27774
27775 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27776
27777         * stdio-common/vfprintf.c: Replace __builtin_expect with
27778         __glibc_unlikely.
27779
27780 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27781
27782         [BZ #13550]
27783         * sysdeps/generic/bp-sym.h: Remove file.
27784         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27785         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27786         <bp-sym.h> and <bp-asm.h>.
27787         (__longjmp): Don't use BP_SYM.
27788         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27789         and <bp-asm.h>.
27790         (memcpy): Don't use BP_SYM.
27791         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27792         <bp-sym.h> and <bp-asm.h>.
27793         (memcpy): Don't use BP_SYM.
27794         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27795         <bp-asm.h>.
27796         (memcpy): Don't use BP_SYM.
27797         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27798         <bp-asm.h>.
27799         (memset): Don't use BP_SYM.
27800         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27801         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27802         (__bzero): Don't use BP_SYM.
27803         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27804         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27805         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27806         <bp-sym.h> and <bp-asm.h>.
27807         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27808         pointers.
27809         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27810         <bp-sym.h> and <bp-asm.h>.
27811         (memcpy): Don't use BP_SYM.
27812         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27813         <bp-sym.h> and <bp-asm.h>.
27814         (memset): Don't use BP_SYM.
27815         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27816         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27817         (__bzero): Don't use BP_SYM.
27818         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27819         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27820         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27821         <bp-sym.h> and <bp-asm.h>.
27822         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27823         pointers.
27824         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27825         <bp-sym.h> and <bp-asm.h>.
27826         (memcpy): Don't use BP_SYM.
27827         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27828         <bp-sym.h> and <bp-asm.h>.
27829         (memset): Don't use BP_SYM.
27830         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27831         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27832         (__bzero): Don't use BP_SYM.
27833         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27834         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27835         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27836         <bp-sym.h> and <bp-asm.h>.
27837         (__memchr): Don't use BP_SYM.
27838         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27839         <bp-sym.h> and <bp-asm.h>.
27840         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27841         pointers.
27842         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27843         <bp-sym.h> and <bp-asm.h>.
27844         (memcpy): Don't use BP_SYM.
27845         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27846         <bp-sym.h> and <bp-asm.h>.
27847         (__mempcpy): Don't use BP_SYM.
27848         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27849         <bp-sym.h> and <bp-asm.h>.
27850         (__memrchr): Don't use BP_SYM.
27851         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27852         <bp-sym.h> and <bp-asm.h>.
27853         (memset): Don't use BP_SYM.
27854         (__bzero): Likewise.
27855         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27856         <bp-sym.h> and <bp-asm.h>.
27857         (__rawmemchr): Don't use BP_SYM.
27858         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27859         <bp-sym.h> and <bp-asm.h>.
27860         (__STRCMP): Don't use BP_SYM.
27861         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27862         <bp-sym.h> and <bp-asm.h>.
27863         (strchr): Don't use BP_SYM.
27864         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27865         <bp-sym.h> and <bp-asm.h>.
27866         (__strchrnul): Don't use BP_SYM.
27867         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27868         <bp-sym.h> and <bp-asm.h>.
27869         (strlen): Don't use BP_SYM.
27870         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27871         <bp-sym.h> and <bp-asm.h>.
27872         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27873         pointers.
27874         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27875         <bp-sym.h> and <bp-asm.h>.
27876         (__strnlen): Don't use BP_SYM.
27877         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27878         <bp-sym.h> and <bp-asm.h>.
27879         (__GI__setjmp): Don't use BP_SYM.
27880         (_setjmp): Likewise.
27881         (__sigsetjmp): Likewise.
27882         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27883         (L(start_addresses)): Don't use BP_SYM.
27884         (_start): Likewise.
27885         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27886         <bp-asm.h>.
27887         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27888         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27889         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27890         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27891         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27892         <bp-asm.h>.
27893         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27894         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
27895         about bounded pointers.
27896         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27897         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27898         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27899         <bp-asm.h>.
27900         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27901         about bounded pointers.  Remove GKM FIXME comments.
27902         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27903         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27904         <bp-asm.h>.
27905         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27906         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
27907         Remove GKM FIXME comments.
27908         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27909         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27910         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27911         <bp-asm.h>.
27912         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27913         about bounded pointers.  Remove GKM FIXME comment.
27914         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27915         and <bp-asm.h>.
27916         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27917         pointers.
27918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27919         <bp-sym.h> and <bp-asm.h>.
27920         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27922         <bp-sym.h> and <bp-asm.h>.
27923         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27924         comment.
27925
27926 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27927
27928         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27929         call free(NULL).
27930
27931 2013-03-05  David S. Miller  <davem@davemloft.net>
27932
27933         * po/es.po: Update from translation team.
27934
27935 2013-03-05  Andreas Jaeger  <aj@suse.de>
27936
27937         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27938         <bits/mman-linux.h>.
27939         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27940         is fine.
27941         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27942         <bits/mman-linux.h> to end of file.
27943         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27944         is fine.
27945         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27946         <bits/mman-linux.h> to end of file.
27947         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27948         is fine.
27949         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27950         <bits/mman-linux.h> to end of file.
27951
27952         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27953         (MCL_CURRENT, MCL_FUTURE): Define here.
27954
27955 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27956
27957         [BZ #15232]
27958         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27959         attribute_hidden.
27960         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27961
27962 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27963
27964         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27965         fourth parameter needed for rt_sigprocmask syscall.
27966         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27967         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27968         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27969         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27970         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27971         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27972
27973 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
27974
27975         [BZ #13550]
27976         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27977         comment about bounded pointers.
27978         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27979         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27980
27981 2013-03-04  Andreas Jaeger  <aj@suse.de>
27982
27983         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27984         common definitions.
27985
27986         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27987         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27988         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27989         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27990         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27991         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27992
27993 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27994
27995         [BZ #15055]
27996         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27997         __ieee754_sqrl instead of __sqrl.
27998
27999 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28000
28001         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28002         * sysdeps/powerpc/fpu_control.h: ... here.
28003         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28004         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28005         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28006         * sysdeps/powerpc/bits/mathinline.h: ... here.
28007
28008 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28009
28010         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28011         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28012         to just [NEED_DL_SYSINFO_DSO].
28013         * elf/dl-support.c: Likewise.
28014         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28015         * elf/rtld.c (dl_main): Likewise.
28016         * elf/setup-vdso.h (setup_vdso): Likewise.
28017         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28018         * sysdeps/unix/sysv/linux/dl-sysdep.c
28019         (_dl_discover_osversion): Likewise.
28020
28021 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28022
28023         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28024         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28025
28026 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28027
28028         * NEWS: Mention libm performance improvements and non-x86 PI
28029         futex support.
28030
28031         * csu/libc-start.c (__pthread_initialize_minimal): Change
28032         function arguments.
28033         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28034
28035 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28036
28037         [BZ #13550]
28038         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28039         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28040         <bp-sym.h> and <bp-asm.h>.
28041         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28042         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28043         and <bp-asm.h>.
28044         (memcpy): Don't use BP_SYM.
28045         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28046         <bp-asm.h>.
28047         (__mpn_add_n): Don't use BP_SYM.
28048         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28049         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28050         and <bp-asm.h>.
28051         (__mpn_addmul_1): Don't use BP_SYM.
28052         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28053         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28054         <bp-sym.h>.
28055         (_setjmp): Don't use BP_SYM.
28056         (__novmx_setjmp): Likewise.
28057         (__GI__setjmp): Likewise.
28058         (__vmx_setjmp): Likewise.
28059         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28060         <bp-sym.h>.
28061         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28062         (__bzero): Don't use BP_SYM.
28063         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28064         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28065         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28066         <bp-sym.h> and <bp-asm.h>.
28067         (memcpy): Don't use BP_SYM.
28068         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28069         <bp-sym.h> and <bp-asm.h>.
28070         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28071         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28072         <bp-sym.h> and <bp-asm.h>.
28073         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28074         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28075         <bp-asm.h>.
28076         (__mpn_lshift): Don't use BP_SYM.
28077         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28078         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28079         <bp-asm.h>.
28080         (memset): Don't use BP_SYM.
28081         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28082         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28083         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28084         <bp-asm.h>.
28085         (__mpn_mul_1): Don't use BP_SYM.
28086         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28087         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28088         <bp-sym.h> and <bp-asm.h>.
28089         (memcmp): Don't use BP_SYM.
28090         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28091         <bp-sym.h> and <bp-asm.h>.
28092         (memcpy): Don't use BP_SYM.
28093         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28094         <bp-sym.h> and <bp-asm.h>.
28095         (memset): Don't use BP_SYM.
28096         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28097         <bp-sym.h> and <bp-asm.h>.
28098         (strncmp): Don't use BP_SYM.
28099         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28100         <bp-sym.h> and <bp-asm.h>.
28101         (memcpy): Don't use BP_SYM.
28102         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28103         <bp-sym.h> and <bp-asm.h>.
28104         (memset): Don't use BP_SYM.
28105         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28106         <bp-sym.h> and <bp-asm.h>.
28107         (__memchr): Don't use BP_SYM.
28108         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28109         <bp-sym.h> and <bp-asm.h>.
28110         (memcmp): Don't use BP_SYM.
28111         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28112         <bp-sym.h> and <bp-asm.h>.
28113         (memcpy): Don't use BP_SYM.
28114         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28115         <bp-sym.h> and <bp-asm.h>.
28116         (__mempcpy): Don't use BP_SYM.
28117         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28118         <bp-sym.h> and <bp-asm.h>.
28119         (__memrchr): Don't use BP_SYM.
28120         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28121         <bp-sym.h> and <bp-asm.h>.
28122         (memset): Don't use BP_SYM.
28123         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28124         <bp-sym.h> and <bp-asm.h>.
28125         (__rawmemchr): Don't use BP_SYM.
28126         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28127         <bp-sym.h> and <bp-asm.h>.
28128         (__STRCMP): Don't use BP_SYM.
28129         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28130         <bp-sym.h> and <bp-asm.h>.
28131         (strchr): Don't use BP_SYM.
28132         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28133         <bp-sym.h> and <bp-asm.h>.
28134         (__strchrnul): Don't use BP_SYM.
28135         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28136         <bp-sym.h> and <bp-asm.h>.
28137         (strlen): Don't use BP_SYM.
28138         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28139         <bp-sym.h> and <bp-asm.h>.
28140         (strncmp): Don't use BP_SYM.
28141         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28142         <bp-sym.h> and <bp-asm.h>.
28143         (__strnlen): Don't use BP_SYM.
28144         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28145         <bp-asm.h>.
28146         (__mpn_rshift): Don't use BP_SYM.
28147         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28148         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28149         <bp-sym.h> and <bp-asm.h>.
28150         (__sigsetjmp): Don't use BP_SYM.
28151         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28152         (L(start_addresses)): Don't use BP_SYM.
28153         (_start): Likewise.
28154         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28155         <bp-asm.h>.
28156         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28157         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28158         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28159         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28160         <bp-asm.h>.
28161         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28162         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28163         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28164         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28165         <bp-asm.h>.
28166         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28167         comments.
28168         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28169         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28170         <bp-asm.h>.
28171         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28172         FIXME comments.
28173         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28174         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28175         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28176         <bp-asm.h>.
28177         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28178         comment.
28179         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28180         and <bp-asm.h>.
28181         (strncmp): Don't use BP_SYM,
28182         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28183         <bp-asm.h>.
28184         (__mpn_sub_n): Don't use BP_SYM.
28185         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28186         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28187         and <bp-asm.h>.
28188         (__mpn_submul_1): Don't use BP_SYM.
28189         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28191         <bp-sym.h> and <bp-asm.h>.
28192         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28194         <bp-sym.h> and <bp-asm.h>.
28195         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28196         comment.
28197
28198 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28199
28200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28201         Use ZK to minimize writes to Z.
28202         (sub_magnitudes): Simplify code a bit.
28203         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28204         Use ZK to minimize writes to Z.
28205         (sub_magnitudes): Simplify code a bit.
28206
28207 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28208
28209         * csu/gmon-start.c: Add special exception to license text.
28210
28211 2013-02-27  Richard Henderson  <rth@redhat.com>
28212
28213         * scripts/config.guess: Update from config.git.
28214         * scripts/config.sub: Likewise.
28215
28216 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28217
28218         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28219
28220         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28221
28222         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28223
28224         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28225
28226         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28227
28228 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28229
28230         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28231         [$(build-shared = yes].
28232
28233 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28234
28235         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28236         (__mul): Reduce iterations for calculating mantissa.
28237
28238         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28239         MPTWO.
28240         (__mpranred): Likewise.
28241
28242         [BZ #15160]
28243         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28244         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28245
28246 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28247
28248         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28249         Define __attribute__.
28250
28251 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28252
28253         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28254         unused.
28255         * posix/regex_internal.h (__attribute): Remove.
28256         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28257         (re_string_context_at): Likewise.
28258         (bitset_not): Use __attribute__ and mark function as possibly
28259         unused.
28260         (bitset_merge): Likewise.
28261         (bitset_mask): Likewise.
28262         (re_string_char_size_at): Likewise.
28263         (re_string_wchar_at): Likewise.
28264         (re_string_elem_size_at): Likewise.
28265
28266 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28267
28268         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28269         code.
28270         (cc32): Likewise.
28271
28272         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28273         (__acr): Likewise.
28274         (__cpy): Likewise.
28275         (norm): Likewise.
28276         (denorm): Likewise.
28277         (__dbl_mp): Likewise.
28278         (add_magnitudes): Likewise.
28279         (sub_magnitudes): Likewise.
28280         (__mul): Likewise.
28281         (__inv): Likewise.
28282
28283         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28284         style.
28285
28286         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28287         style.
28288
28289         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28290         code.
28291
28292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28293         up changes with default code.
28294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28295         Likewise.
28296
28297 2013-02-24  Allan McRae  <allan@archlinux.org>
28298
28299         * manual/socket.texi (The Internet Namespace): Order menu items
28300         to match that in the file.
28301
28302         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28303         node listing of the info page menu.
28304
28305 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28306
28307         [BZ #13550]
28308         * sysdeps/i386/bp-asm.h: Remove file.
28309         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28310         (PARMS): Do not use macros from bp-asm.h.
28311         (S1): Likewise.
28312         (S2): Likewise.
28313         (SIZE): Likewise.
28314         (__mpn_add_n): Do not use BP_SYM
28315         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28316         "bp-asm.h".
28317         (PARMS): Do not use macros from bp-asm.h.
28318         (S1): Likewise.
28319         (SIZE): Likewise.
28320         (__mpn_addmul_1): Do not use BP_SYM
28321         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28322         "bp-asm.h".
28323         (PARMS): Do not use macros from bp-asm.h.
28324         (SIGMSK): Likewise.
28325         (_setjmp): Likewise.  Do not use BP_SYM.
28326         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28327         "bp-asm.h".
28328         (PARMS): Do not use macros from bp-asm.h.
28329         (SIGMSK): Likewise.
28330         (setjmp): Likewise.  Do not use BP_SYM.
28331         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28332         "bp-asm.h".
28333         (PARMS): Do not use macros from bp-asm.h.
28334         (__frexp): Do not use BP_SYM.
28335         (frexp): Likewise.
28336         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28337         "bp-asm.h".
28338         (PARMS): Do not use macros from bp-asm.h.
28339         (__frexpf): Do not use BP_SYM.
28340         (frexpf): Likewise.
28341         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28342         "bp-asm.h".
28343         (PARMS): Do not use macros from bp-asm.h.
28344         (__frexpl): Do not use BP_SYM.
28345         (frexpl): Likewise.
28346         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28347         "bp-asm.h".
28348         (PARMS): Do not use macros from bp-asm.h.
28349         (__remquo): Do not use BP_SYM.
28350         (remquo): Likewise.
28351         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28352         "bp-asm.h".
28353         (PARMS): Do not use macros from bp-asm.h.
28354         (__remquof): Do not use BP_SYM.
28355         (remquof): Likewise.
28356         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28357         "bp-asm.h".
28358         (PARMS): Do not use macros from bp-asm.h.
28359         (__remquol): Do not use BP_SYM.
28360         (remquol): Likewise.
28361         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28362         "bp-asm.h".
28363         (PARMS): Do not use macros from bp-asm.h.
28364         (DEST): Likewise.
28365         (SRC): Likewise.
28366         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28367         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28368         "bp-asm.h".
28369         (PARMS): Do not use macros from bp-asm.h.
28370         (strlen): Do not use BP_SYM.
28371         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28372         "bp-asm.h".
28373         (PARMS): Do not use macros from bp-asm.h.
28374         (S1): Likewise.
28375         (S2): Likewise.
28376         (SIZE): Likewise.
28377         (__mpn_add_n): Do not use BP_SYM.
28378         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28379         "bp-asm.h".
28380         (PARMS): Do not use macros from bp-asm.h.
28381         (S1): Likewise.
28382         (SIZE): Likewise.
28383         (__mpn_addmul_1): Do not use BP_SYM.
28384         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28385         weak_alias.
28386         (bzero): Likewise.
28387         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28388         "bp-asm.h".
28389         (PARMS): Do not use macros from bp-asm.h.
28390         (S): Likewise.
28391         (SIZE): Likewise.
28392         (__mpn_lshift): Do not use BP_SYM.
28393         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28394         "bp-asm.h".
28395         (PARMS): Do not use macros from bp-asm.h.
28396         (DEST): Likewise.
28397         (SRC): Likewise.
28398         (LEN): Likewise.
28399         (memcpy): Likewise.  Do not use BP_SYM.
28400         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28401         libc_hidden_def and weak_alias.
28402         (mempcpy): Do not use BP_SYM in weak_alias.
28403         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28404         "bp-asm.h".
28405         (PARMS): Do not use macros from bp-asm.h.
28406         (DEST): Likewise.
28407         (LEN): Likewise.
28408         [!BZERO_P] (CHR): Likewise.
28409         (memset): Likewise.  Do not use BP_SYM.
28410         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28411         "bp-asm.h".
28412         (PARMS): Do not use macros from bp-asm.h.
28413         (S1): Likewise.
28414         (SIZE): Likewise.
28415         (__mpn_mul_1): Do not use BP_SYM.
28416         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28417         "bp-asm.h".
28418         (PARMS): Do not use macros from bp-asm.h.
28419         (S): Likewise.
28420         (SIZE): Likewise.
28421         (__mpn_rshift): Do not use BP_SYM.
28422         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28423         "bp-asm.h".
28424         (PARMS): Do not use macros from bp-asm.h.
28425         (STR): Likewise.
28426         (CHR): Likewise.
28427         (strchr): Likewise.  Do not use BP_SYM.
28428         (index): Do not use BP_SYM in weak_alias.
28429         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28430         "bp-asm.h".
28431         (PARMS): Do not use macros from bp-asm.h.
28432         (DEST): Likewise.
28433         (SRC): Likewise.
28434         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28435         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28436         "bp-asm.h".
28437         (PARMS): Do not use macros from bp-asm.h.
28438         (strlen): Do not use BP_SYM.
28439         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28440         "bp-asm.h".
28441         (PARMS): Do not use macros from bp-asm.h.
28442         (S1): Likewise.
28443         (S2): Likewise.
28444         (SIZE): Likewise.
28445         (__mpn_sub_n): Do not use BP_SYM.
28446         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28447         "bp-asm.h".
28448         (PARMS): Do not use macros from bp-asm.h.
28449         (S1): Likewise.
28450         (SIZE): Likewise.
28451         (__mpn_submul_1): Do not use BP_SYM.
28452         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28453         "bp-asm.h".
28454         (PARMS): Do not use macros from bp-asm.h.
28455         (S1): Likewise.
28456         (S2): Likewise.
28457         (SIZE): Likewise.
28458         (__mpn_add_n): Do not use BP_SYM.
28459         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28460         weak_alias.
28461         (bzero): Likewise.
28462         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28463         "bp-asm.h".
28464         (PARMS): Do not use macros from bp-asm.h.
28465         (BLK2): Likewise.
28466         (LEN): Likewise.
28467         (memcmp): Do not use BP_SYM.
28468         (bcmp): Do not use BP_SYM in weak_alias.
28469         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28470         "bp-asm.h".
28471         (PARMS): Do not use macros from bp-asm.h.
28472         (DEST): Likewise.
28473         (SRC): Likewise.
28474         (LEN): Likewise.
28475         (memcpy): Likewise.  Do not use BP_SYM.
28476         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28477         "bp-asm.h".
28478         (PARMS): Do not use macros from bp-asm.h.
28479         (DEST): Likewise.
28480         (SRC): Likewise.
28481         (LEN): Likewise.
28482         (memmove): Likewise.  Do not use BP_SYM.
28483         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28484         "bp-asm.h".
28485         (PARMS): Do not use macros from bp-asm.h.
28486         (DEST): Likewise.
28487         (SRC): Likewise.
28488         (LEN): Likewise.
28489         (__mempcpy): Likewise.  Do not use BP_SYM.
28490         (mempcpy): Do not use BP_SYM in weak_alias.
28491         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28492         "bp-asm.h".
28493         (PARMS): Do not use macros from bp-asm.h.
28494         (DEST): Likewise.
28495         (LEN): Likewise.
28496         [!BZERO_P] (CHR): Likewise.
28497         (memset): Likewise.  Do not use BP_SYM.
28498         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28499         "bp-asm.h".
28500         (PARMS): Do not use macros from bp-asm.h.
28501         (STR2): Likewise.
28502         (strcmp): Do not use BP_SYM.
28503         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28504         "bp-asm.h".
28505         (PARMS): Do not use macros from bp-asm.h.
28506         (STR): Likewise.
28507         (DELIM): Likewise.
28508         [USE_AS_STRTOK_R] (SAVE): Likewise.
28509         (FUNCTION): Likewise.  Do not use BP_SYM.
28510         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28511         aliases.
28512         (strtok_r): Likewise.
28513         (__GI___strtok_r): Likewise.
28514         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28515         (PARMS): Do not use macros from bp-asm.h.
28516         (S): Likewise.
28517         (SIZE): Likewise.
28518         (__mpn_lshift): Do not use BP_SYM.
28519         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28520         (PARMS): Do not use macros from bp-asm.h.
28521         (STR): Likewise.
28522         (CHR): Likewise.
28523         (__memchr): Do not use BP_SYM.
28524         (memchr): Do not use BP_SYM in weak_alias.
28525         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28526         (PARMS): Do not use macros from bp-asm.h.
28527         (BLK2): Likewise.
28528         (LEN): Likewise.
28529         (memcmp): Do not use BP_SYM.
28530         (bcmp): Do not use BP_SYM in weak_alias.
28531         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28532         (PARMS): Do not use macros from bp-asm.h.
28533         (S1): Likewise.
28534         (SIZE): Likewise.
28535         (__mpn_mul_1): Do not use BP_SYM.
28536         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28537         "bp-asm.h".
28538         (PARMS): Do not use macros from bp-asm.h.
28539         (STR): Likewise.
28540         (CHR): Likewise.
28541         (__rawmemchr): Do not use BP_SYM.
28542         (rawmemchr): Do not use BP_SYM in weak_alias.
28543         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28544         (PARMS): Do not use macros from bp-asm.h.
28545         (S): Likewise.
28546         (SIZE): Likewise.
28547         (__mpn_rshift): Do not use BP_SYM.
28548         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28549         (PARMS): Do not use macros from bp-asm.h.
28550         (SIGMSK): Likewise.
28551         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28552         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28553         (_start): Do not use BP_SYM.
28554         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28555         (PARMS): Do not use macros from bp-asm.h.
28556         (DEST): Likewise.
28557         (SRC): Likewise.
28558         (__stpcpy): Likewise.  Do not use BP_SYM.
28559         (stpcpy): Do not use BP_SYM in weak_alias.
28560         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28561         "bp-asm.h".
28562         (PARMS): Do not use macros from bp-asm.h.
28563         (DEST): Likewise.
28564         (SRC): Likewise.
28565         (LEN): Likewise.
28566         (__stpncpy): Likewise.  Do not use BP_SYM.
28567         (stpncpy): Do not use BP_SYM in weak_alias.
28568         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28569         (PARMS): Do not use macros from bp-asm.h.
28570         (STR): Likewise.
28571         (CHR): Likewise.
28572         (strchr): Likewise.  Do not use BP_SYM.
28573         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28574         "bp-asm.h".
28575         (PARMS): Do not use macros from bp-asm.h.
28576         (STR): Likewise.
28577         (CHR): Likewise.
28578         (__strchrnul): Likewise.  Do not use BP_SYM.
28579         (strchrnul): Do not use BP_SYM in weak_alias.
28580         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28581         "bp-asm.h".
28582         (PARMS): Do not use macros from bp-asm.h.
28583         (STOP): Likewise.
28584         (strcspn): Do not use BP_SYM.
28585         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28586         "bp-asm.h".
28587         (PARMS): Do not use macros from bp-asm.h.
28588         (STR): Likewise.
28589         (STOP): Likewise.
28590         (strpbrk): Likewise.  Do not use BP_SYM.
28591         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28592         "bp-asm.h".
28593         (PARMS): Do not use macros from bp-asm.h.
28594         (STR): Likewise.
28595         (CHR): Likewise.
28596         (strrchr): Likewise.  Do not use BP_SYM.
28597         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28598         (PARMS): Do not use macros from bp-asm.h.
28599         (SKIP): Likewise.
28600         (strspn): Do not use BP_SYM.
28601         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28602         (PARMS): Do not use macros from bp-asm.h.
28603         (STR): Likewise.
28604         (DELIM): Likewise.
28605         (SAVE): Likewise.
28606         (FUNCTION): Likewise.  Do not use BP_SYM.
28607         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28608         aliases.
28609         (strtok_r): Likewise.
28610         (__GI___strtok_r): Likewise.
28611         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28612         (PARMS): Do not use macros from bp-asm.h.
28613         (S1): Likewise.
28614         (S2): Likewise.
28615         (SIZE): Likewise.
28616         (__mpn_sub_n): Do not use BP_SYM.
28617         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28618         "bp-asm.h".
28619         (PARMS): Do not use macros from bp-asm.h.
28620         (S1): Likewise.
28621         (SIZE): Likewise.
28622         (__mpn_submul_1): Do not use BP_SYM.
28623         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28624         <bp-sym.h>.
28625         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28626         and <bp-asm.h>.
28627         (PARMS): Do not use macros from bp-asm.h.
28628         (FLAGS): Likewise.
28629         (PTID): Likewise.
28630         (TLS): Likewise.
28631         (CTID): Likewise.
28632         (__clone): Do not use BP_SYM.
28633         (clone): Do not use BP_SYM in weak_alias.
28634         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28635         and <bp-asm.h>.
28636         (PARMS): Do not use macros from bp-asm.h.
28637         (LEN): Likewise.
28638         (__mmap64): Do not use BP_SYM.
28639         (mmap64): Do not use BP_SYM in weak_alias.
28640         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28641         <bp-sym.h> and <bp-asm.h>.
28642         (PARMS): Do not use macros from bp-asm.h.
28643         (__posix_fadvise64_l64): Do not use BP_SYM.
28644         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28645         (PARMS): Do not use macros from bp-asm.h.
28646         (NSOPS): Likewise.
28647         (semtimedop): Do not use BP_SYM.
28648         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28649         and <bp-asm.h>.
28650
28651 2013-02-21  Allan McRae  <allan@archlinux.org>
28652
28653         * manual/message.texi (Charset conversion in gettext):
28654         Move @end statement to beginning of line.
28655
28656 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28657
28658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28659         static.
28660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28661         Likewise.
28662
28663         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28664         (denorm): Likewise.
28665         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28667
28668 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28669
28670         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28671         tail-call to the resolved function if pltexit isn't needed.
28672
28673 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28674
28675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28676         or Y being zero as being unlikely.
28677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28678         Likewise.
28679
28680 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28681
28682         * manual/nss.texi (System Databases and Name Service Switch):
28683         Remove frobnicate @pxref.
28684
28685 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28686
28687         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28688         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28689
28690 2013-02-20  Petr Machata  <pmachata@redhat.com>
28691
28692         * elf/elf.h (R_ARM_TARGET1): New macro.
28693         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28694         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28695         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28696         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28697         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28698         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28699         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28700         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28701         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28702         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28703         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28704         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28705         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28706         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28707         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28708         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28709         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28710         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28711         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28712         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28713         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28714         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28715         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28716         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28717         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28718         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28719         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28720         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28721         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28722         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28723         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28724         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28725         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28726         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28727         (R_ARM_THM_GOT_BREL12): Likewise.
28728         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28729         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28730         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28731         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28732         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28733         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28734         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28735         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28736         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28737
28738 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28739
28740         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28741         __attribute_used__ to __attribute__ ((unused)).
28742
28743 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28744
28745         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28746         powerpc mpa.c.
28747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28748         comment formatting.
28749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28750
28751 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28752
28753         [BZ #13550]
28754         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28755         Remove macro.
28756         (ENTER): Remove both macro definitions.
28757         (LEAVE): Likewise.
28758         (CHECK_BOUNDS_LOW): Likewise.
28759         (CHECK_BOUNDS_HIGH): Likewise.
28760         (CHECK_BOUNDS_BOTH): Likewise.
28761         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28762         (RETURN_BOUNDED_POINTER): Likewise.
28763         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28764         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28765         (POP_ERRNO_LOCATION_RETURN): Likewise.
28766         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28767         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28768         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28769         macros.
28770         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28771         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28772         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28773         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28774         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28775         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28776         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28777         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28778         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28779         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28780         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28781         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28782         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28783         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28784         removed macros.
28785         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28786         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28787         macros.
28788         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28789         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28790         * sysdeps/i386/i586/memset.S (memset): Likewise.
28791         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28792         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28793         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28794         macros.
28795         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28796         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28797         Change uses of L(2) to L(out).
28798         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28799         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28800         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28801         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28802         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28803         removed macros.
28804         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28805         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28806         macros.
28807         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28808         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28809         (RETURN): Do not use macro LEAVE.
28810         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28811         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28812         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28813         * sysdeps/i386/i686/memset.S (memset): Likewise.
28814         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28815         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28816         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28817         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28818         Likewise.
28819         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28820         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28821         L(1_2) and L(1_3) into L(1).
28822         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28823         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28824         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28825         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28826         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28827         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28828         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28829         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28830         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28831         macros.
28832         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28833         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28834         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28835         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28836         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28837         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28838         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28839         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28840         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28841         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28842         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28843         * sysdeps/i386/strspn.S (strspn): Likewise.
28844         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28845         conditional code.
28846         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28847         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28848         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28849         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28850         L(1_3) into L(1_1).
28851         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28852         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28853         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28854         macros.
28855         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28856
28857 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
28858
28859         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28860         macro.
28861
28862 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28863
28864         * math/atest-exp.c (exp_mpn): Remove ROUND.
28865         * math/atest-exp2.c (exp_mpn): Likewise.
28866         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28867
28868         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28869         * stdlib/tst-tls-atexit-lib.c: Likewise.
28870         * stdlib/tst-tls-atexit.c: Likewise.
28871
28872 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28873
28874         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28875         and __attribute_alloc_size__.
28876
28877 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28878
28879         * include/programs/xmalloc.h: Change __attribute_alloc_size to
28880         __attribute_alloc_size__.
28881         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28882         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28883
28884 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28885
28886         * include/programs/xmalloc.h: New file.
28887         * catgets/gencat.c: Include it.
28888         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28889         * elf/pldd.c: Likewise.
28890         * iconv/iconv_charmap.c: Likewise.
28891         * iconv/iconvconfig.c: Likewise.
28892         * iconv/strtab.c: Likewise.
28893         * locale/programs/locale.c: Likewise.
28894         * locale/programs/localedef.h: Likewise.
28895         * locale/programs/simple-hash.c: Likewise.
28896         * nscd/nscd.h: Likewise.
28897         * nss/makedb.c: Likewise.
28898         * sysdeps/generic/ldconfig.h: Likewise.
28899
28900 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28901
28902         * Versions.def: Add GLIBC_2.18.
28903         * include/link.h (struct link_map): New member l_tls_dtor_count.
28904         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28905         (__call_tls_dtors): Likewise.
28906         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28907         __cxa_thread_atexit_impl.
28908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28909         Likewise.
28910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28911         Likewise.
28912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28913         Likewise.
28914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28915         Likewise.
28916         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28918         Likewise.
28919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28920         Likewise.
28921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28923         Likewise.
28924         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28925         (tests): Add test case tst-tls-atexit.
28926         (modules-names): Add shared library for tst-tls-atexit.
28927         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28928         (GLIBC_PRIVATE): Add __call_tls_dtors.
28929         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28930         for libstdc++.
28931         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28932         * stdlib/tst-tls-atexit.c: New test case.
28933         * stdlib/tst-tls-atexit-lib.c: New test case.
28934
28935         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28936
28937         * elf/Versions (ld): Add _dl_find_dso_for_object.
28938         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28939         * elf/dl-open.c (_dl_find_dso_for_object): New function.
28940         (dl_open_worker): Use _dl_find_dso_for_object.
28941         * elf/dl-sym.c (do_sym): Likewise.
28942         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28943
28944 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28945
28946         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28947         Syntactic changes only.
28948         (_dl_runtime_profile): Do a tail-call to the resolved function.
28949
28950 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
28951
28952         [BZ #13550]
28953         * sysdeps/x86_64/bp-asm.h: Remove file.
28954         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28955         <bp-sym.h> and <bp-asm.h>.
28956         (__clone): Do not use BP_SYM.
28957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28958         <bp-sym.h> and <bp-asm.h>.
28959         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28960         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28961         "bp-asm.h".
28962         (_setjmp): Do not use BP_SYM.
28963         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28964         "bp-asm.h".
28965         (setjmp): Do not use BP_SYM.
28966         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28967         libc_hidden_def.
28968         (mempcpy): Do not use BP_SYM in weak_alias.
28969         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28970         "bp-asm.h".
28971         (strchr): Do not use BP_SYM.
28972         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28973         "bp-asm.h".
28974         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28975         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28976         (_start): Do not use BP_SYM.
28977         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28978         "bp-asm.h".
28979         (strcat): Do not use BP_SYM.
28980         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28981         "bp-asm.h".
28982         (STRCMP): Do not use BP_SYM.
28983         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28984         "bp-asm.h".
28985         (STRCPY): Do not use BP_SYM.
28986         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28987         "bp-asm.h".
28988         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28989         "bp-asm.h".
28990         (FUNCTION): Do not use BP_SYM.
28991         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28992         weak_alias.
28993         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28994
28995 2013-02-17  Andreas Jaeger  <aj@suse.de>
28996
28997         * time/Versions: Sort entries.
28998         * string/Versions: Likewise.
28999         * resolv/Versions: Likewise.
29000         * posix/Versions: Likewise.
29001         * iconv/Versions: Likewise.
29002         * elf/Versions: Likewise.
29003         * wcsmbs/Versions: Likewise.
29004
29005 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29006
29007         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29008         loop termination condition.
29009
29010         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29011         variable to calculate EZ.
29012         (__sqr): Likewise.
29013
29014         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29015         the lower precision input.
29016
29017 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29018
29019         [BZ #13550]
29020         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29021         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29022         (run-via-rtld-prefix): Do not handle %-bp tests.
29023         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29024         (all-object-suffixes): Remove .ob.
29025         (bppfx): Remove variable.
29026         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29027         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29028         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29029         [$(build-bounded) = yes] (libtype.ob): Likewise.
29030         * Makerules (elide-routines.ob): Remove variable.
29031         (do-tests-clean): Do not handle *-bp.out.
29032         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29033         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29034         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29035         (tests): Do not include $(tests-bp.out).
29036         (xtests): Do not include $(xtests-bp.out).
29037         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29038         [$(build-bounded) = yes] ($(addprefix
29039         $(objpfx),$(binaries-bounded))): Remove rule.
29040         ($(objpfx)%-bp.out): Remove rule.
29041         * config.make.in (build-bounded): Remove variable.
29042         * crypt/Makefile [$(build-bounded) = yes]
29043         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29044         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29045         append to variable.
29046         [$(build-bounded) = yes] (install-lib): Likewise.
29047         [$(build-bounded) = yes] (generated): Likewise.
29048         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29049         Remove rule.
29050         * intl/Makefile [$(build-bounded) = yes]
29051         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29052         * math/Makefile [$(build-bounded) = yes]
29053         ($(tests:%=$(objpfx)%-bp): Likewise.
29054         * misc/Makefile [$(build-bounded) = yes]
29055         ($(objpfx)tst-tsearch-bp): Likewise.
29056         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29057         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29058         Remove dependency.
29059         * string/Makefile (o-objects.ob): Remove variable.
29060         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29061         (CFLAGS-.ob): Remove variable.
29062         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29063         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29064         both definitions of variable.
29065         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29066         (ASFLAGS-.ob): Remove variable.
29067
29068 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29069
29070         [BZ #13550]
29071         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29072         Remove __BOUNDED_POINTERS__ from condition.
29073         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29074         * string/bits/string2.h [!__NO_STRING_INLINES &&
29075         !__BOUNDED_POINTERS__]: Likewise.
29076         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29077         Likewise.
29078         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29079         Remove conditional code.
29080         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29081         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29082         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29083         condition.
29084
29085         [BZ #13550]
29086         * csu/libc-start.c: Do not include <bp-sym.h>.
29087         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29088         * elf/dl-open.c: Do not include <bp-sym.h>.
29089         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29090         * math/fegetenv.c: Do not include <bp-sym.h>.
29091         (fegetenv): Do not use BP_SYM in versioned symbols.
29092         * nptl/sysdeps/pthread/bits/libc-lockP.h
29093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29094         <bp-sym.h>.
29095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29096         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29098         (__pthread_mutex_destroy): Likewise.
29099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29100         (__pthread_mutex_lock): Likewise.
29101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29102         (__pthread_mutex_trylock): Likewise.
29103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29104         (__pthread_mutex_unlock): Likewise.
29105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29106         (__pthread_mutexattr_init): Likewise.
29107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29108         (__pthread_mutexattr_destroy): Likewise.
29109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29110         (__pthread_mutexattr_settype): Likewise.
29111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29112         (__pthread_rwlock_init): Likewise.
29113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29114         (__pthread_rwlock_destroy): Likewise.
29115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29116         (__pthread_rwlock_rdlock): Likewise.
29117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29118         (__pthread_rwlock_tryrdlock): Likewise.
29119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29120         (__pthread_rwlock_wrlock): Likewise.
29121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29122         (__pthread_rwlock_trywrlock): Likewise.
29123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29124         (__pthread_rwlock_unlock): Likewise.
29125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29126         (__pthread_key_create): Likewise.
29127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29128         (__pthread_setspecific): Likewise.
29129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29130         (__pthread_getspecific): Likewise.
29131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29132         Likewise.
29133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29134         (_pthread_cleanup_push_defer): Likewise.
29135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29136         (_pthread_cleanup_pop_restore): Likewise.
29137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29138         (pthread_setcancelstate): Likewise.
29139         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29140         <bp-sym.h>.
29141         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29142         (memchr): Do not use BP_SYM in weak_alias.
29143         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29144         (fegetenv): Do not use BP_SYM in versioned symbols.
29145         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29146         (fesetenv): Do not use BP_SYM in versioned symbols.
29147         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29148         (feupdateenv): Do not use BP_SYM in versioned symbols.
29149         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29150         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29151         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29152         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29153         (open64): Do not use BP_SYM in weak_alias.
29154         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29155         (fegetenv): Do not use BP_SYM in versioned symbols.
29156         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29157         (fesetenv): Do not use BP_SYM in versioned symbols.
29158         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29159         (feupdateenv): Do not use BP_SYM in versioned symbols.
29160         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29161         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29162         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29163         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29164         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29165         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29166         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29167         <bp-sym.h>.
29168         (__libc_start_main): Do not use BP_SYM.
29169
29170 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29171
29172         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29173         redundant return line.
29174         (norm): Likewise.
29175         (denorm): Likewise.
29176         (dbl_mp): Likewise.
29177         (sub_magnitudes): Likewise.
29178         (__add): Likewise.
29179         (__sub): Likewise.
29180         (__mul): Likewise.
29181         (__inv): Likewise.
29182         (__dvd): Likewise.
29183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29184         (norm): Likewise.
29185         (denorm): Likewise.
29186         (dbl_mp): Likewise.
29187         (sub_magnitudes): Likewise.
29188         (__add): Likewise.
29189         (__sub): Likewise.
29190         (__mul): Likewise.
29191         (__inv): Likewise.
29192         (__dvd): Likewise.
29193
29194         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29195         instead of __mul.
29196         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29197         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29198         (cc32): Likewise.
29199
29200         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29201         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29202         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29203         of __mul for squares.
29204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29205         function
29206         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29207         Likewise.
29208         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29209         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29210
29211 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29212
29213         [BZ #13550]
29214         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29215         code.
29216         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29217         prototype or function definition.  Rename ubp_* variables and
29218         parameters.  Remove argv definitions conditional on
29219         [__BOUNDED_POINTERS__].
29220         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29221         * elf/dl-runtime.c (_dl_fixup): Likewise.
29222         * include/set-hooks.h (RUN_HOOK): Likewise.
29223         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29224         definition.
29225         * string/strcpy.c (strcpy): Do not use __unbounded.
29226         * sysdeps/generic/frame.h (struct layout): Likewise.
29227         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29228         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29229         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29230         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29231         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29232         (__backtrace): Likewise.
29233         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29234         use __ptrvalue.
29235         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29236         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29237         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29238         Likewise.
29239         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29240         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29241         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29242         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29243         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29244         Do not use __unbounded.
29245         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29246         Rename __unboundedrlimits parameter to rlimits in prototype.
29247         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29248         Do not use __unbounded.
29249         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29250         not use __ptrvalue.
29251         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29252         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29253         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29254         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29255         __ptrvalue or __unbounded.
29256         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29257         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29258         use __unbounded.
29259         (__new_msgctl): Do not use __ptrvalue.
29260         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29261         __unbounded.
29262         (__libc_msgrcv): Do not use __ptrvalue.
29263         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29264         startup_info): Do not use __unbounded.
29265         (__libc_start_main): Likewise.  Rename ubp_* variables and
29266         parameters.  Remove argv definitions conditional on
29267         [__BOUNDED_POINTERS__].
29268         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29269         __ptrvalue.
29270         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29271         use __unbounded.
29272         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29273         or __ptrvalue.
29274         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29275         use __unbounded.
29276         (__new_shmctl): Do not use __ptrvalue.
29277         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29278         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29279         Likewise.
29280         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29281         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29282         (__libc_sigaction): Likewise.
29283         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29284         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29285         Likewise.
29286         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29287
29288 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29289
29290         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29291
29292         * string/mempcpy.c: Implement by calling memcpy.
29293
29294 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29295
29296         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29297
29298         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29299         evaluation.
29300
29301         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29302         values in the mantissa.
29303
29304         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29305         minimize writes to Z.
29306         (sub_magnitudes): Simplify code a bit.
29307
29308 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29309
29310         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29311         from the message.  The linker prefixes all warnings with that already.
29312
29313 2013-02-12  Andreas Schwab  <schwab@suse.de>
29314
29315         [BZ #15078]
29316         * posix/regexec.c (extend_buffers): Add parameter min_len.
29317         (check_matching): Pass minimum needed length.
29318         (clean_state_log_if_needed): Likewise.
29319         (get_subexp): Likewise.
29320         * posix/Makefile (tests): Add bug-regex34.
29321         (bug-regex34-ENV): Define.
29322         * posix/bug-regex34.c: New file.
29323
29324         [BZ #11561]
29325         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29326         elements compare against the byte sequence of it, not its name.
29327         * posix/Makefile (tests): Add bug-regex35.
29328         (bug-regex35-ENV): Define.
29329         * posix/bug-regex35.c: New file.
29330
29331 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29332
29333         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29334         comment.
29335         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29336         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29337         (CHECK_EOL): Add undef.
29338
29339 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29340
29341         * bits/stdlib-bsearch.h: New file.
29342         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29343         * stdlib/stdlib.h: Likewise.
29344
29345 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29346
29347         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29348         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29349         declaration.
29350         * manual/search.texi (Array Search Function): Add missing const in
29351         lfind prototype.
29352         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29353         declaration to use rlim_t.
29354         (Basic Scheduling Functions): Remove erroneous const from
29355         sched_getparam prototype.  Remove erroneous * from
29356         sched_get_priority_max and sched_get_priority_min prototypes.
29357         (Resource Usage): Fix summary @comment on vtimes to refer to
29358         sys/vtimes.h rather than vtimes.h.
29359         Add missing *s in vtimes prototype.
29360         (Limits on Resources): Fix ulimit prototype to return long int.
29361         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29362         prototypes to use long int rather than double.
29363         (BSD Random): Fix initstate and setstate to use char *, not void *.
29364         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29365         prototype to make second argument 'struct aiocb64 *const[]'.
29366         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29367         (Status of AIO Operations): Remove erroneous const in aio_return and
29368         aio_return64 prototypes.
29369         (Synchronizing I/O): Fix sync prototype to return void.
29370         * manual/startup.texi (Suboptions): Remove an erroneous const in
29371         getsubopt prototype.
29372         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29373         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29374         use size_t rather than int.
29375         (Scanning All Users): Likewise for getpwent_r.
29376         (Setting Groups): Add missing const to setgroups prototype.
29377         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29378         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29379         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29380         'const void *' rather than 'const char *'.
29381         (Host Address Functions): Likewise for inet_ntop.
29382         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29383         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29384         ssize_t for return value.
29385         (Sending Data): Likewise for send, sendto, sendmsg.
29386         (Socket Option Functions): Add a missing const in setsockopt prototype.
29387         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29388         use wchar_t for the argument.
29389         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29390         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29391         take no arguments.
29392         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29393         double/float/long double for second argument.
29394         Fix return types of significand, significandf, significandl.
29395         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29396         argument in fchmod prototype.
29397         (File Owner): Use uid_t and gid_t in fchown prototype.
29398         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29399         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29400         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29401         use 'const struct dirent **' as argument types to CMP function pointer
29402         argument.
29403         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29404         (File Times): Fix summary magic @comment for struct utimbuf and utime
29405         to refer to utime.h, not time.h.
29406         * manual/string.texi (Argz Functions): Add missing const in
29407         argz_extract and argz_next prototypes.
29408         (Finding Tokens in a String): Likewise for basename.
29409         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29410         (Copying and Concatenation): Fix typo in wmemmove prototype.
29411         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29412         (Signal Stack): Remove erroneous const in sigstack prototype.
29413         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29414         prototype.
29415         (Simple Calendar Time): Likewise for stime.
29416         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29417         prototype.
29418         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29419         say sys/sysctl.h instead.
29420         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29421         and vsyslog prototypes.
29422
29423 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29424
29425         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29426         Remove.
29427
29428 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29429
29430         * misc/sys/mman.h: Fix typo in mremap comment.
29431
29432 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29433
29434         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29435         the '\0' terminator.
29436
29437 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29438
29439         [BZ #13550]
29440         * debug/segfault.c: Don't include <bp-checks.h>.
29441         * sysdeps/generic/bp-checks.h: Remove file.
29442         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29443         (__GETDENTS): Don't use CHECK_N.
29444         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29445         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29446         (__getgroups): Don't use CHECK_N.
29447         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29448         (setgroups): Don't use CHECK_N.
29449         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29450         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29451         (__libc_msgrcv): Don't use CHECK_N.
29452         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29453         (__libc_msgsnd): Don't use CHECK_N.
29454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29455         <bp-checks.h>.
29456         (__libc_pread): Don't use CHECK_N.
29457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29458         include <bp-checks.h>.
29459         (__libc_pread64): Don't use CHECK_N.
29460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29461         include <bp-checks.h>.
29462         (__libc_pwrite): Don't use CHECK_N.
29463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29464         include <bp-checks.h>.
29465         (__libc_pwrite64): Don't use CHECK_N.
29466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29467         <bp-checks.h>.
29468         (__libc_pread): Don't use CHECK_N.
29469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29470         include <bp-checks.h>.
29471         (__libc_pread64): Don't use CHECK_N.
29472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29473         include <bp-checks.h>.
29474         (__libc_pwrite): Don't use CHECK_N.
29475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29476         include <bp-checks.h>.
29477         (__libc_pwrite64): Don't use CHECK_N.
29478         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29479         (do_pread): Don't use CHECK_N.
29480         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29481         (do_pread64): Don't use CHECK_N.
29482         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29483         (do_pwrite): Don't use CHECK_N.
29484         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29485         (do_pwrite64): Don't use CHECK_N.
29486         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29487         (__libc_readv): Don't use CHECK_N.
29488         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29489         (semop): Don't use CHECK_N.
29490         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29491         <bp-checks.h>.
29492         (semtimedop): Don't use CHECK_N.
29493         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29494         (__libc_pread): Don't use CHECK_N.
29495         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29496         <bp-checks.h>.
29497         (__libc_pread64): Don't use CHECK_N.
29498         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29499         <bp-checks.h>.
29500         (__libc_pwrite): Don't use CHECK_N.
29501         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29502         <bp-checks.h>.
29503         (__libc_pwrite64): Don't use CHECK_N.
29504         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29505         <bp-checks.h>.
29506         (__libc_msgrcv): Don't use CHECK_N.
29507         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29508         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29509         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29510         (__libc_writev): Don't use CHECK_N.
29511
29512 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29513
29514         * string/strcpy.c: Removed unused variable.
29515
29516         * Makeconfig (+sysdep-includes): Define with := rather than =.
29517         Use an existing include/ subdir of each sysdeps dir before it.
29518
29519 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29520
29521         * nscd/connection.c (register_traced_file): Comment function.
29522         [HAVE_INOTIFY] (union __inev): Define.
29523         [HAVE_INOTIFY] (inotify_check_files): New function.
29524         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29525         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29526         clear_db_cache.
29527         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29528
29529 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29530
29531         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29532         loaded if not already and that a failure is permanent.
29533
29534 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29535
29536         [BZ #15006]
29537         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29538         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29539
29540 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29541
29542         [BZ #13550]
29543         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29544         (CHECK_1_NULL_OK): Likewise.
29545         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29546         (__fxstat): Do not use CHECK_1.
29547         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29548         <bp-checks.h>.
29549         (___fxstat64): Do not use CHECK_1.
29550         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29551         <bp-checks.h>.
29552         (__fxstatat): Do not use CHECK_1.
29553         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29554         <bp-checks.h>.
29555         (__fxstatat64): Do not use CHECK_1.
29556         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29557         <bp-checks.h>.
29558         (__fxstat): Do not use CHECK_1.
29559         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29560         <bp-checks.h>.
29561         (__fxstatat): Do not use CHECK_1.
29562         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29563         <bp-checks.h>.
29564         (__getresgid): Do not use CHECK_1.
29565         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29566         <bp-checks.h>.
29567         (__getresuid): Do not use CHECK_1.
29568         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29569         <bp-checks.h>.
29570         (__lxstat): Do not use CHECK_1.
29571         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29572         <bp-checks.h>.
29573         (__old_msgctl): Do not use CHECK_1.
29574         (__new_msgctl): Likewise.
29575         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29576         <bp-checks.h>.
29577         (__new_setrlimit): Do not use CHECK_1.
29578         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29579         <bp-checks.h>.
29580         (__old_shmctl): Do not use CHECK_1.
29581         (__new_shmctl): Likewise.
29582         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29583         <bp-checks.h>.
29584         (__xstat): Do not use CHECK_1.
29585         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29586         (__lxstat): Do not use CHECK_1.
29587         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29588         <bp-checks.h>.
29589         (___lxstat64): Do not use CHECK_1.
29590         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29591         (__old_msgctl): Do not use CHECK_1.
29592         (__new_msgctl): Likewise.
29593         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29594         <bp-checks.h>.
29595         (__gettimeofday): Do not use CHECK_1.
29596         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29597         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29598         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29599         <bp-checks.h>.
29600         (__gettimeofday): Do not use CHECK_1.
29601         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29602         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29603         (__new_shmctl): Do not use CHECK_1.
29604         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29605         <bp-checks.h>.
29606         (do_sigtimedwait): Do not use CHECK_1.
29607         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29608         <bp-checks.h>.
29609         (do_sigwaitinfo): Do not use CHECK_1.
29610         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29611         <bp-checks.h>.
29612         (msgctl): Do not use CHECK_1.
29613         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29614         <bp-checks.h>.
29615         (shmctl): Do not use CHECK_1.
29616         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29617         (ustat): Do not use CHECK_1.
29618         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29619         <bp-checks.h>.
29620         (__fxstat): Do not use CHECK_1.
29621         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29622         <bp-checks.h>.
29623         (__fxstatat): Do not use CHECK_1.
29624         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29625         <bp-checks.h>.
29626         (__lxstat): Do not use CHECK_1.
29627         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29628         <bp-checks.h>.
29629         (__xstat): Do not use CHECK_1.
29630         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29631         (__xstat): Do not use CHECK_1.
29632         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29633         (___xstat64): Do not use CHECK_1.
29634
29635         [BZ #13550]
29636         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29637         definitions.
29638         (CHECK_BOUNDS_HIGH): Likewise.
29639         * string/strcpy.c: Do not include <bp-checks.h>.
29640         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29641
29642 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29643
29644         * nscd/nscd-client.h (__nscd_drop_map_ref):
29645         Add __attribute__ ((unused)).
29646         * nis/nss-nisplus.h (niserr2nss): Likewise.
29647
29648         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29649         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29650
29651         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29652         Remove inline keyword.
29653         * include/rounding-mode.h (round_away): Likewise.
29654         * libio/wfileops.c (adjust_wide_data): Likewise.
29655         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29656         (__m128i_strloadu_tolower): Likewise.
29657         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29658         (__m128i_strloadu_tolower): Likewise.
29659         * time/mktime.c (ydhms_diff): Likewise.
29660         * locale/elem-hash.h (elem_hash): Likewise.
29661         * locale/setlocale.c (setdata): Likewise.
29662         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29663         (re_string_wchar_at): Likewise.
29664         (bitset_not, bitset_merge, bitset_mask): Likewise.
29665         [!(__GNUC__ > 3)] (inline): Remove macro.
29666         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29667         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29668         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29669         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29670         * string/memcmp.c (memcmp_bytes): Likewise.
29671         * locale/programs/locarchive.c (compute_hashval): Likewise.
29672         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29673         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29674         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29675         * nss/getent.c (print_rpc, print_protocols): Likewise.
29676         (print_passwd, print_group, print_aliases): Likewise.
29677         * nis/nss-nisplus.h (niserr2nss): Likewise.
29678         * nscd/connections.c (restart_p): Likewise.
29679         Change return type to bool.
29680
29681 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29682
29683         * Makeconfig (all-Depend-files): Add existing
29684         $(sorted-subdirs:=/Depend) files.
29685         (all-subdirs): Remove nss.
29686         * sysdeps/unix/inet/Subdirs: Add it here instead.
29687         * hesiod/Depend: New file.
29688
29689         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29690         instead of calling alloca.
29691
29692         * io/lseek.c (__lseek): Rename to __libc_lseek.
29693         Define __lseek as an alias.
29694
29695         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29696
29697 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29698
29699         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29700         else clause and remove check for non-standard endianness.
29701
29702 2013-02-04  David S. Miller  <davem@davemloft.net>
29703
29704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29705
29706 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29707
29708         [BZ #13550]
29709         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29710         (__ubp_memchr): Remove prototype.
29711         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29712         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29713         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29714         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29715         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29716         Remove alias.
29717         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29718         (__ubp_memchr): Likewise.
29719         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29720         (__ubp_memchr): Likewise.
29721         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29722         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29723         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29724         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29725         CHECK_STRING.
29726         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29727         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29728         (__getcwd): Do not use CHECK_STRING.
29729         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29730         <bp-checks.h>.
29731         (__real_chown): Do not use CHECK_STRING.
29732         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29733         <bp-checks.h>.
29734         (fchownat): Do not use CHECK_STRING.
29735         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29736         CHECK_STRING.
29737         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29738         <bp-checks.h>.
29739         (__lchown): Do not use CHECK_STRING.
29740         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29741         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29742         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29743         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29745         include <bp-checks.h>.
29746         (truncate64): Do not use CHECK_STRING.
29747         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29748         <bp-checks.h>.
29749         (__real_chown): Do not use CHECK_STRING.
29750         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29751         <bp-checks.h>.
29752         (__lchown): Do not use CHECK_STRING.
29753         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29754         <bp-checks.h>.
29755         (__chown): Do not use CHECK_STRING.
29756         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29757         <bp-checks.h>.
29758         (truncate64): Do not use CHECK_STRING.
29759         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29760         Likewise.
29761         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29762         (__xmknod): Do not use CHECK_STRING.
29763         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29764         <bp-checks.h>.
29765         (__xmknodat): Do not use CHECK_STRING.
29766         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29767         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29768
29769 2013-02-04  Andreas Schwab  <schwab@suse.de>
29770
29771         [BZ #14142]
29772         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29773         * include/netdb.h: Likewise for h_errno.
29774         * elf/tst-stackguard1.c: Include <tls.h>.
29775
29776 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29777
29778         * elf/link.h (struct link_map): Extend the l_addr comment.
29779         * include/link.h (struct link_map): Likewise.
29780
29781 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29782
29783         [BZ #13550]
29784         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29785         (BOUNDED_1): Remove macro.
29786         * debug/backtrace.c: Don't include <bp-checks.h>.
29787         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29788         (__backtrace): Likewise.
29789         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29790         <bp-checks.h>.
29791         (__backtrace): Don't use BOUNDED_1.
29792         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29793         <bp-checks.h>.
29794         (__backtrace): Don't use BOUNDED_1.
29795         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29796         (__backtrace): Don't use BOUNDED_1.
29797         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29798         (shmat): Don't use BOUNDED_N.
29799
29800 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29801
29802         [BZ #13550]
29803         * sysdeps/generic/bp-start.h: Remove file.
29804         * csu/libc-start.c: Don't include <bp-start.h>.
29805         (LIBC_START_MAIN): Set up __environ directly instead of using
29806         INIT_ARGV_and_ENVIRON.
29807         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29808         <bp-start.h>.
29809
29810         [BZ #13550]
29811         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29812         definitions.
29813         (CHECK_FCNTL): Likewise.
29814         (CHECK_N_PAGES): Likewise.
29815
29816         [BZ #13550]
29817         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29818         definitions.
29819         (CHECK_SIGSET_NULL_OK): Likewise.
29820         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29821         <bp-checks.h>.
29822         (sigpending): Don't use CHECK_SIGSET.
29823         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29824         <bp-checks.h>.
29825         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29826         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29827         <bp-checks.h>.
29828         (do_sigsuspend): Don't use CHECK_SIGSET.
29829         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29830         use CHECK_SIGSET.
29831         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29832         (do_sigwait): Don't use CHECK_SIGSET.
29833         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29834         use CHECK_SIGSET.
29835         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29836         include <bp-checks.h>.
29837         (sigpending): Don't use CHECK_SIGSET.
29838         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29839         include <bp-checks.h>.
29840         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29841         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29842         <bp-checks.h>.
29843         (sigpending): Don't use CHECK_SIGSET.
29844         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29845         <bp-checks.h>.
29846         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29847
29848         [BZ #13550]
29849         * sysdeps/generic/bp-semctl.h: Remove file.
29850         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29851         <bp-checks.h> and <bp-semctl.h>.
29852         (__old_semctl): Don't use CHECK_SEMCTL.
29853         (__new_semctl): Likewise.
29854         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29855         and <bp-semctl.h>.
29856         (__old_semctl): Don't use CHECK_SEMCTL.
29857         (__new_semctl): Likewise.
29858         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29859         <bp-checks.h> and <bp-semctl.h>.
29860         (__old_semctl): Don't use CHECK_SEMCTL.
29861         (__new_semctl): Likewise.
29862         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29863         <bp-checks.h> and <bp-semctl.h>.
29864         (semctl): Don't use CHECK_SEMCTL.
29865
29866         [BZ #13550]
29867         * Makerules (elide-bp-thunks): Remove variable.
29868         (elide-routines.oS): Don't use $(elide-bp-thunks).
29869         (elide-routines.os): Likewise.
29870         (elide-routines.o): Likewise.
29871         (elide-routines.op): Likewise.
29872         (elide-routines.og): Likewise.
29873         (objects): Don't use $(bp-thunks).
29874         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29875         include.
29876         (common-generated): Do not add s-proto-bp.d.
29877         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29878         (int): Likewise.
29879         (typ): Likewise.
29880         Do not generate makefile rules for bounded-pointer thunks.
29881         * sysdeps/generic/bp-thunks.h: Remove file.
29882         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29883         * sysdeps/unix/s-proto-bp.S: Likewise.
29884
29885         [BZ #15062]
29886         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29887         parts of result separately when argument is not close to line from
29888         -i to i and one part of argument is small.
29889         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29890         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29891         * math/libm-test.inc (cacos_test): Add more tests.
29892         (casin_test): Likewise.
29893         (casinh_test): Likewise.
29894         * sysdeps/i386/fpu/libm-test-ulps: Update.
29895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29896
29897 2013-01-31  David S. Miller  <davem@davemloft.net>
29898
29899         * po/de.po: Update from translation team.
29900
29901 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
29902
29903         * time/tzfile.c: Include stdint.h for SIZE_MAX.
29904
29905 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
29906
29907         * configure.in (_AC_PROG_CC_C89): New definition.
29908         * configure: Regenerate.
29909
29910         * configure.in (AC_PROG_CPP): New definition.
29911         * configure: Regenerate.
29912
29913 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29914
29915         * debug/tst-backtrace.h: New file.
29916         * debug/tst-backtrace2.c: Include tst-backtrace.h.
29917         (ret): Remove variable.
29918         (x): Likewise.
29919         (FAIL): Remove macro.
29920         (NO_INLINE): Likewise.
29921         (fn1): Use match function instead of strstr.
29922         * debug/tst-backtrace3.c: Include tst-backtrace.h.
29923         (ret): Remove variable.
29924         (x): Likewise.
29925         (FAIL): Remove macro.
29926         (NO_INLINE): Likewise.
29927         (fn): Use match function instead of strstr.
29928         * debug/tst-backtrace4.c: Include tst-backtrace.h.
29929         (ret): Remove variable.
29930         (x): Likewise.
29931         (FAIL): Remove macro.
29932         (NO_INLINE): Likewise.
29933         (handle_signal): Use match function instead of strstr.
29934         * debug/tst-backtrace5.c: Include tst-backtrace.h.
29935         (ret): Remove variable.
29936         (x): Likewise.
29937         (FAIL): Remove macro.
29938         (NO_INLINE): Likewise.
29939         (handle_signal): Use match function instead of strstr.
29940
29941 2013-01-23  Roland McGrath  <roland@hack.frob.com>
29942
29943         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29944
29945 2013-01-23  David S. Miller  <davem@davemloft.net>
29946
29947         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29948         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29949         argument of CAS if possible.
29950         * sysdeps/sparc/sparc64/bits/atomic.h
29951         (__arch_compare_and_exchange_val_32_acq): Likewise.
29952         (__arch_compare_and_exchange_val_64_acq): Likewise.
29953
29954 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
29955
29956         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29957         * sysdeps/posix/ulimit.c: ... this.
29958         Include <limits.h>.
29959         * sysdeps/unix/bsd/ulimit.c: Remove file.
29960
29961 2013-01-23  Adam Conrad  <adconrad@0c3.net>
29962
29963         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29964         (LDFLAGS-tst-array5): Likewise.
29965
29966 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29967
29968         [BZ #15036]
29969         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29970         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29971         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29972         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29973
29974 2013-01-21  David S. Miller  <davem@davemloft.net>
29975
29976         * sysdeps/sparc/backtrace.c: New file.
29977         * sysdeps/sparc/sparc32/backtrace.h: New file.
29978         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29979         * sysdeps/sparc/sparc64/backtrace.h: New file.
29980         * sysdeps/sparc/sparc64/backtrace.c: Delete.
29981         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29982         -funwind-tables.
29983
29984 2013-01-21  Andreas Schwab  <schwab@suse.de>
29985
29986         [BZ #15020]
29987         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29988         closed its stdout.
29989
29990 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
29991
29992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29993         "mpa2.h".
29994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29995
29996 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
29997             Mark Mitchell  <mark@codesourcery.com>
29998             Tom de Vries  <tom@codesourcery.com>
29999             Paul Pluzhnikov  <ppluzhnikov@google.com>
30000
30001         * debug/tst-backtrace2.c: New file.
30002         * debug/tst-backtrace3.c: Likewise.
30003         * debug/tst-backtrace4.c: Likewise.
30004         * debug/tst-backtrace5.c: Likewise.
30005         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30006         (CFLAGS-tst-backtrace3.c): Likewise.
30007         (CFLAGS-tst-backtrace4.c): Likewise.
30008         (CFLAGS-tst-backtrace5.c): Likewise.
30009         (LDFLAGS-tst-backtrace2): Likewise.
30010         (LDFLAGS-tst-backtrace3): Likewise.
30011         (LDFLAGS-tst-backtrace4): Likewise.
30012         (LDFLAGS-tst-backtrace5): Likewise.
30013         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30014         tst-backtrace4 and tst-backtrace5.
30015
30016 2013-01-18  Anton Blanchard  <anton@samba.org>
30017             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30018
30019         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30020         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30021         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30022         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30024         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30025         "+r" and remove output regs list as redundant.  Add explicit inline
30026         asm to specify register of return val to work around compiler codegen
30027         bug.  Remove (int) cast on return value.  Add return type parameter to
30028         use in macro so that this macro does not truncate return value for
30029         64-bit values.
30030         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30031         pass to INTERNAL_VSYSCALL_NCS.
30032         (INLINE_VSYSCALL): Add 'long int' as return type to
30033         INTERNAL_VSYSCALL_NCS macro invocation.
30034         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30035         INTERNAL_VSYSCALL_NCS macro invocation.
30036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30037
30038 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30039
30040         [BZ #14496]
30041         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30042         Fix application of SIMD FP exception mask.
30043
30044         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30045         mp_no from a power of two.
30046         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30047         __mpexp_twomm1.  Use __pow_mp.
30048
30049         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30050         multiplication.
30051
30052 2013-01-17  David S. Miller  <davem@davemloft.net>
30053
30054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30055
30056 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30057
30058         [BZ #15023]
30059         * include/complex.h: Condition contents on [!_COMPLEX_H].
30060         (__kernel_casinhf): New prototype.
30061         (__kernel_casinh): Likewise.
30062         (__kernel_casinhl): Likewise.
30063         * math/Makefile (libm_calls): Add k_casinh.
30064         * math/k_casinh.c: New file.
30065         * math/k_casinhf.c: Likewise.
30066         * math/k_casinhl.c: Likewise.
30067         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30068         finite nonzero arguments.
30069         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30070         finite nonzero arguments.
30071         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30072         finite nonzero arguments.
30073         * math/s_casinh.c: Do not include <float.h>.
30074         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30075         * math/s_casinhf.c: Do not include <float.h>.
30076         (__casinhf): Move code for finite nonzero arguments to
30077         k_casinhf.c.
30078         * math/s_casinhl.c: Do not include <float.h>.
30079         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30080         redefine.
30081         (__casinhl): Move code for finite nonzero arguments to
30082         k_casinhl.c.
30083         * math/libm-test.inc (cacos_test): Add more tests.
30084         * sysdeps/i386/fpu/libm-test-ulps: Update.
30085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30086
30087 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30088
30089         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30090         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30091         [!HAVE_MREMAP]: Remove [defined linux] case.
30092         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30093
30094 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30095
30096         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30097
30098 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30099
30100         * elf/elf.h (R_386_SIZE32): New relocation.
30101         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30102         R_386_SIZE32.
30103         (elf_machine_rela): Likewise.
30104         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30105         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30106
30107 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30108
30109         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30110         (FP_FAST_FMA): Do not define.
30111         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30112         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30113         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30114         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30115         !_SOFT_FLOAT]: Likewise.
30116         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30117         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30118         value.
30119         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30120         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30121         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30122         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30123         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30124         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30125         file.
30126
30127 2013-01-16  Andreas Schwab  <schwab@suse.de>
30128
30129         [BZ #14327]
30130         * include/stdlib.h (__mktemp): Add declaration.
30131         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30132         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30133
30134 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30135
30136         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30137         definitions.
30138         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30139         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30140         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30141         definitions here.
30142         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30143         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30144         definitions.
30145         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30146         and ONE.
30147         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30148         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30149         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30150         definitions.
30151         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30152         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30153         definitions.
30154         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30155
30156         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30157
30158 2013-01-15  David S. Miller  <davem@davemloft.net>
30159
30160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30161         trunc{,f} to libm-sysdep_routes.
30162         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30164         file.
30165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30167         file.
30168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30169         file.
30170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30172         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30173         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30174         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30175         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30176         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30177         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30178
30179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30180         nearbyint{,f} to libm-sysdep_routes.
30181         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30183         New file.
30184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30185         file.
30186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30187         New file.
30188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30189         file.
30190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30192         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30193         file.
30194         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30195         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30196         file.
30197         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30198         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30199         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30200
30201         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30202         libc_feholdexcept and libc_fesetenv.
30203
30204 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30205
30206         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30207
30208 2013-01-14  David S. Miller  <davem@davemloft.net>
30209
30210         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30211         (SPARC_ASM_VIS2_IFUNC): Likewise.
30212         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30214         use of 'siam' instruction.
30215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30216         Likewise.
30217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30218         Likewise.
30219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30220         Likewise.
30221         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30222         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30224         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30226         file.
30227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30228         file.
30229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30230         file.
30231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30232         file.
30233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30236         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30238         new VIS2 routines.
30239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30242         Likewise.
30243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30246         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30248         routines to libm-sysdep_routines.
30249         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30250
30251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30252         fdim/fdimf to libm-sysdep_routines.
30253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30254         file.
30255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30257         file.
30258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30261         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30262         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30263         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30264         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30265
30266 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30267
30268         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30269         to optimize copies.
30270
30271         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30272         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30274
30275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30276         local variable MPTWO.
30277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30278         Likewise.
30279
30280 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30281
30282         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30283         GLOB_NOESCAPE.
30284
30285 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30286
30287         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30288
30289 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30290
30291         * manual/pattern.texi (glob_t): Document gl_flags.
30292         (glob64_t): Likewise.
30293
30294 2013-01-11  David S. Miller  <davem@davemloft.net>
30295
30296         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30297         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30298         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30299         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30300         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30301         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30302         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30303         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30304         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30305         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30306         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30307         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30308         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30309
30310         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30311         sparc V9 rather than using V8 code.
30312         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30313         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30314
30315         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30316         Move to...
30317         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30318         Here.
30319
30320 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30321
30322         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30323         not in the main loop.
30324         * configure: Regenerated.
30325
30326 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30327
30328         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30329         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30330         to just #else.
30331         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30332         [!__GLIBC_HAVE_LONG_LONG] case.
30333         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30334         condition to just #else.
30335         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30336         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30337         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30338         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30339         unconditional.
30340         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30341         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30342         #elif condition to just #else.
30343         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30344         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30345         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30346         #elif condition to just #else.
30347
30348 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30349
30350         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30351         (EF_MIPS_ARCH_64): Fix value.
30352         (EF_MIPS_ARCH_32R2): New.
30353         (EF_MIPS_ARCH_64R2): New.
30354
30355 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30356
30357         * Makeconfig (+link-pie-before-libc): New.
30358         (+link-pie-after-libc): Likewise.
30359         (+link-pie-tests): Likewise.
30360         (+link-pie): Rewritten.
30361         (link-before-libc): Remove $(config-LDFLAGS).
30362         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30363         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30364         (config-LDFLAGS): Renamed to ...
30365         (rtld-LDFLAGS): This.
30366         (rtld-tests-LDFLAGS): New macro.
30367         (link-libc-rpath-link): Likewise.
30368         (link-libc-tests-rpath-link): Likewise.
30369         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30370         (link-libc): Prepand $(link-libc-rpath-link).
30371         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30372         (test-program-prefix): New macro.
30373         (test-via-rtld-prefix): Likewise.
30374         (test-program-cmd): Likewise.
30375         (host-test-program-cmd): Likewise.
30376         * Makefile ($(common-objpfx)testrun.sh): Replace
30377         $(run-program-prefix) with $(test-program-prefix).
30378         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30379         $(rtld-LDFLAGS).
30380         ($(common-objpfx)shlib.lds): Likewise.
30381         (build-module-helper): Likewise.
30382         ($(common-objpfx)format.lds): Likewise.
30383         * Rules (binaries-pie-tests): New.
30384         (binaries-pie-notests): Likewise.
30385         (binaries-pie): Rewritten.
30386         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30387         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30388         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30389         (make-test-out): Replace $(host-built-program-cmd) with
30390         $(host-test-program-cmd).
30391         * config.make.in (build-hardcoded-path-in-tests): New variable.
30392         * configure.in (--enable-hardcoded-path-in-tests): New configure
30393         option.
30394         (hardcoded_path_in_tests): New AC_SUBST.
30395         * configure: Regenerated.
30396         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30397         $(built-program-cmd) with $(test-program-cmd).
30398         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30399         (test_program_cmd): This.
30400         * elf/Makefile ($(objpfx)order.out): Run test with
30401         $(test-program-prefix).
30402         ($(objpfx)order2.out): Likewise.
30403         ($(objpfx)tst-initorder.out): Likewise.
30404         ($(objpfx)tst-initorder2.out): Likewise.
30405         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30406         $(test-program-cmd).
30407         ($(objpfx)tst-array1-static.out): Likewise.
30408         ($(objpfx)tst-array2.out): Likewise.
30409         ($(objpfx)tst-array3.out): Likewise.
30410         ($(objpfx)tst-array4.out): Likewise.
30411         ($(objpfx)tst-array5.out): Likewise.
30412         ($(objpfx)tst-array5-static.out): Likewise.
30413         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30414         $(test-program-cmd).
30415         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30416         $(run-program-prefix) with $(test-program-prefix).
30417         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30418         (test_program_prefix): This.
30419         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30420         $(run-program-prefix) with $(test-program-prefix).
30421         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30422         (test_program_prefix): This.
30423         * iconvdata/tst-tables.sh: Likewise.
30424         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30425         $(run-program-prefix) with $(test-program-prefix).
30426         ($(objpfx)tst-translit.out): Likewise.
30427         ($(objpfx)tst-gettext2.out): Likewise.
30428         ($(objpfx)tst-gettext4.out): Likewise.
30429         ($(objpfx)tst-gettext6.out): Likewise.
30430         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30431         (test_program_prefix): This.
30432         * intl/tst-gettext2.sh: Likewise.
30433         * intl/tst-gettext4.sh  Likewise.
30434         * intl/tst-gettext6.sh: Likewise.
30435         * intl/tst-translit.sh: Likewise.
30436         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30437         with $(test-program-cmd).
30438         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30439         $(run-program-prefix) with $(test-program-prefix).
30440         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30441         (test_program_prefix): This.
30442         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30443         $(run-program-prefix) with $(test-program-prefix).
30444         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30445         (test_program_prefix): This.
30446         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30447         * posix/Makefile ($(objpfx)globtest.out): Replace
30448         $(run-via-rtld-prefix) and $(test-wrapper) with
30449         $(test-program-prefix) and $(test-via-rtld-prefix).
30450         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30451         $(test-program-prefix).
30452         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30453         $(host-test-program-cmd).
30454         (tst-spawn-ARGS): Likewise.
30455         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30456         $(test-program-prefix).
30457         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30458         (test_via_rtld_prefix): This.
30459         (test_wrapper): Renamed to ...
30460         (test_program_prefix): This.
30461         (run_program_prefix): Replaced by test_program_prefix.
30462         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30463         (test_program_prefix): This.
30464         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30465         with $(host-test-program-cmd).
30466         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30467         $(run-program-prefix) with $(test-program-prefix).
30468         ($(objpfx)tst-printf.out): Likewise.
30469         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30470         $(test-program-cmd).
30471         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30472         (test_program_prefix): This.
30473         * stdio-common/tst-unbputc.sh: Likewise.
30474         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30475         $(run-program-prefix) with $(test-program-prefix).
30476         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30477         (test_program_prefix): This.
30478         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30479         $(built-program-cmd) with $(test-program-cmd).
30480
30481 2013-01-11  Andreas Jaeger  <aj@suse.de>
30482
30483         [BZ #15003]
30484         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30485         value. Sync with Linux 3.7.
30486
30487 2013-01-10  David S. Miller  <davem@davemloft.net>
30488
30489         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30490         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30491         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30492
30493 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30494
30495         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30496         never set.
30497         * configure: Regenerated.
30498
30499 2013-01-10  David S. Miller  <davem@davemloft.net>
30500
30501         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30502         sparc V9 rather than using V8 code.
30503         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30504         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30505
30506 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30507
30508         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30509         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30510         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30511         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30512         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30513         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30514         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30515         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30516         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30517         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30518         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30519         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30520         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30521         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30522         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30523         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30524         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30525         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30526         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30527         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30528         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30529         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30530         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30531         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30532         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30533         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30534         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30535
30536 2013-01-10  David S. Miller  <davem@davemloft.net>
30537
30538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30539
30540 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30541
30542         * posix/Makefile (tests-static): New variable.
30543         (tests): Add $(tests-static).
30544         (tst-exec-static-ARGS): New variable.
30545         (tst-spawn-static-ARGS): Likewise.
30546         * posix/tst-exec-static.c: New file.
30547         * posix/tst-spawn-static.c: Likewise.
30548         * posix/tst-exec.c: Support run directly.
30549         * posix/tst-spawn.c: Likewise.
30550
30551 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30552
30553         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30554         long.
30555         * math/bits/mathcalls.h (llrint): Likewise.
30556         (llround): Likewise.
30557         * stdlib/stdlib.h (struct drand48_data): Likewise.
30558         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30559         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30560         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30561         Likewise.
30562         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30563         Likewise.
30564         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30565         (elf_greg_t): Likewise.
30566         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30567         (__jmp_buf): Likewise.
30568         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30569         definitions.
30570         (llrint): Likewise, for all definitions.
30571         (llrintl): Likewise.
30572
30573         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30574         Remove [__GNUC__] condition.
30575         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30576         condition to just [__USE_ISOC99].
30577         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30578
30579 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30580
30581         [BZ #14200]
30582         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30583         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30584         defined.
30585         (_POSIX_V6_ILP32_OFF32): Likewise.
30586         (_XBS5_ILP32_OFF32): Likewise.
30587         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30588         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30589
30590 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30591
30592         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30593
30594         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30595         doubles __mpexp_twomm1.  Adjust usage.
30596         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30597         Remove.
30598
30599 2013-01-10  Andreas Schwab  <schwab@suse.de>
30600
30601         [BZ #14964]
30602         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30603         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30604
30605 2013-01-09  David S. Miller  <davem@davemloft.net>
30606
30607         [BZ #15003]
30608         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30609         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30610         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30611         (TCP_FASTOPEN): Define.
30612         (tcp_repair_opt): New structure.
30613         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30614         enum values.
30615         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30616         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30617         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30618         (tcp_cookie_transactions): New structure.
30619
30620 2013-01-09  Anton Blanchard  <anton@samba.org>
30621
30622         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30623         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30624         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30625         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30626
30627 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30628
30629         * include/features.h (__USE_ANSI): Remove.
30630
30631 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30632
30633         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30634
30635         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30636
30637 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30638
30639         * sysdeps/s390/fpu/libm-test-ulps: Update.
30640
30641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30642
30643         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30644         (__acr): Likewise.
30645         (__cpy): Likewise.
30646         (norm): Likewise.
30647         (denorm): Likewise.
30648         (__mp_dbl): Likewise.
30649         (__dbl_mp): Likewise.
30650         (add_magnitudes): Likewise.
30651         (sub_magnitudes): Likewise.
30652         (__add): Likewise.
30653         (__sub): Likewise.
30654         (__mul): Likewise.
30655         (__inv): Likewise.
30656         (__dvd): Likewise.
30657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30658         (__acr): Likewise.
30659         (__cpy): Likewise.
30660         (norm): Likewise.
30661         (denorm): Likewise.
30662         (__mp_dbl): Likewise.
30663         (__dbl_mp): Likewise.
30664         (add_magnitudes): Likewise.
30665         (sub_magnitudes): Likewise.
30666         (__add): Likewise.
30667         (__sub): Likewise.
30668         (__mul): Likewise.
30669         (__inv): Likewise.
30670         (__dvd): Likewise.
30671         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30672         (__acr): Likewise.
30673         (__cpy): Likewise.
30674         (norm): Likewise.
30675         (denorm): Likewise.
30676         (__mp_dbl): Likewise.
30677         (__dbl_mp): Likewise.
30678         (add_magnitudes): Likewise.
30679         (sub_magnitudes): Likewise.
30680         (__add): Likewise.
30681         (__sub): Likewise.
30682         (__mul): Likewise.
30683         (__inv): Likewise.
30684         (__dvd): Likewise.
30685
30686 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30687
30688         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30689         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30690         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30691         2 && __USE_EXTERN_INLINES]: Likewise.
30692
30693 2013-01-08  Andreas Jaeger  <aj@suse.de>
30694
30695         [BZ# 14985]
30696         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30697         Remove.
30698         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30699         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30700
30701 2013-01-07  Anton Blanchard  <anton@samba.org>
30702
30703         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30704         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30705         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30706         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30707         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30708         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30709         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30710         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30712         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30713         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30714         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30715         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30716         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30717         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30718         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30719         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30720         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30721         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30722         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30723         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30724         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30725         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30726         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30727         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30728         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30729         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30730         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30731         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30732         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30733         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30735         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30736         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30737         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30738         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30739         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30740         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30741         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30742         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30743         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30744         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30745         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30746
30747 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30748
30749         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30750         (__MALLOC_PMT): Likewise.
30751         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30752         [__GNUC__], only on [_LIBC].
30753         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30754         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30755         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30756         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30757         forward declaration.
30758         (realloc_hook_ini): Likewise.
30759         (memalign_hook_ini): Likewise.
30760         (__libc_memalign): Do not use __MALLOC_PMT in variable
30761         declaration.
30762         (__libc_valloc): Likewise.
30763         (__libc_pvalloc): Likewise.
30764         (__libc_calloc): Likewise.
30765         (__posix_memalign): Likewise.
30766
30767         [BZ #14996]
30768         * math/s_casinh.c: Include <float.h>.
30769         (__casinh): Do not do computation with squaring and square root
30770         for large arguments.
30771         * math/s_casinhf.c: Include <float.h>.
30772         (__casinhf): Do not do computation with squaring and square root
30773         for large arguments.
30774         * math/s_casinhl.c: Include <float.h>.
30775         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30776         (__casinhl): Do not do computation with squaring and square root
30777         for large arguments.
30778         * math/libm-test.inc (casin_test): Add more tests.
30779         (casinh_test): Likewise.
30780         * sysdeps/i386/fpu/libm-test-ulps: Update.
30781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30782
30783 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30784
30785         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30786         (__x86_64_raw_data_cache_size): Likewise.
30787         (__x86_64_data_cache_size_half): Likewise.
30788         (__x86_64_raw_data_cache_size_half): Likewise.
30789         (__x86_64_shared_cache_size): Likewise.
30790         (__x86_64_raw_shared_cache_size): Likewise.
30791         (__x86_64_shared_cache_size_half): Likewise.
30792         (__x86_64_raw_shared_cache_size_half): Likewise.
30793         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30794         to ...
30795         (__x86_data_cache_size): This.
30796         (__x86_64_raw_data_cache_size): Renamed to ...
30797         (__x86_raw_data_cache_size): This.
30798         (__x86_64_data_cache_size_half): Renamed to ...
30799         (__x86_data_cache_size_half): This.
30800         (__x86_64_raw_data_cache_size_half): Renamed to ...
30801         (__x86_raw_data_cache_size_half): This.
30802         (__x86_64_shared_cache_size): Renamed to ...
30803         (__x86_shared_cache_size): This.
30804         (__x86_64_raw_shared_cache_size): Renamed to ...
30805         (__x86_raw_shared_cache_size): This.
30806         (__x86_64_shared_cache_size_half): Renamed to ...
30807         (__x86_shared_cache_size_half): This.
30808         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30809         (__x86_raw_shared_cache_size_half): This.
30810         * sysdeps/x86_64/memcpy.S: Updated.
30811         * sysdeps/x86_64/memset.S: Likewise.
30812         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30813         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30814         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30815
30816 2013-01-04  David S. Miller  <davem@davemloft.net>
30817
30818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30819
30820 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30821
30822         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30823         1 to avoid redefinition warning.
30824         (__USE_GNU): Don't define.
30825         (init_signaling_nan): Protoize.
30826
30827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30828
30829 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30830
30831         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30832         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30833         (__cpymn): Likewise.
30834         (norm): Remove commented code.
30835         (denorm): Likewise.
30836         (__mp_dbl): Likewise.
30837         (__inv): Likewise.
30838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30839         (__cpymn): Likewise.
30840         (norm): Remove commented code.
30841         (denorm): Likewise.
30842         (__mp_dbl): Likewise.
30843         (__inv): Likewise.
30844
30845         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30846         mp_no value for 1.0 and 2.0.
30847         (norm): Use RADIXI instead of radixi.d.
30848         (denorm): Likewise.
30849         (__mul): Use 0.0 instead of zero.d.
30850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30851         mp_no value for 1.0 and 2.0.
30852         (norm): Use RADIXI instead of radixi.d.
30853         (denorm): Likewise.
30854         (__mul): Use 0.0 instead of zero.d.
30855
30856 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
30857
30858         [BZ #14994]
30859         * math/s_casinh.c (__casinh): Reduce finite argument to first
30860         quadrant then set signs of results at the end.
30861         * math/s_casinhf.c (__casinhf): Likewise.
30862         * math/s_casinhl.c (__casinhl): Likewise.
30863         * math/libm-test.inc (casin_test): Add more tests.
30864         (casinh_test): Likewise.
30865         * sysdeps/i386/fpu/libm-test-ulps: Update.
30866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30867
30868 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30869
30870         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30871
30872         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30873
30874         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30875         declarations.
30876         (denorm): Likewise.
30877         (__mp_dbl): Likewise.
30878         (__inv): Likewise.
30879
30880         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30881         and adjust the header comment.
30882
30883         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30884         variable name from declaration.
30885
30886 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
30887
30888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30889         Initialize COMMON_CPUID_INDEX_7 element.
30890         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30891         (CPUID_RTM): Likewise.
30892         (HAS_RTM): Likewise.
30893         (COMMON_CPUID_INDEX_7): New enum.
30894
30895 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
30896
30897         [BZ #14981]
30898         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30899         size is zero, record memory as freed.
30900
30901 2013-01-03  Andreas Jaeger  <aj@suse.de>
30902
30903         * po/ia.po: Add new Interlingua translation.
30904
30905 2012-01-03  Allan McRae  <allan@archlinux.org>
30906
30907         * locale/programs/localedef.c: Fix description of '--posix' flag.
30908
30909 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
30910
30911         * NEWS: Update dates in second copyright notice.
30912         * README: Update copyright dates in example.
30913         * manual/libc.texinfo: Update copyright dates.
30914         * scripts/test-installation.pl: Update copyright date in --version
30915         output.
30916
30917         * hurd/ctty-input.c: Fix copyright notice formatting.
30918         * hurd/ctty-output.c: Likewise.
30919         * hurd/dtable.c: Likewise.
30920         * hurd/hurd-raise.c: Likewise.
30921         * hurd/hurdprio.c: Likewise.
30922         * hurd/msgportdemux.c: Likewise.
30923         * misc/sys/file.h: Likewise.
30924         * misc/sys/ioctl.h: Likewise.
30925         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30926         * sysdeps/mach/hurd/chdir.c: Likewise.
30927         * sysdeps/mach/hurd/fchdir.c: Likewise.
30928         * sysdeps/mach/hurd/rename.c: Likewise.
30929         * sysdeps/mach/hurd/rmdir.c: Likewise.
30930         * sysdeps/mach/hurd/seekdir.c: Likewise.
30931         * sysdeps/mach/hurd/setsid.c: Likewise.
30932         * sysdeps/posix/wait3.c: Likewise.
30933
30934         * All files with FSF copyright notices: Update copyright dates
30935         using scripts/update-copyrights.
30936         * intl/plural.c: Regenerated.
30937         * locale/programs/charmap-kw.h: Likewise.
30938         * locale/programs/locfile-kw.h: Likewise.
30939
30940 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30941
30942         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30943         four values.
30944
30945         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30946         calculation loop and add branch prediction.
30947
30948         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30949         check access beyond bounds of m1np.
30950
30951         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30952         MPTWO.
30953         (__inv): Remove local variable MPTWO to use the global
30954         constant.
30955         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30956         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30957         variable MPTWO.
30958         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30959         MP3HALFS static const.
30960
30961 2013-01-01  David S. Miller  <davem@davemloft.net>
30962
30963         * po/ca.po: Update from translation team.
30964
30965 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
30966
30967         * scripts/update-copyrights: New file.
30968         * Makeconfig: Reformat copyright notice.
30969         * ctype/ctype.h: Likewise.
30970         * debug/swprintf_chk.c: Likewise.
30971         * elf/dl-cache.c: Likewise.
30972         * elf/dl-debug.c: Likewise.
30973         * elf/dl-object.c: Likewise.
30974         * grp/initgroups.c: Likewise.
30975         * hurd/Makefile: Likewise.
30976         * hurd/hurd/signal.h: Likewise.
30977         * hurd/hurdfault.c: Likewise.
30978         * hurd/hurdioctl.c: Likewise.
30979         * hurd/hurdlookup.c: Likewise.
30980         * hurd/intr-msg.c: Likewise.
30981         * iconv/gconv_open.c: Likewise.
30982         * libio/swprintf.c: Likewise.
30983         * locale/lc-ctype.c: Likewise.
30984         * locale/nl_langinfo.c: Likewise.
30985         * mach/Machrules: Likewise.
30986         * mach/Makefile: Likewise.
30987         * malloc/obstack.h: Likewise.
30988         * manual/Makefile: Likewise.
30989         * manual/tsort.awk: Likewise.
30990         * misc/bits/stab.def: Likewise.
30991         * nis/nis_print_group_entry.c: Likewise.
30992         * nis/nis_table.c: Likewise.
30993         * nis/nss_compat/compat-pwd.c: Likewise.
30994         * nis/nss_compat/compat-spwd.c: Likewise.
30995         * po/Makefile: Likewise.
30996         * posix/fnmatch.c: Likewise.
30997         * posix/regex.h: Likewise.
30998         * resolv/Makefile: Likewise.
30999         * resolv/nss_dns/dns-network.c: Likewise.
31000         * resolv/res_hconf.c: Likewise.
31001         * scripts/gen-sorted.awk: Likewise.
31002         * soft-fp/soft-fp.h: Likewise.
31003         * stdio-common/printf.h: Likewise.
31004         * stdlib/monetary.h: Likewise.
31005         * stdlib/random.c: Likewise.
31006         * stdlib/random_r.c: Likewise.
31007         * sysdeps/generic/Makefile: Likewise.
31008         * sysdeps/gnu/Makefile: Likewise.
31009         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31010         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31011         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31013         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31014         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31015         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31016         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31017         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31018         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31019         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31020         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31021         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31022         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31023         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31024         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31025         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31026         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31027         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31028         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31029         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31030         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31031         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31032         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31033         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31034         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31035         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31036         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31037         * sysdeps/mach/hurd/errnos.awk: Likewise.
31038         * sysdeps/mach/hurd/fork.c: Likewise.
31039         * sysdeps/mach/hurd/getcwd.c: Likewise.
31040         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31041         * sysdeps/mach/hurd/mmap.c: Likewise.
31042         * sysdeps/mach/hurd/utimes.c: Likewise.
31043         * sysdeps/mach/hurd/xmknod.c: Likewise.
31044         * sysdeps/posix/profil.c: Likewise.
31045         * sysdeps/posix/readdir_r.c: Likewise.
31046         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31047         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31048         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31049         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31051         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31052         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31053         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31054         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31055         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31056         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31057         * sysdeps/pthread/lio_listio.c: Likewise.
31058         * sysdeps/sparc/dl-procinfo.h: Likewise.
31059         * sysdeps/unix/i386/sysdep.S: Likewise.
31060         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31061         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31062         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31063         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31065         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31066         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31067         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31068         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31069         * sysdeps/wordsize-32/divdi3.c: Likewise.
31070         * time/sys/time.h: Likewise.
31071         * wcsmbs/Makefile: Likewise.
31072
31073 2013-01-01  David S. Miller  <davem@davemloft.net>
31074
31075         * po/fr.po: Update from translation team.
31076
31077         * catgets/gencat.c: Update copyright year.
31078         * csu/version.c: Likewise.
31079         * debug/catchsegv.sh: Likewise.
31080         * debug/pcprofiledump.c: Likewise.
31081         * debug/xtrace.sh: Likewise.
31082         * elf/ldconfig.c: Likewise.
31083         * elf/ldd.bash.in: Likewise.
31084         * elf/pldd.c: Likewise.
31085         * elf/sotruss.ksh: Likewise.
31086         * elf/sprof.c: Likewise.
31087         * iconv/iconv_prog.c: Likewise.
31088         * iconv/iconvconfig.c: Likewise.
31089         * locale/programs/locale.c: Likewise.
31090         * locale/programs/localedef.c: Likewise.
31091         * login/programs/pt_chown.c: Likewise.
31092         * malloc/memusage.sh: Likewise.
31093         * malloc/memusagestat.c: Likewise.
31094         * malloc/mtrace.pl: Likewise.
31095         * nscd/nscd.c: Likewise.
31096         * nss/getent.c: Likewise.
31097         * nss/makedb.c: Likewise.
31098         * posix/getconf.c: Likewise.
31099
31100 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31101
31102         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31103         numbers.
31104
31105 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31106
31107         * math/bits/mathcalls.h (modf): Use __nonnull.
31108
31109 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31110
31111         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31112         (split): Use macro CN instead of the bare value.
31113         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31114         could be used.
31115         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31116         instead of the bare value.
31117         (power1): Likewise.
31118
31119 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31120
31121         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31122         __ATAN_TWOM.
31123         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31124
31125         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31126         their values.
31127         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31128         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31129         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31130         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31131
31132 2012-12-28  Andreas Jaeger  <aj@suse.de>
31133
31134         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31135         values are from Linux 3.7.
31136
31137         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31138         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31139
31140 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31141
31142         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31143         TRUE case.
31144
31145         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31146         (norm): Likewise.
31147         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31148         variables with preprocessor constants.
31149         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31150         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31151         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31152
31153 2012-12-27  Bruno Haible  <bruno@clisp.org>
31154
31155         [BZ #14317]
31156         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31157         only if needed.
31158
31159 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31160
31161         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31162         and use variable directly.
31163         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31164
31165         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31166         MPONE.
31167         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31168         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31169         variable MPONE.
31170         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31171         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31172         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31173         include directive.  Remove local variable MPONE.
31174         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31175         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31176         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31177
31178 2012-12-25  David S. Miller  <davem@davemloft.net>
31179
31180         * version.h (RELEASE): Set to "development".
31181         (VERSION): Set to "2.17.90".
31182         * NEWS: Add 2.18 section.
31183
31184 2012-12-21  David S. Miller  <davem@davemloft.net>
31185
31186         * po/hr.po: Update from translation team.
31187
31188 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31189
31190         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31191
31192 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31193
31194         * NEWS:  Mention new memcpy for MIPS.
31195
31196 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31197
31198         * manual/contrib.texi (Contributors): Spelling correction.
31199
31200 2012-12-15  David S. Miller  <davem@davemloft.net>
31201
31202         * po/ru.po: Update from translation team.
31203
31204 2012-12-13  David S. Miller  <davem@davemloft.net>
31205
31206         * NEWS: Mention IFUNC testsuite enhancements.
31207
31208         * po/pl.po: Update from translation team.
31209         * po/bg.po: Likewise.
31210
31211         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31212         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31213
31214 2012-12-11  David S. Miller  <davem@davemloft.net>
31215
31216         * po/sv.po: Update from translation team.
31217
31218         * po/vi.po: Update from translation team.
31219
31220         * po/cs.po: Update from translation team.
31221
31222         * po/de.po: Update from translation team.
31223         * po/eo.po: Likewise.
31224         * po/nl.po: Likewise.
31225
31226 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31227
31228         [BZ #14246]
31229         * manual/argp.texi (Argp Helper Functions): Move node to follow
31230         Argp Parsing State.
31231
31232         [BZ #14872]
31233         * manual/conf.texi (Limits on File System Capacity): Mention if
31234         terminating null is included in the max size.
31235
31236 2012-12-10  Andreas Jaeger  <aj@suse.de>
31237
31238         * po/cs.po: Update from translation team.
31239
31240 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31241
31242         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31243         void pointer and cast to uintptr_t.
31244         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31245         path.
31246         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31247         * sysdeps/s390/s390-64/memset.S: Likewise.
31248
31249 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31250
31251         [BZ #14833]
31252         * menual/message.texi (Message Translation): Fix typos.
31253         (Helper programs for gettext): Likewise.
31254
31255 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31256
31257         [BZ #14898]
31258         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31259         Change to -1.
31260
31261 2012-12-07  David S. Miller  <davem@davemloft.net>
31262
31263         * po/libc.pot: Update.
31264
31265 2012-12-07  Richard Henderson  <rth@redhat.com>
31266
31267         [BZ #10114]
31268         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31269         normal/normal case to before the switch.
31270         (_FP_DIV): Likewise.
31271
31272 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31273             Mike Frysinger  <vapier@gentoo.org>
31274
31275         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31276         check for __NR_fadvise64_64.
31277
31278 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31279
31280         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31281         0, not just to plain "0" as a statement.
31282         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31283         with cw.
31284
31285 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31286
31287         * NEWS: Use sourceware.org in Bugzilla URL.
31288
31289 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31290
31291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31292         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31293
31294         * stdio-common/tst-put-error.c (do_test): Add newline to the
31295         padded test to ensure flush.
31296
31297 2012-12-05  Jeff Law  <law@redhat.com>
31298
31299         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31300
31301 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31302
31303         * README: Don't refer to ports add-on as distributed separately.
31304         Mention AArch64 in list of systems supported in the ports add-on.
31305
31306         * LICENSES: Add more non-FSF copyright and license notices.
31307
31308         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31309         ((unused)).
31310
31311         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31312
31313         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31314         10000 as width of padded output.
31315
31316 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31317
31318         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31319
31320         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31321         variable LX with __attribute__ ((unused)).
31322         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31323         Likewise.
31324         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31325         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31326         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31327         with __attribute__ ((unused)).
31328
31329 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31330
31331         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31332
31333 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31334
31335         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31336         (CFLAGS-nldbl-acos.c): New variable.
31337         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31338         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31339         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31340         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31341         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31342         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31343         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31344         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31345         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31346         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31347         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31348         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31349         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31350         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31351         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31352         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31353         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31354         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31355         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31356         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31357         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31358         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31359         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31360         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31361         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31362         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31363         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31364         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31365         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31366         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31367         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31368         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31369         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31370         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31371         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31372         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31373         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31374         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31375         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31376         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31377         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31378         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31379         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31380         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31381         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31382         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31383         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31384         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31385         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31386         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31387         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31388         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31389         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31390         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31391         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31392         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31393         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31394         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31395         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31396         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31397         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31398         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31399         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31400         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31401         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31402         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31403         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31404         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31405         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31406         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31407         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31408         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31409         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31410         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31411         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31412         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31413         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31414         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31415         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31416         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31417         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31418         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31419         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31420         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31421         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31422         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31423         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31424         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31425         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31426         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31427         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31428         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31429         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31430         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31431         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31432         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31433         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31434
31435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31436         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31437
31438         [BZ #14914]
31439         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31440         whole low double instead of just low 47 bits when splitting values
31441         into two parts.
31442
31443 2012-12-03  Allan McRae  <allan@archlinux.org>
31444
31445         * manual/stdio.texi (Predefined Printf Handlers): Remove
31446         @hsep and @vsep usage.
31447
31448 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31449
31450         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31451         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31452
31453 2012-12-03  Jeff Law  <law@redhat.com>
31454
31455         * time/sys/time.h (settimeofday): Do not mark TV argument
31456         as __nonnull.
31457
31458 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31459
31460         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31461         when currently writing and seek to current position when not.
31462         * libio/Makefile (tests): Remove bug-fclose1.
31463         * libio/bug-fclose1.c: Delete.
31464
31465 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31466
31467         * manual/arith.texi (feenableexcept): Fix typo.
31468         (fedisableexcept): Likewise.
31469
31470 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31471
31472         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31473         second, differently-typed declaration, rather than a cast.
31474
31475 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31476
31477         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31478         * include/rpc/svc.h: ... here.
31479
31480 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31481
31482         [BZ #13013]
31483         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31484         depending n and resplen2 to catch cases where answer
31485         equals answerp2.
31486
31487 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31488
31489         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31490         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31491
31492 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31493
31494         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31495
31496 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31497
31498         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31499
31500 2012-11-28  Jeff Law  <law@redhat.com>
31501
31502         [BZ #13761]
31503         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31504         dataset_temporary.  Track alloca usage into alloca_used.
31505         If dataset is large allocate and release it via malloc/free.
31506
31507 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31508
31509         [BZ #14197]
31510         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31511
31512 2012-11-28  David S. Miller  <davem@davemloft.net>
31513
31514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31515
31516 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31517
31518         [BZ #14803]
31519         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31520         of pi/2 rounded to nearest to 64 bits.
31521         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31522         nearest to 64 bits.
31523         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31524         bits.
31525
31526 2012-11-28  Jeff Law <law@redhat.com>
31527             Martin Osvald <mosvald@redhat.com>
31528
31529         [BZ #14889]
31530         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31531         * sunrpc/svc.c: Include time.h.
31532         (__svc_accept_failed): New function.
31533         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31534         any reason other than EINTR, call __svc_accept_failed.
31535         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31536         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31537
31538 2012-11-28  Andreas Schwab  <schwab@suse.de>
31539
31540         * scripts/abilist.awk: Also handle indirect functions in .opd
31541         section.
31542
31543 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31544
31545         [BZ #13881]
31546         * sysdeps/x86/fpu/powl_helper.c: New file.
31547         * sysdeps/x86/fpu/Makefile: Likewise.
31548         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31549         (p3): New object.
31550         (__ieee754_powl): Use __powl_helper for finite arguments except
31551         integer exponents below 8.
31552         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31553         (p3): New object.
31554         (__ieee754_powl): Use __powl_helper for finite arguments except
31555         integer exponents below 8.
31556         * math/libm-test.inc (pow_test): Add more tests and enable some
31557         previously disabled tests.
31558         * sysdeps/i386/fpu/libm-test-ulps: Update.
31559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31560
31561 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31562             Carlos O'Donell  <carlos_odonell@mentor.com>
31563
31564         * nss/makedb.c (is_prime): Assert that input is odd and greater
31565         than 4.  Note that fact in a comment too.
31566         (next_prime): Add 4 to input.
31567
31568 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31569
31570         [BZ #11741]
31571         * libio/Makefile (tests): Add test case tst-fwrite-error.
31572         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31573         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31574         * libio/tst-fwrite-error.c: New test case.
31575
31576 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31577
31578         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31579         before casting to void *.
31580         * include/libc-internal.h (__pointer_type): New macro.
31581         (__integer_if_pointer_type_sub): Likewise.
31582         (__integer_if_pointer_type): Likewise.
31583         (cast_to_integer): Likewise.
31584         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31585         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31586         before casting to atomic64_t.
31587         (atomic_exchange_acq): Likewise.
31588         (__arch_exchange_and_add_body): Likewise.
31589         (__arch_add_body): Likewise.
31590         (atomic_add_negative): Likewise.
31591         (atomic_add_zero): Likewise.
31592
31593 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31594
31595         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31596         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31597         (add_fdes): Likewise.
31598         (linear_search_fdes): Likewise.
31599         (binary_search_unencoded_fdes): Likewise.
31600
31601 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31602
31603         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31604
31605 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31606
31607         * configure.in: Autodetect C++ header directories.
31608         * configure: Regenerated.
31609
31610 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31611
31612         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31613
31614 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31615
31616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31617
31618 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31619
31620         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31621         LDBL_MANT_DIG == 106]: Disable some tests.
31622         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31623         Likewise.
31624         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31625         Likewise.
31626
31627         [BZ #14871]
31628         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31629         input for small inputs.  Return +/- pi/2 for large inputs.
31630         * math/libm-test.inc (atan_test): Add more tests.
31631
31632         * sysdeps/generic/unwind-dw2-fde-glibc.c
31633         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31634         __attribute__ ((unused)).
31635
31636         [BZ #14645]
31637         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31638         x * y if x and y are nonzero and z is zero.
31639
31640         [BZ #14811]
31641         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31642         nonzero exponents with absolute value below 0x1p-117 to +/-
31643         0x1p-117.
31644
31645         [BZ #14869]
31646         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31647         up arguments below 2**-450, not just those below 2**-500.
31648         * math/libm-test.inc (hypot_test): Add another test.
31649
31650         [BZ #14868]
31651         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31652         Return a+b for ratio over 2**120, not 2**60.
31653         * math/libm-test.inc (hypot_test): Add another test.
31654
31655         * math/libm-test.inc (clog_test): Use
31656         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31657         (clog10_test): Likewise.
31658
31659         [BZ #6778]
31660         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31661
31662 2012-11-22  Andreas Schwab  <schwab@suse.de>
31663
31664         * sysdeps/i386/fpu/libm-test-ulps: Update.
31665
31666 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31667
31668         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31669         printf output with newline.
31670
31671 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31672
31673         [BZ #14865]
31674         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31675         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31676         -z nodlopen, -z initfirst and -z execstack support.
31677         * configure: Regenerated.
31678
31679         * elf/elf.h (DF_1_NODIRECT): New macro.
31680         (DF_1_IGNMULDEF): Likewise.
31681         (DF_1_NOKSYMS): Likewise.
31682         (DF_1_NOHDR): Likewise.
31683         (DF_1_EDITED): Likewise.
31684         (DF_1_NORELOC): Likewise.
31685         (DF_1_SYMINTPOSE): Likewise.
31686         (DF_1_GLOBAUDIT): Likewise.
31687         (DF_1_SINGLETON): Likewise.
31688         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31689         DT_1_SUPPORTED_MASK bits.
31690         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31691
31692 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31693
31694         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31695
31696 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31697
31698         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31699         macro.
31700
31701         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31702         (sendmmsg): Move declarations...
31703         * socket/sys/socket.h: ... here.
31704         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31705         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31706         include it from...
31707         * socket/recvmmsg.c: ... this new file.
31708         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31709         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31710         definition of __sendmmsg hidden.
31711         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31712         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31713         Move ENOSYS stub into and include it from...
31714         * socket/sendmmsg.c: ... this new file.
31715         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31716         (sysdep_routines): Move recvmmsg and sendmmsg...
31717         * socket/Makefile (routines): ... here.
31718         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31719         (GLIBC_PRIVATE): Add __sendmmsg.
31720         * include/sys/socket.h (__sendmmsg): Add declarations.
31721         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31722         sendmmsg.
31723
31724 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31725
31726         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31727         variable I1 with __attribute__ ((unused)).
31728         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31729
31730 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31731
31732         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31733         DUMMY variables with __attribute__ ((unused)).
31734
31735         * bits/byteswap.h: Include <bits/types.h>.
31736         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31737
31738 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31739
31740         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31741         string_t.  Do not manually set errno.
31742         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31743         length with __strnlen.  Make sure to both set errno and return it on
31744         failure.
31745
31746 2012-11-19  David S. Miller  <davem@davemloft.net>
31747
31748         With help from Joseph Myers.
31749         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31750         very large arguments properly.
31751         * math/libm-test.inc (atan_test): New tests.
31752         (atan2_test): New tests.
31753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31755
31756 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31757
31758         [BZ #14856]
31759         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31760         Define to 3.
31761
31762         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31763         [POSIX] (EADDRNOTAVAIL): Likewise.
31764         [POSIX] (EAFNOSUPPORT): Likewise.
31765         [POSIX] (EALREADY): Likewise.
31766         [POSIX] (ECONNABORTED): Likewise.
31767         [POSIX] (ECONNREFUSED): Likewise.
31768         [POSIX] (ECONNRESET): Likewise.
31769         [POSIX] (EDESTADDRREQ): Likewise.
31770         [POSIX] (EDQUOT): Likewise.
31771         [POSIX] (EHOSTUNREACH): Likewise.
31772         [POSIX] (EIDRM): Likewise.
31773         [POSIX] (EISCONN): Likewise.
31774         [POSIX] (ELOOP): Likewise.
31775         [POSIX] (EMULTIHOP): Likewise.
31776         [POSIX] (ENETDOWN): Likewise.
31777         [POSIX] (ENETUNREACH): Likewise.
31778         [POSIX] (ENOBUFS): Likewise.
31779         [POSIX] (ENODATA): Likewise.
31780         [POSIX] (ENOLINK): Likewise.
31781         [POSIX] (ENOMSG): Likewise.
31782         [POSIX] (ENOPROTOOPT): Likewise.
31783         [POSIX] (ENOSR): Likewise.
31784         [POSIX] (ENOSTR): Likewise.
31785         [POSIX] (ENOTCONN): Likewise.
31786         [POSIX] (ENOTSOCK): Likewise.
31787         [POSIX] (EOPNOTSUPP): Likewise.
31788         [POSIX] (EOVERFLOW): Likewise.
31789         [POSIX] (EPROTO): Likewise.
31790         [POSIX] (EPROTONOSUPPORT): Likewise.
31791         [POSIX] (EPROTOTYPE): Likewise.
31792         [POSIX] (ESTALE): Likewise.
31793         [POSIX] (ETIME): Likewise.
31794         [POSIX] (ETXTBSY): Likewise.
31795         [POSIX] (EWOULDBLOCK): Likewise.
31796         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31797         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31798         [POSIX] (SEEK_CUR): Likewise.
31799         [POSIX] (SEEK_END): Likewise.
31800         [POSIX || UNIX98] (mode_t): Do not require.
31801         [POSIX] (off_t): Likewise.
31802         [POSIX] (pid_t): Likewise.
31803         [POSIX] (sys/stat.h): Do not allow header.
31804         [POSIX] (unistd.h): Likewise.
31805         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31806         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31807         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31808         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31809         require.
31810         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31811         sigevent): Specify elements.
31812         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31813         entry.
31814         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31815         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31816
31817         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31818         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31819         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31820         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31821         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31822         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31823         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31824         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31825         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31826         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31827         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31828         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31829         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31830         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31831         Likewise.
31832         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31833         Likewise.
31834         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31835         Likewise.
31836         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31837         Likewise.
31838         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31839         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31840         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31841         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31842         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31843         Specify lower bound on value.
31844         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31845         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31846         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31847         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31848         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31849         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31850         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31851         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31852         value.
31853         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31854         as optional.
31855         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31856         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31857         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31858         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31859         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31860         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31861         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31862         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31863         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31864         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31865         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31866         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31867         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31868         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31869         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31870         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31871         entry.
31872         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31873         optional.
31874         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31875         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31876         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31877         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31878         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31879         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31880         Likewise.
31881         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31882         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31883         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31884         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31885         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
31886         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31887         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31888         as optional.
31889         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31890         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31891         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31892         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31893         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31894         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31895         specify as optional.
31896         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31897         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31898         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31899         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31900         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31901         [XPG3] (NL_LANGMAX): Likewise.
31902         [POSIX || XPG3] (NL_MSGMAX): Likewise.
31903         [POSIX || XPG3] (NL_NMAX): Likewise.
31904         [POSIX || XPG3] (NL_SETMAX): Likewise.
31905         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31906         [XPG3] (NZERO): Likewise.
31907         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31908         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31909         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31910         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31911         (REG_ERANGE): Expect.
31912         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31913         optional-constant.
31914         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31915         Use (void) in prototype.
31916         [POSIX] (*_t): Allow.
31917         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31918         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31919         (WRDE_BADVAL): Expect.
31920
31921         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31922         expect.
31923         [XPG3 || XPG4] (O_RSYNC): Likewise.
31924         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31925         Likewise.
31926         [XPG3 || XPG4] (pthread_sigmask): Likewise.
31927         [XPG3 || XPG4] (sigqueue): Likewise.
31928         [XPG3 || XPG4] (sigtimedwait): Likewise.
31929         [XPG3 || XPG4] (sigwaitinfo): Likewise.
31930         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31931         [XPG3 || XPG4] (vsnprintf): Likewise.
31932         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31933         Likewise.
31934         [XPG3 || XPG4] (blksize_t): Likewise.
31935         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31936         Likewise.
31937         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31938         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31939         [XPG3 || XPG4] (struct itimerspec): Likewise.
31940         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31941         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31942         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31943         [XPG3 || XPG4] (clockid_t): Likewise.
31944         [XPG3 || XPG4] (timer_t): Likewise.
31945         [XPG3 || XPG4] (clock_getres): Likewise.
31946         [XPG3 || XPG4] (clock_gettime): Likewise.
31947         [XPG3 || XPG4] (clock_settime): Likewise.
31948         [XPG3 || XPG4] (nanosleep): Likewise.
31949         [XPG3 || XPG4] (timer_create): Likewise.
31950         [XPG3 || XPG4] (timer_delete): Likewise.
31951         [XPG3 || XPG4] (timer_gettime): Likewise.
31952         [XPG3 || XPG4] (timer_getoverrun): Likewise.
31953         [XPG3 || XPG4] (timer_settime): Likewise.
31954         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31955         [XPG3 || XPG4] (getlogin_r): Likewise.
31956         [XPG3 || XPG4] (pread): Likewise.
31957         [XPG3 || XPG4] (pthread_atfork): Likewise.
31958         [XPG3 || XPG4] (pwrite): Likewise.
31959
31960         [BZ #14835]
31961         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31962         <bits/siginfo.h>.
31963
31964 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31965
31966         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31967         finalizing MALLSTREAM.
31968
31969         * sysdeps/mach/hurd/syncfs.c: New file.
31970
31971 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31972
31973         [BZ #14719]
31974         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31975         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31976         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31977         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31978         (_nss_dns_gethostbyname4_r): Likewise.
31979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31980         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31981
31982 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
31983
31984         [BZ #13763]
31985         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31986
31987 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
31988
31989         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31990         * elf/cache.c (print_entry): Print ",AArch64" for
31991         FLAG_AARCH64_LIB64
31992
31993         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31994         * elf/cache.c (print_entry): Print ",hard-float" for
31995         FLAG_ARM_LIBHF.
31996
31997 2012-11-18  David S. Miller  <davem@davemloft.net>
31998
31999         With help from Joseph Myers.
32000         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32001         cutoff to 2**-13.
32002         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32003         cutoff to 2**-25.
32004         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32005         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32006         small.
32007         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32008         * math/libm-test.inc (y0_test): New tests.
32009         (y1_test): New tests.
32010         * sysdeps/i386/fpu/libm-test-ulps: Update.
32011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32013
32014 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32015
32016         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32017         64-bit targets.
32018         * configure: Regenerated.
32019
32020 2012-11-17  David S. Miller  <davem@davemloft.net>
32021
32022         [BZ #14811]
32023         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32024         nonzero exponents with absolute value below 0x1p-128 to +/-
32025         0x1p-128.
32026
32027 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32028
32029         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32030
32031         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32032
32033         * posix/getconf-speclist.c: New file.
32034         * posix/posix-envs.def: Likewise.
32035         * posix/confstr.c (START_ENV_GROUP): New macro.
32036         (END_ENV_GROUP): Likewise.
32037         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32038         (KNOWN_PRESENT_ENV_STRING): Likewise.
32039         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32040         (UNKNOWN_ENVIRONMENT): Likewise.
32041         (confstr): Include posix-envs.def instead of handling
32042         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32043         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32044         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32045         (END_ENV_GROUP): Likewise.
32046         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32047         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32048         (UNKNOWN_ENVIRONMENT): Likewise.
32049         (__sysconf): Include posix-envs.def instead of handling associated
32050         cases directly here.
32051         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32052         preprocessing getconf-speclist.c rather than running getconf or
32053         generating empty file.
32054
32055 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32056
32057         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32058
32059 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32060
32061         [BZ #14672]
32062         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32063
32064 2012-11-16  David S. Miller  <davem@davemloft.net>
32065
32066         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32067         smaller than LDBL_EPSILON/2.0L, just return xm1.
32068
32069 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32070
32071         * elf/tst-array1.c (init): Set constructor priority to 1000.
32072         (fini): Set destructor priority to 1000.
32073         * elf/tst-array2dep.c: Likewise.
32074
32075 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32076
32077         [BZ #11741]
32078         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32079         (_IO_new_file_xsputn): Also return EOF if none of the input
32080         data was written when overflow failed.
32081         * libio/iopadn.c (_IO_padn): Likewise.
32082         * libio/iowpadn.c (_IO_wpadn): Likewise.
32083         * stdio-common/tst-put-error.c: Add copyright notice.
32084         (do_test): Add case for printing padded string.
32085         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32086         _IO_padn returned error.
32087         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32088         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32089         return EOF.
32090
32091 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32092
32093         * libio/libioP.h: Add comment note that the references to C++
32094         bits are now obsolete.
32095
32096 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32097
32098         * math/libm-test.inc (check_complex): Use asprintf.
32099
32100 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32101
32102         * debug/pcprofiledump.c (print_version): Update copyright year.
32103         * malloc/memusagestat.c (print_version): Likewise.
32104
32105 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32106
32107         [BZ #14831]
32108         * elf/Makefile (tests): Add tst-audit8.
32109         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32110         ($(objpfx)tst-audit8.out): New target.
32111         (tst-audit8-ENV): New variable.
32112         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32113         audit if l_reloc_result is NULL.
32114         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32115         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32116         * elf/tst-audit8.c: New file.
32117
32118 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32119
32120         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32121         * misc/Makefile (CFLAGS-select.c): Define.
32122         * posix/Makefile (CFLAGS-pause.c): Define.
32123
32124 2012-11-13  David S. Miller  <davem@davemloft.net>
32125
32126         * crypt/Makefile: Move test targets after toplevel Rules
32127         inclusion.  Grab any necessary sysdep routines when linking.
32128         * crypt/md5.c (md5_process_block): Remove define, we will always
32129         name it __md5_process_block.
32130         (md5_finish_ctx): Update md5_process_block call.
32131         (md5_stream): Likewise.
32132         (md5_process_bytes): Likewise.
32133         (md5_process_block): Rename to __md5_process_block and move to ...
32134         * crypt/md5-block.c: ... here.
32135         * crypt/sha256.c (sha256_process_block): Move to ...
32136         * crypt/sha256-block.c: ... here.
32137         * crypt/sha512.c (sha512_process_block): Move to ...
32138         * crypt/sha512-block.c: ... here.
32139         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32140         path.
32141         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32142         * sysdeps/sparc/sparc64/multiarch/Makefile
32143         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32144         crypt subdir.
32145         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32146         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32147         multiarch changes.
32148         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32149         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32150         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32151         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32152         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32153         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32154         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32155         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32156         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32157         file.
32158         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32159         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32160         file.
32161         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32162
32163 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32164
32165         * timezone/tzselect.ksh: Update from tzcode git revision
32166         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32167         * timezone/zdump.c: Likewise.
32168         * timezone/zic.c: Likewise.
32169         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32170         in TZVERSION setting, not $(PKGVERSION).
32171         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32172         REPORT_BUGS_TO settings.
32173
32174         [BZ #14838]
32175         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32176         macro.
32177
32178 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32179
32180         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32181         detection to immediately after _FP_ROUND().
32182         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32183         bits are 0.
32184
32185 2012-11-11  David S. Miller  <davem@davemloft.net>
32186
32187         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32188         inttypes.h
32189         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32190         __close rather than their public counterparts.
32191
32192 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32193
32194         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32195         file.
32196         [UNIX98] (sem_timedwait): Do not expect.
32197         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32198         [XPG4 || UNIX98] (sockatmark): Do not expect.
32199         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32200         (clock_getcpuclockid): Do not expect.
32201         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32202         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32203         Do not expect.
32204         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32205         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32206         [UNIX98] (vwscanf): Likewise.
32207         [UNIX98] (vswscanf): Likewise.
32208
32209 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32210
32211         * timezone/version.h: Remove file.
32212         * timezone/README: Do not refer to version.h.
32213         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32214         $(objpfx)version.h.
32215         ($(objpfx)zdump.o): Likewise.
32216         ($(objpfx)version.h): New target.
32217
32218         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32219         2012i.
32220         * timezone/README: Don't mention modification to tzselect.ksh.
32221         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32222         work on unmodified tzselect.ksh.  Substitute version numbers in
32223         tzselect.ksh.
32224
32225         * Makefile (format-me): Remove.
32226         (INSTALL): Adjust indentation.  Use commands directly instead of
32227         using $(format-me).
32228
32229         * aclocal.m4 (ACX_PKGVERSION): New macro.
32230         (ACX_BUGURL): Likewise.
32231         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32232         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32233         (REPORT_BUGS_TO): Likewise.
32234         * configure: Regenerated.
32235         * config.h.in (PKGVERSION): New macro.
32236         (REPORT_BUGS_TO): Likewise.
32237         * config.make.in (PKGVERSION): New variable.
32238         (PKGVERSION_TEXI): Likewise.
32239         (REPORT_BUGS_TO): Likewise.
32240         (REPORT_BUGS_TEXI): Likewise.
32241         * Makefile (format-me): Use -I$(common-objpfx)manual.
32242         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32243         ($(common-objpfx)manual/%): New target.
32244         (manual/%): Remove target.
32245         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32246         (print_version): Use PKGVERSION.
32247         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32248         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32249         and REPORT_BUGS_TO.
32250         ($(objpfx)xtrace): Likewise.
32251         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32252         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32253         (print_version): Use PKGVERSION.
32254         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32255         (do_version): Use PKGVERSION.
32256         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32257         REPORT_BUGS_TO.
32258         (common-ldd-rewrite): Likewise.
32259         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32260         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32261         (print_version): Use PKGVERSION.
32262         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32263         * elf/pldd.c (argp_program_bug_address): Remove variable.
32264         (more_help): New function.
32265         (argp): Use more_help.
32266         (print_version): Use PKGVERSION.
32267         * elf/sln.c (main): Use PKGVERSION.
32268         (usage): Use REPORT_BUGS_TO.
32269         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32270         (top level): Use PKGVERSION.
32271         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32272         (print_version): Use PKGVERSION.
32273         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32274         (print_version): Use PKGVERSION.
32275         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32276         (print_version): Use PKGVERSION.
32277         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32278         (print_version): Use PKGVERSION.
32279         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32280         (print_version): Use PKGVERSION.
32281         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32282         (print_version): Use PKGVERSION.
32283         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32284         and BUGURL.
32285         ($(objpfx)memusage): Likewise.
32286         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32287         (do_version): Use PKGVERSION.
32288         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32289         (print_version): Use PKGVERSION.
32290         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32291         ($PKGVERSION): New variable.
32292         ($REPORT_BUGS_TO): Likewise.
32293         (usage): Use $REPORT_BUGS_TO.
32294         (top level): Use $PKGVERSION.
32295         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32296         ($(objpfx)pkgvers.texi): New rule.
32297         ($(objpfx)stamp-pkgvers): Likewise.
32298         * manual/install.texi: Include pkgvers.texi.
32299         (--with-pkgversion): Document new configure option.
32300         (--with-bugurl): Likewise.
32301         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32302         than necessarily for this particular distribution.  Use
32303         REPORT_BUGS_TO for where to report bugs.
32304         * INSTALL: Regenerated.
32305         * manual/libc.texinfo: Include pkgvers.texi.
32306         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32307         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32308         (print_version): Use PKGVERSION.
32309         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32310         (print_version): Use PKGVERSION.
32311         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32312         (print_version): Use PKGVERSION.
32313         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32314         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32315         macro.
32316         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32317         (print_version): Use PKGVERSION.
32318         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32319         (print_version): Use PKGVERSION.
32320         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32321         and PKGVERSION.
32322
32323         * timezone/checktab.awk: Update from tzcode 2012i.
32324         * timezone/ialloc.c: Likewise.
32325         * timezone/private.h: Likewise.
32326         * timezone/scheck.c: Likewise.
32327         * timezone/tzfile.h: Likewise.
32328         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32329         (TZVERSION): Hardcode tzcode version number.
32330         * timezone/zdump.c: Update from tzcode 2012i.
32331         * timezone/zic.c: Likewise.
32332         * timezone/version.h: New file.
32333         * timezone/README: Describe version.h.  Update upstream location.
32334
32335         [BZ #14824]
32336         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32337         (mktemp): Enable declaration.
32338         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32339         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32340         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32341         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32342         Likewise.
32343         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32344         Likewise.
32345         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32346         Likewise.
32347         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32348         Likewise.
32349         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32350         Likewise.
32351         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32352         Likewise.
32353
32354         [BZ #14821]
32355         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32356         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32357         for copies of such integer values.
32358         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32359         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32360
32361 2012-11-09  Andreas Jaeger  <aj@suse.de>
32362
32363         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32364         definitions and declarations that are provided by
32365         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32366
32367 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32368
32369         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32370         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32371         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32372         definition.
32373
32374 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32375
32376         * elf/elf.h: Update comment before AArch64 relocations.
32377
32378 2012-11-07  David S. Miller  <davem@davemloft.net>
32379
32380         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32381         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32382         (__start_context): Declare.
32383         (__makecontext_ret): Delete.
32384         (__makecontext): Hook up __start_context instead of
32385         __makecontext_ret.
32386         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32387         (sysdep_routines): Add __start_context when in stdlib.
32388
32389 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32390
32391         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32392         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32393         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32394         hardcoded "nm".
32395         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32396         (READELF): New variable.  Use it instead of hardcoded "readelf".
32397
32398 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32399
32400         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32401         * sysdeps/x86/Makefile: Here.
32402         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32403         * sysdeps/x86/tst-xmmymm.sh: This.
32404
32405 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32406
32407         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32408         expectations.
32409         [UNIX98] (pthread_barrier_t): Do not expect.
32410         [UNIX98] (pthread_barrierattr_t): Likewise.
32411         [UNIX98] (pthread_spinlock_t): Likewise.
32412         [UNIX98] (pthread_barrier_destroy): Likewise.
32413         [UNIX98] (pthread_barrier_init): Likewise.
32414         [UNIX98] (pthread_barrier_wait): Likewise.
32415         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32416         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32417         [UNIX98] (pthread_barrierattr_init): Likewise.
32418         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32419         [UNIX98] (pthread_getcpuclockid): Likewise.
32420         [UNIX98] (pthread_mutex_timedlock): Likewise.
32421         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32422         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32423         [UNIX98] (pthread_sigmask): Likewise.
32424         [UNIX98] (pthread_spin_destroy): Likewise.
32425         [UNIX98] (pthread_spin_init): Likewise.
32426         [UNIX98] (pthread_spin_lock): Likewise.
32427         [UNIX98] (pthread_spin_trylock): Likewise.
32428         [UNIX98] (pthread_spin_unlock): Likewise.
32429         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32430         Do not expect.
32431         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32432         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32433         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32434         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32435         [XPG3 || XPG4] (pthread_key_t): Likewise.
32436         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32437         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32438         [XPG3 || XPG4] (pthread_once_t): Likewise.
32439         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32440         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32441         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32442         [XPG3 || XPG4] (pthread_t): Likewise.
32443
32444         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32445         not expect.
32446         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32447
32448         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32449         Change function return type to int.
32450
32451         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32452         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32453         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32454         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32455         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32456         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32457         [!POSIX] (posix_madvise): Likewise.
32458         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32459         && !UNIX98].
32460         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32461         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32462         (mode_t): Likewise.
32463         (posix_mem_offset): Likewise.
32464         (posix_typed_mem_get_info): Likewise.
32465         (posix_typed_mem_open): Likewise.
32466
32467         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32468         Change condition to [XOPEN2K8].
32469
32470         * conform/conformtest.pl: Preprocess allow-header data with -x c
32471         instead of from stdin.
32472         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32473         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32474         [C99-based standards] (cerfc): Likewise.
32475         [C99-based standards] (cexp2): Likewise.
32476         [C99-based standards] (cexpm1): Likewise.
32477         [C99-based standards] (clog10): Likewise.
32478         [C99-based standards] (clog1p): Likewise.
32479         [C99-based standards] (clog2): Likewise.
32480         [C99-based standards] (clgamma): Likewise.
32481         [C99-based standards] (ctgamma): Likewise.
32482         [C99-based standards] (cerff): Likewise.
32483         [C99-based standards] (cerfcf): Likewise.
32484         [C99-based standards] (cexp2f): Likewise.
32485         [C99-based standards] (cexpm1f): Likewise.
32486         [C99-based standards] (clog10f): Likewise.
32487         [C99-based standards] (clog1pf): Likewise.
32488         [C99-based standards] (clog2f): Likewise.
32489         [C99-based standards] (clgammaf): Likewise.
32490         [C99-based standards] (ctgammaf): Likewise.
32491         [C99-based standards] (cerfl): Likewise.
32492         [C99-based standards] (cerfcl): Likewise.
32493         [C99-based standards] (cexp2l): Likewise.
32494         [C99-based standards] (cexpm1l): Likewise.
32495         [C99-based standards] (clog10l): Likewise.
32496         [C99-based standards] (clog1pl): Likewise.
32497         [C99-based standards] (clog2l): Likewise.
32498         [C99-based standards] (clgammal): Likewise.
32499         [C99-based standards] (ctgammal): Likewise.
32500         * conform/data/inttypes.h-data [C99-based standards]: Include
32501         stdint.h-data.  Remove all expectations for stdint.h contents.
32502         [C99-based standards] (PRI*): Do not allow.
32503         [C99-based standards] (SCN*): Likewise.
32504         [C99-based standards] (*_t): Likewise.
32505         [C99-based-standards] (PRId8): Expect macro.
32506         [C99-based-standards] (PRIi8): Likewise.
32507         [C99-based-standards] (PRIo8): Likewise.
32508         [C99-based-standards] (PRIu8): Likewise.
32509         [C99-based-standards] (PRIx8): Likewise.
32510         [C99-based-standards] (PRIX8): Likewise.
32511         [C99-based-standards] (SCNd8): Likewise.
32512         [C99-based-standards] (SCNi8): Likewise.
32513         [C99-based-standards] (SCNo8): Likewise.
32514         [C99-based-standards] (SCNu8): Likewise.
32515         [C99-based-standards] (SCNx8): Likewise.
32516         [C99-based-standards] (PRIdLEAST8): Likewise.
32517         [C99-based-standards] (PRIiLEAST8): Likewise.
32518         [C99-based-standards] (PRIoLEAST8): Likewise.
32519         [C99-based-standards] (PRIuLEAST8): Likewise.
32520         [C99-based-standards] (PRIxLEAST8): Likewise.
32521         [C99-based-standards] (PRIXLEAST8): Likewise.
32522         [C99-based-standards] (SCNdLEAST8): Likewise.
32523         [C99-based-standards] (SCNiLEAST8): Likewise.
32524         [C99-based-standards] (SCNoLEAST8): Likewise.
32525         [C99-based-standards] (SCNuLEAST8): Likewise.
32526         [C99-based-standards] (SCNxLEAST8): Likewise.
32527         [C99-based-standards] (PRIdFAST8): Likewise.
32528         [C99-based-standards] (PRIiFAST8): Likewise.
32529         [C99-based-standards] (PRIoFAST8): Likewise.
32530         [C99-based-standards] (PRIuFAST8): Likewise.
32531         [C99-based-standards] (PRIxFAST8): Likewise.
32532         [C99-based-standards] (PRIXFAST8): Likewise.
32533         [C99-based-standards] (SCNdFAST8): Likewise.
32534         [C99-based-standards] (SCNiFAST8): Likewise.
32535         [C99-based-standards] (SCNoFAST8): Likewise.
32536         [C99-based-standards] (SCNuFAST8): Likewise.
32537         [C99-based-standards] (SCNxFAST8): Likewise.
32538         [C99-based-standards] (PRId16): Likewise.
32539         [C99-based-standards] (PRIi16): Likewise.
32540         [C99-based-standards] (PRIo16): Likewise.
32541         [C99-based-standards] (PRIu16): Likewise.
32542         [C99-based-standards] (PRIx16): Likewise.
32543         [C99-based-standards] (PRIX16): Likewise.
32544         [C99-based-standards] (SCNd16): Likewise.
32545         [C99-based-standards] (SCNi16): Likewise.
32546         [C99-based-standards] (SCNo16): Likewise.
32547         [C99-based-standards] (SCNu16): Likewise.
32548         [C99-based-standards] (SCNx16): Likewise.
32549         [C99-based-standards] (PRIdLEAST16): Likewise.
32550         [C99-based-standards] (PRIiLEAST16): Likewise.
32551         [C99-based-standards] (PRIoLEAST16): Likewise.
32552         [C99-based-standards] (PRIuLEAST16): Likewise.
32553         [C99-based-standards] (PRIxLEAST16): Likewise.
32554         [C99-based-standards] (PRIXLEAST16): Likewise.
32555         [C99-based-standards] (SCNdLEAST16): Likewise.
32556         [C99-based-standards] (SCNiLEAST16): Likewise.
32557         [C99-based-standards] (SCNoLEAST16): Likewise.
32558         [C99-based-standards] (SCNuLEAST16): Likewise.
32559         [C99-based-standards] (SCNxLEAST16): Likewise.
32560         [C99-based-standards] (PRIdFAST16): Likewise.
32561         [C99-based-standards] (PRIiFAST16): Likewise.
32562         [C99-based-standards] (PRIoFAST16): Likewise.
32563         [C99-based-standards] (PRIuFAST16): Likewise.
32564         [C99-based-standards] (PRIxFAST16): Likewise.
32565         [C99-based-standards] (PRIXFAST16): Likewise.
32566         [C99-based-standards] (SCNdFAST16): Likewise.
32567         [C99-based-standards] (SCNiFAST16): Likewise.
32568         [C99-based-standards] (SCNoFAST16): Likewise.
32569         [C99-based-standards] (SCNuFAST16): Likewise.
32570         [C99-based-standards] (SCNxFAST16): Likewise.
32571         [C99-based-standards] (PRId32): Likewise.
32572         [C99-based-standards] (PRIi32): Likewise.
32573         [C99-based-standards] (PRIo32): Likewise.
32574         [C99-based-standards] (PRIu32): Likewise.
32575         [C99-based-standards] (PRIx32): Likewise.
32576         [C99-based-standards] (PRIX32): Likewise.
32577         [C99-based-standards] (SCNd32): Likewise.
32578         [C99-based-standards] (SCNi32): Likewise.
32579         [C99-based-standards] (SCNo32): Likewise.
32580         [C99-based-standards] (SCNu32): Likewise.
32581         [C99-based-standards] (SCNx32): Likewise.
32582         [C99-based-standards] (PRIdLEAST32): Likewise.
32583         [C99-based-standards] (PRIiLEAST32): Likewise.
32584         [C99-based-standards] (PRIoLEAST32): Likewise.
32585         [C99-based-standards] (PRIuLEAST32): Likewise.
32586         [C99-based-standards] (PRIxLEAST32): Likewise.
32587         [C99-based-standards] (PRIXLEAST32): Likewise.
32588         [C99-based-standards] (SCNdLEAST32): Likewise.
32589         [C99-based-standards] (SCNiLEAST32): Likewise.
32590         [C99-based-standards] (SCNoLEAST32): Likewise.
32591         [C99-based-standards] (SCNuLEAST32): Likewise.
32592         [C99-based-standards] (SCNxLEAST32): Likewise.
32593         [C99-based-standards] (PRIdFAST32): Likewise.
32594         [C99-based-standards] (PRIiFAST32): Likewise.
32595         [C99-based-standards] (PRIoFAST32): Likewise.
32596         [C99-based-standards] (PRIuFAST32): Likewise.
32597         [C99-based-standards] (PRIxFAST32): Likewise.
32598         [C99-based-standards] (PRIXFAST32): Likewise.
32599         [C99-based-standards] (SCNdFAST32): Likewise.
32600         [C99-based-standards] (SCNiFAST32): Likewise.
32601         [C99-based-standards] (SCNoFAST32): Likewise.
32602         [C99-based-standards] (SCNuFAST32): Likewise.
32603         [C99-based-standards] (SCNxFAST32): Likewise.
32604         [C99-based-standards] (PRId64): Likewise.
32605         [C99-based-standards] (PRIi64): Likewise.
32606         [C99-based-standards] (PRIo64): Likewise.
32607         [C99-based-standards] (PRIu64): Likewise.
32608         [C99-based-standards] (PRIx64): Likewise.
32609         [C99-based-standards] (PRIX64): Likewise.
32610         [C99-based-standards] (SCNd64): Likewise.
32611         [C99-based-standards] (SCNi64): Likewise.
32612         [C99-based-standards] (SCNo64): Likewise.
32613         [C99-based-standards] (SCNu64): Likewise.
32614         [C99-based-standards] (SCNx64): Likewise.
32615         [C99-based-standards] (PRIdLEAST64): Likewise.
32616         [C99-based-standards] (PRIiLEAST64): Likewise.
32617         [C99-based-standards] (PRIoLEAST64): Likewise.
32618         [C99-based-standards] (PRIuLEAST64): Likewise.
32619         [C99-based-standards] (PRIxLEAST64): Likewise.
32620         [C99-based-standards] (PRIXLEAST64): Likewise.
32621         [C99-based-standards] (SCNdLEAST64): Likewise.
32622         [C99-based-standards] (SCNiLEAST64): Likewise.
32623         [C99-based-standards] (SCNoLEAST64): Likewise.
32624         [C99-based-standards] (SCNuLEAST64): Likewise.
32625         [C99-based-standards] (SCNxLEAST64): Likewise.
32626         [C99-based-standards] (PRIdFAST64): Likewise.
32627         [C99-based-standards] (PRIiFAST64): Likewise.
32628         [C99-based-standards] (PRIoFAST64): Likewise.
32629         [C99-based-standards] (PRIuFAST64): Likewise.
32630         [C99-based-standards] (PRIxFAST64): Likewise.
32631         [C99-based-standards] (PRIXFAST64): Likewise.
32632         [C99-based-standards] (SCNdFAST64): Likewise.
32633         [C99-based-standards] (SCNiFAST64): Likewise.
32634         [C99-based-standards] (SCNoFAST64): Likewise.
32635         [C99-based-standards] (SCNuFAST64): Likewise.
32636         [C99-based-standards] (SCNxFAST64): Likewise.
32637         [C99-based-standards] (PRIdMAX): Likewise.
32638         [C99-based-standards] (PRIiMAX): Likewise.
32639         [C99-based-standards] (PRIoMAX): Likewise.
32640         [C99-based-standards] (PRIuMAX): Likewise.
32641         [C99-based-standards] (PRIxMAX): Likewise.
32642         [C99-based-standards] (PRIXMAX): Likewise.
32643         [C99-based-standards] (SCNdMAX): Likewise.
32644         [C99-based-standards] (SCNiMAX): Likewise.
32645         [C99-based-standards] (SCNoMAX): Likewise.
32646         [C99-based-standards] (SCNuMAX): Likewise.
32647         [C99-based-standards] (SCNxMAX): Likewise.
32648         [C99-based-standards] (PRIdPTR): Likewise.
32649         [C99-based-standards] (PRIiPTR): Likewise.
32650         [C99-based-standards] (PRIoPTR): Likewise.
32651         [C99-based-standards] (PRIuPTR): Likewise.
32652         [C99-based-standards] (PRIxPTR): Likewise.
32653         [C99-based-standards] (PRIXPTR): Likewise.
32654         [C99-based-standards] (SCNdPTR): Likewise.
32655         [C99-based-standards] (SCNiPTR): Likewise.
32656         [C99-based-standards] (SCNoPTR): Likewise.
32657         [C99-based-standards] (SCNuPTR): Likewise.
32658         [C99-based-standards] (SCNxPTR): Likewise.
32659         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32660         allow.
32661         * conform/data/stdint.h-data: Update comments to clarify
32662         requirements.
32663         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32664         type.
32665         [C99-based standards] (INT8_MAX): Likewise.
32666         [C99-based standards] (INT16_MIN): Likewise.
32667         [C99-based standards] (INT16_MAX): Likewise.
32668         [C99-based standards] (INT32_MIN): Likewise.
32669         [C99-based standards] (INT32_MAX): Likewise.
32670         [C99-based standards] (INT64_MIN): Likewise.
32671         [C99-based standards] (INT64_MAX): Likewise.
32672         [C99-based standards] (UINT8_MAX): Likewise.
32673         [C99-based standards] (UINT16_MAX): Likewise.
32674         [C99-based standards] (UINT32_MAX): Likewise.
32675         [C99-based standards] (UINT64_MAX): Likewise.
32676         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32677         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32678         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32679         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32680         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32681         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32682         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32683         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32684         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32685         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32686         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32687         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32688         [C99-based standards] (INT_FAST8_MIN): Likewise.
32689         [C99-based standards] (INT_FAST8_MAX): Likewise.
32690         [C99-based standards] (INT_FAST16_MIN): Likewise.
32691         [C99-based standards] (INT_FAST16_MAX): Likewise.
32692         [C99-based standards] (INT_FAST32_MIN): Likewise.
32693         [C99-based standards] (INT_FAST32_MAX): Likewise.
32694         [C99-based standards] (INT_FAST64_MIN): Likewise.
32695         [C99-based standards] (INT_FAST64_MAX): Likewise.
32696         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32697         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32698         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32699         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32700         [C99-based standards] (INTPTR_MIN): Likewise.
32701         [C99-based standards] (INTPTR_MAX): Likewise.
32702         [C99-based standards] (UINTPTR_MAX): Likewise.
32703         [C99-based standards] (INTMAX_MIN): Likewise.
32704         [C99-based standards] (INTMAX_MAX): Likewise.
32705         [C99-based standards] (UINTMAX_MAX): Likewise.
32706         [C99-based standards] (PTRDIFF_MIN): Likewise.
32707         [C99-based standards] (PTRDIFF_MAX): Likewise.
32708         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32709         [C99-based standards] (SIZE_MAX): Likewise.
32710         [C99-based standards] (WCHAR_MAX): Likewise.
32711         [C99-based standards] (WINT_MAX): Likewise.
32712         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32713         constraint on value.
32714         [C99-based standards] (WCHAR_MIN): Likewise.
32715         [C99-based standards] (WINT_MIN): Likewise.
32716         [C99-based standards] (*_t): Allow.
32717         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32718         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32719         Include math.h-data and complex.h-data.  Remove all expectations
32720         of math.h and complex.h contents.
32721         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32722         at end of line.
32723         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32724         (struct tm): Expect tag.
32725         [C99-based-standards] (wcstof): Expect function.
32726         [C99-based-standards] (wcstold): Likewise.
32727         [C99-based-standards] (wcstoll): Likewise.
32728         [C99-based-standards] (wcstoull): Likewise.
32729         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32730         macro-int-constant.  Specify type.
32731         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32732         constraint on value.
32733         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32734         Specify type.
32735         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32736         Specify value.
32737         [ISO C standards]: Do not allow headers.
32738         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32739         wcs[abcdefghijklmnopqrstuvwxyz]*.
32740         [ISO C standards] (*_t): Do not allow.
32741         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32742         Expect function.
32743         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32744         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32745         Specify type.
32746         [ISO C standards]: Do not allow headers.
32747         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32748         is[abcdefghijklmnopqrstuvwxyz]*.
32749         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32750         to[abcdefghijklmnopqrstuvwxyz]*.
32751         [ISO C standards] (*_t): Do not allow.
32752         * conform/data/stdalign.h-data: New file.
32753         * conform/data/stdbool.h-data: Likewise.
32754         * conform/data/stdnoreturn.h-data: Likewise.
32755
32756 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32757
32758         [BZ #14815]
32759         * manual/filesys.texi (Directory Entries): Typo fix.
32760         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32761
32762 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32763
32764         * elf/elf.h (EM_AARCH64): New macro.
32765         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32766         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32767         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32768         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32769         (R_AARCH64_TLSDESC): Likewise.
32770         (NT_ARM_TLS): Likewise.
32771         (NT_ARM_HW_BREAK): Likewise.
32772         (NT_ARM_HW_WATCH): Likewise.
32773
32774 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32775
32776         [BZ #14811]
32777         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32778         (__ieee754_powl): Saturate nonzero exponents with absolute value
32779         below 0x1p-79 to +/- 0x1p-79.
32780         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32781         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32782         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32783         nonzero exponents with absolute value below 0x1p-32 to +/-
32784         0x1p-32.
32785         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32786         (__ieee754_powl): Saturate nonzero exponents with absolute value
32787         below 0x1p-79 to +/- 0x1p-79.
32788         * math/libm-test.inc (pow_test): Add more tests.
32789
32790 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32791
32792         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32793         _dl_s390_cap_flags with kernel. Increase string length.
32794         (_dl_s390_platforms): Add z196 and zEC12.
32795
32796 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32797
32798         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32799         Change XOPEN21K to XOPEN2K.
32800
32801 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32802
32803         * string/memmove.c: Use memcpy when possible.
32804
32805 2012-11-06  Andreas Jaeger  <aj@suse.de>
32806
32807         * po/eo.po: Update from translation team.
32808
32809 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32810
32811         [BZ #14793]
32812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32813         exponent and small x and y exponents, scale x or y up.  Increase
32814         by 2 the exponent used in scaling up.
32815         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32816         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32817         * math/libm-test.inc (fma_test): Add more tests.
32818         (fma_test_towardzero): Likewise.
32819         (fma_test_downward): Likewise.
32820         (fma_test_upward): Likewise.
32821
32822 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32823
32824         [BZ #14805]
32825         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32826         fenv_t *.
32827
32828         [BZ #14801]
32829         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32830         namespace for names of struct fields.
32831         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32832         fenv_t fields.
32833         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32834         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32835
32836 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32837
32838         [BZ #3665]
32839         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32840
32841 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32842
32843         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32844         PTR_DEMANGLE.
32845
32846         [BZ #5246]
32847         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32848         PTR_DEMANGLE.
32849
32850 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32851
32852         [BZ #14797]
32853         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32854         definitely overflow as x * y not x * y + z.
32855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32856         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32857         * math/libm-test.inc (fma_test): Add more tests.
32858         (fma_test_towardzero): Likewise.
32859         (fma_test_downward): Likewise.
32860         (fma_test_upward): Likewise.
32861
32862 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32863
32864         [BZ #157]
32865
32866         * include/stub-tag.h: Remove file.
32867         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32868         '#include' of it.
32869         * manual/maint.texi (Porting): Don't reference it.
32870         * Makerules ($(objpfx)stubs): Likewise.
32871         * dirent/closedir.c: Don't include <stub-tag.h>.
32872         * dirent/dirfd.c: Likewise.
32873         * dirent/fdopendir.c: Likewise.
32874         * dirent/getdents.c: Likewise.
32875         * dirent/getdents64.c: Likewise.
32876         * dirent/opendir.c: Likewise.
32877         * dirent/readdir.c: Likewise.
32878         * dirent/readdir64.c: Likewise.
32879         * dirent/readdir64_r.c: Likewise.
32880         * dirent/readdir_r.c: Likewise.
32881         * dirent/rewinddir.c: Likewise.
32882         * dirent/seekdir.c: Likewise.
32883         * dirent/telldir.c: Likewise.
32884         * gmon/profil.c: Likewise.
32885         * grp/setgroups.c: Likewise.
32886         * inet/if_index.c: Likewise.
32887         * io/access.c: Likewise.
32888         * io/chdir.c: Likewise.
32889         * io/chmod.c: Likewise.
32890         * io/chown.c: Likewise.
32891         * io/close.c: Likewise.
32892         * io/dup.c: Likewise.
32893         * io/dup2.c: Likewise.
32894         * io/dup3.c: Likewise.
32895         * io/euidaccess.c: Likewise.
32896         * io/faccessat.c: Likewise.
32897         * io/fchdir.c: Likewise.
32898         * io/fchmod.c: Likewise.
32899         * io/fchmodat.c: Likewise.
32900         * io/fchown.c: Likewise.
32901         * io/fchownat.c: Likewise.
32902         * io/fcntl.c: Likewise.
32903         * io/flock.c: Likewise.
32904         * io/fstatfs.c: Likewise.
32905         * io/fstatfs64.c: Likewise.
32906         * io/fstatvfs.c: Likewise.
32907         * io/fstatvfs64.c: Likewise.
32908         * io/futimens.c: Likewise.
32909         * io/fxstat.c: Likewise.
32910         * io/fxstat64.c: Likewise.
32911         * io/fxstatat.c: Likewise.
32912         * io/fxstatat64.c: Likewise.
32913         * io/getcwd.c: Likewise.
32914         * io/isatty.c: Likewise.
32915         * io/lchmod.c: Likewise.
32916         * io/lchown.c: Likewise.
32917         * io/link.c: Likewise.
32918         * io/linkat.c: Likewise.
32919         * io/lseek.c: Likewise.
32920         * io/lseek64.c: Likewise.
32921         * io/lxstat64.c: Likewise.
32922         * io/mkdir.c: Likewise.
32923         * io/mkdirat.c: Likewise.
32924         * io/mkfifo.c: Likewise.
32925         * io/mkfifoat.c: Likewise.
32926         * io/open.c: Likewise.
32927         * io/open64.c: Likewise.
32928         * io/openat.c: Likewise.
32929         * io/openat64.c: Likewise.
32930         * io/pipe.c: Likewise.
32931         * io/pipe2.c: Likewise.
32932         * io/poll.c: Likewise.
32933         * io/posix_fadvise.c: Likewise.
32934         * io/posix_fadvise64.c: Likewise.
32935         * io/posix_fallocate.c: Likewise.
32936         * io/posix_fallocate64.c: Likewise.
32937         * io/read.c: Likewise.
32938         * io/readlink.c: Likewise.
32939         * io/readlinkat.c: Likewise.
32940         * io/rmdir.c: Likewise.
32941         * io/sendfile.c: Likewise.
32942         * io/sendfile64.c: Likewise.
32943         * io/statfs.c: Likewise.
32944         * io/statfs64.c: Likewise.
32945         * io/statvfs.c: Likewise.
32946         * io/statvfs64.c: Likewise.
32947         * io/symlink.c: Likewise.
32948         * io/symlinkat.c: Likewise.
32949         * io/ttyname.c: Likewise.
32950         * io/ttyname_r.c: Likewise.
32951         * io/umask.c: Likewise.
32952         * io/unlink.c: Likewise.
32953         * io/unlinkat.c: Likewise.
32954         * io/utime.c: Likewise.
32955         * io/utimensat.c: Likewise.
32956         * io/write.c: Likewise.
32957         * io/xmknod.c: Likewise.
32958         * io/xmknodat.c: Likewise.
32959         * io/xstat.c: Likewise.
32960         * io/xstat64.c: Likewise.
32961         * login/getpt.c: Likewise.
32962         * login/grantpt.c: Likewise.
32963         * login/unlockpt.c: Likewise.
32964         * math/e_acoshl.c: Likewise.
32965         * math/e_acosl.c: Likewise.
32966         * math/e_asinl.c: Likewise.
32967         * math/e_atan2l.c: Likewise.
32968         * math/e_atanhl.c: Likewise.
32969         * math/e_coshl.c: Likewise.
32970         * math/e_expl.c: Likewise.
32971         * math/e_fmodl.c: Likewise.
32972         * math/e_gammal_r.c: Likewise.
32973         * math/e_hypotl.c: Likewise.
32974         * math/e_j0l.c: Likewise.
32975         * math/e_j1l.c: Likewise.
32976         * math/e_jnl.c: Likewise.
32977         * math/e_lgammal_r.c: Likewise.
32978         * math/e_log10l.c: Likewise.
32979         * math/e_log2l.c: Likewise.
32980         * math/e_logl.c: Likewise.
32981         * math/e_powl.c: Likewise.
32982         * math/e_rem_pio2l.c: Likewise.
32983         * math/e_sinhl.c: Likewise.
32984         * math/e_sqrtl.c: Likewise.
32985         * math/fclrexcpt.c: Likewise.
32986         * math/fedisblxcpt.c: Likewise.
32987         * math/feenablxcpt.c: Likewise.
32988         * math/fegetenv.c: Likewise.
32989         * math/fegetexcept.c: Likewise.
32990         * math/fegetround.c: Likewise.
32991         * math/feholdexcpt.c: Likewise.
32992         * math/fesetenv.c: Likewise.
32993         * math/fesetround.c: Likewise.
32994         * math/feupdateenv.c: Likewise.
32995         * math/fgetexcptflg.c: Likewise.
32996         * math/fraiseexcpt.c: Likewise.
32997         * math/fsetexcptflg.c: Likewise.
32998         * math/ftestexcept.c: Likewise.
32999         * math/k_cosl.c: Likewise.
33000         * math/k_rem_pio2l.c: Likewise.
33001         * math/k_sinl.c: Likewise.
33002         * math/k_tanl.c: Likewise.
33003         * math/s_asinhl.c: Likewise.
33004         * math/s_atanl.c: Likewise.
33005         * math/s_cbrtl.c: Likewise.
33006         * math/s_erfl.c: Likewise.
33007         * math/s_expm1l.c: Likewise.
33008         * math/s_log1pl.c: Likewise.
33009         * math/s_tanhl.c: Likewise.
33010         * misc/acct.c: Likewise.
33011         * misc/brk.c: Likewise.
33012         * misc/chflags.c: Likewise.
33013         * misc/chroot.c: Likewise.
33014         * misc/fchflags.c: Likewise.
33015         * misc/fgetxattr.c: Likewise.
33016         * misc/flistxattr.c: Likewise.
33017         * misc/fremovexattr.c: Likewise.
33018         * misc/fsetxattr.c: Likewise.
33019         * misc/fsync.c: Likewise.
33020         * misc/ftruncate.c: Likewise.
33021         * misc/futimes.c: Likewise.
33022         * misc/futimesat.c: Likewise.
33023         * misc/getdomain.c: Likewise.
33024         * misc/getdtsz.c: Likewise.
33025         * misc/gethostid.c: Likewise.
33026         * misc/gethostname.c: Likewise.
33027         * misc/getloadavg.c: Likewise.
33028         * misc/getpagesize.c: Likewise.
33029         * misc/getsysstats.c: Likewise.
33030         * misc/getxattr.c: Likewise.
33031         * misc/gtty.c: Likewise.
33032         * misc/ioctl.c: Likewise.
33033         * misc/lgetxattr.c: Likewise.
33034         * misc/listxattr.c: Likewise.
33035         * misc/llistxattr.c: Likewise.
33036         * misc/lremovexattr.c: Likewise.
33037         * misc/lsetxattr.c: Likewise.
33038         * misc/lutimes.c: Likewise.
33039         * misc/madvise.c: Likewise.
33040         * misc/mincore.c: Likewise.
33041         * misc/mlock.c: Likewise.
33042         * misc/mlockall.c: Likewise.
33043         * misc/mmap.c: Likewise.
33044         * misc/mprotect.c: Likewise.
33045         * misc/msync.c: Likewise.
33046         * misc/munlock.c: Likewise.
33047         * misc/munlockall.c: Likewise.
33048         * misc/munmap.c: Likewise.
33049         * misc/preadv.c: Likewise.
33050         * misc/preadv64.c: Likewise.
33051         * misc/ptrace.c: Likewise.
33052         * misc/pwritev.c: Likewise.
33053         * misc/pwritev64.c: Likewise.
33054         * misc/readv.c: Likewise.
33055         * misc/reboot.c: Likewise.
33056         * misc/remap_file_pages.c: Likewise.
33057         * misc/removexattr.c: Likewise.
33058         * misc/revoke.c: Likewise.
33059         * misc/select.c: Likewise.
33060         * misc/setdomain.c: Likewise.
33061         * misc/setegid.c: Likewise.
33062         * misc/seteuid.c: Likewise.
33063         * misc/sethostid.c: Likewise.
33064         * misc/sethostname.c: Likewise.
33065         * misc/setregid.c: Likewise.
33066         * misc/setreuid.c: Likewise.
33067         * misc/setxattr.c: Likewise.
33068         * misc/sstk.c: Likewise.
33069         * misc/stty.c: Likewise.
33070         * misc/swapoff.c: Likewise.
33071         * misc/swapon.c: Likewise.
33072         * misc/sync.c: Likewise.
33073         * misc/syncfs.c: Likewise.
33074         * misc/syscall.c: Likewise.
33075         * misc/truncate.c: Likewise.
33076         * misc/ualarm.c: Likewise.
33077         * misc/usleep.c: Likewise.
33078         * misc/ustat.c: Likewise.
33079         * misc/utimes.c: Likewise.
33080         * misc/vhangup.c: Likewise.
33081         * misc/writev.c: Likewise.
33082         * posix/_exit.c: Likewise.
33083         * posix/alarm.c: Likewise.
33084         * posix/execve.c: Likewise.
33085         * posix/fexecve.c: Likewise.
33086         * posix/fork.c: Likewise.
33087         * posix/fpathconf.c: Likewise.
33088         * posix/getaddrinfo.c: Likewise.
33089         * posix/getegid.c: Likewise.
33090         * posix/geteuid.c: Likewise.
33091         * posix/getgid.c: Likewise.
33092         * posix/getgroups.c: Likewise.
33093         * posix/getlogin.c: Likewise.
33094         * posix/getlogin_r.c: Likewise.
33095         * posix/getpgid.c: Likewise.
33096         * posix/getpid.c: Likewise.
33097         * posix/getppid.c: Likewise.
33098         * posix/getresgid.c: Likewise.
33099         * posix/getresuid.c: Likewise.
33100         * posix/getsid.c: Likewise.
33101         * posix/getuid.c: Likewise.
33102         * posix/glob64.c: Likewise.
33103         * posix/nanosleep.c: Likewise.
33104         * posix/pathconf.c: Likewise.
33105         * posix/pause.c: Likewise.
33106         * posix/posix_madvise.c: Likewise.
33107         * posix/pread.c: Likewise.
33108         * posix/pread64.c: Likewise.
33109         * posix/pwrite.c: Likewise.
33110         * posix/pwrite64.c: Likewise.
33111         * posix/sched_getaffinity.c: Likewise.
33112         * posix/sched_getp.c: Likewise.
33113         * posix/sched_gets.c: Likewise.
33114         * posix/sched_primax.c: Likewise.
33115         * posix/sched_primin.c: Likewise.
33116         * posix/sched_rr_gi.c: Likewise.
33117         * posix/sched_setaffinity.c: Likewise.
33118         * posix/sched_setp.c: Likewise.
33119         * posix/sched_sets.c: Likewise.
33120         * posix/sched_yield.c: Likewise.
33121         * posix/setgid.c: Likewise.
33122         * posix/setlogin.c: Likewise.
33123         * posix/setpgid.c: Likewise.
33124         * posix/setresgid.c: Likewise.
33125         * posix/setresuid.c: Likewise.
33126         * posix/setsid.c: Likewise.
33127         * posix/setuid.c: Likewise.
33128         * posix/sleep.c: Likewise.
33129         * posix/spawni.c: Likewise.
33130         * posix/sysconf.c: Likewise.
33131         * posix/times.c: Likewise.
33132         * posix/wait.c: Likewise.
33133         * posix/wait3.c: Likewise.
33134         * posix/wait4.c: Likewise.
33135         * posix/waitpid.c: Likewise.
33136         * resolv/gai_sigqueue.c: Likewise.
33137         * resource/getpriority.c: Likewise.
33138         * resource/getrlimit.c: Likewise.
33139         * resource/getrusage.c: Likewise.
33140         * resource/nice.c: Likewise.
33141         * resource/setpriority.c: Likewise.
33142         * resource/setrlimit.c: Likewise.
33143         * resource/ulimit.c: Likewise.
33144         * rt/aio_cancel.c: Likewise.
33145         * rt/aio_fsync.c: Likewise.
33146         * rt/aio_read.c: Likewise.
33147         * rt/aio_sigqueue.c: Likewise.
33148         * rt/aio_suspend.c: Likewise.
33149         * rt/aio_write.c: Likewise.
33150         * rt/clock_getres.c: Likewise.
33151         * rt/clock_gettime.c: Likewise.
33152         * rt/clock_nanosleep.c: Likewise.
33153         * rt/clock_settime.c: Likewise.
33154         * rt/lio_listio.c: Likewise.
33155         * rt/mq_close.c: Likewise.
33156         * rt/mq_getattr.c: Likewise.
33157         * rt/mq_notify.c: Likewise.
33158         * rt/mq_open.c: Likewise.
33159         * rt/mq_receive.c: Likewise.
33160         * rt/mq_send.c: Likewise.
33161         * rt/mq_setattr.c: Likewise.
33162         * rt/mq_timedreceive.c: Likewise.
33163         * rt/mq_timedsend.c: Likewise.
33164         * rt/mq_unlink.c: Likewise.
33165         * rt/shm_open.c: Likewise.
33166         * rt/shm_unlink.c: Likewise.
33167         * rt/timer_create.c: Likewise.
33168         * rt/timer_delete.c: Likewise.
33169         * rt/timer_getoverr.c: Likewise.
33170         * rt/timer_gettime.c: Likewise.
33171         * rt/timer_settime.c: Likewise.
33172         * setjmp/__longjmp.c: Likewise.
33173         * setjmp/setjmp.c: Likewise.
33174         * signal/kill.c: Likewise.
33175         * signal/killpg.c: Likewise.
33176         * signal/raise.c: Likewise.
33177         * signal/sigaction.c: Likewise.
33178         * signal/sigaltstack.c: Likewise.
33179         * signal/sigblock.c: Likewise.
33180         * signal/sigignore.c: Likewise.
33181         * signal/sigintr.c: Likewise.
33182         * signal/signal.c: Likewise.
33183         * signal/sigpause.c: Likewise.
33184         * signal/sigpending.c: Likewise.
33185         * signal/sigqueue.c: Likewise.
33186         * signal/sigreturn.c: Likewise.
33187         * signal/sigset.c: Likewise.
33188         * signal/sigsetmask.c: Likewise.
33189         * signal/sigstack.c: Likewise.
33190         * signal/sigsuspend.c: Likewise.
33191         * signal/sigtimedwait.c: Likewise.
33192         * signal/sigvec.c: Likewise.
33193         * signal/sigwait.c: Likewise.
33194         * signal/sigwaitinfo.c: Likewise.
33195         * signal/sysv_signal.c: Likewise.
33196         * socket/accept.c: Likewise.
33197         * socket/accept4.c: Likewise.
33198         * socket/bind.c: Likewise.
33199         * socket/connect.c: Likewise.
33200         * socket/getpeername.c: Likewise.
33201         * socket/getsockname.c: Likewise.
33202         * socket/getsockopt.c: Likewise.
33203         * socket/isfdtype.c: Likewise.
33204         * socket/listen.c: Likewise.
33205         * socket/recv.c: Likewise.
33206         * socket/recvfrom.c: Likewise.
33207         * socket/recvmsg.c: Likewise.
33208         * socket/send.c: Likewise.
33209         * socket/sendmsg.c: Likewise.
33210         * socket/sendto.c: Likewise.
33211         * socket/setsockopt.c: Likewise.
33212         * socket/shutdown.c: Likewise.
33213         * socket/sockatmark.c: Likewise.
33214         * socket/socket.c: Likewise.
33215         * socket/socketpair.c: Likewise.
33216         * stdio-common/ctermid.c: Likewise.
33217         * stdio-common/cuserid.c: Likewise.
33218         * stdio-common/remove.c: Likewise.
33219         * stdio-common/rename.c: Likewise.
33220         * stdio-common/renameat.c: Likewise.
33221         * stdio-common/tempname.c: Likewise.
33222         * stdlib/getcontext.c: Likewise.
33223         * stdlib/makecontext.c: Likewise.
33224         * stdlib/setcontext.c: Likewise.
33225         * stdlib/swapcontext.c: Likewise.
33226         * stdlib/system.c: Likewise.
33227         * streams/fattach.c: Likewise.
33228         * streams/fdetach.c: Likewise.
33229         * streams/getmsg.c: Likewise.
33230         * streams/getpmsg.c: Likewise.
33231         * streams/putmsg.c: Likewise.
33232         * streams/putpmsg.c: Likewise.
33233         * sysdeps/unix/bsd/getpt.c: Likewise.
33234         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33235         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33236         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33238         Likewise.
33239         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33240         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33241         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33242         * sysvipc/msgctl.c: Likewise.
33243         * sysvipc/msgget.c: Likewise.
33244         * sysvipc/msgrcv.c: Likewise.
33245         * sysvipc/msgsnd.c: Likewise.
33246         * sysvipc/semctl.c: Likewise.
33247         * sysvipc/semget.c: Likewise.
33248         * sysvipc/semop.c: Likewise.
33249         * sysvipc/semtimedop.c: Likewise.
33250         * sysvipc/shmat.c: Likewise.
33251         * sysvipc/shmctl.c: Likewise.
33252         * sysvipc/shmdt.c: Likewise.
33253         * sysvipc/shmget.c: Likewise.
33254         * termios/tcdrain.c: Likewise.
33255         * termios/tcflow.c: Likewise.
33256         * termios/tcflush.c: Likewise.
33257         * termios/tcgetattr.c: Likewise.
33258         * termios/tcgetpgrp.c: Likewise.
33259         * termios/tcsendbrk.c: Likewise.
33260         * termios/tcsetattr.c: Likewise.
33261         * termios/tcsetpgrp.c: Likewise.
33262         * time/adjtime.c: Likewise.
33263         * time/clock.c: Likewise.
33264         * time/getitimer.c: Likewise.
33265         * time/gettimeofday.c: Likewise.
33266         * time/setitimer.c: Likewise.
33267         * time/settimeofday.c: Likewise.
33268         * time/stime.c: Likewise.
33269         * time/time.c: Likewise.
33270
33271 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33272
33273         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33274         /usr/old/bin.
33275
33276         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33277         instead of spaces.
33278         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33279
33280 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33281
33282         [BZ #14796]
33283         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33284         FE_TONEAREST before applying Dekker multiplication and Knuth
33285         addition.  Clear inexact exceptions and check for exact zero
33286         results afterwards.
33287         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33288         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33289         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33290         * math/libm-test.inc (fma_test): Add more tests.
33291         (fma_test_towardzero): Likewise.
33292         (fma_test_downward): Likewise.
33293         (fma_test_upward): Likewise.
33294         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33295         function.
33296         (libc_fesetround): New macro.
33297         (libc_fesetroundf): Likewise.
33298         (libc_fesetroundl): Likewise.
33299         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33300         function.
33301         (libc_fesetround_387): Likewise.
33302         (libc_fesetroundf): New macro.
33303         (libc_fesetround): Likewise.
33304         (libc_fesetroundl): Likewise.
33305         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33306         function.
33307         (libc_fesetroundf): New macro.
33308         (libc_fesetround): Likewise.
33309         (libc_fesetroundl): Likewise.
33310         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33311         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33312         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33313         libm_hidden_ver.
33314         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33315         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33316         libm_hidden_def.
33317         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33318         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33319         libm_hidden_ver.
33320         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33321         libm_hidden_def.
33322
33323         [BZ #3439]
33324         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33325         integer constant usable in #if and use that to give value to enum
33326         constant.
33327         (FE_DIVBYZERO): Likewise.
33328         (FE_UNDERFLOW): Likewise.
33329         (FE_OVERFLOW): Likewise.
33330         (FE_INVALID): Likewise.
33331         (FE_INVALID_SNAN): Likewise.
33332         (FE_INVALID_ISI): Likewise.
33333         (FE_INVALID_IDI): Likewise.
33334         (FE_INVALID_ZDZ): Likewise.
33335         (FE_INVALID_IMZ): Likewise.
33336         (FE_INVALID_COMPARE): Likewise.
33337         (FE_INVALID_SOFTWARE): Likewise.
33338         (FE_INVALID_SQRT): Likewise.
33339         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33340         (FE_TONEAREST): Likewise.
33341         (FE_TOWARDZERO): Likewise.
33342         (FE_UPWARD): Likewise.
33343         (FE_DOWNWARD): Likewise.
33344         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33345         (FE_DIVBYZERO): Likewise.
33346         (FE_OVERFLOW): Likewise.
33347         (FE_UNDERFLOW): Likewise.
33348         (FE_INEXACT): Likewise.
33349         (FE_TONEAREST): Likewise.
33350         (FE_DOWNWARD): Likewise.
33351         (FE_UPWARD): Likewise.
33352         (FE_TOWARDZERO): Likewise.
33353         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33354         (FE_UNDERFLOW): Likewise.
33355         (FE_OVERFLOW): Likewise.
33356         (FE_DIVBYZERO): Likewise.
33357         (FE_INVALID): Likewise.
33358         (FE_TONEAREST): Likewise.
33359         (FE_TOWARDZERO): Likewise.
33360         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33361         (FE_OVERFLOW): Likewise.
33362         (FE_UNDERFLOW): Likewise.
33363         (FE_DIVBYZERO): Likewise.
33364         (FE_INEXACT): Likewise.
33365         (FE_TONEAREST): Likewise.
33366         (FE_TOWARDZERO): Likewise.
33367         (FE_UPWARD): Likewise.
33368         (FE_DOWNWARD): Likewise.
33369         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33370         (FE_DIVBYZERO): Likewise.
33371         (FE_OVERFLOW): Likewise.
33372         (FE_UNDERFLOW): Likewise.
33373         (FE_INEXACT): Likewise.
33374         (FE_TONEAREST): Likewise.
33375         (FE_DOWNWARD): Likewise.
33376         (FE_UPWARD): Likewise.
33377         (FE_TOWARDZERO): Likewise.
33378
33379 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33380
33381         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33382
33383 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33384
33385         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33386         commands.  Quote $PWD.
33387         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33388         -x" by "export".
33389         (remove_newlines): Remove.
33390
33391 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33392
33393         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33394         * stdlib/stdlib.h (atof): Moved to ...
33395         * include/bits/stdlib-float.h: Here.  New file.
33396         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33397         * stdlib/bits/stdlib-float.h: New file.
33398         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33399         -mno-sse -mno-mmx.
33400         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33401         <xmmintrin.h>.
33402
33403 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33404
33405         * conform/conformtest.pl (@headers): Add fenv.h.
33406         * conform/data/fenv.h-data: New file.
33407         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33408         include of <math/fenv.h>.
33409
33410         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33411         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33412         && !UNIX98].  Enables tests for XOPEN2K8.
33413         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33414         POSIX2008]: Likewise.
33415
33416         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33417         (struct rusage): Do not expect type or its members.
33418
33419         [BZ #3439]
33420         * math/math.h (FP_NAN): Define macro to integer constant usable in
33421         #if and use that to give value to enum constant.
33422         (FP_INFINITE): Likewise.
33423         (FP_ZERO): Likewise.
33424         (FP_SUBNORMAL): Likewise.
33425         (FP_NORMAL): Likewise.
33426
33427 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33428
33429         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33430         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33431         arguments.
33432
33433 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33434
33435         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33436         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33437         autoconf-time if not.
33438         * configure.in: Remove AC_PREREQ.
33439
33440 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33441
33442         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33443         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33444         of the internal implementation.
33445
33446 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33447
33448         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33449         except include of <misc/sys/syslog.h>.
33450
33451 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33452
33453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33454         function returns with a NULL context exit with zero.
33455
33456 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33457
33458         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33459
33460 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33461
33462         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33463         (run_program_cmd): This.
33464         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33465         (tst_langinfo): New variable.  Use it.
33466
33467 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33468
33469         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33470         floating point opcodes.
33471
33472 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33473
33474         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33475         variable.
33476
33477         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33478
33479         * sysdeps/mach/hurd/powerpc: Remove directory.
33480         * sysdeps/mach/powerpc: Likewise.
33481
33482 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33483
33484         * scripts/check-local-headers.sh: Ignore c++ headers.
33485
33486 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33487
33488         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33489         __libc_cleanup_region_start argument.
33490
33491 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33492
33493         [BZ #14784]
33494         [BZ #14785]
33495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33496         x * y using scaling, not as x * y + z.
33497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33498         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33499         * math/libm-test.inc (fma_test): Add more tests.
33500         (fma_test_towardzero): Likewise.
33501         (fma_test_downward): Likewise.
33502         (fma_test_upward): Likewise.
33503
33504 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33505
33506         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33507
33508 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33509
33510         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33511         New variable.
33512
33513 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33514
33515         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33516
33517 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33518
33519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33520         Fix sort order.
33521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33522         Likewise.
33523
33524 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33525
33526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33527         Fix the order of the list for glibc 2.17.
33528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33529         Likewise.
33530
33531 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33532
33533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33534
33535 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33536
33537         [BZ #14610]
33538         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33539         for low part of x being zero before using __atanl (y).
33540         * math/libm-test.inc (atan2_test): Add another test.
33541
33542         * manual/install.texi (Configuring and compiling): Document
33543         general use of test-wrapper and test-wrapper-env.
33544         * INSTALL: Regenerated.
33545
33546         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33547         (__fma): Do not extract and scale down low bits on after-rounding
33548         systems when result rounded to normal precision would have normal
33549         exponent.
33550         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33551         (__fmal): Do not extract and scale down low bits on after-rounding
33552         systems when result rounded to normal precision would have normal
33553         exponent.
33554         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33555         (__fmal): Do not extract and scale down low bits on after-rounding
33556         systems when result rounded to normal precision would have normal
33557         exponent.
33558         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33559         macro.
33560         (fma_test): Add more tests.
33561         (fma_test_towardzero): Likewise.
33562         (fma_test_downward): Likewise.
33563         (fma_test_upward): Likewise.
33564
33565 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33566
33567         * sysdeps/i386/tininess.h: Renamed to ...
33568         * sysdeps/x86/tininess.h: This.
33569         * sysdeps/x86_64/tininess.h: Removed.
33570
33571 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33572
33573         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33574         input.  Use $(build-program-cmd).
33575         ($(objpfx)tst-array1-static.out): Likewise.
33576         ($(objpfx)tst-array2.out): Likewise.
33577         ($(objpfx)tst-array3.out): Likewise.
33578         ($(objpfx)tst-array4.out): Likewise.
33579         ($(objpfx)tst-array5.out): Likewise.
33580         ($(objpfx)tst-array5-static.out): Likewise.
33581
33582 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33583
33584         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33585         if defined.
33586
33587         * nss/nsswitch.h (nss_interface_function): Provide new
33588         macro for use with NSS functions.
33589         * grp/initgroups.c: Use new macro.
33590         * nss/getXXbyYY.c: Likewise.
33591         * nss/getXXbyYY_r.c: Likewise.
33592         * nss/getXXent.c: Likewise.
33593         * nss/getXXent_r.c: Likewise.
33594         * sysdeps/posix/getaddrinfo.c: Likewise.
33595
33596 2012-10-30  Andreas Jaeger  <aj@suse.de>
33597
33598         * po/ru.po: Update Russion translation from translation project.
33599
33600 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33601
33602         [BZ #14152]
33603         [BZ #14783]
33604         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33605         result and shift together with sticky bit instead of replicating
33606         round-to-nearest rounding.
33607         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33608         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33609         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33610         missing underflow exceptions.
33611         (fma_test_towardzero): Add more tests.
33612         (fma_test_downward): Likewise.
33613         (fma_test_upward): Likewise.
33614
33615         [BZ #14047]
33616         * sysdeps/generic/tininess.h: New file.
33617         * sysdeps/i386/tininess.h: Likewise.
33618         * sysdeps/sh/tininess.h: Likewise.
33619         * sysdeps/x86_64/tininess.h: Likewise.
33620         * stdlib/tst-strtod-underflow.c: Likewise.
33621         * stdlib/tst-tininess.c: Likewise.
33622         * stdlib/strtod_l.c: Include <tininess.h>.
33623         (round_and_return): Do not set errno for exact underflow cases.
33624         Force an underflow exception when setting errno for underflow.
33625         Determine underflow based on rounding to normal precision if
33626         TININESS_AFTER_ROUNDING.
33627         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33628         ERANGE for exact underflow cases.
33629         * stdlib/Makefile (tests): Add tst-tininess and
33630         tst-strtod-underflow.
33631         ($(objpfx)tst-tininess): Use $(link-libm).
33632         ($(objpfx)tst-strtod-underflow): Likewise.
33633
33634 2012-10-30  Andreas Jaeger  <aj@suse.de>
33635
33636         [BZ#14767]
33637         * elf/Makefile (tests): Remove conditional for have-initfini-array
33638         since this is now always required and the variable does not exist
33639         anymore.
33640         (tests-static): Likewise.
33641         (modules-names): Likewise.
33642
33643         * po/eo.po: Add Esperanto translation from translation project.
33644
33645         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33646         merged with constructor/destructor.
33647         (init_array): Likewise.
33648         * elf/tst-array2dep.c (fini_array): Likewise.
33649         (init_array): Likewise.
33650
33651 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33652
33653         * manual/message.texi: Delete @cartouche tags.
33654
33655 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33656
33657         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33658         EOPNOTSUPP.
33659         * sysdeps/mach/hurd/fsync.c: Likewise.
33660
33661         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33662         [_POSIX_REALTIME_SIGNALS]: Change condition to
33663         [_POSIX_REALTIME_SIGNALS > 0].
33664
33665 2012-10-27  Andreas Jaeger  <aj@suse.de>
33666
33667         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33668         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33669         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33670         [__WORDSIZE != 64]: Likewise.
33671
33672 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33673
33674         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33675         *  iconvdata/tst-tables.sh: Likewise.
33676
33677 2012-10-25  David S. Miller  <davem@davemloft.net>
33678
33679         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33680         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33681         of strtoull.
33682
33683         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33684         ifunc-impl-list.c
33685         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33686         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33687         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33688         file.
33689
33690 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33691
33692         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33693         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33694         __getdirentries.
33695
33696 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33697             Jim Blandy  <jimb@codesourcery.com>
33698
33699         * scripts/cross-test-ssh.sh: New file.
33700         * manual/install.texi (Configuring and compiling): Document use of
33701         cross-test-ssh.sh.
33702         * INSTALL: Regenerated.
33703
33704 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33705
33706         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33707         EOPNOTSUPP.
33708
33709 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33710
33711         * Makeconfig (run-program-prefix): Fix comment.
33712
33713 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33714             Jim Blandy  <jimb@codesourcery.com>
33715
33716         * Makeconfig (test-wrapper): New variable,
33717         (test-wrapper-env): Likewise.
33718         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33719         (run-built-tests): Define to yes.
33720         (run-program-prefix): Use $(test-wrapper).
33721         (built-program-cmd): Likewise.
33722         * Rules (make-test-out): Use $(test-wrapper-env) and
33723         $(host-built-program-cmd).
33724         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33725         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33726         tst-pathopt.sh.
33727         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33728         $(test-wrapper-env) to tst-rtld-load-self.sh.
33729         ($(objpfx)order2.out): Use $(test-wrapper).
33730         ($(objpfx)tst-initorder.out): Likewise.
33731         ($(objpfx)tst-initorder2.out): Likewise.
33732         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33733         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33734         (test_wrapper_env): New variable.  Use it to run ld.so.
33735         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33736         Use it to run ld.so.
33737         (test_wrapper_env): Likewise.
33738         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33739         $(test-wrapper) to run-iconv-test.sh.
33740         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33741         (ICONV): Use $test_wrapper.
33742         * posix/Makefile ($(objpfx)globtest.out): Pass
33743         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33744         globtest.sh, not $(run-program-prefix).
33745         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33746         (test_wrapper): Likewise.
33747         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33748         set together with run_via_rtld_prefix.
33749         (run_program_prefix): Define in terms of test_wrapper and
33750         run_via_rtld_prefix.
33751
33752 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33753
33754         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33755         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33756         Targets removed.
33757
33758         [BZ #14743]
33759         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33760         Declare __clock_getres, __clock_gettime, __clock_settime,
33761         __clock_nanosleep, and __clock_getcpuclockid.
33762         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33763         Remove librt_hidden_def (clock_gettime).
33764         * sysdeps/unix/clock_gettime.c: Likewise.
33765         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33766         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33767         * rt/clock_getres.c: Define __clock_getres as an alias.
33768         * sysdeps/posix/clock_getres.c: Likewise.
33769         * rt/clock_settime.c: Define __clock_settime as an alias.
33770         * sysdeps/unix/clock_settime.c: Likewise.
33771         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33772         * sysdeps/unix/clock_nanosleep.c: Likewise.
33773         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33774         * rt/clock-compat.c: New file.
33775         * rt/Makefile (librt-routines): Add clock-compat and move
33776         $(clock-routines) to ...
33777         (routines): ... here, new variable.
33778         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33779         Don't add get_clockfreq here.
33780         * rt/Versions (libc: GLIBC_2.17): New version set.
33781         Add clock_* symbols here.
33782         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33783         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33784         (GLIBC_2.17): Add clock_* symbols.
33785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33787         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33789         Likewise.
33790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33791         Likewise.
33792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33796         * NEWS: Mention the move.
33797
33798         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33799         Use __open, __read, __close rather than their public counterparts.
33800         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33801         (__get_clockfreq_via_cpuinfo): Likewise.
33802         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33803         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33804
33805         * config.h.in (HAVE_IFUNC): New #undef.
33806         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33807         was successful.
33808         * configure: Regenerated.
33809
33810 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33811
33812         * configure.in: Move READELF check to start of file.
33813         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33814         libc_cv_asm_gnu_indirect_function in the process.
33815         * configure: Regenerated.
33816
33817 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33818
33819         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33820         send the output to /dev/null.
33821         (libc_cv_cc_with_libunwind): Likewise.
33822         (libc_cv_as_noexecstack): Likewise.
33823         * configure: Regenerate.
33824
33825 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33826
33827         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33828
33829         * posix/globtest.sh (TMPDIR): Do not set.
33830         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33831         (testout): Likewise.
33832
33833 2012-10-24  Andreas Jaeger  <aj@suse.de>
33834
33835         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33836         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33837         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33838         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33839         posix_fadvise64, posix_fallocate64.
33840
33841         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33842         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33843         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33844         Likewise.
33845         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33846         Likewise.
33847         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33848
33849         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33850         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33851         <bits/fcntl-linux.h>.
33852         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33853
33854         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33855         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33856         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33857         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33858         [__WORDSIZE != 64]: Likewise.
33859
33860 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33861
33862         * Makeconfig (run-built-tests): New variable.
33863         * Rules [$(cross-compiling) = yes]: Change condition to
33864         [$(run-built-tests) = no].
33865         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33866         to [$(run-built-tests) = yes].
33867         * elf/Makefile [$(cross-compiling) = no]: Likewise
33868         * grp/Makefile [$(cross-compiling) = no]: Likewise.
33869         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33870         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33871         * intl/Makefile [$(cross-compiling) = no]: Likewise.
33872         * io/Makefile [$(cross-compiling) = no]: Likewise.
33873         * libio/Makefile [$(cross-compiling) = no]: Likewise.
33874         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33875         * misc/Makefile [$(cross-compiling) = no]: Likewise.
33876         * posix/Makefile [$(cross-compiling) = no]: Likewise.
33877         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33878         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33879         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33880         * string/Makefile [$(cross-compiling) = no]: Likewise.
33881
33882         * posix/Makefile ($(objpfx)globtest.out): Pass
33883         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33884         $(rtld-installed-name).
33885         * posix/globtest.sh (elf_objpfx): Remove variable.
33886         (rtld_installed_name): Likewise.
33887         (library_path): Likewise.
33888         (run_program_prefix): New variable.  Use for running globtest
33889         binary.
33890
33891 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
33892             Joseph Myers  <joseph@codesourcery.com>
33893
33894         * Makeconfig (host-built-program-cmd): New variable.
33895         * elf/Makefile (tst-stackguard1-ARGS): Use
33896         $(host-built-program-cmd).
33897         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33898         (tst-spawn-ARGS): Likewise.
33899         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33900
33901 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33902             Jim Blandy  <jimb@codesourcery.com>
33903
33904         * Makeconfig (run-via-rtld-prefix): New variable.
33905         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33906         (built-program-cmd): Likewise.
33907
33908 2012-10-22  Andreas Jaeger  <aj@suse.de>
33909
33910         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33911         __O_RSYNC if it exists, otherwise to O_SYNC.
33912
33913 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
33914             Joseph Myers  <joseph@codesourcery.com>
33915
33916         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33917         /dev/null.
33918         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33919         from /dev/null
33920         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33921         /dev/null.
33922
33923 2012-10-22  Andreas Jaeger  <aj@suse.de>
33924
33925         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33926         Define always.
33927         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33928
33929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33930         bits/fcntl-linux.h.
33931
33932         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33933         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33934
33935         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33936         to __O_LARGEFILE.
33937         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33938         to __O_LARGEFILE.
33939
33940 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
33941             Joseph Myers  <joseph@codesourcery.com>
33942
33943         * config.make.in (NM): New variable.
33944
33945 2012-10-21  Andreas Jaeger  <aj@suse.de>
33946
33947         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33948         definitions and declarations that are provided by
33949         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33950
33951 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33952
33953         [BZ #14683]
33954         * elf/Makefile (tests-static): Add tst-leaks1-static.
33955         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33956         ($(objpfx)tst-leaks1-static): New rule.
33957         ($(objpfx)tst-leaks1-static-mem): Likewise.
33958         (tst-leaks1-static-ENV): New macro.
33959         * elf/dl-open.c (dl_open_worker): Check the main application
33960         only if SHARED is defined.
33961         * elf/tst-leaks1-static.c: New file.
33962
33963 2012-10-20  Andreas Jaeger  <aj@suse.de>
33964
33965         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33966         generic values for Linux.
33967         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33968         and declarations that are provided by <bits/fcntl-linux.h> and
33969         include <bits/fcntl-linux.h>.
33970         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33971         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33972
33973 2012-10-20  Roland McGrath  <roland@hack.frob.com>
33974
33975         * io/fcntl.h: Move include of <bits/types.h> to the top and
33976         include it unconditionally.
33977
33978 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33979
33980         * wcsmbs/Makefile (tests-ifunc): New variable.
33981         (tests): Add $(tests-ifunc).
33982         * wcsmbs/test-wcschr-ifunc.c: New file.
33983         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33984         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33985         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33986         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33987         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33988
33989         * string/Makefile (tests-ifunc): New variable.
33990         (tests): Add $(tests-ifunc).
33991         * string/test-memccpy.c (TEST_NAME): New macro.
33992         * string/test-memchr.c (TEST_NAME): Likewise.
33993         * string/test-memcmp.c (TEST_NAME): Likewise.
33994         * string/test-memcpy.c (TEST_NAME): Likewise.
33995         * string/test-memmem.c (TEST_NAME): Likewise.
33996         * string/test-memmove.c (TEST_NAME): Likewise.
33997         * string/test-memset.c (TEST_NAME): Likewise.
33998         * string/test-rawmemchr.c (TEST_NAME): Likewise.
33999         * string/test-stpcpy.c (TEST_NAME): Likewise.
34000         * string/test-stpncpy.c (TEST_NAME): Likewise.
34001         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34002         * string/test-strcasestr.c (TEST_NAME): Likewise.
34003         * string/test-strcat.c (TEST_NAME): Likewise.
34004         * string/test-strchr.c (TEST_NAME): Likewise.
34005         * string/test-strcmp.c(TEST_NAME): Likewise.
34006         * string/test-strcpy.c (TEST_NAME): Likewise.
34007         * string/test-strcspn.c (TEST_NAME): Likewise.
34008         * string/test-strlen.c (TEST_NAME): Likewise.
34009         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34010         * string/test-strncmp.c (TEST_NAME): Likewise.
34011         * string/test-strncpy.c (TEST_NAME): Likewise.
34012         * string/test-strnlen.c (TEST_NAME): Likewise.
34013         * string/test-strpbrk.c (TEST_NAME): Likewise.
34014         * string/test-strrchr.c (TEST_NAME): Likewise.
34015         * string/test-strspn.c (TEST_NAME): Likewise.
34016         * string/test-strstr.c (TEST_NAME): Likewise.
34017         * string/test-bcopy-ifunc.c: New file.
34018         * string/test-bzero-ifunc.c: Likewise.
34019         * string/test-memccpy-ifunc.c: Likewise.
34020         * string/test-memchr-ifunc.c: Likewise.
34021         * string/test-memcmp-ifunc.c: Likewise.
34022         * string/test-memcpy-ifunc.c: Likewise.
34023         * string/test-memmem-ifunc.c: Likewise.
34024         * string/test-memmove-ifunc.c: Likewise.
34025         * string/test-mempcpy-ifunc.c: Likewise.
34026         * string/test-memset-ifunc.c: Likewise.
34027         * string/test-rawmemchr-ifunc.c: Likewise.
34028         * string/test-stpcpy-ifunc.c: Likewise.
34029         * string/test-stpncpy-ifunc.c: Likewise.
34030         * string/test-strcasecmp-ifunc.c: Likewise.
34031         * string/test-strcasestr-ifunc.c: Likewise.
34032         * string/test-strcat-ifunc.c: Likewise.
34033         * string/test-strchr-ifunc.c: Likewise.
34034         * string/test-strchrnul-ifunc.c: Likewise.
34035         * string/test-strcmp-ifunc.c: Likewise.
34036         * string/test-strcpy-ifunc.c: Likewise.
34037         * string/test-strcspn-ifunc.c: Likewise.
34038         * string/test-strlen-ifunc.c: Likewise.
34039         * string/test-strncasecmp-ifunc.c: Likewise.
34040         * string/test-strncat-ifunc.c: Likewise.
34041         * string/test-strncmp-ifunc.c: Likewise.
34042         * string/test-strncpy-ifunc.c: Likewise.
34043         * string/test-strnlen-ifunc.c: Likewise.
34044         * string/test-strpbrk-ifunc.c: Likewise.
34045         * string/test-strrchr-ifunc.c: Likewise.
34046         * string/test-strspn-ifunc.c: Likewise.
34047         * string/test-strstr-ifunc.c: Likewise.
34048
34049         * debug/Makefile (tests-ifunc): New variable.
34050         (tests): Add $(tests-ifunc).
34051         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34052         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34053         * debug/test-stpcpy_chk-ifunc.c: New file.
34054         * debug/test-strcpy_chk-ifunc.c: Likewise.
34055
34056 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34057
34058         [BZ #13601]
34059         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34060         header is not read in.
34061
34062 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34063
34064         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34065         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34066         directly.  Pass built executable to script as
34067         $(built-program-cmd).
34068         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34069         $testprogram without using LD_LIBRARY_PATH and $ldso.
34070
34071         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34072         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34073         $(rtld-installed-name).
34074         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34075         (rtld_installed_name): Likewise.
34076         (library_path): Likewise.
34077         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34078         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34079         $(run-program-prefix) to tst-tables.sh.
34080         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34081         it to run tst-table-from and tst-table-to.
34082         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34083         Pass it to tst-table.sh.
34084         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34085         $(run-program-prefix) to tst-gettext.sh.
34086         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34087         tst-translit.sh.
34088         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34089         tst-gettext2.sh.
34090         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34091         to run tst-gettext.
34092         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34093         to run tst-gettext2.
34094         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34095         to run tst-translit.
34096         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34097         $(run-program-prefix) to tst-mtrace.sh.
34098         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34099         to run tst-mtrace.
34100         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34101         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34102         $(rtld-installed-name).
34103         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34104         (rtld_installed_name): Likewise.
34105         (run_program_prefix): New variable.  Use it to run wordexp-test.
34106
34107         * Makeconfig (ARCH): Remove all definitions.
34108         (machine): Likewise.
34109         [ARCH]: Remove conditional code.
34110         [!objdir]: Give error.
34111         [!objdir] (objpfx): Remove.
34112         [!objdir] (common-objpfx): Likewise.
34113         [!objdir] (common-objdir): Likewise.
34114         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34115         AC_CONFIG_FILES call.
34116         * configure: Regenerated.
34117
34118         [BZ #13888]
34119         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34120         or TMPDIR.
34121         (testout): Likewise.
34122
34123         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34124         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34125         $(rtld-installed-name).
34126         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34127         (rtld_installed_name): Likwise.
34128         (runit): Remove function.
34129         (run_getconf): New variable,  Use it for running getconf binary.
34130
34131 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34132
34133         [BZ #14716]
34134         * string/test-memmem.c (check_result): New function.
34135         (do_one_test): Use it.
34136         (check1): New function.
34137         (test_main): Use it.
34138
34139 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34140
34141         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34142
34143 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34144
34145         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34146         (_G_LSEEK64): Likewise.
34147         (_G_MMAP64): Likewise.
34148         (_G_FSTAT64): Likewise.
34149         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34150         (_G_LSEEK64): Likewise.
34151         (_G_MMAP64): Likewise.
34152         (_G_FSTAT64): Likewise.
34153         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34154         unconditional.  Call __mmap64 directly.
34155         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34156         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34157         __lseek64 directly.
34158         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34159         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34160         __mmap64 directly.
34161         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34162         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34163         __lseek64 directly.
34164         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34165         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34166         __lseek64 directly.
34167         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34168         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34169         __lseek64 directly.
34170         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34171         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34172         __fxstat64 directly.
34173         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34174         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34175         unconditional.
34176         (freopen64) [!_G_OPEN64]: Remove conditional code.
34177         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34178         unconditional.
34179         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34180         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34181         unconditional.
34182         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34183         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34184         unconditional.
34185         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34186         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34187         unconditional.
34188         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34189         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34190         unconditional.
34191         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34192         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34193         unconditional.
34194         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34195         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34196         unconditional.
34197         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34198
34199 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34200
34201         [BZ #12140]
34202         * manual/memory.texi (Malloc Tunable Parameters): Add note
34203         about free list pointers overwriting some perturb bytes.
34204         Wording suggested by Roland McGrath.
34205
34206 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34207
34208         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34209         (lgamma_test): Likewise.
34210         (tgamma_test): Likewise.
34211
34212 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34213
34214         [BZ #14700]
34215         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34216         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34217
34218 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34219
34220         * NEWS: Mention BZ #14716.
34221         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34222         when removing AVAILABLE1_USES_J macro.
34223
34224 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34225
34226         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34227         (__bswap_64): __uint64_t for unsigned 64-bit int.
34228
34229 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34230
34231         * include/string.h (memmem): Declare libc hidden alias.
34232         * string/memmem.c (memmem): Define libc hidden alias.
34233         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34234         __read, __close instead of open, read, close.
34235
34236 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34237
34238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34239         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34240         global and hidden.
34241         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34242         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34243         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34244         Likewise.
34245         (__rawmemchr_sse2): Likewise.
34246         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34247         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34248         (__strchr_sse2): Likewise.
34249         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34250         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34251         (__strcasecmp_sse2): Likewise.
34252         (__strncasecmp_sse2): Likewise.
34253         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34254         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34255         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34256         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34257         (__strrchr_sse2): Likewise.
34258         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34259         ifunc-impl-list.c.
34260         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34261         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34262         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34263         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34264         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34265         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34266         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34267         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34268         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34269         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34270         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34271         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34272         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34273         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34274         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34275         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34276         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34277         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34278         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34279         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34280         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34281         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34282         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34283         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34284         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34285         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34286         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34287         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34288         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34289         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34290
34291         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34292         global and hidden.
34293         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34294         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34295         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34296         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34297         Likewise.
34298         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34299         Likewise.
34300         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34301         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34302         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34303         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34304         ifunc-impl-list.c.
34305         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34306         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34307         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34308         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34309         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34310         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34311         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34312         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34313         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34314         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34315         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34316         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34317         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34318         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34319         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34320         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34321         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34322         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34323         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34324         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34325         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34326         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34327         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34328         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34329         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34330         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34331         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34332         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34333         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34334         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34335         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34336         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34337         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34338         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34339         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34340         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34341         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34342         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34343         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34344         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34345         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34346
34347         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34348         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34349         * include/ifunc-impl-list.h: New file.
34350         * misc/ifunc-impl-list.c: Likewise.
34351         * misc/Makefile (routines): Add ifunc-impl-list.
34352         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34353         * string/test-string.h: Include <ifunc-impl-list.h>.
34354         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34355         TEST_NAME]: New variables.
34356         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34357         are defined.
34358         (test_init): Call __libc_ifunc_impl_list to initialize
34359         func_list if TEST_IFUNC and TEST_NAME are defined.
34360
34361         * string/Makefile (strop-tests): Add bcopy and bzero.
34362         * string/test-bcopy.c: New file.
34363         * string/test-bzero.c: Likewise.
34364         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34365         defined.
34366         * string/test-memset.c: Support bzero test if TEST_BZERO is
34367         defined.
34368         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34369         __libc_memmove.
34370         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34371         __libc_memset.
34372         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34373         of memset.
34374
34375 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34376
34377         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34378         * configure: Regenerated.
34379
34380         * Makeconfig (+link-static-before-libc): Don't include
34381         $(link-static-libc).
34382
34383         * libio/libio.h (_IO_pos_t): Remove.
34384
34385 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34386
34387         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34388         McGrath.
34389
34390 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34391
34392         * crypt/crypt-entry.c: Include fips-private.h.
34393         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34394         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34395         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34396         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34397
34398 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34399
34400         * crypt/crypt-private.h: Include stdbool.h.
34401         (_ufc_setup_salt_r): Return bool.
34402         * crypt/crypt-entry.c: Include errno.h.
34403         (__crypt_r): Return NULL with EINVAL for bad salt.
34404         * crypt/crypt_util.c (bad_for_salt): New.
34405         (_ufc_setup_salt_r): Check that salt is long enough and within
34406         the specified alphabet.
34407         * crypt/badsalttest.c: New file.
34408         * crypt/Makefile (tests): Add it.
34409         ($(objpfx)badsalttest): New.
34410
34411 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34412
34413         * NEWS: Add entry for BZ #14602.
34414
34415 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34416
34417         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34418         type-generic.
34419         * math/libm-test.inc: Update comment listing what functions and
34420         macros are tested.
34421         (isgreater_test): New function.
34422         (isgreaterequal_test): Likewise.
34423         (isless_test): Likewise.
34424         (islessequal_test): Likewise.
34425         (islessgreater_test): Likewise.
34426         (isunordered_test): Likewise.
34427         (main): Call the new functions.
34428
34429 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34430
34431         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34432         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34433         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34434         * sysdeps/i386/configure: Regenerated.
34435         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34436         * sysdeps/mach/configure: Regenerated.
34437         * sysdeps/mach/hurd/configure: Regenerated.
34438         * sysdeps/powerpc/configure: Regenerated.
34439         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34440         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34441         * sysdeps/s390/s390-32/configure: Regenerated.
34442         * sysdeps/s390/s390-64/configure: Regenerated.
34443         * sysdeps/sh/configure: Regenerated.
34444         * sysdeps/sparc/configure: Regenerated.
34445         * sysdeps/unix/sysv/linux/configure: Regenerated.
34446         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34447         * sysdeps/x86_64/configure: Regenerated.
34448
34449         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34450         defined.  Don't check if MAP is NULL.
34451
34452 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34453
34454         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34455         (_G_stat64): Likewise.
34456         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34457         (_G_stat64): Likewise.
34458         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34459         instead of struct _G_stat64.
34460         * libio/fileops.c (mmap_remap_check): Likewise.
34461         (decide_maybe_mmap): Likewise.
34462         (_IO_new_file_seekoff): Likewise.
34463         (_IO_file_stat): Likewise.
34464         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34465         _G_off64_t.
34466         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34467         instead of struct _G_stat64.
34468         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34469
34470 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34471
34472         [BZ #14602]
34473         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34474         Replace with ...
34475         (CHECK_EOL): New macro.
34476         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34477         CHECK_EOL.
34478         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34479         Replace with CHECK_EOL.
34480         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34481         Replace with CHECK_EOL.
34482
34483 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34484
34485         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34486         type-generic.
34487         * math/libm-test.inc: Update comment listing what functions and
34488         macros are tested.
34489         (finite_test): New function.
34490         (isinf_test): Likewise.
34491         (isnan_test): Likewise.
34492         (fpclassify_test): Test subnormal input.
34493         (isfinite_test): Likewise.
34494         (isnormal_test): Likewise.
34495         (main): Call the new functions.
34496
34497 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34498
34499         [BZ #14660]
34500         * Makerules (%.dynsym): Force C locale when running
34501         $(OBJDUMP) --dynamic-syms.
34502
34503 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34504
34505         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34506         <stdint.h>.
34507
34508 2012-10-06  David S. Miller  <davem@davemloft.net>
34509
34510         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34511         upper 32-bits of the length value in %o2 since we use branch-on-register
34512         tests which consider the entire 64-bit register.
34513
34514 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34515
34516         * string/test-strstr.c (check2): Add a test for page boundary.
34517
34518 2012-10-05  David S. Miller  <davem@davemloft.net>
34519
34520         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34521         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34522         file.
34523         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34524         sysdep_routines.
34525         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34526         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34527         and bzero when HWCAP_SPARC_CRYPTO is present.
34528
34529 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34530
34531         [BZ #14602]
34532         * string/test-strstr.c (check2): New function.
34533         (test_main): Call check2.
34534
34535         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34536         and bug-strchr1.
34537         * string/bug-strcasestr1.c (do_test): Moved to ...
34538         * string/test-strcasestr.c (check1): Here.  New function.
34539         (do_one_test): Break out result checking code into ...
34540         (check_result): This.  New function.
34541         (do_one_test): Call check_result.
34542         (test_main): Call check1.
34543         * string/bug-strchr1.c (do_test): Moved to ...
34544         * string/test-strchr.c (check1): Here.  New function.
34545         (do_one_test): Break out result checking code into ...
34546         (check_result): This.  New function.
34547         (do_one_test): Call check_result.
34548         (test_main): Call check1.
34549         * string/bug-strstr1.c (main): Moved to ...
34550         * string/test-strstr.c (check1): Here.  New function.
34551         (do_one_test): Break out result checking code into ...
34552         (check_result): This.  New function.
34553         (do_one_test): Call check_result.
34554         (test_main): Call check1.
34555         * string/bug-strcasestr1.c: Removed.
34556         * string/bug-strchr1.c: Likewise.
34557         * string/bug-strstr1.c: Likewise.
34558
34559         * elf/Makefile (dl-routines): Add hwcaps.
34560         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34561         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34562         (_dl_important_hwcaps): Moved to ...
34563         * elf/dl-hwcaps.c: Here.  New file.
34564         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34565
34566         [BZ #14557]
34567         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34568         if IS_IN_rtld isn't defined.
34569
34570         * elf/dl-support.c (_dl_sysinfo_map): New.
34571         Include "get-dynamic-info.h" and "setup-vdso.h".
34572         (_dl_non_dynamic_init): Call setup_vdso.
34573         * elf/dynamic-link.h: Don't include <assert.h>.
34574         (elf_get_dynamic_info): Moved to ...
34575         * elf/get-dynamic-info.h: Here.  New file.
34576         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34577         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34578         * elf/setup-vdso.h: Here.  New file.
34579         * elf/rtld.c: Include "setup-vdso.h".
34580         (dl_main): Call setup_vdso.
34581
34582 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34583
34584         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34585         creal in comment listing functions tested.  List finite, isinf,
34586         isnan, isless, islessequal, isgreater, isgreaterequal,
34587         islessgreater, isunordered, lgamma_r and pow10 as functions and
34588         macros not tested.  Mention which functions not tested are aliases
34589         for other functions.  Fix typo.  Note that signs of NaNs are not
34590         tested.
34591
34592         * scripts/config.guess: Update from config.git.
34593         * scripts/config.sub: Likewise.
34594
34595 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34596
34597         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34598         * misc/madvise.c (madvise): Renamed to __madvise.
34599         Make madvise a weak alias.
34600         * include/sys/mman.h: Declare __madvise.
34601         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34602         * sysdeps/unix/syscalls.list
34603         (madvise): Make __madvise the strong name, and madvise a weak alias.
34604         * sysdeps/unix/sysv/linux/syscalls.list
34605         (madvise, mmap): Remove redundant entries.
34606         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34607         * malloc/malloc.c (mtrim): Likewise.
34608         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34609
34610 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34611
34612         * sysdeps/mach/hurd/dl-cache.c: File removed.
34613         * config.h.in (USE_LDCONFIG): New #undef.
34614         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34615         * configure: Regenerated.
34616         * elf/Makefile (dl-routines): Add dl-cache only under
34617         [$(use-ldconfig) = yes].
34618         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34619         cache on [USE_LDCONFIG].
34620         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34621         [USE_LDCONFIG].
34622         * elf/rtld.c (dl_main): Likewise.
34623
34624 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34625
34626         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34627         _SC_LEVEL4_CACHE_LINESIZE.
34628
34629 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34630
34631         * sysdeps/unix/bsd/confstr.h: File removed.
34632
34633 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34634
34635         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34636         sys/sdt-config.h.
34637
34638 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34639
34640         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34641         Make 'mapoff' field ElfW(Off) rather than off_t.
34642
34643 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34644
34645         * nscd/Makefile: Remove nscd-cflags and all its users.
34646         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34647         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34648
34649         [BZ #10631]
34650         * malloc.c (malloc_printerr): Clarify error message.
34651
34652 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34653
34654         [BZ #14648]
34655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34656         Set bit_FMA_Usable if FMA is supported.
34657         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34658         macro.
34659         (bit_FMA4_Usable): Updated.
34660         (index_FMA_Usable): New macro.
34661         (CPUID_FMA): Likewise
34662         (HAS_FMA): Defined with bit_FMA_Usable.
34663
34664 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34665
34666         * bits/types.h (__swblk_t): Type removed.
34667         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34668         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34669         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34670         (__SWBLK_T_TYPE): Likewise.
34671         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34672         (__SWBLK_T_TYPE): Likewise.
34673         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34674         (__SWBLK_T_TYPE): Likewise.
34675         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34676         (__SWBLK_T_TYPE): Likewise.
34677
34678 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34679             Honza Horak <hhorak@redhat.com>
34680
34681         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34682         (xdr_mapname): Use YPMAXMAP as maxsize.
34683         (xdr_peername): Use YPMAXPEER as maxsize.
34684         (xdr_keydat): Use YPAXRECORD as maxsize.
34685         (xdr_valdat): Use YPMAXRECORD as maxsize.
34686
34687 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34688
34689         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34690
34691         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34692         * csu/init-first.c: ... here.
34693         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34694         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34695         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34696         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34697         * sysdeps/i386/init-first.c: File removed.
34698         * sysdeps/sh/init-first.c: File removed.
34699
34700 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34701
34702         [BZ #14645]
34703         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34704         if x * y might underflow to zero and z is zero.
34705         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34706         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34707         * math/libm-test.inc (min_subnorm_value): New variable.
34708         (fma_test): Add more tests.
34709         (fma_test_towardzero): Likewise.
34710         (fma_test_downward): Likewise
34711         (fma_test_upward): Likewise.
34712         (initialize): Set min_subnorm_value.
34713
34714 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34715
34716         [BZ #14638]
34717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34718         0 + 0.
34719         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34720         mode for addition resulting in exact zero.
34721         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34722         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34723         exact 0 + 0.
34724         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34725         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34726         * math/libm-test.inc (fma_test): Add more tests.
34727         (fma_test_towardzero): New function.
34728         (fma_test_downward): Likewise.
34729         (fma_test_upward): Likewise.
34730         (main): Call the new functions.
34731
34732 2012-09-28  David S. Miller  <davem@davemloft.net>
34733
34734         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34735
34736 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34737
34738         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34739         instead of SIGALRM.
34740
34741         * sysdeps/gnu/_G_config.h: Moved to ...
34742         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34743         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34744         * sysdeps/generic/_G_config.h: ... here.
34745
34746         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34747
34748         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34749
34750         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34751         Conditionalize target on [libnss_test1.so-version].
34752
34753         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34754
34755         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34756         (elfobjdir): Move out of conditionals.
34757
34758         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34759         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34760         (__nss_lookup_function): Conditionalize label remove_from_tree on
34761         [!DO_STATIC_NSS || SHARED], matching its only use.
34762
34763 2012-09-28  David S. Miller  <davem@davemloft.net>
34764
34765         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34766         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34767         file.
34768         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34769         sysdep_routines.
34770         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34771         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34772         when HWCAP_SPARC_CRYPTO is present.
34773
34774 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34775
34776         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34777
34778 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34779
34780         [BZ #6530]
34781         * stdio-common/vfprintf.c (process_string_arg): Revert
34782         2000-07-22 change.
34783
34784 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34785
34786         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34787         for testcase.
34788         * stdio-common/tst-sprintf.c: Include <locale.h>
34789         (main): Test sprintf's handling of incomplete multibyte
34790         characters.
34791
34792 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34793
34794         * elf/dl-runtime.c (VERSYMIDX): Removed.
34795         * elf/dl-version.c (VERSYMIDX): Likewise.
34796         * elf/do-rel.h (VERSYMIDX): Likewise.
34797         (VALIDX): Likewise.
34798         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34799         * elf/rtld.c (VALIDX): Likewise.
34800         (ADDRIDX): Likewise.
34801         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34802         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34803         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34804         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34805         (VALIDX): Likewise.
34806         (ADDRIDX): Likewise.
34807
34808 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34809
34810         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34811
34812 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34813
34814         [BZ #11438]
34815         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34816         to global scope.
34817         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34818         addresses are in the same scope as 192.0.2/24.
34819         * posix/gai.conf: Document new scope table defaults.
34820
34821 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34822
34823         [BZ #5298]
34824         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34825         for ftell.  Compute offsets from write pointers instead.
34826         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34827
34828 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34829
34830         [BZ #14543]
34831         * libio/Makefile (tests): New test case tst-fseek.
34832         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34833         combination works in wide mode.
34834         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34835         state when the external buffer state changes.
34836
34837 2012-09-27  David S. Miller  <davem@davemloft.net>
34838
34839         [BZ #14376]
34840         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34841         pass reloc->r_addend in as the 'high' argument to
34842         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34843
34844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34845
34846 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34847
34848         * rt/tst-aio2.c: Include <pthread.h>.
34849         * rt/tst-aio3.c: Likewise.
34850
34851 2012-09-27  Steve Ellcey  <sellcey@mips.com>
34852
34853         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34854
34855 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
34856
34857         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34858         contents on [SHARED].
34859
34860 2012-09-26  Marek Polacek  <polacek@redhat.com>
34861
34862         [BZ #14530]
34863         [BZ #13741]
34864         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34865         for C++ and GCC <4.3 as well as for non GCC compilers.
34866
34867 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34868
34869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34870
34871 2012-09-25  Roland McGrath  <roland@hack.frob.com>
34872
34873         * Makefile.in (all, install): Declare with .PHONY.
34874         Reported by Michael Hope <michael.hope@linaro.org>.
34875
34876 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34877
34878         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34879         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34880         system header.
34881         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34882         Likewise.
34883         (sydep_routines): Add the new and the internal functions.
34884         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34885         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34887         (GLIBC_2.17): Add the new function.
34888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34889         (GLIBC_2.17): Likewise.
34890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34891         (GLIBC_2.17): Likewise.
34892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34893         (GLIBC_2.17): Likewise.
34894         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34895
34896 2012-09-25  Alan Modra  <amodra@gmail.com>
34897
34898         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34899         Add release barrier before setting once_control to say
34900         initialisation is done.  Add hints on lwarx.  Use macro in
34901         place of isync.
34902         (clear_once_control): Add release barrier.
34903
34904 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34905
34906         [BZ #13629]
34907         * math/s_clog.c (__clog): Handle more values close to |z| = 1
34908         specially.
34909         * math/s_clog10.c (__clog10): Likewise.
34910         * math/s_clog10f.c (__clog10f): Likewise.
34911         * math/s_clog10l.c (__clog10l): Likewise.
34912         * math/s_clogf.c (__clogf): Likewise.
34913         * math/s_clogl.c (__clogl): Likewise.
34914         * math/Makefile (libm-calls): Add x2y2m1.
34915         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34916         (__x2y2m1): Likewise.
34917         (__x2y2m1l): Likewise.
34918         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34919         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34920         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34921         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34922         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34923         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34924         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34925         * sysdeps/i386/fpu/libm-test-ulps: Update.
34926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34927
34928         [BZ #14621]
34929         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34930         int as type of variable DEPTH.
34931         (glob): Use size_t instead of int as type of variables NEWCOUNT
34932         and OLD_PATHC.
34933
34934 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34935
34936         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34937         Add s_sincosf-sse2.
34938         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34939         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34940         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34941         macros for using routine as __sincosf_ia32.
34942         Use macro for function declaration and weak_alias.
34943         * sysdeps/i386/fpu/libm-test-ulps: Update.
34944
34945         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34947
34948         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34949         subnormal argument.
34950         * math/s_cexpf.c (__cexpf): Likewise.
34951         * math/s_csinf.c (__csinf): Likewise.
34952         * math/s_csinhf.c (__csinhf): Likewise.
34953         * math/s_ctanf.c (__ctanf): Likewise.
34954         * math/s_ctanhf.c (__ctanhf): Likewise.
34955         * math/s_ccosh.c (__ccoshf): Likewise.
34956         * math/s_cexp.c (__cexpl): Likewise.
34957         * math/s_csin.c (__csin): Likewise.
34958         * math/s_csinh.c (__csinh): Likewise.
34959         * math/s_ctan.c (__ctan): Likewise.
34960         * math/s_ctanh.c (ctanh): Likewise.
34961         * math/s_ccoshl.c (__ccoshl): Likewise.
34962         * math/s_cexpl.c (__cexpl): Likewise.
34963         * math/s_csinl.c (__csinl): Likewise.
34964         * math/s_csinhl.c (__csinhl): Likewise.
34965         * math/s_ctanl.c (__ctanl): Likewise.
34966         * math/s_ctanhl.c (__ctanhl): Likewise.
34967
34968 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34969
34970         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34971         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34972         (_IO_off_t): Define to __off_t, not _G_off_t.
34973         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34974         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34975         (_IO_wint_t): Define to wint_t, not _G_wint_t.
34976         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34977         type of __dummy and __dummy2 fields.
34978         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34979         (_G_ssize_t): Likewise.
34980         (_G_off_t): Likewise.
34981         (_G_pid_t): Likewise.
34982         (_G_uid_t): Likewise.
34983         (_G_wchar_t): Likewise.
34984         (_G_wint_t): Likewise.
34985         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34986         (_G_ssize_t): Likewise.
34987         (_G_off_t): Likewise.
34988         (_G_pid_t): Likewise.
34989         (_G_uid_t): Likewise.
34990         (_G_wchar_t): Likewise.
34991         (_G_wint_t): Likewise.
34992         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34993         (_G_ssize_t): Likewise.
34994         (_G_off_t): Likewise.
34995         (_G_pid_t): Likewise.
34996         (_G_uid_t): Likewise.
34997         (_G_wchar_t): Likewise.
34998         (_G_wint_t): Likewise.
34999
35000 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35001
35002         * malloc/arena.c: Include malloc-sysdep.h.
35003         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35004         is sufficient to shrink the heap or an unmap is needed.
35005         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35006         new function check_may_shrink_heap.
35007         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35008         new function check_may_shrink_heap.
35009
35010 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35011
35012         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35013         comments.
35014
35015 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35016
35017         * catgets/test-gencat.sh: Add "set -e".
35018         * elf/tst-pathopt.sh: Likewise.
35019         * grp/tst_fgetgrent.sh: Likewise.
35020         * iconvdata/run-iconv-test.sh: Likewise.
35021         * intl/tst-gettext.sh: Likewise.
35022         * intl/tst-gettext2.sh: Likewise.
35023         * intl/tst-gettext4.sh: Likewise.
35024         * intl/tst-gettext6.sh: Likewise.
35025         * intl/tst-translit.sh: Likewise.
35026         * io/ftwtest-sh: Likewise.
35027         * libio/test-freopen.sh: Likewise.
35028         * malloc/tst-mtrace.sh: Likewise.
35029         * posix/globtest.sh: Likewise.
35030         * posix/tst-getconf.sh: Likewise.
35031         * posix/wordexp-tst.sh: Likewise.
35032         * stdio-common/tst-printf.sh: Likewise.
35033         * stdio-common/tst-unbputc.sh: Likewise.
35034         * stdlib/tst-fmtmsg.sh: Likewise.
35035         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35036         * catgets/Makefile: Do not specify -e option when running
35037         testsuite shell scripts.
35038         * elf/Makefile: Likewise.
35039         * grp/Makefile: Likewise.
35040         * iconvdata/Makefile: Likewise.
35041         * intl/Makefile: Likewise.
35042         * io/Makefile: Likewise.
35043         * libio/Makefile: Likewise.
35044         * malloc/Makefile: Likewise.
35045         * posix/Makefile: Likewise.
35046         * stdio-common/Makefile: Likewise.
35047         * stdlib/Makefile: Likewise.
35048         * sysdeps/x86_64/Makefile: Likewise.
35049
35050         * io/ftwtest-sh: Add copyright header.
35051         * posix/globtest.sh: Likewise.
35052         * posix/tst-getconf.sh: Likewise.
35053         * posix/wordexp-tst.sh: Likewise.
35054         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35055
35056 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35057
35058         [BZ #13679]
35059         * Makeconfig (+link): Defined as $(+link-static) if
35060         $(build-shared) isn't yes.
35061         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35062         isn't yes.
35063         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35064
35065         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35066
35067         [BZ #14562]
35068         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35069         new chunk size with MALLOC_ALIGN_MASK.
35070
35071 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35072
35073         [BZ #5044]
35074         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35075         <rounding-mode.h>.
35076         (__printf_fphex): Determine rounding using get_rounding_mode and
35077         round_away.
35078         * stdio-common/tst-printf-round.c (struct hex_test): New
35079         structure.
35080         (hex_tests): New variable.
35081         (test_hex_in_one_mode): New function.
35082         (do_test): Also run tests for hex float output.
35083
35084 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35085
35086         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35087         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35088         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35089         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35090         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35091         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35092         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35093         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35094
35095 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35096
35097         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35098         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35099         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35100         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35101
35102 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35103
35104         [BZ #14579]
35105         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35106         mode only.
35107         * elf/tst-rtld-load-self.sh: New test.
35108         * elf/Makefile: Run it.
35109
35110 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35111
35112         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35113         (tst-writev-ENV): Remove.
35114         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35115
35116 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35117
35118         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35119
35120 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35121
35122         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35123         unconditional.
35124         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35125         Likewise.
35126         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35127         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35128         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35129         Likewise.
35130
35131 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35132
35133         [BZ #14587]
35134         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35135         * config.make.in (have-cpp-asm-debuginfo): Removed.
35136         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35137         * configure: Regenerated.
35138
35139 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35140
35141         [BZ #5044]
35142         * stdio-common/printf_fp.c: Include <stdbool.h> and
35143         <rounding-mode.h>.
35144         (___printf_fp): Determine rounding using get_rounding_mode and
35145         round_away.
35146         * stdio-common/tst-printf-round.c: New file.
35147         * stdio-common/Makefile (tests): Add tst-printf-round.
35148         (link-libm): New variable.
35149         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35150
35151 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35152
35153         [BZ #14576]
35154         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35155         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35156         Likewise.
35157         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35158         Likewise.
35159
35160 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35161
35162         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35163         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35164         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35165         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35166
35167 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35168
35169         [BZ #14518]
35170         * include/rounding-mode.h: New file.
35171         * sysdeps/generic/get-rounding-mode.h: Likewise.
35172         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35173         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35174         (MAX_VALUE): New macro.
35175         (MIN_VALUE): Likewise.
35176         (overflow_value): New function.
35177         (underflow_value): Likewise.
35178         (round_and_return): Use overflow_value and underflow_value to
35179         determine return values in overflow and underflow cases.  Use
35180         round_away to determine rounding depending on rounding mode.
35181         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35182         determine return values in overflow and underflow cases.
35183         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35184         (struct test_results): New structure.
35185         (struct test): Use struct test_results to store expected results
35186         for all rounding modes.
35187         (TEST): Include expected results for all rounding modes.
35188         (test_in_one_mode): New function.
35189         (do_test): Use test_in_one_mode to compute and check results.
35190         Check results for all rounding modes.
35191         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35192         $(link-libm).
35193
35194 2012-12-09  Allan McRae  <allan@archlinux.org>
35195
35196         * sysdeps/i386/fpu/libm-test-ulps: Update
35197
35198 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35199
35200         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35201         (_G_int32_t): Likewise.
35202         (_G_uint16_t): Likewise.
35203         (_G_uint32_t): Likewise.
35204         (_G_HAVE_BOOL): Likewise.
35205         (_G_HAVE_ATEXIT): Likewise.
35206         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35207         (_G_HAVE_IO_FILE_OPEN): Likewise.
35208         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35209         (_G_int32_t): Likewise.
35210         (_G_uint16_t): Likewise.
35211         (_G_uint32_t): Likewise.
35212         (_G_HAVE_BOOL): Likewise.
35213         (_G_HAVE_ATEXIT): Likewise.
35214         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35215         (_G_HAVE_IO_FILE_OPEN): Likewise.
35216         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35217         (_G_int32_t): Likewise.
35218         (_G_uint16_t): Likewise.
35219         (_G_uint32_t): Likewise.
35220         (_G_HAVE_BOOL): Likewise.
35221         (_G_HAVE_ATEXIT): Likewise.
35222         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35223         (_G_HAVE_IO_FILE_OPEN): Likewise.
35224
35225 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35226
35227         * csu/libc-tls.c: Update copyright years.
35228
35229 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35230
35231         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35232         [!_G_USING_THUNKS]: Remove conditional code.
35233         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35234         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35235
35236         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35237         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35238         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35239         (_G_VTABLE_LABEL_PREFIX): Likewise.
35240         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35241         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35242         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35243         (_G_VTABLE_LABEL_PREFIX): Likewise.
35244         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35245         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35246         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35247         (_G_VTABLE_LABEL_PREFIX): Likewise.
35248         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35249
35250 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35251
35252         * libio/Makefile: Include ../Makeconfig before tests.
35253         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35254         only if $(build-shared) is yes.
35255
35256         * iconv/gconv_db.c: Update copyright years.
35257
35258 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35259
35260         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35261         unwind info if defined PIC. Fix special cases description.
35262         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35263
35264         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35265         DP_HI_MASK entry.
35266         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35267
35268 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35269
35270         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35271
35272         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35273         is NULL.
35274
35275         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35276         (LDLIBS-tst-chk4): This.
35277         (LDFLAGS-tst-chk5): Renamed to ...
35278         (LDLIBS-tst-chk5): This.
35279         (LDFLAGS-tst-chk6): Renamed to ...
35280         (LDLIBS-tst-chk6): This.
35281         (LDFLAGS-tst-lfschk4): Renamed to ...
35282         (LDLIBS-tst-lfschk4): This.
35283         (LDFLAGS-tst-lfschk5): Renamed to ...
35284         (LDLIBS-tst-lfschk5): This.
35285         (LDFLAGS-tst-lfschk6): Renamed to ...
35286         (LDLIBS-tst-lfschk6): This.
35287
35288         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35289         on $(common-objpfx)soversions.mk.
35290
35291 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35292
35293         [BZ #10014]
35294         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35295         example host name.
35296
35297 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35298
35299         * malloc/arena.c (arena_get_retry): New function that gets
35300         another arena for the caller to try its request on.
35301         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35302         current arena cannot fulfill the request.
35303         (__libc_memalign): Likewise.
35304         (__libc_memalign): Likewise.
35305         (__libc_pvalloc): Likewise.
35306         (__libc_calloc): Likewise.
35307
35308 2012-09-05  John Tobey  <john.tobey@gmail.com>
35309
35310         [BZ #13542]
35311         * manual/arith.texi (Operations on Complex): Fix description
35312         of carg branch cut.
35313
35314 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35315
35316         [BZ #10014]
35317         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35318         host name.
35319
35320         [BZ #10038]
35321         * manual/memory.texi (Memory): Make order of menu items match
35322         order of sections.
35323
35324 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35325
35326         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35327         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35328         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35329
35330 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35331
35332         * csu/libc-tls.c (static_dtv): Renamed to ...
35333         (_dl_static_dtv): This.  Make it global.
35334         (_dl_initial_dtv): Removed.
35335         (__libc_setup_tls): Updated.
35336         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35337         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35338         DL_INITIAL_DTV.
35339
35340 2012-09-06  Petr Machata  <pmachata@redhat.com>
35341
35342         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35343         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35344         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35345         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35346
35347 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35348
35349         [BZ #14545]
35350         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35351         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35352         freeing dtv[-1].
35353
35354 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35355
35356         [BZ #14544]
35357         * Makeconfig (link-static-before-libc): Replace $(+prector)
35358         with $(+prectorT).
35359         (link-static-after-libc): Replace $(+postctor) with
35360         $(+postctorT).
35361         (link-bounded): Replace $(+prector)/$(+postctor) with
35362         $(+prectorT)/$(+postctorT).
35363         (+prectorT): New macro.
35364         (+postctorT): Likewise.
35365
35366 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35367
35368         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35369         (round_str): Handle values above the maximum for IBM long double
35370         as inexact.
35371         * stdlib/tst-strtod-round.c (tests): Regenerated.
35372
35373 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35374
35375         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35376         assembler flag.
35377         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35378         zarch_nohighgprs around the zarch optimized routines.
35379         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35380         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35381         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35382         for zarch.
35383
35384 2012-09-05  David S. Miller  <davem@davemloft.net>
35385
35386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35387
35388         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35389         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35390         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35391         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35392         entries.
35393
35394 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35395
35396         * malloc/arena.c: Fold copyright years.
35397         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35398
35399 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35400
35401         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35402
35403 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35404
35405         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35406
35407 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35408
35409         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35410         change internal state upon failure.
35411
35412 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35413
35414         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35415         * malloc/memusage.c (mmap): Likewise.
35416         (mmap64, mremap): Likewise.  Adjust name in comment.
35417
35418 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35419
35420         * libio/fileops.c: Fix typos in comments.
35421         * libio/oldfileops.c: Likewise.
35422         * libio/wfileops.c: Likewise.
35423
35424 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35425
35426         [BZ #1349]
35427         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35428         (tst-malloc-usable-ENV): Set environment for test case.
35429         * malloc/hooks.c (malloc_check_get_size): New function to get
35430         requested size.
35431         * malloc/malloc.c (musable): Use malloc_check_get_size.
35432         * malloc/tst-malloc-usable.c: New test case.
35433
35434 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35435
35436         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35437
35438 2012-09-05  Allan McRae  <allan@archlinux.org>
35439
35440         [BZ #13966]
35441         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35442         determine header location.
35443         * configure: Regenerated.
35444
35445 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35446
35447         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35448         float format.
35449         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35450         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35451         format.
35452         (test): Regenerate.
35453
35454 2012-09-04  David S. Miller  <davem@davemloft.net>
35455
35456         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35457         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35458         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35459
35460 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35461
35462         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35463         failures.
35464
35465         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35466
35467 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35468
35469         [BZ #9914]
35470         * libio/iogetdelim.c: Include <limits.h>.
35471         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35472         + len + 1 would overflow.
35473
35474 2012-09-03  Andreas Jaeger  <aj@suse.de>
35475
35476         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35477         * sysdeps/i386/fpu/libm-test-ulps: Update.
35478
35479 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35480
35481         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35482         Add s_sinf-sse2, s_conf-sse2.
35483
35484         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35485         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35486         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35487         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35488
35489         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35490         for using routine as __sinf_ia32.
35491         Use macro for function declaration and weak_alias.
35492         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35493         for using routine as __cosf_ia32.
35494         Use macro for function declaration and weak_alias.
35495
35496         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35497         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35498
35499         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35500         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35502
35503         * math/libm-test.inc (cos_test): Add more test cases.
35504         (sin_test): Likewise.
35505         (sincos_test): Likewise.
35506
35507 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35508
35509         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35510         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35511         hidden.
35512         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35513
35514 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35515
35516         [BZ #14538]
35517         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35518         first element of the GOT.
35519         (elf_machine_load_address): Return the difference between
35520         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35521
35522 2012-09-01  Allan McRae  <allan@archlinux.org>
35523
35524         [BZ #13412]
35525         * configure.in (AWK): Require gawk version 3.0 or later.
35526         * configure: Regenerated.
35527
35528 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35529
35530         * sysdeps/unix/sysv/linux/kernel-features.h
35531         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35532         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35533         [__NR_clock_getres]: Make code unconditional.
35534         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35535         (clock_getcpuclockid): Remove code left unreachable by removal of
35536         conditionals.
35537         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35538         code unconditional.
35539         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35540         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35541         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35542         Make code unconditional.
35543         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35544         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35545         * sysdeps/unix/sysv/linux/clock_settime.c
35546         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35547         conditional code.
35548         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35549         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35550
35551 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35552
35553         [BZ #14476]
35554         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35555         scripts/test-installation.pl.
35556
35557         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35558         and $ld_so_version if it is set.
35559
35560 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35561
35562         [BZ #14516]
35563         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35564         failure if reading from procfs failed.
35565         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35566
35567 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35568
35569         * sysdeps/unix/sysv/linux/kernel-features.h
35570         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35571         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35572         Remove conditional code.
35573         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35574         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35575         Remove conditional code.
35576         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35577         * sysdeps/unix/sysv/linux/i386/fxstat.c
35578         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35579         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35580         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35581         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35582         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35583         * sysdeps/unix/sysv/linux/i386/lxstat.c
35584         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35585         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35586         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35587         Remove conditional code.
35588         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35589         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35590         Remove conditional code.
35591         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35592         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35593         <kernel-features.h>.
35594         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35595         Remove.
35596         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35597         Remove conditional code.
35598         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35599         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35600         Remove conditional.
35601
35602 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35603
35604         [BZ #5400]
35605         * NEWS: Add fixed bug number.
35606
35607 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35608
35609         [BZ #14519]
35610         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35611         underflowing exponent in case of negative sign.
35612         * stdlib/tst-strtod-round-data: Add more tests.
35613         * stdlib/tst-strtod-round.c (tests): Regenerated.
35614
35615         [BZ #3479]
35616         * stdlib/strtod_l.c (NDIG): Remove.
35617         (HEXNDIG): Likewise.
35618         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35619         smallest representable value.
35620         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35621         lie within an exact representation of 1/2 ulp of the result.
35622         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35623         unconditionally.
35624         (TENS_P9_IDX): Define unconditionally.
35625         (TENS_P9_SIZE): Likewise.
35626         (TENS_P10_IDX): Likewise.
35627         (TENS_P10_SIZE): Likewise.
35628         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35629         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35630         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35631         entries for 10^2^13 and 10^2^14.
35632         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35633         (TENS_P13_IDX): Define.
35634         (TENS_P13_SIZE): Likewise.
35635         (TENS_P14_IDX): Likewise.
35636         (TENS_P14_SIZE): Likewise.
35637         (_fpioconst_pow10): Change array size to
35638         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35639         unconditional.
35640         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35641         1024]: Add entries for 10^2^13 and 10^2^14.
35642         [LAST_POW10 > _LAST_POW10]: Remove #error.
35643         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35644         (_fpioconst_pow10): Change array size to
35645         FPIOCONST_POW10_ARRAY_SIZE.
35646         * stdlib/gen-fpioconst.c: New file.
35647         * stdlib/gen-tst-strtod-round.c: Likewise.
35648         * stdlib/tst-strtod-round-data: Likewise.
35649         * stdlib/tst-strtod-round.c: Likewise.
35650         * stdlib/Makefile (tests): Add tst-strtod-round.
35651
35652         [BZ #14459]
35653         * stdlib/strtod_l.c: Include <stdint.h>.
35654         (NDEBUG): Do not define.
35655         (round_and_return): Change EXPONENT parameter to type intmax_t.
35656         Rearrange calculations to avoid internal overflow possibilities.
35657         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35658         Rearrange calculations to avoid internal overflow possibilities.
35659         Assert that number fits inside MPNSIZE limbs.
35660         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35661         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35662         calculations and add assertions to avoid internal overflow
35663         possibilities.  Add casts to avoid signed/unsigned operations.
35664         * stdlib/tst-strtod-overflow.c: New file.
35665         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35666
35667 2012-08-25  Marek Polacek  <polacek@redhat.com>
35668
35669         * time/time.h: Fix some typos in comments.
35670
35671 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35672
35673         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35674         * posix/tst-rfc3484-2.c: Likewise.
35675         * posix/tst-rfc3484-3.c: Likewise.
35676
35677 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35678
35679         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35680         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35681
35682 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35683
35684         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35685         #include of fxstatat64.c.
35686
35687 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35688
35689         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35690         * shadow/getspent_r.c: Likewise.
35691         * shadow/getspnam.c: Likewise.
35692         * shadow/getspnam_r.c: Likewise.
35693         * gshadow/getsgent.c: Likewise.
35694         * gshadow/getsgent_r.c: Likewise.
35695         * gshadow/getsgnam.c: Likewise.
35696         * gshadow/getsgnam_r.c: Likewise.
35697         * inet/getnetbyad.c: Likewise.
35698         * inet/getnetbyad_r.c: Likewise.
35699         * inet/getnetbynm.c: Likewise.
35700         * inet/getnetbynm_r.c: Likewise.
35701         * inet/getnetent.c: Likewise.
35702         * inet/getnetent_r.c: Likewise.
35703         * inet/getproto.c: Likewise.
35704         * inet/getproto_r.c: Likewise.
35705         * inet/getprtent.c: Likewise.
35706         * inet/getprtent_r.c: Likewise.
35707         * inet/getprtname.c: Likewise.
35708         * inet/getprtname_r.c: Likewise.
35709         * inet/getrpcbyname.c: Likewise.
35710         * inet/getrpcbyname_r.c: Likewise.
35711         * inet/getrpcbynumber.c: Likewise.
35712         * inet/getrpcbynumber_r.c: Likewise.
35713         * inet/getrpcent.c: Likewise.
35714         * inet/getrpcent_r.c: Likewise.
35715         * inet/getaliasent.c: Likewise.
35716         * inet/getaliasent_r.c: Likewise.
35717         * inet/getaliasname.c: Likewise.
35718         * inet/getaliasname_r.c: Likewise.
35719         * nscd/getgrgid_r.c: Likewise.
35720         * nscd/getgrnam_r.c: Likewise.
35721         * nscd/gethstbyad_r.c: Likewise.
35722         * nscd/gethstbynm3_r.c: Likewise.
35723         * nscd/getpwnam_r.c: Likewise.
35724         * nscd/getpwuid_r.c: Likewise.
35725         * nscd/getsrvbynm_r.c: Likewise.
35726         * nscd/getsrvbypt_r.c: Likewise.
35727         * nscd/gai.c: Likewise.
35728
35729         * configure.in (build_nscd): New substituted variable, set
35730         by --disable-build-nscd and defaults to $use_nscd.
35731         * configure: Regenerated.
35732         * config.make.in (build-nscd): New substituted variable.
35733         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35734         Change conditional to require [$(build-nscd) = yes] as well.
35735         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35736
35737         [BZ# 13696]
35738         * configure.in (use_nscd): New substituted variable, set by
35739         --disable-nscd.  If enabled, define USE_NSCD.
35740         * configure: Regenerated.
35741         * config.h.in: Add USE_NSCD.
35742         * config.make.in (use-nscd): New substituted variable.
35743         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35744         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35745         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35746         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35747         (CFLAGS-getgrnam_r.c): Likewise.
35748         (CFLAGS-initgroups.c): Likewise.
35749         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35750         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35751         Variables removed.
35752         * inet/getnetgrent_r.c
35753         (nscd_setnetgrent): New function, broken out of ...
35754         (setnetgrent): ... here.  Call it.
35755         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35756         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35757         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35758         * nscd/Makefile (routines, aux): Move definitions after include of
35759         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35760         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35761         Conditionalize on [USE_NSCD].
35762         (is_nscd, nscd_init_cb): Likewise.
35763         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35764         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35765         * nss/nss_db/db-init.c: Likewise.
35766         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35767         [USE_NSCD].
35768         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35769         (make_request): Use it.
35770         (cache_valid_p): New function.
35771         (__check_pf): Use it.
35772         * NEWS: Add item for --disable-nscd.
35773
35774 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35775
35776         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35777         to support sed >= 4.2.1-20-ga9bf076.
35778         * configure: Regenerated.
35779
35780 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35781
35782         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35783         Conditionalize whole body on [IREL].
35784
35785 2012-08-22  Jeff Law <law@redhat.com>
35786
35787         [BZ #14505]
35788         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35789         if the family is PF_UNSPEC.
35790
35791 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35792
35793         * Makerules (lib-version): Rename from V.
35794         (install-lib-nosubdir): Change V to lib-version.
35795
35796 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35797
35798         [BZ #14252]
35799         * powerpc32/power6/wcschr.c: New file.
35800         * powerpc32/power6/wcscpy.c: New file.
35801         * powerpc32/power6/wcsrchr.c: New file.
35802         * powerpc64/power6/wcschr.c: New file.
35803         * powerpc64/power6/wcscpy.c: New file.
35804         * powerpc64/power6/wcsrchr.c: New file.
35805
35806 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35807
35808         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35809         (two_way_short_needle): Use it.
35810         * string/strstr.c (AVAILABLE1_USES_J): Define.
35811         * string/strcasestr.c: Likewise.
35812
35813         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35814         array references.
35815         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35816
35817         [BZ #11607]
35818         * NEWS: Add an entry.
35819         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35820         define their defaults.
35821         (two_way_short_needle): Detect end-of-string on-the-fly.
35822         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35823         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35824         * string/bug-strcasestr1.c: New test.
35825         * string/Makefile: Run it.
35826
35827 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35828
35829         [BZ #11607]
35830         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35831         the first character.
35832
35833 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35834
35835         * csu/elf-init.c (__libc_csu_irel): Function removed.
35836         * csu/libc-start.c (apply_irel): New function.
35837         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35838
35839 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35840
35841         * sysdeps/unix/sysv/linux/kernel-features.h
35842         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35843         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35844         <kernel-features.h>.
35845         [__NR_fadvise64_64]: Make code unconditional.
35846         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35847         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35848         !__NR_fadvise64_64)]: Likewise.
35849         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35850         !__NR_fadvise64_64))]: Likewise.
35851         [__NR_fadvise64]: Make code unconditional.
35852         [!__NR_fadvise64]: Remove conditional code.
35853         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35854         <kernel-features.h>.
35855         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35856         unconditional.
35857         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35858         conditional code.
35859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35860         not include <kernel-features.h>.
35861         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35862         unconditional.
35863         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35864         conditional code.
35865         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35866         include <kernel-features.h>.
35867         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35868         unconditional.
35869         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35870         conditional code.
35871
35872 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35873
35874         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35875         slight instruction rearrangements per scrollpipe analysis.
35876         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35877
35878 2012-08-20  Roland McGrath  <roland@hack.frob.com>
35879
35880         * manual/syslog.texi (syslog; vsyslog, closelog):
35881         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35882         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35883
35884         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35885         DSOCAPS to match condition on defining it.
35886
35887 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
35888
35889         * sysdeps/unix/sysv/linux/kernel-features.h
35890         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35892         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35893         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35895         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35896         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35898         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35899         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35900
35901         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35902         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35903
35904         * sysdeps/unix/sysv/linux/kernel-features.h
35905         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35906         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35907         unconditional.
35908         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35909         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35910         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35911         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35912         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35913         Make code unconditional.
35914         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35915         (__mmap64) [!__NR_mmap2]: Likewise.
35916         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35917         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35918         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35919         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35920         [__NR_mmap2]: Make code unconditional.
35921         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35922         (__mmap64) [!__NR_mmap2]: Likewise.
35923
35924 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35925
35926         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35927
35928 2012-08-18  Andreas Jaeger  <aj@suse.de>
35929
35930         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35931
35932 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35933
35934         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35935         * include/unistd.h (__have_sock_cloexec): Likewise.
35936         (__have_pipe2): Likewise.
35937         (__have_dup3): Likewise.
35938
35939 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35940
35941         [BZ #9685]
35942         * include/unistd.h (__have_pipe2): Change define into an extern int.
35943         (__have_dup3): Likewise.
35944         * socket/have_sock_cloexec.c: Include fcntl.h.
35945         (__have_pipe2): New variable.
35946         (__have_dup3): Likewise.
35947
35948 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
35949
35950         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35951
35952 2012-08-17  Marek Polacek  <polacek@redhat.com>
35953
35954         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35955         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35956
35957 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35958
35959         * configure.in: Add AC_SUBST for sysheaders.
35960         * configure: Regenerated.
35961         * config.make.in (sysheaders): New substituted variable.
35962
35963         * sysdeps/unix/mkfifo.c: Moved ...
35964         * sysdeps/posix/mkfifo.c: ... here.
35965         * sysdeps/unix/mkfifoat.c: Moved ...
35966         * sysdeps/posix/mkfifoat.c: ... here.
35967
35968         * sysdeps/unix/utime.c: Moved ...
35969         * sysdeps/posix/utime.c: ... here.
35970
35971         * sysdeps/unix/time.c: Moved ...
35972         * sysdeps/posix/time.c: ... here.
35973         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35974         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35975
35976         * sysdeps/unix/nice.c: Moved ...
35977         * sysdeps/posix/nice.c: ... here.
35978
35979         * sysdeps/unix/alarm.c: Moved ...
35980         * sysdeps/posix/alarm.c: ... here.
35981
35982         * intl/Makefile ($(codeset_mo)): Depend on the input file.
35983
35984 2012-08-17  Jeff Law <law@redhat.com>
35985
35986         * intl/Makefile (codeset_mo): New variable.
35987         ($(codeset_mo)): New target.
35988         (tst-codeset.out): Depend on that.  Remove explicit rule.
35989         (tst-gettext3.out, tst-gettext5.out): Likewise.
35990         (LOCPATH-ENV, tst-codeset-ENV): New variables.
35991         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35992         * intl/tst-codeset.sh: Remove.
35993         * intl/tst-gettext3.sh: Likewise.
35994         * intl/tst-gettext5.sh: Likewise.
35995
35996 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35997
35998         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
35999         * sysdeps/unix/syscalls.list: ... here.
36000
36001         * sysdeps/posix/getaddrinfo.c
36002         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36003         (gaiconf_init, gaiconf_reload): Use them.
36004         [!_STATBUF_ST_NSEC]
36005         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36006         Define using time_t rather than struct timespec.
36007
36008         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36009         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36010         Macros removed.
36011         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36012         [!NO_THREADS].
36013         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36014         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36015         Likewise.
36016
36017         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36018         __libc_cleanup_push argument.
36019
36020         * bits/param.h: New file.
36021         * misc/sys/param.h: New file.
36022         * include/sys/param.h: New file.
36023         * misc/Makefile (headers): Add bits/param.h.
36024         * sysdeps/generic/sys/param.h: File removed.
36025         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36026         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36027         * sysdeps/mach/hurd/bits/param.h: New file.
36028         * sysdeps/mach/hurd/sys/param.h: File removed.
36029
36030         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36031         last change.
36032
36033         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36034         [_IO_MTSAFE_IO].
36035         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36036         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36037         New macros.
36038
36039         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36040         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36041         rather than -D_IO_MTSAFE_IO conditionally.
36042         * stdio-common/Makefile (CPPFLAGS): Likewise.
36043         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36044         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36045         Use $(libio-mtsafe).
36046         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36047         of -D_IO_MTSAFE_IO.
36048         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36049         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36050         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36051         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36052         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36053         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36054         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36055         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36056         (CFLAGS-fread_u_chk.c): Likewise.
36057         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36058         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36059         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36060         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36061         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36062         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36063         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36064         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36065         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36066
36067         * libio/Makefile: Test [$(libc-reentrant) = yes]
36068         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36069
36070         * Makeconfig
36071         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36072         * sysdeps/pthread/configure: File removed.
36073         * sysdeps/pthread/Makeconfig: New file.
36074         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36075         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36076
36077 2012-08-16  Gary Benson  <gbenson@redhat.com>
36078
36079         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36080         unmapping the first object in a namespace.
36081
36082 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36083
36084         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36085         (__internal_setnetgrent): ... this.  Add internal_function to
36086         definition.  Add libc_hidden_def.
36087         (setnetgrent): Update caller.
36088         (internal_endnetgrent): Renamed to ...
36089         (__internal_endnetgrent): ... this.  Add internal_function to
36090         definition.  Add libc_hidden_def.
36091         (endnetgrent): Update caller.
36092         (internal_getnetgrent_r): Renamed to ...
36093         (__internal_getnetgrent_r): ... this.  Add internal_function to
36094         definition.  Add libc_hidden_def.
36095         (__getnetgrent_r): Update caller.
36096         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36097
36098 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36099
36100         * stdlib/longlong.h: Update from GCC.
36101
36102 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36103
36104         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36105         on _QL, which is set by umul_ppmm but never used.
36106         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36107         variables, which are set by GMP macros but never used.
36108         * stdio-common/_itowa.c (_itowa): Likewise.
36109         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36110         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36111
36112 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36113
36114         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36115         struct La_sh_regs is not constant.
36116         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36117         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36118         and struct La_sparc64_regs are not constant.
36119
36120 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36121
36122         * sysdeps/unix/sysv/linux/kernel-features.h
36123         (__ASSUME_POSIX_TIMERS): Remove.
36124         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36125         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36126         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36127         Make code unconditional.
36128         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36129         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36130         Make code unconditional.
36131         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36132         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36133         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36134         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36135         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36136         Make code unconditional.
36137         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36138         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36139         (__libc_missing_posix_timers): Remove.
36140
36141 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36142
36143         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36144         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36145
36146         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36147
36148         * elf/dl-sym.c: Include <stdlib.h>.
36149
36150         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36151         constants, which avoids warnings in 32-bit builds.
36152
36153         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36154         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36155
36156         * misc/lseek.c: File moved to ...
36157         * io/lseek.c: ... here.
36158
36159         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36160
36161         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36162         shifting LEN more than 31 bits at once.
36163
36164 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36165
36166         [BZ #14195]
36167         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36168         segmentation fault for a case of two empty input strings.
36169         * string/test-strncasecmp.c (check1): Renamed to...
36170         (bz12205): ...this.
36171         (bz14195): Add new testcase for two empty input strings and N > 0.
36172         (test_main): Call new testcase, adapt for renamed function.
36173
36174 2012-08-15  Andreas Jaeger  <aj@suse.de>
36175
36176         [BZ #14090]
36177         * crypt/md5test2.c: New test, based on test supplied by Serge
36178         Belyshev <belyshev@depni.sinp.msu.ru>.
36179         * crypt/Makefile (xtests): Add md5test-giant..
36180         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36181
36182 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36183
36184         [BZ #14090]
36185         * crypt/md5.c (md5_process_block): Don't assume the buffer
36186         length is less than 2**32.
36187         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36188         length is less than 2**64.
36189
36190 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36191
36192         * string/str-two-way.h: Include <sys/param.h>.
36193         (MAX): Macro removed.
36194
36195         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36196         Move #define and #undef of memmove to just before and after
36197         including <string.h>.
36198
36199         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36200         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36201         and after including <string.h>.  Move declarations of
36202         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36203         to before #include "string/memmove.c".
36204
36205         * include/dirent.h: Declare __getdirentries.
36206
36207         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36208         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36209
36210 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36211
36212         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36213         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36214         * sysdeps/i386/configure: Regenerated.
36215         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36216         STABS_CURRENT_FILE, and STABS_FUN.
36217         (END): Remove call to STABS_FUN_END.
36218         (STABS_CURRENT_FILE1): Delete.
36219         (STABS_CURRENT_FILE): Likewise.
36220         (STABS_FUN): Likewise.
36221         (STABS_FUN_END): Likewise.
36222         (STABS_FUN2): Likewise.
36223         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36224         * sysdeps/x86_64/configure: Regenerated.
36225
36226 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36227
36228         * elf/dl-open.c: Include <atomic.h>.
36229         * elf/dl-lookup.c: Likewise.
36230
36231 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36232
36233         * sysdeps/unix/sysv/linux/kernel-features.h
36234         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36235         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36236         unconditionally.
36237         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36238         unconditionally.
36239         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36240         condition on __ASSUME_CLONE_THREAD_FLAGS.
36241
36242 2012-08-14  Andreas Jaeger  <aj@suse.de>
36243
36244         * sysdeps/i386/fpu/libm-test-ulps: Update.
36245
36246 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36247
36248         * include/atomic.h (atomic_exchange_and_add): Split into ...
36249         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36250         New atomic macros.
36251
36252 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36253
36254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36255
36256 2012-08-13  Jeff Law <law@redhat.com>
36257
36258         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36259         null byte in the output string.
36260
36261 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36262
36263         * sysdeps/unix/sysv/linux/kernel-features.h
36264         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36265         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36266         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36267         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36268         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36269         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36270         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36271
36272 2012-08-09  Jeff Law <law@redhat.com>
36273
36274         [BZ #13939]
36275         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36276         When avoid_arena is set, don't retry in the that arena.  Pick the
36277         next one, whatever it might be.
36278         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36279         (arena_lock): Pass in new parameter to arena_get2.
36280         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36281         arena_get2.
36282         (__libc_malloc): Unify retrying after main arena failure with
36283         __libc_memalign version.
36284         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36285
36286 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36287
36288         [BZ #14166]
36289         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36290         to __redirect_strstr.
36291         (__strstr_sse42): Use typeof __redirect_strstr.
36292         (__strstr_ia32): Likewise.
36293         (__libc_strstr): New prototype.
36294         (strstr): Renamed to ...
36295         (__libc_strstr): This.
36296         (strstr): New strong alias of __libc_strstr.
36297         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36298         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36299         __redirect_time.
36300         Include <time.h>.
36301         (__libc_time): New prototype.
36302         (time_ifunc): Replace time with __libc_time.
36303         (time): New strong alias and hidden definition of __libc_time.
36304         (__GI_time): Remove strong alias.
36305         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36306         Include <stddef.h>.
36307         (memmove): Redefined to __redirect_memmove.
36308         (__memmove_sse2): Use typeof __redirect_memmove.
36309         (__memmove_ssse3): Likewise.
36310         (__memmove_ssse3_back): Likewise.
36311         (__libc_memmove): New prototype.
36312         (memmove): Renamed to ...
36313         (__libc_memmove): This.
36314         (memmove): New strong alias of __libc_memmove.
36315
36316 2012-08-08  Mark Salter  <msalter@redhat.com>
36317
36318         * elf/elf.h
36319         (R_MN10300_TLS_GD): Define.
36320         (R_MN10300_TLS_LD): Likewise.
36321         (R_MN10300_TLS_LDO): Likewise.
36322         (R_MN10300_TLS_GOTIE): Likewise.
36323         (R_MN10300_TLS_IE): Likewise.
36324         (R_MN10300_TLS_LE): Likewise.
36325         (R_MN10300_TLS_DTPMOD): Likewise.
36326         (R_MN10300_TLS_DTPOFF): Likewise.
36327         (R_MN10300_TLS_TPOFF): Likewise.
36328         (R_MN10300_SYM_DIFF): Likewise.
36329         (R_MN10300_ALIGN): Likewise.
36330         (R_MN10300_NUM): Update.
36331
36332 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36333
36334         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36335         Remove.
36336
36337 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36338
36339         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36340
36341         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36342         sysdeps/unix -> sysdeps/posix move.
36343         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36344
36345 2012-08-07      Allan McRae     <allan@archlinux.org>
36346
36347         [BZ #14303]
36348         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36349         (SUNOS_CPP): Likewise.
36350         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36351         not found.
36352         (open_input): Call CPP using execvp.
36353
36354 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36355
36356         * sysdeps/unix/sysv/linux/kernel-features.h
36357         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36358         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36359         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36360         (__ASSUME_WAITID_SYSCALL): Likewise.
36361         * sysdeps/unix/sysv/linux/dl-execstack.c
36362         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36363         code unconditional.
36364         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36365         conditional code.
36366         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36367         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36368         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36369         code.
36370         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36371         unconditional.
36372         [__ASSUME_WAITID_SYSCALL]: Likewise.
36373         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36374
36375 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36376
36377         * sysdeps/unix/closedir.c: Renamed to ...
36378         * sysdeps/posix/closedir.c: ... here.
36379         * sysdeps/unix/dirfd.c: Renamed to ...
36380         * sysdeps/posix/dirfd.c: ... here.
36381         * sysdeps/unix/dirstream.h: Renamed to ...
36382         * sysdeps/posix/dirstream.h: ... here.
36383         * sysdeps/unix/fdopendir.c: Renamed to ...
36384         * sysdeps/posix/fdopendir.c: ... here.
36385         * sysdeps/unix/opendir.c: Renamed to ...
36386         * sysdeps/posix/opendir.c: ... here.
36387         * sysdeps/unix/readdir.c: Renamed to ...
36388         * sysdeps/posix/readdir.c: ... here.
36389         * sysdeps/unix/readdir_r.c: Renamed to ...
36390         * sysdeps/posix/readdir_r.c: ... here.
36391         * sysdeps/unix/rewinddir.c: Renamed to ...
36392         * sysdeps/posix/rewinddir.c: ... here.
36393         * sysdeps/unix/seekdir.c: Renamed to ...
36394         * sysdeps/posix/seekdir.c: ... here.
36395         * sysdeps/unix/telldir.c: Renamed to ...
36396         * sysdeps/posix/telldir.c: ... here.
36397         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36398         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36399         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36400         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36401
36402         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36403         * bits/fcntl.h: ... here.
36404
36405         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36406         not 0.
36407         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36408         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36409         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36410         (struct flock): Move l_start, l_len to the beginning.
36411         Use __pid_t for l_pid.
36412         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36413         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36414         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36415         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36416         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36417         [__USE_LARGEFILE64] (struct flock64): New type.
36418         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36419
36420         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36421         * bits/dirent.h: ... here.
36422
36423         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36424         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36425
36426 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36427
36428         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36429         Change from 2.6.0 to 2.6.16.
36430         * sysdeps/unix/sysv/linux/configure: Regenerated.
36431         * sysdeps/unix/sysv/linux/kernel-features.h
36432         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36433         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36434         version.
36435         (__ASSUME_UTIMES): Likewise.
36436         (__ASSUME_CLONE_STOPPED): Remove.
36437         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36438         architectures, not kernel version.
36439         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36440         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36441         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36442         (__ASSUME_WAITID_SYSCALL): Likewise.
36443         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36444         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36445         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36446         refer to older versions.
36447
36448 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36449
36450         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36451         Define alphasort64 as an alias.
36452         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36453         Define versionsort64 as an alias.
36454         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36455         Define scandir64 as an alias.
36456         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36457         Define scandirat64 as an alias.
36458         * dirent/alphasort64.c (alphasort64):
36459         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36460         * dirent/versionsort64.c: Likewise.
36461         * dirent/scandir64.c: Likewise.
36462         * dirent/scandirat64.c: Likewise.
36463         * sysdeps/wordsize-64/alphasort.c: File removed.
36464         * sysdeps/wordsize-64/alphasort64.c: File removed.
36465         * sysdeps/wordsize-64/scandir.c: File removed.
36466         * sysdeps/wordsize-64/scandir64.c: File removed.
36467         * sysdeps/wordsize-64/scandirat.c: File removed.
36468         * sysdeps/wordsize-64/scandirat64.c: File removed.
36469         * sysdeps/wordsize-64/versionsort.c: File removed.
36470         * sysdeps/wordsize-64/versionsort64.c: File removed.
36471         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36472         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36473         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36474         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36475         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36476         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36477         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36478         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36479
36480         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36481         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36482         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36483         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36484         [defined __arch64__ || defined __sparcv9]
36485         (__INO_T_MATCHES_INO64_T): New macro.
36486         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36487         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36488         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36489         * sysdeps/unix/sysv/linux/bits/dirent.h
36490         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36491         (_DIRENT_MATCHES_DIRENT64): New macro.
36492
36493         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36494         Define lockf64 as an alias.
36495         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36496         Define fseeko64 as an alias.
36497         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36498         Define ftello64 as an alias.
36499         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36500         Define _IO_fgetpos64 and fgetpos64 as aliases.
36501         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36502         Define _IO_fsetpos64 and fsetpos64 as aliases.
36503         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36504         Conditionalize body on this.
36505         * libio/fseeko64.c: Likewise.
36506         * libio/ftello64.c: Likewise.
36507         * libio/iofgetpos64.c: Likewise.
36508         * libio/iofsetpos64.c: Likewise.
36509         * sysdeps/wordsize-64/lockf.c: File removed.
36510         * sysdeps/wordsize-64/lockf64.c: File removed.
36511         * sysdeps/wordsize-64/fseeko.c: File removed.
36512         * sysdeps/wordsize-64/fseeko64.c: File removed.
36513         * sysdeps/wordsize-64/ftello.c: File removed.
36514         * sysdeps/wordsize-64/ftello64.c: File removed.
36515         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36516         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36517         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36518         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36519         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36520         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36521         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36522         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36523         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36524         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36525         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36526         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36527         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36528         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36529
36530         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36531         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36532         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36533         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36534         [defined __arch64__ || defined __sparcv9]
36535         (__OFF_T_MATCHES_OFF64_T): New macro.
36536         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36537         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36538         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36539         (__OFF_T_MATCHES_OFF64_T): New macro.
36540
36541 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36542
36543         * stdlib/secure-getenv.c (__secure_getenv): Replace
36544         GLIBC_2_16 with GLIBC_2_17.
36545
36546 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36547
36548         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36549         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36550
36551 2012-08-03  David S. Miller  <davem@davemloft.net>
36552
36553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36554
36555 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36556
36557         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36558         Remove.
36559         (__ASSUME_CORRECT_SI_PID): Likewise.
36560         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36561         (__ASSUME_TMPFS_NAME): Likewise.
36562         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36563         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36564         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36565         (HAVE_AUX_SECURE): Make definition unconditional.
36566         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36567         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36568
36569 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36570
36571         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36572         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36573         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36574         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36575         __eloop_threshold instead of SYMLOOP_MAX.
36576
36577         * sysdeps/generic/eloop-threshold.h: New file.
36578         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36579         of MAXSYMLINKS.
36580         * elf/chroot_canon.c (chroot_canon): Likewise.
36581
36582 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36583
36584         [BZ #13717]
36585         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36586         Change to 2.6.0 everywhere.
36587         * sysdeps/unix/sysv/linux/configure: Regenerated.
36588         * sysdeps/unix/sysv/linux/kernel-features.h
36589         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36590         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36591         kernel versions.
36592         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36593         (__ASSUME_FUTEX_REQUEUE): Remove.
36594         (__ASSUME_STATFS64): Define unconditionally.
36595         (__ASSUME_AT_SECURE): Likewise.
36596         (__ASSUME_CORRECT_SI_PID): Likewise.
36597         (__ASSUME_TGKILL): Define without depending on kernel version for
36598         i386.
36599         (__ASSUME_UTIMES): Likewise.
36600         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36601         kernel version.
36602         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36603         (__ASSUME_TMPFS_NAME): Likewise.
36604         * README: Update reference to Linux kernel versions.
36605
36606 2012-08-02  Marek Polacek  <polacek@redhat.com>
36607
36608         [BZ# 14150]
36609         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36610         libc_cv_asm_type_prefix with %.
36611         * configure: Regenerated.
36612         * include/libc-symbols.h: Remove comment about
36613         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36614         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36615         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36616         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36617         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36618         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36619         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36620         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36621         * elf/tst-unique2mod1.c: Likewise.
36622         * elf/tst-unique1mod2.c: Likewise.
36623         * elf/tst-unique1mod1.c: Likewise.
36624         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36625         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36626         Replace ASM_TYPE_DIRECTIVE with .type.
36627         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36628         * sysdeps/i386/sysdep.h: Likewise.
36629         * sysdeps/x86_64/sysdep.h: Likewise.
36630         * sysdeps/sh/sysdep.h: Likewise.
36631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36632         Do not define ASM_TYPE_DIRECTIVE.
36633         * sysdeps/powerpc/sysdep.h: Likewise.
36634         * sysdeps/powerpc/powerpc32/sysdep.h:
36635         Replace ASM_TYPE_DIRECTIVE with .type.
36636         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36637         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36638         * sysdeps/i386/fpu/e_powf.S: Likewise.
36639         * sysdeps/i386/fpu/e_expl.S: Likewise.
36640         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36641         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36642         * sysdeps/i386/fpu/e_pow.S: Likewise.
36643         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36644         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36645         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36646         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36647         * sysdeps/i386/fpu/e_log2.S: Likewise.
36648         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36649         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36650         * sysdeps/i386/fpu/e_powl.S: Likewise.
36651         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36652         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36653         * sysdeps/i386/fpu/e_logl.S: Likewise.
36654         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36655         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36656         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36657         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36658         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36659         * sysdeps/i386/fpu/e_log.S: Likewise.
36660         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36661         * sysdeps/i386/fpu/e_logf.S: Likewise.
36662         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36663         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36664         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36665         * sysdeps/i386/fpu/e_log10.S: Likewise.
36666         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36667         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36668         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36669         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36670         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36671         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36672         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36673         * sysdeps/i386/i686/strtok.S: Likewise.
36674         * sysdeps/i386/i386-mcount.S: Likewise.
36675         * sysdeps/i386/strtok.S: Likewise.
36676         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36677         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36678         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36679         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36680         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36681         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36682         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36683         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36684         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36685         * sysdeps/x86_64/_mcount.S: Likewise.
36686         * sysdeps/x86_64/strtok.S: Likewise.
36687         * sysdeps/sh/_mcount.S: Likewise.
36688
36689 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36690
36691         * libio/iofopen.c: Include <fcntl.h>.
36692         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36693         (_IO_fopen64, fopen64): Define as aliases.
36694         * libio/iofopen64.c: Include <fcntl.h>.
36695         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36696         Conditionalize body on this.
36697         * sysdeps/wordsize-64/iofopen.c: File removed.
36698         * sysdeps/wordsize-64/iofopen64.c: File removed.
36699
36700 2012-08-01  Marek Polacek  <polacek@redhat.com>
36701
36702         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36703         Use dlfcn directly instead of a variable.
36704         (binfmt-subdir): Do not define.
36705         (dlfcn): Likewise.
36706
36707 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36708
36709         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36710         Remove all definitions.
36711         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36712         <kernel-features.h>.
36713         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36714         (miss_F_GETOWN_EX): Remove all definitions.
36715         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36716         macro definition.
36717         [!__ASSUME_FCNTL64]: Remove conditional code.
36718         [__ASSUME_FCNTL64]: Make code unconditional.
36719         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36720         <kernel-features.h>.
36721         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36722         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36723         (lockf64) [__NR_fcntl64]: Make code unconditional.
36724         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36725
36726         * sysdeps/unix/sysv/linux/kernel-features.h
36727         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36728         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36729         Make code unconditional.
36730         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36731         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36733         [__NR_vfork]: Make code unconditional.
36734         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36735         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36737         [__NR_vfork]: Make code unconditional.
36738         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36739         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36740
36741 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36742
36743         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36744         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36745
36746         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36747         Define mkstemp64 as an alias.
36748         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36749         Define mkstemps64 as an alias.
36750         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36751         Define mkostemp64 as an alias.
36752         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36753         Define mkostemps64 as an alias.
36754         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36755         Conditionalize body on this.
36756         * misc/mkostemp64.c: Likewise.
36757         * misc/mkostemps64.c: Likewise.
36758         * misc/mkstemps64.c: Likewise.
36759         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36760         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36761         * sysdeps/wordsize-64/mkostemp.c: File removed.
36762         * sysdeps/wordsize-64/mkstemp.c: File removed.
36763         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36764         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36765         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36766         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36767
36768         [BZ #14138]
36769         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36770         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36771         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36772         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36773
36774         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36775         compat_symbol macros from <shlib-compat.h> rather than the underlying
36776         default_symbol_version and symbol_version macros, so that DEFAULT
36777         lines in shlib-versions are respected.
36778         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36779
36780 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36781
36782         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36783         Declare with warn_unused_result.
36784         (setgid, setregid, setegid, setresgid): Likewise.
36785         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36786         Likewise.
36787         * WUR-REPORT: Remove set*id functions.
36788
36789 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36790
36791         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36792
36793 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36794
36795         [BZ #10191]
36796         * include/sys/socket.h (__libc_accept, __libc_accept4):
36797         Add attribute_hidden.
36798         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36799
36800         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36801         use of PTR_MANGLE.
36802         * inet/getnetgrent_r.c (setup): Likewise.
36803
36804         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36805
36806 2012-07-31  David S. Miller  <davem@davemloft.net>
36807
36808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36809
36810 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36811
36812         [BZ #13629]
36813         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36814         value between 1.0 and 2.0 and smaller part has absolute value less
36815         than 1.0.
36816         * math/s_clog10.c (__clog10): Likewise.
36817         * math/s_clog10f.c (__clog10f): Likewise.
36818         * math/s_clog10l.c (__clog10l): Likewise.
36819         * math/s_clogf.c (__clogf): Likewise.
36820         * math/s_clogl.c (__clogl): Likewise.
36821         * math/libm-test.inc (clog_test): Add more tests.
36822         (clog10_test): Likewise.
36823         * sysdeps/i386/fpu/libm-test-ulps: Update.
36824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36825
36826 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36827
36828         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36829         Exit with zero in case no suitable GID is found, and write a
36830         message to standard error.
36831
36832 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36833
36834         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36835         rather than to 1.
36836         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36837         (MAXPATHLEN): Removed.
36838         (NOGROUP, NODEV): New macros.
36839         (setbit, clrbit, isset, isclr): New macros.
36840         (howmany, roundup, powerof2): New macros.
36841         (DEV_BSIZE): New macro.
36842
36843         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36844         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36845
36846         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36847         definition on [!__NO_LONG_DOUBLE_MATH].
36848
36849         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36850         PTR_MANGLE and PTR_DEMANGLE.
36851
36852         * socket/accept4.c (accept4): Rename to __libc_accept4.
36853         Define accept4 as a weak alias.
36854
36855         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36856         on [_DIRENT_HAVE_D_TYPE].
36857         * io/ftw.c (ftw_dir): Likewise.
36858
36859         * io/xmknod.c (__xmknod): Don't check PATH for being null.
36860
36861         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36862
36863         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36864         Use the BSD numbers rather than the arbitrary ones we had.
36865         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36866         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36867         (SIGXCPU, SIGXFSZ): New macros.
36868         (_NSIG): Now 32.
36869
36870         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36871         initializer on [_LIBC_REENTRANT].
36872
36873         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36874         definitions inside [_POSIX_MAPPED_FILES].
36875
36876         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36877
36878         * dirent/opendir.c: Include <fcntl.h>.
36879
36880         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36881         (__libc_getspecific): Likewise.
36882         (__libc_key_create): Likewise.
36883
36884         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36885         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36886         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36887         (tmpfile64): Define as alias.
36888         * sysdeps/wordsize-64/tmpfile.c: File removed.
36889         * sysdeps/wordsize-64/tmpfile64.c: File removed.
36890         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36891         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36892
36893         * stdio-common/vfscanf.c: Include <stdbool.h>.
36894         * nss/makedb.c: Likewise.
36895         * stdio-common/_i18n_number.h: Likewise.
36896         * argp/argp-help.c: Likewise.
36897         * posix/wordexp.c: Likewise.
36898         * sysdeps/posix/spawni.c: Likewise.
36899         * nss/nss_files/files-initgroups.c: Likewise.
36900         * stdio-common/reg-modifier.c: Include <stdlib.h>.
36901         * nss/nss_files/files-initgroups.c: Likewise.
36902         * nss/nss_db/db-netgrp.c: Likewise.
36903         * nss/nss_db/db-initgroups.c: Likewise.
36904         * io/fchmodat.c: Include <sys/stat.h>.
36905
36906         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36907         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36908
36909         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36910         [HAVE_MMAP].
36911
36912         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36913         Add multiple inclusion protection.
36914
36915 2012-07-27  David S. Miller  <davem@davemloft.net>
36916
36917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36918
36919 2012-07-27  Gary Benson  <gbenson@redhat.com>
36920
36921         [BZ #14298]
36922         * elf/rtld.c: Include <stap-probe.h>.
36923         (dl_main): Added static probes "init_start" and "init_complete".
36924         * elf/dl-load.c: Include <stap-probe.h>.
36925         (lose): Take new parameter "nsid".
36926         Added static probe "map_failed".
36927         (_dl_map_object_from_fd): Pass namespace id to lose.
36928         Added static probe "map_start".
36929         (open_verify): Pass namespace id to lose.
36930         * elf/dl-open.c: Include <stap-probe.h>.
36931         (dl_open_worker) Added static probes "map_complete", "reloc_start"
36932         and "reloc_complete".
36933         * elf/dl-close.c: Include <stap-probe.h>.
36934         (_dl_close_worker): Added static probes "unmap_start" and
36935         "unmap_complete".
36936         * elf/rtld-debugger-interface.txt: New file documenting the above.
36937
36938 2012-07-26  Roland McGrath  <roland@hack.frob.com>
36939
36940         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36941         rather than a string variable.
36942         * sunrpc/rpc_main.c (h_output): Likewise.
36943         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36944
36945 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
36946
36947         * inet/check_native.c: New file.
36948
36949 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
36950
36951         [BZ #13629]
36952         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36953         if larger part has absolute value 1.0.
36954         * math/s_clog10.c (__clog10): Likewise.
36955         * math/s_clog10f.c (__clog10f): Likewise.
36956         * math/s_clog10l.c (__clog10l): Likewise.
36957         * math/s_clogf.c (__clogf): Likewise.
36958         * math/s_clogl.c (__clogl): Likewise.
36959         * math/libm-test.inc (clog_test): Add more tests.
36960         (clog10_test): Likewise.
36961         * sysdeps/i386/fpu/libm-test-ulps: Update.
36962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36963
36964         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36965         (pltexit): Likewise.
36966         (La_regs): Likewise.
36967         (La_retval): Likewise.
36968         (int_retval): Likewise.
36969         Update #error for removed macros to refer only to definitions in
36970         tst-audit.h.
36971         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36972         macro.
36973         (pltexit): Likewise.
36974         (La_regs): Likewise.
36975         (La_retval): Likewise.
36976         (int_retval): Likewise.
36977         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36978         macro.
36979         (pltexit): Likewise.
36980         (La_regs): Likewise.
36981         (La_retval): Likewise.
36982         (int_retval): Likewise.
36983         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36984         macro.
36985         (pltexit): Likewise.
36986         (La_regs): Likewise.
36987         (La_retval): Likewise.
36988         (int_retval): Likewise.
36989         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36990         macro.
36991         (pltexit): Likewise.
36992         (La_regs): Likewise.
36993         (La_retval): Likewise.
36994         (int_retval): Likewise.
36995         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36996         macro.
36997         (pltexit): Likewise.
36998         (La_regs): Likewise.
36999         (La_retval): Likewise.
37000         (int_retval): Likewise.
37001         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37002         macro.
37003         (pltexit): Likewise.
37004         (La_regs): Likewise.
37005         (La_retval): Likewise.
37006         (int_retval): Likewise.
37007         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37008         macro definitions in tst-audit.h.
37009         * sysdeps/i386/tst-audit.h: New file.
37010         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37011         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37012         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37013         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37014         * sysdeps/sh/tst-audit.h: Likewise.
37015         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37016         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37017         * sysdeps/x86_64/tst-audit.h: Likewise.
37018
37019 2012-07-26  Andreas Jaeger  <aj@suse.de>
37020
37021         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37022         ptrace.
37023
37024         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37025         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37026         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37027         PTRACE_O_MASK.
37028         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37029         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37030         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37031
37032         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37033         value.
37034
37035         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37036         _sigsys.
37037         (si_call_addr, si_syscall, si_arch): Define new macro.
37038         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37039         _sigsys.
37040         (si_call_addr, si_syscall, si_arch): Define new marcro.
37041         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37042         _sigsys.
37043         (si_call_addr, si_syscall, si_arch): Define new macro.
37044         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37045         _sigsys.
37046         (si_call_addr, si_syscall, si_arch): Define new macro.
37047
37048 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37049
37050         [BZ #13717]
37051         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37052         Change to 2.4.21 where previously 2.4.1.
37053         * sysdeps/unix/sysv/linux/configure: Regenerated.
37054         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37055         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37056         Linux kernel version.
37057         (__ASSUME_STD_AUXV): Remove.
37058         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37059         kernel version.
37060         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37061         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37062         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37063         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37064         (__ASSUME_NETLINK_SUPPORT): Likewise.
37065         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37066         (__no_netlink_support): Remove conditional definition.
37067         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37068         Remove.
37069         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37070         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37071         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37072         (if_nameindex_ioctl): Remove.
37073         (if_nameindex_netlink): Do not handle __no_netlink_support.
37074         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37075         code.
37076         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37077         Remove conditional code.
37078         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37079         code.
37080         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37081         unconditional.
37082         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37083         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37084         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37085         Remove.
37086         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37087         [!__ASSUME_STD_AUXV]: Remove conditional code.
37088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37089         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37090         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37092         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37093         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37094         code.
37095         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37097         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37098         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37099         conditional code.
37100         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37102         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37103         code.
37104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37105         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37106         conditional code.
37107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37108         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37109         code unconditional.
37110         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37111         conditional code.
37112         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37113         unconditional.
37114         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37115         conditional code.
37116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37117         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37118         unconditional.
37119         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37120         conditional code.
37121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37122         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37123         code unconditional.
37124         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37125         conditional code.
37126         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37127         unconditional.
37128         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37129         conditional code.
37130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37131         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37132         code unconditional.
37133         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37134         conditional code.
37135         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37136         unconditional.
37137         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37138         conditional code.
37139
37140 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37141
37142         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37143         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37144         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37145         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37146         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37147         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37148         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37149         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37150         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37151         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37152         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37153         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37154         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37155         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37156         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37157         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37158         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37159         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37160         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37161         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37162         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37163         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37164         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37165
37166 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37167
37168         * Versions.def: Add GLIBC_2.17.
37169         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37170         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37171         Introduce __libc_secure_getenv.
37172         * stdlib/Versions (2.17): Add secure_getenv
37173         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37174         * stdlib/secure-getenv.c: Rename __secure_getenv to
37175         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37176         symbol __secure_getenv for GLIBC_2.0.
37177         * stdlib/tst-secure-getenv.c: New.
37178         * stdlib/Makefile (tests): Add testcase.
37179         * manual/startup.texi (Environment Access): Document
37180         secure_getenv.
37181         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37182         __libc_secure_getenv.
37183         * inet/ruserpass.c (ruserpass): Likewise.
37184         * malloc/mtrace.c (mtrace): Likewise.
37185         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37186         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37187         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37188         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37189         HAVE_SECURE_GETENV.
37190         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37191         __secure_getenv to __libc_secure_getenv.
37192         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37194         Likewise.
37195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37196         Likewise.
37197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37199         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37204
37205 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37206
37207         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37208         (struct La_i86_retval): Likewise.
37209         (struct La_x86_64_regs): Likewise.
37210         (struct La_x86_64_retval): Likewise.
37211         (struct La_x32_regs): Likewise.
37212         (struct La_x32_retval): Likewise.
37213         (struct La_ppc32_regs): Likewise.
37214         (struct La_ppc32_retval): Likewise.
37215         (struct La_ppc64_regs): Likewise.
37216         (struct La_ppc64_retval): Likewise.
37217         (struct La_sh_regs): Likewise.
37218         (struct La_sh_retval): Likewise.
37219         (struct La_s390_32_regs): Likewise.
37220         (struct La_s390_32_retval): Likewise.
37221         (struct La_s390_64_regs): Likewise.
37222         (struct La_s390_64_retval): Likewise.
37223         (struct La_sparc32_regs): Likewise.
37224         (struct La_sparc32_retval): Likewise.
37225         (struct La_sparc64_regs): Likewise.
37226         (struct La_sparc64_retval): Likewise.
37227         (struct audit_ifaces): Remove architecture-specific pltenter and
37228         pltexit members.
37229         * sysdeps/i386/ldsodefs.h: New file.
37230         * sysdeps/powerpc/ldsodefs.h: Likewise.
37231         * sysdeps/s390/ldsodefs.h: Likewise.
37232         * sysdeps/sh/ldsodefs.h: Likewise.
37233         * sysdeps/sparc/ldsodefs.h: Likewise.
37234         * sysdeps/x86_64/ldsodefs.h: Likewise.
37235
37236 2012-07-25  Marek Polacek  <polacek@redhat.com>
37237
37238         [BZ #6808]
37239         * math/libm-test.inc (yn_test): Add another test.
37240         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37241         to ERANGE when the result is +-Inf.
37242         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37243         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37244         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37245         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37246
37247 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37248
37249         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37250         equal to 0.
37251         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37252         clock_t.
37253         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37254
37255 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37256
37257         * configure.in <sysdeps resolving>: Correct printing
37258         Implies_before.
37259         * configure: Regenerate.
37260
37261 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37262
37263         * math/w_ilogb.c: Include <limits.h>.
37264         * math/w_ilogbl.c: Likewise.
37265
37266 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37267
37268         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37269         va_copy.  Document allowing for unavailable va_copy only as
37270         pre-C99 compatibility.
37271         * manual/string.texi (Copying and Concatenation): Use va_copy
37272         instead of __va_copy in concat example.
37273
37274 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37275
37276         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37277         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37278         it if not null.
37279
37280         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37281         with O_NOLINK passed to __file_name_lookup.
37282
37283         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37284         with O_NOLINK passed to __file_name_lookup.
37285
37286         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37287         negative N or less than NGIDS.
37288
37289         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37290         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37291         enough.  Use memcpy instead of strncpy.
37292
37293 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37294
37295         * elf/Makefile (check-data): Remove.
37296         (localplt.data): New vpath directive.
37297         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37298         instead of $(check-data).
37299         * scripts/data/localplt-generic.data: Move to ...
37300         * sysdeps/generic/localplt.data: ... here.
37301         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37302         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37303         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37305         ... here.
37306         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37308         ... here.
37309         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37311         ... here.
37312         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37314         ... here.
37315         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37317         ... here.
37318         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37320         ... here.
37321
37322 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37323
37324         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37325         PPC32 and PPC64 files.
37326         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37327         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37328
37329 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37330
37331         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37332         __makecontext_ret to ...
37333         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37334         ... here and call exit if uc_link is NULL.  New file.
37335         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37336         __makecontext_ret.S.
37337         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37338         __makecontext_ret to ...
37339         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37340         ... here and call exit if uc_link is NULL.  New file.
37341         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37342         __makecontext_ret.S.
37343
37344 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37345
37346         * elf/elf.h (R_390_IRELATIVE): New definition.
37347         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37348         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37349         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37350         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37351         (elf_machine_lazy_rel): Likewise.
37352         * sysdeps/s390/dl-irel.h: New file.
37353         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37354         * sysdeps/s390/s390-64/memset.S: New asm code.
37355         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37356         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37357         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37358         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37359         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37360         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37361         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37362         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37363         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37364         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37365         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37366         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37367         * sysdeps/s390/s390-32/memset.S: New asm code.
37368         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37369
37370 2012-07-17  Marek Polacek  <polacek@redhat.com>
37371
37372         [BZ #14349]
37373         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37374         * sysdeps/s390/s390-64/configure.in: Likewise.
37375         * sysdeps/sparc/configure.in: Likewise.
37376         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37377         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37378         * sysdeps/i386/configure.in: Likewise.
37379         * sysdeps/x86_64/configure.in: Likewise.
37380         * sysdeps/sh/configure.in: Likewise.
37381         * sysdeps/s390/s390-32/configure: Regenerated.
37382         * sysdeps/s390/s390-64/configure: Likewise.
37383         * sysdeps/x86_64/configure: Likewise.
37384         * sysdeps/sh/configure: Likewise.
37385         * sysdeps/powerpc/powerpc64/configure: Likewise.
37386         * sysdeps/powerpc/powerpc32/configure: Likewise.
37387         * sysdeps/sparc/configure: Likwise.
37388         * sysdeps/i386/configure: Likewise.
37389
37390         * elf/dl-open.c: Comment fixes.
37391
37392 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37393
37394         * Makefile [CXX] (check-data): Remove.
37395         [CXX] (c++-types.data): New vpath directive.
37396         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37397         vpath.  Do not allow for C++ type data being missing.
37398         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37399         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37400         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37401         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37402         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37403         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37404         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37406         ... here.
37407         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37409         ... here.
37410         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37412         ... here.
37413         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37415         ... here.
37416         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37418         ... here.
37419         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37421         ... here.
37422         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37424         ... here.
37425         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37427
37428         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37429         definitions to architecture-specific files.
37430         (TLS_IE): Likewise.
37431         (TLS_LD): Likewise.
37432         (TLS_GD): Likewise.
37433         * sysdeps/i386/tls-macros.h: New file.
37434         * sysdeps/powerpc/tls-macros.h: Likewise.
37435         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37436         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37437         * sysdeps/sh/tls-macros.h: Likewise.
37438         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37439         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37440         * sysdeps/x86_64/tls-macros.h: Likewise.
37441
37442 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37443
37444         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37445         zero value for regular exit case.
37446
37447         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37448         (__start_context): Preserve zero value for regular exit case.
37449
37450 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37451             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37452
37453         * manual/setjmp.texi (setcontext): Clarify normal process
37454         termination when uc_link is the null pointer.
37455         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37456         exit call.
37457
37458 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37459
37460         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37461         preprocessor.  Test for each exception mask separately.
37462
37463 2012-07-16  Andreas Jaeger  <aj@suse.de>
37464
37465         * po/ru.po: Update from translation team.
37466
37467 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37468
37469         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37470         equal to 0.
37471         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37472         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37473         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37474         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37475         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37476
37477 2012-07-13  Andreas Jaeger  <aj@suse.de>
37478
37479         * po/fr.po: Update from translation team.
37480
37481 2012-07-12  Marek Polacek  <polacek@redhat.com>
37482
37483         [BZ #14173]
37484         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37485         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37486         loop condition.
37487
37488 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37489
37490         [BZ #13717]
37491         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37492         Change to 2.4.1 where previously 2.4.0.
37493         * sysdeps/unix/sysv/linux/configure: Regenerated.
37494         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37495         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37496         version.
37497         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37498         (__ASSUME_AT_CLKTCK): Remove.
37499         (__ASSUME_AT_PAGESIZE): Likewise.
37500         (__ASSUME_AT_XID): Likewise.
37501         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37502         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37503         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37504         unconditionally.
37505         (HAVE_AUX_PAGESIZE): Likewise.
37506         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37507         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37508         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37509
37510 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37511
37512         [BZ #14307]
37513         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37514         the temporary buffer used to invoke __gethostbyname2_r,
37515         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37516         host_data / struct gaih_addrtuple.
37517         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37518         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37519         header file nss/nsswitch.h.
37520         * nss/nsswitch.h (global scope): Add definition of implementation
37521         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37522         resolv/nss_dns/dns-host.c).
37523
37524 2012-07-11  Andreas Jaeger  <aj@suse.de>
37525
37526         * po/fr.po: Update from translation team.
37527
37528         * po/sv.po: Update from translation team
37529         * po/fr.po: Another update from translation team.
37530
37531 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37532
37533         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37534         for subnormals or multiply small sinh result by itself.
37535         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37537
37538 2012-07-11  David S. Miller  <davem@davemloft.net>
37539
37540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37541
37542 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37543
37544         [BZ #14347]
37545         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37546         (INTERNAL_MARK): Shift it here.
37547
37548 2012-07-10  Marek Polacek  <polacek@redhat.com>
37549
37550         [BZ #14151]
37551         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37552         libc_cv_asm_global_directive with .globl.
37553         * configure: Regenerated.
37554         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37555         with .globl.
37556         * sysdeps/i386/configure: Regenerated.
37557         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37558         with .globl.
37559         * sysdeps/x86_64/configure: Regenerated.
37560         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37561         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37562         * elf/tst-unique2mod2.c: Likewise.
37563         * elf/tst-unique2mod1.c: Likewise.
37564         * elf/tst-unique1mod2.c: Likewise.
37565         * elf/tst-unique1mod1.c: Likewise.
37566         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37567         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37568         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37569         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37570         * sysdeps/mach/sysdep.h: Likewise.
37571         * sysdeps/i386/sysdep.h: Likewise.
37572         * sysdeps/i386/i386-mcount.S: Likewise.
37573         * sysdeps/x86_64/_mcount.S: Likewise.
37574         * sysdeps/x86_64/sysdep.h: Likewise.
37575         * sysdeps/sh/_mcount.S: Likewise.
37576         * sysdeps/sh/sysdep.h: Likewise.
37577         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37578         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37579         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37580         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37581         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37582         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37583         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37584         * locale/localeinfo.h: Likewise.
37585         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37586         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37587
37588 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37589
37590         [BZ #14336]
37591         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37592         system".
37593         * manual/message.texi (The Uniforum approach): Likewise.
37594         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37595         (glibc iconv Implementation): Likewise.
37596
37597 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37598
37599         [BZ #14337]
37600         * math/s_clog.c (__clog): Avoid scaling a value down where that
37601         could result in underflow.
37602         * math/s_clog10.c (__clog10): Likewise.
37603         * math/s_clog10f.c (__clog10f): Likewise.
37604         * math/s_clog10l.c (__clog10l): Likewise.
37605         * math/s_clogf.c (__clogf): Likewise.
37606         * math/s_clogl.c (__clogl): Likewise.
37607         * math/libm-test.inc (clog_test): Add more tests.
37608         (clog10_test): Likewise.
37609         * sysdeps/i386/fpu/libm-test-ulps: Update.
37610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37611
37612 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37613
37614         [BZ #14283]
37615         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37616         by 7 not 8 to examine high bit of fractional part.
37617
37618         [BZ #14042]
37619         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37620         for call to __mcount_internal.
37621         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37622         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37623         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37624
37625 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37626
37627         [BZ #14154]
37628         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37629         approximation for values within 0x1p-13f of an odd multiple of
37630         pi/4.
37631         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37632         exception.  Add more tests.
37633         * sysdeps/i386/fpu/libm-test-ulps: Update.
37634
37635         [BZ #6778]
37636         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37637         inputs and return -1 for them.  Do not check for +Inf in case not
37638         reachable for +Inf.
37639         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37640         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37641         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37642         and return -1 for them.  Do not check for +Inf in case not
37643         reachable for +Inf.
37644         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37645         define.
37646         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37647         and return -1 for them.  Do not check for +Inf in case not
37648         reachable for +Inf.
37649         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37650         spurious underflow.
37651         * sysdeps/i386/fpu/libm-test-ulps: Update.
37652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37653
37654 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37655
37656         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37657
37658 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37659
37660         [BZ #14157]
37661         [BZ #14331]
37662         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37663         could result in spurious underflow.  Scale down values above
37664         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37665         * math/s_csqrtf.c (__csqrtf): Likewise.
37666         * math/s_csqrtl.c (__csqrtl): Likewise.
37667         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37668         spurious underflow.
37669         * sysdeps/i386/fpu/libm-test-ulps: Update.
37670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37671
37672 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37673
37674         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37675         xopen-msg.sed.
37676         * catgets/xopen-msg.awk: New file.
37677         * catgets/xopen-msg.sed: Removed.
37678
37679         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37680         po2text.sed.
37681         * intl/po2test.awk: New file.
37682         * intl/po2test.sed: Removed.
37683
37684 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37685
37686         [BZ #14328]
37687         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37688         or multiply small sinh result by itself.
37689         * math/s_ctanf.c (__ctanf): Likewise.
37690         * math/s_ctanh.c (__ctanh): Likewise.
37691         * math/s_ctanhf.c (__ctanhf): Likewise.
37692         * math/s_ctanhl.c (__ctanhl): Likewise.
37693         * math/s_ctanl.c (__ctanl): Likewise.
37694         * math/libm-test.inc (ctan_test_tonearest): New function.
37695         (ctan_test_towardzero): Likewise.
37696         (ctan_test_downward): Likewise.
37697         (ctan_test_upward): Likewise.
37698         (ctanh_test_tonearest): Likewise.
37699         (ctanh_test_towardzero): Likewise.
37700         (ctanh_test_downward): Likewise.
37701         (ctanh_test_upward): Likewise.
37702         (main): Call these new functions.
37703         * sysdeps/i386/fpu/libm-test-ulps: Update.
37704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37705
37706 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37707
37708         * .gitignore: Delete /ports entry.
37709
37710 2012-07-03  Andreas Jaeger  <aj@suse.de>
37711
37712         * po/bg.po: Update from translation team.
37713         * po/cs.po: Likewise.
37714         * po/de.po: Likewise.
37715         * po/hr.po: Likewise.
37716         * po/nl.pl: Likewise.
37717         * po/pl.po: Likewise.
37718         * po/vi.po: Likewise.
37719
37720 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37721
37722         * Makeconfig [!+link] (+link-before-libc): New variable.
37723         [!+link] (+link-after-libc): Likewise.
37724         [!+link] (+link-tests): Likewise.
37725         [!+link] (+link): Define in terms of $(+link-before-libc) and
37726         $(+link-after-libc).
37727         [!+link-static] (+link-static-before-libc): New variable.
37728         [!+link-static] (+link-static-after-libc): Likewise.
37729         [!+link-static] (+link-static-tests): Likewise.
37730         [!+link-static] (+link-static): Define in terms of
37731         $(+link-static-before-libc) and $(+link-static-after-libc).
37732         [build-shared] (link-libc-before-gnulib): New variable.
37733         [build-shared] (link-libc-tests): Likewise.
37734         [build-shared] (link-libc): Define in terms of
37735         $(link-libc-before-gnulib).
37736         [!build-shared] (link-libc-tests): New variable.
37737         (link-libc-static-tests): New variable.
37738         [!gnulib] (gnulib-arch): New variable.
37739         [!gnulib] (gnulib-tests): Likewise.
37740         [!gnulib] (static-gnulib-arch): Likewise.
37741         [!gnulib] (static-gnulib-tests): Likewise.
37742         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37743         Define with "=" instead of ":=".
37744         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37745         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37746         * Rules (binaries-all-notests): New variable.
37747         (binaries-all-tests): Likewise.
37748         (binaries-static-notests): Likewise.
37749         (binaries-static-tests): Likewise.
37750         (binaries-all): Define using $(binaries-all-notests) and
37751         $(binaries-all-tests).
37752         (binaries-static): Define using $(binaries-static-notests) and
37753         $(binaries-static-tests).
37754         (binaries-shared-tests): New variable.
37755         (binaries-shared-notests): Likewise.
37756         (binaries-shared): Remove variable.
37757         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37758         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37759         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37760         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37761         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37762         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37763         * elf/Makefile (sln-modules): New variable.
37764         (extra-objs): Add $(sln-modules:=.o).
37765         (ldconfig-modules): Add static-stubs.
37766         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37767         * elf/static-stubs.c: New file.
37768
37769         [BZ #14283]
37770         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37771         by 7 not 8 to examine high bit of fractional part.  Use volatile
37772         variables when splitting into final array of floats if
37773         __FLT_EVAL_METHOD__ != 0.
37774         * math/libm-test.inc (cos_test): Add another test.
37775         (sin_test): Likewise.
37776         * sysdeps/i386/fpu/libm-test-ulps: Update.
37777
37778         [BZ #14273]
37779         * math/libm-test.inc (cosh_test): Add more tests.
37780
37781         * version.h (RELEASE): Set to "development".
37782         (VERSION): Set to "2.16.90".
37783
37784 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37785
37786         * NEWS: Update copyright. Remove last-updated date.
37787         Mention math library bug fixes and timezone data changes.
37788         * README: Mention GNU/Hurd, x32, and HPPA support status.
37789
37790 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37791
37792         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37793
37794 2012-06-27  Andreas Jaeger  <aj@suse.de>
37795
37796         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37797
37798 2012-06-25  Andreas Jaeger  <aj@suse.de>
37799
37800         * sysdeps/s390/fpu/libm-test-ulps: Update.
37801
37802 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37803             Thomas Schwinge  <thomas@codesourcery.com>
37804
37805         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37806         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37807         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37808         fanotify_mark.
37809
37810 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37811
37812         * sysdeps/mach/start.c: Remove file.
37813         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37814         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37815         * sysdeps/sh/init-first.c: Likewise.
37816
37817         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37818         registers for frame unwinding purposes, add CFI directives.
37819         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37820         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37821         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37822         Likewise.
37823
37824         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37825         __fortify_fail returning.
37826         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37827
37828         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37829         sysdeps/sh/____longjmp_chk.S.
37830         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37831         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37832         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37833         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37834
37835         * sysdeps/sh/abort-instr.h: New file.
37836         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37837         process in case exit returns.
37838
37839         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37840         initialize the GOT register before use.
37841
37842         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37843         calculation of ARGC > 4.
37844
37845         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37846         meaningful names to some local labels.
37847
37848 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37849             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37850
37851         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37852         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37853         (__arch_compare_and_exchange_val_16_acq): Likewise.
37854         (__arch_compare_and_exchange_val_32_acq): Likewise.
37855         (atomic_exchange_and_add): Fix gUSA sequence.
37856         (atomic_add): Likewise.
37857         (atomic_add_negative): Likewise.
37858         (atomic_add_zero): Likewise.
37859         (atomic_bit_test_set): Likewise.
37860
37861 2012-06-22  Andreas Schwab  <schwab@redhat.com>
37862
37863         [BZ #13579]
37864         * include/link.h (struct link_map): Add l_free_initfini.
37865         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37866         l_initfini.
37867         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37868         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37869         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37870         set.
37871
37872 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
37873
37874         * configure.in: Use AC_LANG_SOURCE.
37875         * configure: Regenerate.
37876
37877 2012-06-22  Roland McGrath  <roland@hack.frob.com>
37878
37879         * configure.in (libc_cv_localstatedir): New substituted variable.
37880         * configure: Regenerated.
37881         * config.make.in (localstatedir): New variable, substituted from
37882         libc_cv_localstatedir.
37883         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37884         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37885         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37886         * sysdeps/gnu/configure: Regenerated.
37887
37888 2012-06-21  Jeff Law  <law@redhat.com>
37889
37890         [BZ #14277]
37891         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37892         free.  Simplify list management for _LIBC case.
37893
37894 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
37895
37896         [BZ #14273]
37897         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37898         Clear sign bit of 64-bit integer value before comparing against
37899         overflow value.
37900
37901         * sysdeps/mach/configure: Regenerated.
37902
37903 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
37904
37905         [BZ #14278]
37906         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37907
37908 2012-06-21  Jeff Law  <law@redhat.com>
37909
37910         [BZ #13882]
37911         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
37912         uint16_t for elements in the "seen" array to avoid char overflows.
37913         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37914         * elf/dl-open.c (dl_open_worker): Likewise.
37915
37916 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
37917
37918         * scripts/list-sources.sh: Scan PORTS for translations.
37919         * po/libc.pot: Regenerated.
37920
37921 2012-06-21  Andreas Jaeger  <aj@suse.de>
37922
37923         [BZ #12194]
37924         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37925         warning.
37926         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37927         * bits/byteswap-16.h (__bswap_16): Likewise.
37928         * bits/byteswap.h (__bswap_constant_16): Likewise.
37929
37930 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
37931
37932         [BZ #14117]
37933         * sysdeps/i386/fpu_control.h: Removed.
37934         * sysdeps/x86_64/fpu_control.h: Moved to ...
37935         * sysdeps/x86/fpu_control.h: Here.
37936
37937         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37938         (_FPU_SETCW): Likewise.
37939
37940 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
37941
37942         [BZ #14117]
37943         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37944         * sysdeps/x86/fpu/bits/mathinline.h: This.
37945         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37946
37947         [BZ #14050]
37948         [BZ #14117]
37949         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37950         functions if __x86_64__ is defined.
37951
37952 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
37953
37954         * string/endian.h: Add !__ASSEMBLER__ condition for including
37955         conversion interfaces.
37956
37957 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
37958
37959         [BZ #14241]
37960         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37961         of ABS(x) in calculating zero to negative powers other than odd
37962         integers.
37963         * math/libm-test.inc (pow_test): Add more tests.
37964
37965 2012-06-15  Andreas Jaeger  <aj@suse.de>
37966
37967         * manual/contrib.texi (Contributors): Update entry of Liubov
37968         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37969         Machado Filho.
37970
37971 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
37972
37973         * string/string.h: Add __wur to GNU version of strerror_r.
37974
37975 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
37976
37977         [BZ #14229]
37978         * string/Makefile (tests): Add tst-strtok_r.
37979         * string/tst-strtok_r.c: New file.
37980         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37981         RAX_LP/RDX_LP on SAVE_PTR.
37982
37983 2012-06-14  Roland McGrath  <roland@hack.frob.com>
37984
37985         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37986
37987 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
37988
37989         * libm_test.inc (csqrt_test): Allow more spurious underflow
37990         exceptions.
37991         (j0_test): Likewise.
37992         (j1_test): Likewise.
37993         (y0_test): Likewise.
37994         (y1_test): Likewise.
37995
37996 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
37997
37998         * po/Makefile (libc.pot): Use UTF-8 charset.
37999
38000 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38001
38002         [BZ #14210]
38003         Suppress sign-conversion warning from FD_SET.
38004         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38005         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38006         not unsigned long int.
38007         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38008
38009 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38010
38011         [BZ #14050]
38012         [BZ #14117]
38013         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38014         __extern_always_inline instead of __extern_inline.
38015         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38016         (__signbit): Likewise.
38017         (__signbitl): Support C++ namespace.
38018         (lrintf): New inline function.
38019         (lrint): Likewise.
38020         (llrintf): Likewise.
38021         (llrint): Likewise.
38022         (fmaxf): Likewise.
38023         (fmax): Likewise.
38024         (fminf): Likewise.
38025         (fmin): Likewise.
38026         (rint): Likewise.
38027         (rintf): Likewise.
38028         (ceil): Likewise.
38029         (ceilf): Likewise.
38030         (floor): Likewise.
38031         (floorf): Likewise.
38032         (nearbyint): Likewise.
38033         (nearbyintf): Likewise.
38034
38035 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38036
38037         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38038         non-default versions.
38039
38040 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38041
38042         [BZ #14218]
38043         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38044
38045 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38046
38047         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38048         (FE_UPWARD, FE_DOWNWARD): Don't define.
38049         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38050         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38051
38052         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38053         reading it.
38054         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38055         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38056
38057 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38058
38059         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38060         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38061         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38062         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38063
38064 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38065
38066         [BZ #14117]
38067         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38068         * sysdeps/i386/fpu/Implies: New file.
38069         * sysdeps/x86_64/fpu/Implies: Likewise.
38070         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38071         * sysdeps/x86/fpu/bits/fenv.h: This.
38072
38073         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38074         __SSE_MATH__.
38075
38076 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38077
38078         [BZ #14134]
38079         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38080         character 0xffff that matches the last element of the
38081         conversion table.
38082
38083 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38084
38085         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38086         fmodl commit.
38087
38088 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38089
38090         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38091         values higher than 25.6283.
38092
38093 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38094
38095         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38096         subnormal exponent extraction and add some __builtin_expect.
38097         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38098         Fix for subnormal mantissa calculation.
38099
38100 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38101
38102         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38103         cpu2 is -1 and errno is not ENOSYS.
38104
38105 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38106
38107         [BZ #14117]
38108         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38109         * sysdeps/x86/bits/string.h: This.
38110         * sysdeps/x86_64/bits/string.h: Removed.
38111
38112         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38113         if not compiling for x86-64, but compiling for >= i486.
38114
38115         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38116         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38117
38118         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38119         New macro from Linux kernel 3.4.0.
38120         (FP_XSTATE_MAGIC2): Likewise.
38121         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38122         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38123         (struct _fpx_sw_bytes): New struct.
38124         (struct _xsave_hdr): Likewise.
38125         (struct _ymmh_state): Likewise.
38126         (struct _xstate): Likewise.
38127
38128         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38129         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38130         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38131         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38132         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38133         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38134
38135         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38136         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38137         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38138         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38139         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38140         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38141
38142 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38143
38144         [BZ #13743]
38145         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38146         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38147         (sysdep_headers): Include sys/platform/ppc.h.
38148         * sysdeps/powerpc/test-gettimebase.c: Test for
38149         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38150         * manual/Makefile (appendices): Include platform.texi.
38151         * manual/contrib.texi (Contributors): Update @node pointers.
38152         * manual/maint.texi (Maintenance): Likewise.
38153         (Platform): New node.
38154         * manual/platform.texi: New file.  Document the new features.
38155
38156 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38157             Jakub Jelinek  <jakub@redhat.com>
38158
38159         [BZ #14188]
38160         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38161         where __builtin_expect is unavailable.
38162
38163 2012-06-03  David S. Miller  <davem@davemloft.net>
38164
38165         * stdlib/longlong.h: Updated from GCC.
38166
38167 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38168
38169         [BZ #14042]
38170         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38171         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38172         __mcount_internal.
38173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38174         (GLIBC_2.16): Likewise.
38175
38176 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38177
38178         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38179
38180 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38181
38182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38183         (default-abi): New variable.
38184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38185         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38186         variable.
38187         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38188         Likewise.
38189         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38190         Likewise.
38191         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38192         Likewise.
38193
38194         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38195         definition.  Document in comment.
38196
38197 2012-06-01  David S. Miller  <davem@davemloft.net>
38198
38199         * stdlib/longlong.h: Updated from GCC.
38200
38201 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38202
38203         [BZ #14117]
38204         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38205         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38206         sys/debugreg.h sys/io.h here.
38207         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38208         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38209         sys/io.h.
38210         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38211         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38212         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38213         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38214         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38215         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38216
38217         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38218         Define only if __x86_64__ is defined.
38219
38220 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38221
38222         [BZ #14048]
38223         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38224         Use int64_t for variable i.
38225         * math/libm-test.inc (fmod_test): Add more tests.
38226
38227         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38228         z computation is not scheduled after fetestexcept.
38229         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38230         Use math_force_eval instead of asm to ensure calculation scheduled
38231         before exception test.
38232         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38233         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38234
38235 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38236
38237         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38238         computation is not scheduled after fetestexcept.
38239
38240 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38241
38242         [BZ #14117]
38243         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38244         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38245
38246 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38247
38248         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38249         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38250
38251 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38252
38253         [BZ #14117]
38254         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38255         <bits/wordsize.h>.
38256         (__WCHAR_MIN): Support __WORDSIZE == 64.
38257         (__WCHAR_MAX): Likewise.
38258
38259         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38260         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38261
38262         [BZ #14183]
38263         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38264         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38265
38266         [BZ #14117]
38267         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38268         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38269
38270         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38271         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38272
38273         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38274         Defined to 1 if __x86_64__ isn't defined.
38275         (_STAT_VER_LINUX_OLD): New.
38276         (st_atime): Remove duplicate.
38277         (st_mtime): Likewise.
38278         (st_ctime): Likewise.
38279
38280 2012-05-31  David S. Miller  <davem@davemloft.net>
38281
38282         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38283         entries.
38284
38285 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38286
38287         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38288         gen-libm-test.pl.
38289
38290         [BZ #14132]
38291         * elf/dl-reloc.c: Include <_itoa.h>.
38292         (_dl_reloc_bad_type): Remove use of INTUSE.
38293         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38294         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38295         * stdio-common/psiginfo.c (psiginfo): Likewise.
38296         * stdio-common/psignal.c (psignal): Likewise.
38297         * string/strsignal.c (strsignal): Likewise.
38298         * include/signal.h (_sys_siglist): Declare hidden proto.
38299         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38300         INTVARDEF with libc_hidden_data_def.
38301         * stdio-common/itoa-udigits.c: Likewise.
38302         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38303         (_itoa_lower_digits_internal): Remove declaration.
38304         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38305         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38306         (_sys_sigabbrev_internal): Remove aliases.
38307         (_sys_siglist): Define hidden alias.
38308
38309 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38310
38311         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38312         bits/sysctl.h.
38313
38314 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38315
38316         [BZ #14117]
38317         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38318         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38319
38320         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38321         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38322         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38323         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38324         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38325         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38326
38327         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38328         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38329         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38330
38331         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38332         with __addr.
38333         (insw): Likewise.
38334         (insl): Likewise.
38335         (outsb): Likewise.
38336         (outsw): Likewise.
38337         (outsl): Likewise.
38338
38339         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38340         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38341         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38342
38343         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38344         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38345         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38346         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38347         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38348         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38349
38350         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38351         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38352
38353         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38354         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38355
38356         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38357         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38358         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38359
38360         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38361         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38362         to ...
38363         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38364
38365         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38366         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38367         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38368
38369         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38370         for x86-64.
38371         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38372
38373 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38374
38375         * math/math.h (M_El): Use two more decimal places.
38376         (M_LOG2El): Likewise.
38377         (M_LOG10El): Likewise.
38378         (M_LN2l): Likewise.
38379         (M_LN10l): Likewise.
38380         (M_PIl): Likewise.
38381         (M_PI_2l): Likewise.
38382         (M_PI_4l): Likewise.
38383         (M_1_PIl): Likewise.
38384         (M_2_PIl): Likewise.
38385         (M_2_SQRTPIl): Likewise.
38386         (M_SQRT2l): Likewise.
38387         (M_SQRT1_2l): Likewise.
38388
38389 2012-05-31  David S. Miller  <davem@davemloft.net>
38390
38391         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38392         values between float registers.
38393         * sysdeps/sparc/sparc64/memset.S: Likewise.
38394         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38395
38396 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38397
38398         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38399         -D_FORTIFY_SOURCE=1.
38400         (CPPFLAGS-tst-longjmp_chk.c): Define.
38401         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38402         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38403         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38404         CFLAGS-tst-wchar-h.c.
38405
38406 2012-05-31  Marek Polacek  <polacek@redhat.com>
38407
38408         [BZ #14132]
38409         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38410         __endmntent_internal): Remove declaration.
38411         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38412         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38413         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38414
38415 2012-05-30  David S. Miller  <davem@davemloft.net>
38416
38417         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38418         (___Q_simulate_exceptions): Use real FP ops rather than writing
38419         into the %fsr.
38420         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38421         Likewise.
38422
38423 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38424
38425         [BZ #14117]
38426         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38427         * sysdeps/x86/bits/xtitypes.h: This.
38428
38429         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38430         * sysdeps/x86/bits/wordsize.h: This.
38431
38432         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38433         * sysdeps/x86/bits/huge_vall.h: This.
38434
38435         * sysdeps/i386/bits/select.h: Removed.
38436         * sysdeps/x86_64/bits/select.h: Renamed to ...
38437         * sysdeps/x86/bits/select.h: This.
38438
38439         * sysdeps/i386/bits/setjmp.h: Removed.
38440         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38441         * sysdeps/x86/bits/setjmp.h: This.
38442
38443         * sysdeps/i386/bits/mathdef.h: Removed.
38444         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38445         * sysdeps/x86/bits/mathdef.h: This.
38446
38447 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38448
38449         [BZ #14132]
38450         * include/sys/socket.h (__connect_internal)
38451         (__libc_sa_len_internal): Remove declaration.
38452         (__connect, __libc_sa_len): Declare hidden_proto.
38453         (SA_LEN): Remove use of INTUSE.
38454         * socket/connect.c: Add libc_hidden_def.
38455         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38456         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38457         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38458         alias.
38459         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38460         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38461         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38462         of adding _internal alias.
38463
38464 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38465
38466         [BZ #14117]
38467         * sysdeps/i386/bits/link.h: Removed.
38468         * sysdeps/i386/bits/linkmap.h: Likewise.
38469         * sysdeps/x86_64/bits/link.h: Renamed to ...
38470         * sysdeps/x86/bits/link.h: This.
38471         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38472         * sysdeps/x86/bits/linkmap.h: This.
38473
38474         * sysdeps/i386/bits/endian.h: Removed.
38475         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38476         * sysdeps/x86/bits/endian.h: This.
38477
38478         * sysdeps/i386/bits/byteswap.h: Removed.
38479         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38480         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38481         * sysdeps/x86/bits/byteswap.h: This.
38482         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38483         * sysdeps/x86/bits/byteswap-16.h: This.
38484         * sysdeps/i386/Implies: Add x86.
38485         * sysdeps/x86_64/Implies: Likewise.
38486
38487 2012-05-30  David S. Miller  <davem@davemloft.net>
38488
38489         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38490         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38491         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38492         (FP_TRAPPING_EXCEPTIONS): Define.
38493         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38494         (FP_TRAPPING_EXCEPTIONS): Define.
38495         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38496         subnormals only when inexact has been signalled or underflow
38497         exceptions are enabled.
38498         (_FP_PACK_CANONICAL): Likewise.
38499
38500 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38501
38502         [BZ #14183]
38503         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38504         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38505
38506 2012-05-30  Richard Henderson  <rth@twiddle.net>
38507
38508         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38509         with #ifndef NOT_IN_libc.
38510
38511         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38512         marked to avoid plt entry.
38513
38514 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38515
38516         [BZ #14112]
38517         * Makeconfig (default-abi): New macro.
38518         (abi-includes): Likewise.
38519         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38520         $(abi-$(default-abi)-lib-soname) for soname if defined.
38521         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38522         abi-variants.
38523         * Makefile (installed-stubs): Likewise.
38524         * include/stubs-biarch.h: Removed.
38525         * scripts/lib-names.awk: Only handle one library at a time.
38526         * scripts/soversions.awk: Remove WORDSIZE support.
38527         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38528         entries.
38529         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38530         Removed.
38531         (syscall-list-default-condition): Likewise.
38532         (syscall-list-default-condition): Likewise.
38533         (syscall-list-includes): Likewise.
38534         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38535         syscall-list-* with abi-*.  Handle undefined abi-variants.
38536         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38537         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38538         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38539         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38540         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38541         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38542         Removed.
38543         (syscall-list-32-options): Likewise.
38544         (syscall-list-32-condition): Likewise.
38545         (syscall-list-64-options): Likewise.
38546         (syscall-list-64-condition): Likewise.
38547         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38548         macro.
38549         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38550         Renamed to ...
38551         (abi-*): This.
38552         (abi-64-ld-soname): New macro.
38553         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38554         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38555         Renamed to ...
38556         (abi-*): This.
38557         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38558         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38559
38560 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38561
38562         * sysdeps/unix/sysv/linux/kernel-features.h
38563         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38564         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38565         include <kernel-features.h>.
38566         [!__NR_ftruncate64]: Remove conditional code.
38567         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38568         [__NR_ftruncate64]: Make code unconditional.
38569         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38570         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38571         include <kernel-features.h>.
38572         [!__NR_ftruncate64]: Remove conditional code.
38573         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38574         [__NR_ftruncate64]: Make code unconditional.
38575         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38577         include <kernel-features.h>.
38578         [!__NR_ftruncate64]: Remove conditional code.
38579         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38580         [__NR_ftruncate64]: Make code unconditional.
38581         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38583         include <kernel-features.h>.
38584         [!__NR_ftruncate64]: Remove conditional code.
38585         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38586         [__NR_ftruncate64]: Make code unconditional.
38587         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38588
38589         * configure.in (libc_cv_fpie): Weaken to a compile test using
38590         LIBC_TRY_CC_OPTION.
38591         * configure: Regenerated.
38592
38593 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38594
38595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38599         Refreshed.
38600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38606         Refreshed.
38607
38608 2012-05-27  David S. Miller  <davem@davemloft.net>
38609
38610         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38611         (___Q_zero): New.
38612         (__Q_simulate_exceptions): Return void.  Change to simulate
38613         exceptions by writing into the %fsr.
38614         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38615         (__Qp_handle_exceptions): Likewise.
38616         (numbers): Delete.
38617         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38618         __Qp_handle_exceptions.
38619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38620         __Qp_handle_exceptions.
38621         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38622         as unused and give dummy FP_RND_NEAREST initializer.
38623         (FP_INHIBIT_RESULTS): Define.
38624         (___Q_simulate_exceptions): Update declaration.
38625         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38626         formatting.
38627         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38628         as unused and give dummy FP_RND_NEAREST initializer.
38629         (__Qp_handle_exceptions): Update declaration.
38630         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38631         formatting.
38632
38633 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38634
38635         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38636         the temporary FPU control word.
38637         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38638         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38639         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38640         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38641         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38642         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38643         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38644         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38645         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38646         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38647         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38648
38649 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38650
38651         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38652         fields.
38653
38654 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38655
38656         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38657         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38658         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38659         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38660         Likewise.
38661         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38662         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38663         Likewise.
38664
38665 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38666
38667         * po/h.po: Update from translation team.
38668
38669 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38670
38671         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38672
38673         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38674         handling of denormals.
38675         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38676         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38677         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38678         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38679         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38680         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38681         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38682         Likewise.
38683
38684 2012-05-26  Marek Polacek  <polacek@redhat.com>
38685
38686         [BZ #14152]
38687         * math/libm-test.inc (fma_test): Don't always expect underflow
38688         exception.
38689
38690 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38691
38692         [BZ #12416]
38693         * elf/tst-execstack.c: Include stackinfo.h.
38694         (do_test): Adjust test case to ensure that pthread_getattr_np
38695         behaviour remains the same after marking stack executable.
38696
38697 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38698
38699         * sysdeps/unix/sysv/linux/kernel-features.h
38700         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38701         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38702         kernel-features.h.
38703         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38704         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38705         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38706         kernel-features.h.
38707         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38708         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38709
38710 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38711
38712         * configure.in: Define the default includes to being none.
38713         * configure: Regenerated.
38714
38715 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38716
38717         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38718         * sysdeps/x86_64/setjmp.S: Likewise.
38719         * sysdeps/i386/bsd-setjmp.S: Likewise.
38720         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38721         * sysdeps/i386/setjmp.S: Likewise.
38722         * sysdeps/i386/__longjmp.S: Likewise.
38723         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38724         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38725
38726         * include/stap-probe.h: New file.
38727         * configure.in: Handle --enable-systemtap.
38728         * configure: Regenerated.
38729         * config.h.in (USE_STAP_PROBE): New #undef.
38730         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38731         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38732         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38733
38734 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38735
38736         [BZ #13717]
38737         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38738         to 2.4.0 where earlier.
38739         * sysdeps/unix/sysv/linux/configure: Regenerated.
38740         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
38749         [__ASSUME_32BITUIDS]: Make code unconditional.
38750         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38751         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38752         <kernel-features.h>.
38753         [__ASSUME_32BITUIDS]: Make code unconditional.
38754         [!__ASSUME_32BITUIDS]: Remove conditional code.
38755         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38756         <kernel-features.h>.
38757         [__ASSUME_32BITUIDS]: Make code unconditional.
38758         [!__ASSUME_32BITUIDS]: Remove conditional code.
38759         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38760         <kernel-features.h>.
38761         [__ASSUME_32BITUIDS]: Make code unconditional.
38762         [!__ASSUME_32BITUIDS]: Remove conditional code.
38763         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38764         <kernel-features.h>.
38765         [__ASSUME_32BITUIDS]: Make code unconditional.
38766         [!__ASSUME_32BITUIDS]: Remove conditional code.
38767         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38768         <kernel-features.h>.
38769         [__ASSUME_32BITUIDS]: Make code unconditional.
38770         [!__ASSUME_32BITUIDS]: Remove conditional code.
38771         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38772         <kernel-features.h>.
38773         [__ASSUME_32BITUIDS]: Make code unconditional.
38774         [!__ASSUME_32BITUIDS]: Remove conditional code.
38775         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38776         <kernel-features.h>.
38777         [__ASSUME_32BITUIDS]: Make code unconditional.
38778         [!__ASSUME_32BITUIDS]: Remove conditional code.
38779         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38780         <kernel-features.h>.
38781         [__ASSUME_32BITUIDS]: Make code unconditional.
38782         [!__ASSUME_32BITUIDS]: Remove conditional code.
38783         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38784         <kernel-features.h>.
38785         [__ASSUME_32BITUIDS]: Make code unconditional.
38786         [!__ASSUME_32BITUIDS]: Remove conditional code.
38787         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38788         <kernel-features.h>.
38789         [__ASSUME_32BITUIDS]: Make code unconditional.
38790         [!__ASSUME_32BITUIDS]: Remove conditional code.
38791         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38792         <kernel-features.h>.
38793         [__NR_setresgid] (__setresgid): Do not declare.
38794         [__ASSUME_32BITUIDS]: Make code unconditional.
38795         [!__ASSUME_32BITUIDS]: Remove conditional code.
38796         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38797         <kernel-features.h>.
38798         [__NR_setresuid] (__setresuid): Do not declare.
38799         [__ASSUME_32BITUIDS]: Make code unconditional.
38800         [!__ASSUME_32BITUIDS]: Remove conditional code.
38801         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38802         <kernel-features.h>.
38803         [__ASSUME_32BITUIDS]: Make code unconditional.
38804         [!__ASSUME_32BITUIDS]: Remove conditional code.
38805         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38806         <kernel-features.h>.
38807         [__ASSUME_32BITUIDS]: Make code unconditional.
38808         [!__ASSUME_32BITUIDS]: Remove conditional code.
38809         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38810         <kernel-features.h>.
38811         [__ASSUME_32BITUIDS]: Make code unconditional.
38812         [!__ASSUME_32BITUIDS]: Remove conditional code.
38813         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38814         <kernel-features.h>.
38815         [__ASSUME_32BITUIDS]: Make code unconditional.
38816         [!__ASSUME_32BITUIDS]: Remove conditional code.
38817         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38818         <kernel-features.h>.
38819         [__ASSUME_32BITUIDS]: Make code unconditional.
38820         [!__ASSUME_32BITUIDS]: Remove conditional code.
38821         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38822         <kernel-features.h>.
38823         [__ASSUME_32BITUIDS]: Make code unconditional.
38824         [!__ASSUME_32BITUIDS]: Remove conditional code.
38825         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38826         <kernel-features.h>.
38827         [__ASSUME_32BITUIDS]: Make code unconditional.
38828         [!__ASSUME_32BITUIDS]: Remove conditional code.
38829         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38830         <kernel-features.h>.
38831         [__ASSUME_32BITUIDS]: Make code unconditional.
38832         [!__ASSUME_32BITUIDS]: Remove conditional code.
38833         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38834         <kernel-features.h>.
38835         [__ASSUME_32BITUIDS]: Make code unconditional.
38836         [!__ASSUME_32BITUIDS]: Remove conditional code.
38837         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38838         <kernel-features.h>.
38839         [__ASSUME_32BITUIDS]: Make code unconditional.
38840         [!__ASSUME_32BITUIDS]: Remove conditional code.
38841         * sysdeps/unix/sysv/linux/kernel-features.h
38842         (__ASSUME_SETRESUID_SYSCALL): Remove.
38843         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38844         (__ASSUME_32BITUIDS): Likewise.
38845         (__ASSUME_LDT_WORKS): Likewise.
38846         (__ASSUME_O_DIRECTORY): Likewise.
38847         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38848         architecture but not kernel version.
38849         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38850         (__ASSUME_MMAP2_SYSCALL): Likewise.
38851         (__ASSUME_STAT64_SYSCALL): Likewise.
38852         (__ASSUME_IPC64): Likewise.
38853         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38854         <kernel-features.h>.
38855         [__ASSUME_32BITUIDS]: Make code unconditional.
38856         [!__ASSUME_32BITUIDS]: Remove conditional code.
38857         * sysdeps/unix/sysv/linux/opendir.c: Do not include
38858         <kernel-features.h>.
38859         [__ASSUME_O_DIRECTORY]: Make code unconditional.
38860         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38861         132096]: Remove conditional code.
38862         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38863         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38864         <kernel-features.h>.
38865         [__ASSUME_32BITUIDS]: Make code unconditional.
38866         [!__ASSUME_32BITUIDS]: Remove conditional code.
38867         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38868         <kernel-features.h>.
38869         [__ASSUME_32BITUIDS]: Make code unconditional.
38870         [!__ASSUME_32BITUIDS]: Remove conditional code.
38871         * sysdeps/unix/sysv/linux/setegid.c: Do not include
38872         <kernel-features.h>.
38873         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38874         unconditional.
38875         (__setresgid): Do not declare.
38876         [__ASSUME_32BITUIDS]: Make code unconditional.
38877         [!__ASSUME_32BITUIDS]: Remove conditional code.
38878         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38879         <kernel-features.h>.
38880         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38881         unconditional.
38882         (__setresuid): Do not declare.
38883         [__ASSUME_32BITUIDS]: Make code unconditional.
38884         [!__ASSUME_32BITUIDS]: Remove conditional code.
38885         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38886         <kernel-features.h>.
38887         [__ASSUME_32BITUIDS]: Make code unconditional.
38888         [!__ASSUME_32BITUIDS]: Remove conditional code.
38889         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38890         <kernel-features.h>.
38891         [__ASSUME_32BITUIDS]: Make code unconditional.
38892         [!__ASSUME_32BITUIDS]: Remove conditional code.
38893
38894 2012-05-25  Richard Henderson  <rth@twiddle.net>
38895
38896         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38897         dl_hwcap to ifunc resolver.
38898         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38899         elf_ifunc_invoke.
38900         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38901         dl_hwcap to ifunc resolver.
38902         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38903
38904 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38905
38906         [BZ #14153]
38907         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38908         for |x| <= 2**-26, not 2**-57.
38909         * math/libm-test.inc (acos_test): Do not allow spurious underflow
38910         exception.
38911
38912 2012-05-24  Jeff Law  <law@redhat.com>
38913
38914         * stdio-common/Makefile (tests): Add bug25.
38915         * stdio-common/bug25.c: New test.
38916
38917 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38918
38919         [BZ #13576]
38920         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38921         multiple of MALLOC_ALIGNMENT in size.
38922         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38923
38924 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38925
38926         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38927         Require >= 256.
38928         (FILENAME_MAX): Use macro-int-constant.
38929         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
38930         (_IOFBF): Use macro-int-constant.
38931         (_IOLBF): Likewise.
38932         (_IONBF): Likewise.
38933         (SEEK_CUR): Likewise.
38934         (SEEK_END): Likewise.
38935         (SEEK_SET): Likewise.
38936         (TMP_MAX): Likewise.
38937         (EOF): Use macro-int-constant.  Require < 0.
38938         (NULL): Use macro-constant.  Require == 0.
38939         (stdin): Require type to be FILE *.
38940         (stdout): Likewise.
38941         (stderr): Likewise.
38942         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38943         macro-int-constant.
38944         (EXIT_SUCCESS): Likewise.
38945         (NULL): Use macro-constant.  Require == 0.
38946         (RAND_MAX): Use macro-int-constant.
38947         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38948         [C99-based standards] (strtof): Require function.
38949         [C99-based standards] (strtold): Likewise.
38950         [C99-based standards] (strtoll): Likewise.
38951         [C99-based standards] (strtoull): Likewise.
38952         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38953         [ISO || ISO99 || ISO11] (limits.h): Likewise.
38954         [ISO || ISO99 || ISO11] (math.h): Likewise.
38955         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38956         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38957         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38958
38959 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
38960
38961         [BZ #14132]
38962         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38963         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38964         * intl/dgettext.c (DCGETTEXT): Likewise.
38965         * intl/gettext.c (DCGETTEXT): Likewise.
38966         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38967         * posix/regex_internal.h (gettext): Likewise.
38968         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38969         Remove declaration.
38970         * include/argz.h (__argz_count_internal)
38971         (__argz_stringify_internal): Remove declaration.
38972         (__argz_count, __argz_stringify): Declare hidden proto.
38973         * intl/dcgettext.c: Remove use of INTDEF.
38974         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38975         * string/argz-stringify.c: Likewise.
38976         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38977         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38978         Declare hidden proto.
38979         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38980         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38981         Declare hidden proto.
38982         * include/stdio.h (__asprintf_internal): Don't declare.
38983         (__asprintf): Don't define as macro.  Declare hidden proto.
38984         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38985         (__fsetlocking): Declare hidden proto.
38986         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38987         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38988         hidden proto.
38989         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38990         (_IO_setlinebuf): Remove use of INTUSE.
38991         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38992         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38993         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38994         Remove declaration.
38995         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38996         (_IO_do_flush): Remove use of INTUSE.
38997         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38998         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38999         (_IO_adjust_column, _IO_least_wmarker)
39000         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39001         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39002         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39003         (_IO_default_doallocate, _IO_wdefault_doallocate)
39004         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39005         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39006         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39007         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39008         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39009         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39010         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39011         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39012         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39013         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39014         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39015         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39016         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39017         proto.
39018         (_IO_flush_all_internal, _IO_adjust_column_internal)
39019         (_IO_default_uflow_internal, _IO_default_finish_internal)
39020         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39021         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39022         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39023         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39024         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39025         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39026         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39027         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39028         (_IO_file_close_internal, _IO_file_close_it_internal)
39029         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39030         (_IO_file_init_internal, _IO_file_attach_internal)
39031         (_IO_file_fopen_internal, _IO_file_read_internal)
39032         (_IO_file_sync_internal, _IO_file_seek_internal)
39033         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39034         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39035         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39036         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39037         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39038         (_IO_list_all_internal, _IO_link_in_internal)
39039         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39040         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39041         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39042         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39043         (_IO_do_write_internal, _IO_padn_internal)
39044         (_IO_getline_info_internal, _IO_getline_internal)
39045         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39046         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39047         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39048         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39049         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39050         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39051         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39052         with libc_hidden_ver, remove use of INTUSE.
39053         * libio/genops.c: Likewise.
39054         * libio/freopen.c: Likewise.
39055         * libio/freopen64.c: Likewise.
39056         * libio/iofclose.c: Likewise.
39057         * libio/iofdopen.c: Likewise.
39058         * libio/iofflush.c: Likewise.
39059         * libio/iofflush_u.c: Likewise.
39060         * libio/iofgets.c: Likewise.
39061         * libio/iofgets_u.c: Likewise.
39062         * libio/iofopen.c: Likewise.
39063         * libio/iofopncook.c: Likewise.
39064         * libio/iofread.c: Likewise.
39065         * libio/iofread_u.c: Likewise.
39066         * libio/ioftell.c: Likewise.
39067         * libio/iofwrite.c: Likewise.
39068         * libio/iogetline.c: Likewise.
39069         * libio/iogets.c: Likewise.
39070         * libio/iogetwline.c: Likewise.
39071         * libio/iopadn.c: Likewise.
39072         * libio/iopopen.c: Likewise.
39073         * libio/ioseekoff.c: Likewise.
39074         * libio/ioseekpos.c: Likewise.
39075         * libio/iosetbuffer.c: Likewise.
39076         * libio/iosetvbuf.c: Likewise.
39077         * libio/ioungetc.c: Likewise.
39078         * libio/ioungetwc.c: Likewise.
39079         * libio/iovdprintf.c: Likewise.
39080         * libio/iovsprintf.c: Likewise.
39081         * libio/iovsscanf.c: Likewise.
39082         * libio/memstream.c: Likewise.
39083         * libio/obprintf.c: Likewise.
39084         * libio/oldfileops.c: Likewise.
39085         * libio/oldiofclose.c: Likewise.
39086         * libio/oldiofdopen.c: Likewise.
39087         * libio/oldiofopen.c: Likewise.
39088         * libio/oldiopopen.c: Likewise.
39089         * libio/oldstdfiles.c: Likewise.
39090         * libio/putc.c: Likewise.
39091         * libio/setbuf.c: Likewise.
39092         * libio/setlinebuf.c: Likewise.
39093         * libio/stdfiles.c: Likewise.
39094         * libio/strops.c: Likewise.
39095         * libio/vasprintf.c: Likewise.
39096         * libio/vscanf.c: Likewise.
39097         * libio/vsnprintf.c: Likewise.
39098         * libio/vswprintf.c: Likewise.
39099         * libio/wfiledoalloc.c: Likewise.
39100         * libio/wfileops.c: Likewise.
39101         * libio/wgenops.c: Likewise.
39102         * libio/wmemstream.c: Likewise.
39103         * libio/wstrops.c: Likewise.
39104         * libio/__fpurge.c: Likewise.
39105         * libio/__fsetlocking.c: Likewise.
39106         * assert/assert.c: Likewise.
39107         * debug/fgets_chk.c: Likewise.
39108         * debug/fgets_u_chk.c: Likewise.
39109         * debug/fread_chk.c: Likewise.
39110         * debug/fread_u_chk.c: Likewise.
39111         * debug/gets_chk.c: Likewise.
39112         * debug/obprintf_chk.c: Likewise.
39113         * debug/vasprintf_chk.c: Likewise.
39114         * debug/vdprintf_chk.c: Likewise.
39115         * debug/vsnprintf_chk.c: Likewise.
39116         * debug/vsprintf_chk.c: Likewise.
39117         * malloc/mtrace.c: Likewise.
39118         * misc/error.c: Likewise.
39119         * misc/syslog.c: Likewise.
39120         * stdio-common/asprintf.c: Likewise.
39121         * stdio-common/fxprintf.c: Likewise.
39122         * stdio-common/getw.c: Likewise.
39123         * stdio-common/isoc99_fscanf.c: Likewise.
39124         * stdio-common/isoc99_scanf.c: Likewise.
39125         * stdio-common/isoc99_vfscanf.c: Likewise.
39126         * stdio-common/isoc99_vscanf.c: Likewise.
39127         * stdio-common/isoc99_vsscanf.c: Likewise.
39128         * stdio-common/printf-prs.c: Likewise.
39129         * stdio-common/printf_fp.c: Likewise.
39130         * stdio-common/printf_fphex.c: Likewise.
39131         * stdio-common/printf_size.c: Likewise.
39132         * stdio-common/putw.c: Likewise.
39133         * stdio-common/scanf.c: Likewise.
39134         * stdio-common/sprintf.c: Likewise.
39135         * stdio-common/tmpfile.c: Likewise.
39136         * stdio-common/vfprintf.c: Likewise.
39137         * stdio-common/vfscanf.c: Likewise.
39138         * stdlib/strfmon_l.c: Likewise.
39139         * sunrpc/openchild.c: Likewise.
39140         * sunrpc/xdr_stdio.c: Likewise.
39141         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39142         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39143
39144 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39145
39146         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39147
39148         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39149         in the third column, to generate for the shared library an IFUNC
39150         that uses _dl_vdso_vsym.
39151         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39152         * Makeconfig (object-suffixes-noshared): New variable.
39153
39154         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39155         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39156         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39157         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39158
39159         [BZ #14132]
39160         * include/sys/time.h (__gettimeofday): Remove macro.
39161         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39162         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39163         Remove INTDEF.
39164         (__gettimeofday): Add libc_hidden_def.
39165         (gettimeofday): Add libc_hidden_weak.
39166         * sysdeps/mach/gettimeofday.c: Likewise.
39167         * sysdeps/posix/gettimeofday.c: Likewise.
39168         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39169         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39170         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39171         (__gettimeofday_internal): Remove strong_alias.
39172         (__gettimeofday): Add libc_hidden_def.
39173         (gettimeofday): Add libc_hidden_weak.
39174         * sysdeps/unix/syscalls.list (gettimeofday):
39175         Remove __gettimeofday_internal alias.
39176
39177 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39178             H.J. Lu  <hongjiu.lu@intel.com>
39179
39180         [BZ #12495]
39181         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39182         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39183         (largebin_index_32_big): New.
39184         (largebin_index): Use it for 16-byte alignment.
39185         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39186         correction with front_misalign.
39187
39188 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39189
39190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39192         Likewise.
39193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39194         Likewise.
39195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39196         Likewise.
39197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39198         Likewise.
39199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39200         Likewise.
39201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39202         Likewise.
39203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39204         Likewise.
39205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39206         Likewise.
39207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39208         Likewise.
39209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39210         Likewise.
39211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39212         Likewise.
39213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39214         Likewise.
39215
39216         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39217         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39218
39219 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39220
39221         [BZ #10846]
39222         [BZ #14036]
39223         * math/libm-test.inc (exp_test): Add test from bug 14036.
39224         (pow_test): Add test from bug 10846.
39225
39226         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39227         and other flags.
39228         (special_function): Do not include flags in test name.
39229         (parse_args): Likewise.
39230         * sysdeps/i386/fpu/libm-test-ulps: Update.
39231         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39232         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39233         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39235
39236         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39237         exceptions.
39238         * math/libm-test.inc ("Philosophy"): Update comment about
39239         exception testing.
39240         (UNDERFLOW_EXCEPTION): New macro.
39241         (UNDERFLOW_EXCEPTION_OK): Likewise.
39242         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39243         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39244         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39245         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39246         (INVALID_EXCEPTION_OK): Update value.
39247         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39248         (OVERFLOW_EXCEPTION_OK): Likewise.
39249         (IGNORE_ZERO_INF_SIGN): Likewise.
39250         (test_exceptions): Handle underflow exceptions.
39251         (acos_test): Update for underflow exception expectations.
39252         (cexp_test): Likewise.
39253         (clog_test): Likewise.
39254         (clog10_test): Likewise.
39255         (csqrt_test): Likewise.
39256         (ctan_test): Likewise.
39257         (ctanh_test): Likewise.
39258         (exp_test): Likewise.
39259         (exp10_test): Likewise.
39260         (exp2_test): Likewise.
39261         (expm1_test): Likewise.
39262         (fma_test): Likewise.
39263         (j0_test): Likewise.
39264         (jn_test): Likewise.
39265         (nexttoward_test): Likewise.
39266         (pow_test): Likewise.
39267         (scalbn_test): Likewise.
39268         (scalbln_test): Likewise.
39269         (tan_test): Likewise.
39270         (y1_test): Likewise.
39271         * sysdeps/i386/fpu/libm-test-ulps: Update.
39272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39273
39274 2012-05-23  David S. Miller  <davem@davemloft.net>
39275
39276         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39277         (__libc_sigaction): Remove unused local variables.
39278
39279 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39280
39281         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39282
39283 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39284
39285         mktime: avoid signed integer overflow
39286         * time/mktime.c (__mktime_internal): Do not mishandle the case
39287         where diff == INT_MIN.
39288
39289         mktime: simplify computation of average
39290         * time/mktime.c (ranged_convert): Use new time_t_avg function
39291         instead of rolling our own (probably-slower) code.
39292
39293         mktime: do not assume signed right shift propagates sign bit
39294         * time/mktime.c (isdst_differ): New static function.
39295         (__mktime_internal): No need to normalize tm_isdst now.
39296         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39297         tm_isdst values.
39298
39299         mktime: merge another wrapv change from gnulib
39300         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39301         from some compilers.
39302
39303         mktime: remove incorrect attempt at unusual arithmetics
39304         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39305         The code didn't really work on such machines anyway.
39306         (TYPE_MINIMUM): Assume two's complement.
39307         (twos_complement_arithmetic): Verify that long_int and time_t
39308         are two's complement (or unsigned, in the latter case).
39309
39310         mktime: check signed shifts on long_int and time_t, too
39311         * time/mktime.c (SHR): Check that shifts work as desired
39312         on the types long_int and time_t too, as SHR is used on
39313         such types.
39314
39315         mktime: do not assume 'long' is wide enough
39316         * time/mktime.c (verify): Move decl up.
39317         (long_int): New type.
39318         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39319         to remove assumption in the code that 'long' is wide enough to
39320         store year values.  This assumption is not true on x32 and on
39321         some non-glibc platforms.
39322
39323         mktime: merge wrapv change from gnulib
39324         * time/mktime.c (WRAPV): New macro.
39325         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39326         (guess_time_tm, __mktime_internal): Do not assume that signed
39327         integer overflow wraps around; modern compilers generate code
39328         where this assumption is no longer valid.
39329
39330 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39331
39332         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39333         Replace "jmp L(pseudo_end)" with "ret".
39334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39335         Likewise.
39336
39337 2012-05-23  Andreas Jaeger  <aj@suse.de>
39338
39339         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39340         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39341
39342 2012-05-23  Andreas Jaeger  <aj@suse.de>
39343             Maximilian Attems  <max@stro.at>
39344
39345         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39346         New macros.
39347
39348 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39349
39350         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39351         code so that pseudo_end is just ret and the stack pointer is
39352         correct also for static library in error case.
39353
39354 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39355
39356         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39357         move to syscalls.list.
39358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39362
39363         * manual/install.texi (Running make install): Do not mention Linux
39364         kernel version for which pt_chown is not needed.
39365         (Linux): Do not mention problems with nscd with 2.0 kernels.
39366         * INSTALL: Regenerated.
39367
39368 2012-05-23  Andreas Jaeger  <aj@suse.de>
39369
39370         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39371         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39372         macro.
39373         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39374         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39375         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39376         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39377         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39378         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39379         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39380         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39381         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39382         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39383         * sysdeps/unix/sysv/linux/bits/in.h
39384         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39385
39386 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39387
39388         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39389         (PREPARE_VERSION): Just use assert instead, it will be elided
39390         under [NDEBUG] anyway.
39391
39392 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39393
39394         * sysdeps/unix/sysv/linux/Makefile: Include
39395         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39396         (sysdep_routines): Remove sysctl.
39397         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39398         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39399         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39400         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39401         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39402
39403 2012-05-22  Andreas Jaeger  <aj@suse.de>
39404
39405         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39406         that pseudo_end is just ret and the stack pointer is correct also
39407         for static library in error case.
39408
39409 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39410
39411         [BZ #14122]
39412         * nss/nsswitch.c (defconfig_entries): New variable.
39413         (__nss_database_lookup): Don't leak defconfig entries.
39414         (nss_parse_service_list): Don't leak on error paths.
39415         (free_database_entries): New function.
39416         (free_defconfig): New function.
39417         (free_mem): Move common code to free_database_entries.
39418
39419 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39420
39421         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39422         Add arch_prctl.
39423         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39424
39425         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39426         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39428         New macro.
39429         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39430         (INTERNAL_SYSCALL_TYPES): Likewise.
39431         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39432         (LOAD_REGS_TYPES_[1-6]): Likewise.
39433         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39434         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39435
39436 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39437
39438         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39439         copysignl for GLIBC_2_0.
39440         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39441         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39442         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39443         logbl for GLIBC_2_0.
39444         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39445         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39446
39447 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39448
39449         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39450         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39451
39452         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39453         Use "neg %eax".
39454
39455         * time/mktime.c: Update copyright years.
39456
39457 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39458
39459         mktime: merge comment-quoting-style change from gnulib
39460         * time/mktime.c: Quote 'like this' in comments.
39461         The GNU coding standards suggest that we no longer quote `like this',
39462         as "`" and "'" are typically rendered asymmetrically nowadays.
39463         The typical gnulib style is to quote 'like this' when quoting
39464         code, and "like this" when quoting English.
39465
39466         * time/mktime.c (compile-command): Add "-I.".
39467
39468         mktime: merge mktime-internal.h change from gnulib
39469         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39470
39471         mktime: merge time_r change from gnulib
39472         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39473
39474         mktime: merge DEBUG change from gnulib
39475         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39476         case system <time.h> has a #define.
39477
39478         mktime: merge <sys/types.h> change from gnulib
39479         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39480         since <time.t> is now guaranteed to define time_t.
39481
39482         mktime: merge HAVE_CONFIG_H change from gnulib
39483         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39484
39485 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39486
39487         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39488         Use "neg %eax".
39489
39490         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39491         __rlim_t cast.
39492         (struct rusage): Use anonymous union to pad each field to
39493         __syscall_slong_t.
39494
39495 2012-05-21  David S. Miller  <davem@davemloft.net>
39496
39497         * Makefules (o-iterator): Remove .s cases.
39498         (compile-command.s): Delete.
39499         (COMPILE.s): Delete.
39500         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39501
39502 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39503
39504         * configure.in (libc_cv_predef_stack_protector): Only consider
39505         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39506         * configure: Regenerated.
39507
39508 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39509
39510         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39511         New macro.  Use R*LP on int and pointer.
39512         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39513         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39514         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39515         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39516
39517         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39518         [__WORDSIZE_TIME64_COMPAT32] instead of
39519         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39520         (struct utmp): Likewise.
39521         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39522         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39523         Renamed to ...
39524         (__WORDSIZE_TIME64_COMPAT32): This.
39525         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39526         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39527         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39528         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39529         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39530         (__WORDSIZE_TIME64_COMPAT32): New macro.
39531
39532 2012-05-21  Andreas Jaeger  <aj@suse.de>
39533
39534         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39535         only if [SHARED]. Add prototype for __wcschr_ia32.
39536
39537 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39538
39539         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39540         of %rbp unmolested in the jmp_buf while mangling the low bits.
39541         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39542         unmolested high bits of %rbp while demangling the low bits.
39543         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39544
39545 2012-05-21  Andreas Jaeger  <aj@suse.de>
39546
39547         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39548         * sunrpc/svc_simple.c: Use it for registerrpc.
39549         * sunrpc/xcrypt.c: Use it for passwd2des.
39550
39551         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39552
39553 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39554
39555         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39556         Don't define if [__SYSCALL_WORDSIZE != 32].
39557         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39558         New macro.
39559
39560 2012-05-21  Bruno Haible  <bruno@clisp.org>
39561             Andreas Jaeger  <aj@suse.de>
39562
39563         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39564         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39565         inptr and inend for must_buffer_ch.
39566         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39567         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39568         * stdio-common/Makefile (tests): Remove bug15.
39569         (bug15-ENV): Remove macro.
39570         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39571         anymore.
39572
39573 2012-05-19  Andreas Jaeger  <aj@suse.de>
39574             Roland McGrath  <roland@hack.frob.com>
39575
39576         * manual/contrib.texi: Completely rewritten. It contains now an
39577         alphabetical list of contributors and their contributions.
39578
39579 2012-05-21  Richard Henderson  <rth@twiddle.net>
39580
39581         * misc/getauxval.c (__getauxval): Use unsigned long int.
39582         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39583         (getauxval): Use unsigned long int.
39584
39585 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39586
39587         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39588
39589 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39590
39591         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39592         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39593         __alignof__ (long double).
39594
39595 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39596
39597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39598
39599 2012-05-20  Richard Henderson  <rth@twiddle.net>
39600
39601         * misc/getauxval.c: New file.
39602         * misc/sys/auxv.h: New file.
39603         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39604         (routines): Add getauxval.
39605         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39606         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39607         * elf/dl-sysdep.c (_dl_auxv): Remove.
39608         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39609         * elf/dl-support.c (_dl_auxv): New variable.
39610         (_dl_aux_init): Initialize it.
39611         * manual/startup.texi (Auxiliary Vector): New node.
39612         * sysdeps/generic/bits/hwcap.h: New file.
39613         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39614         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39615         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39616         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39617         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39618         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39620         Update.
39621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39624         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39629
39630 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39631
39632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39633
39634 2012-05-19  David S. Miller  <davem@davemloft.net>
39635
39636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39637
39638 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39639
39640         [BZ #14123]
39641         * math/s_ccosh.c: Include <float.h>
39642         (__ccosh): Avoid internal overflow calculating sinh and cosh
39643         values before multiplying by sin and cos values.
39644         * math/s_ccoshf.c: Likewise.
39645         * math/s_ccoshl.c: Likewise.
39646         * math/s_csin.c: Likewise.
39647         * math/s_csinf.c: Likewise.
39648         * math/s_csinl.c: Likewise.
39649         * math/s_csinh.c: Likewise.
39650         * math/s_csinhf.c: Likewise.
39651         * math/s_csinhl.c: Likewise.
39652         * math/libm-test.inc (ccos_test): Add more tests.
39653         (ccosh_test): Likewise.
39654         (csin_test): Likewise.
39655         (csinh_test): Likewise.
39656         * sysdeps/i386/fpu/libm-test-ulps: Update.
39657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39658
39659 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39660
39661         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39662         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39663
39664         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39665
39666 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39667
39668         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39669         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39670         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39671         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39672         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39673         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39674         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39675         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39676         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39677         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39678         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39679         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39680         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39681         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39682         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39683         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39684         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39685         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39686         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39687         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39688         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39689         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39690         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39691         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39692         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39693         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39694         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39695         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39696         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39697         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39698         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39699
39700 2012-05-18  Andreas Jaeger  <aj@suse.de>
39701
39702         * csu/.gitignore: Delete.
39703
39704 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39705
39706         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39707         (timex): Use __syscall_slong_t.
39708
39709 2012-05-18  Andreas Jaeger  <aj@suse.de>
39710             Carlos O'Donell  <carlos_odonell@mentor.com>
39711
39712         * manual/install.texi (Configuring and compiling): Update
39713         description about files modified in the source directory.
39714         * INSTALL: Regenerated.
39715
39716 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39717
39718         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39719         value.  Use "or" to set return value to -1.
39720         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39721         negate return value.
39722
39723 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39724
39725         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39726         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39727         failure if the compiler has Graphite support disabled.
39728         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39729         Likewise.
39730         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39731         (CFLAGS-memmove.c): Likewise.
39732         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39733         Likewise.
39734
39735 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39736
39737         * sysdeps/x86_64/x32/_itoa.h: New file.
39738
39739         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39740         getdents system call only if kernel and user dirents have the
39741         same d_ino and d_off.
39742
39743         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39744         LLONG_MAX != LONG_MAX.
39745         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39746         (_fitoa_word): Likewise.
39747
39748         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39749         years.
39750         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39751         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39752         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39753
39754         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39755         include <bits/wordsize.h>.  Check __x86_64__ instead of
39756         __WORDSIZE.
39757         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39758         if __x86_64__ is defined.  Use anonymous union on fpstate.
39759
39760         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39761         anonymous union.
39762
39763 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39764
39765         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39766         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39767         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39768         Refer to _rtld_local_ro instead of _rtld_global_ro.
39769         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39770         Likewise.
39771         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39772         Likewise.
39773         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39774         Likewise.
39775         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39776         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39777         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39778
39779         * sysdeps/powerpc/powerpc32/dl-machine.c
39780         (__elf_machine_runtime_setup) [PROF]: Don't reference
39781         _dl_prof_resolve.
39782
39783 2012-05-18  Andreas Jaeger  <aj@suse.de>
39784
39785         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39786         function only available for GCCs before 3.4 since GCC 3.4
39787         introduced a builtin.
39788         (lrint): Likewise.
39789         (llrintf): Likewise.
39790         (llrint): Likewise.
39791         (fmaxf): Likewise.
39792         (fmax): Likewise.
39793         (fminf): Likewise.
39794         (fmin): Likewise.
39795         (rint): Likewise.
39796         (rintf): Likewise.
39797         (nearbyint): Likewise.
39798         (nearbyintf): Likewise.
39799         (ceil): Likewise.
39800         (ceilf): Likewise.
39801         (floor): Likewise.
39802         (floorf): Likewise.
39803
39804 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39805
39806         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39807         on both fields and cast pointer to __syscall_ulong_t.
39808
39809         * bits/types.h (__fsword_t): New type.
39810         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39811         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39812         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39813         (__FSWORD_T_TYPE): Likewise.
39814         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39815         (__FSWORD_T_TYPE): Likewise.
39816         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39817         (__FSWORD_T_TYPE): Likewise.
39818         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39819         (__FSWORD_T_TYPE): Likewise.
39820         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39821         __SWORD_TYPE with __fsword_t.
39822         (statfs64): Likewise.
39823
39824 2012-05-17  David S. Miller  <davem@davemloft.net>
39825
39826         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39827
39828 2012-05-17  Andreas Jaeger  <aj@suse.de>
39829
39830         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39831         warning.
39832
39833 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39834
39835         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39836
39837 2012-05-17  Andreas Jaeger  <aj@suse.de>
39838
39839         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39840         when it is used.
39841
39842 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39843
39844         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39845
39846 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39847
39848         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39849         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39850
39851 2012-05-17  Andreas Jaeger  <aj@suse.de>
39852             Carlos O'Donell  <carlos_odonell@mentor.com>
39853
39854         [BZ #14059]
39855         * sysdeps/x86_64/multiarch/init-arch.h
39856         (bit_YMM_Usable): Rename to...
39857         (bit_AVX_Usable): ... this.
39858         (bit_FMA4_Usable): New macro.
39859         (bit_XMM_state): New macro.
39860         (bit_YMM_state): New macro.
39861         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39862         [__ASSEMBLER__] (index_AVX_Usable): ... this.
39863         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39864         (CPUID_OSXSAVE): New macro.
39865         (CPUID_AVX): New macro.
39866         (CPUID_FMA4): New macro.
39867         (index_YMM_Usable): Rename to...
39868         (index_AVX_Usable): ... this.
39869         (HAS_AVX): Use HAS_ARCH_FEATURE.
39870         (HAS_FMA4): Likewise.
39871         (HAS_YMM_USABLE): Remove.
39872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39873         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39874         are present.
39875         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39876         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39877         * sysdeps/x86_64/multiarch/Makefile: Likewise.
39878         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39879         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39880
39881 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39882
39883         * math/libm-test.c: Support platforms without multiple rounding modes.
39884         * math/bug-nextafter.c: Support platforms without FP exceptions.
39885         * math/bug-nexttoward.c: Likewise.
39886         * math/test-fenv.c: Likewise.
39887         * math/test-misc.c: Likewise.
39888         * stdlib/bug-getcontext.c: Likewise.
39889
39890 2012-05-17  Andreas Jaeger  <aj@suse.de>
39891
39892         * manual/examples/search.c (critter_cmp): Change signature to
39893         avoid warnings.
39894         * manual/string.texi (Collation Functions): Likewise.
39895
39896 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39897
39898         * bits/types.h: Fold copyright years.
39899         * bits/typesizes.h: Likewise.
39900         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39901         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39902         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39903         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39904         * time/time.h: Likewise.
39905
39906 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
39907
39908         [BZ #208]
39909         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39910         in instead of returning them.  Return void.
39911         (__libc_mallinfo): Accumulate over all arenas.
39912         (__malloc_stats): Adjust for change in int_mallinfo interface.
39913
39914 2012-05-16  Roland McGrath  <roland@hack.frob.com>
39915
39916         [BZ #10375]
39917         * configure.in (NM): Add AC_CHECK_TOOL for it.
39918         (libc_extra_cflags): New substituted variable.
39919         Check for -fstack-protector being used implicitly.
39920         * configure: Regenerated.
39921         * config.make.in (config-extra-cflags): New variable,
39922         gets @libc_extra_cflags@.
39923         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39924
39925         [BZ #10375]
39926         * configure.in: Check for _FORTIFY_SOURCE being predefined.
39927         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39928         * configure: Regenerated.
39929         * config.make.in (CPPUNDEFS): New substituted variable.
39930         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39931         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39932         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39933
39934 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39935
39936         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39937         (mq_attr): Use __syscall_slong_t.
39938
39939 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39940
39941         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39942         Check __x86_64__ instead of __WORDSIZE.
39943         (_STAT_VER_LINUX): Likewise.
39944         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
39945         __syscall_ulong_t and __syscall_slong_t.
39946         (stat64): Likewise.
39947
39948 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39949
39950         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39951
39952 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39953
39954         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39955
39956 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39957
39958         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39959         __syscall_ulong_t.
39960
39961         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39962         include <bits/wordsize.h>.  Check __x86_64__ instead of
39963         __WORDSIZE.
39964         (greg_t): Use "__extension__ long long int" if __x86_64__ is
39965         defined.
39966         (mcontext_t): Replace "unsigned long" with "unsigned long long".
39967
39968         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39969         include <bits/wordsize.h>.  Check __x86_64__ instead of
39970         __WORDSIZE.
39971         (user_regs_struct): Use "__extension__ unsigned long long"
39972         instead of "unsigned long" if __x86_64__ is defined.
39973         (user): Likewise.  Pad after pointer field if __ILP32__ is
39974         defined.
39975
39976 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
39977
39978         * configure.in (makeinfo): Require version 4.5 or later.  Allow
39979         versions 5 to 9.
39980         * configure: Regenerated.
39981         * manual/install.texi (texinfo): Increase version requirement to
39982         4.5 or later.
39983         * INSTALL: Regenerated.
39984
39985         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39986
39987 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39988
39989         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39990
39991         * sysdeps/x86_64/x32/ffs.c: New file.
39992
39993         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39994         __syscall_ulong_t.
39995         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39996         defined.  Use __syscall_ulong_t.
39997         (shminfo): Use __syscall_ulong_t.
39998         (shm_info): Likewise.
39999
40000         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40001         __syscall_ulong_t.
40002
40003         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40004         <bits/wordsize.h>.
40005         (msgqnum_t): Use __syscall_ulong_t.
40006         (msglen_t): Likewise.
40007         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40008         __syscall_ulong_t.
40009
40010         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40011         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40012
40013         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40014
40015         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40016         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40017
40018         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40019         __syscall_slong_t.
40020
40021         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40022         include <bits/wordsize.h>.  Check __x86_64__ instead of
40023         __WORDSIZE.
40024
40025         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40026         "unsigned long long int" if __x86_64__ is defined.
40027         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40028
40029         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40030         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40031         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40032
40033         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40034         <stdint.h>.
40035         (GET_PC): Cast to uintptr_t first.
40036         (GET_FRAME): Likewise.
40037         (GET_STACK): Likewise.
40038
40039         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40040         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40041         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40042         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40043         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40044         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40045         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40046         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40047         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40048         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40049         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40050         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40051         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40052         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40053         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40054         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40055         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40056         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40057         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40058         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40059         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40060         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40061         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40062         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40063         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40064         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40065         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40066         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40067         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40068
40069 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40070
40071         * Makerules (+depfiles): Also collect depfiles from .oS in
40072         $(extra-objs).
40073         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40074         .oS, $(libnldbl-routines)).
40075
40076         * Makerules (native-compile-mkdep-flags): Define.
40077         * sunrpc/Makefile (extra-objs): Add $(addprefix
40078         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40079         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40080         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40081         calling $(make-target-directory).
40082
40083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40084
40085         * bits/types.h (__snseconds_t): Removed.
40086         * time/time.h (struct timespec): Replace __snseconds_t with
40087         __syscall_slong_t.
40088         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40089         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40090         Likewise.
40091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40092         (__SNSECONDS_T_TYPE): Likewise.
40093         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40094         (__SNSECONDS_T_TYPE): Likewise.
40095         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40096         (__SNSECONDS_T_TYPE): Likewise.
40097
40098 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40099
40100         * sysdeps/mach/hurd/bits/typesizes.h
40101         (__SYSCALL_SLONG_TYPE): New macro.
40102         (__SYSCALL_ULONG_TYPE): Likewise.
40103
40104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40105
40106         * bits/types.h (__syscall_slong_t): New type.
40107         (__syscall_ulong_t): Likewise.
40108
40109         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40110         (__SYSCALL_ULONG_TYPE): Likewise.
40111         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40112         (__SYSCALL_SLONG_TYPE): Likewise.
40113         (__SYSCALL_ULONG_TYPE): Likewise.
40114         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40115         (__SYSCALL_SLONG_TYPE): Likewise.
40116         (__SYSCALL_ULONG_TYPE): Likewise.
40117         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40118         (__SYSCALL_SLONG_TYPE): Likewise.
40119         (__SYSCALL_ULONG_TYPE): Likewise.
40120
40121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40122
40123         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40124         Add sigaltstack-offsets.sym.
40125         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40126         <sigaltstack-offsets.h>.
40127         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40128         longjmp_msg pointer.
40129         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40130         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40131         signal stack.
40132         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40133
40134 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40135
40136         * elf/stackguard-macros.h: Remove file.
40137         * sysdeps/generic/stackguard-macros.h: New file.
40138         * sysdeps/i386/stackguard-macros.h: Likewise.
40139         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40140         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40141         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40142         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40143         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40144         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40145         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40146         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40147         <elf/stackguard-macros.h>.
40148
40149         [BZ #14109]
40150         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40151         __aligned__ in attribute.
40152         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40153         (gregset_t): Likewise.
40154
40155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40156
40157         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40158         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40159         * sysdeps/x86_64/x32/Implies-after: New file.
40160
40161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40162
40163         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40164         and access return value for _dl_profile_fixup.  Use R10_LP to
40165         load frame size.
40166
40167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40168
40169         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40170
40171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40172
40173         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40174         * sysdeps/x86_64/x32/sysdep.h: New file.
40175
40176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40177
40178         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40179         * sysdeps/x86_64/setjmp.S: Likewise.
40180
40181 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40182
40183         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40184         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40185         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40186         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40187         remove unused global constant.
40188
40189 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40190
40191         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40192         include of <not-cancel.h>.
40193
40194 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40195
40196         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40197
40198 2012-05-15  Jeff Law  <law@redhat.com>
40199             Andreas Jaeger  <aj@suse.de>
40200
40201         [BZ #13594]
40202         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40203         out from...
40204         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40205         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40206         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40207         code changing __hst_map_handle.map.
40208
40209 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40210
40211         * configure.in (sysnames): Look for Implies-before and Implies-after
40212         files.
40213         * configure: Regenerated.
40214
40215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40216
40217         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40218         8-byte data alignment with LP_SIZE alignment.
40219
40220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40221
40222         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40223         into R10_LP.
40224
40225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40226
40227         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40228
40229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40230
40231         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40232         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40233         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40234         Likewise.
40235         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40236
40237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40238
40239         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40240         (stackinfo_sub_sp): Likewise.
40241
40242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40243
40244         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40245         RAX_LP.
40246
40247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40248
40249         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40250         into R*_LP.
40251
40252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40253
40254         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40255         sizes into R*_LP.
40256
40257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40258
40259         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40260
40261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40262
40263         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40264         into R11_LP and load __x86_64_shared_cache_size_half into
40265         R8_LP.
40266
40267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40268
40269         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40270         R8_LP.
40271
40272 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40273
40274         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40275         logb for POWER7.
40276         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40277         logbf for POWER7.
40278         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40279         logbl for POWER7.
40280         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40281         powerpc32/power7/fpu/s_logb.c via #include.
40282         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40283         powerpc32/power7/fpu/s_logbf.c via #include.
40284         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40285         powerpc32/power7/fpu/s_logbl.c via #include.
40286
40287 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40288
40289         * README.libm: Remove file.
40290
40291 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40292
40293         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40294         count for x32.  Use R*_LP and omit operand-size suffix.
40295
40296 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40297
40298         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40299         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40300         * sysdeps/x86_64/x32/shlib-versions: New file.
40301
40302 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40303
40304         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40305         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40306         Use _dl_fatal_printf instead.
40307
40308 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40309
40310         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40311         set if not set by the user.  Do not allow for being unset.
40312         * sysdeps/unix/sysv/linux/configure: Regenerated.
40313
40314 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40315
40316         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40317         the `q' suffix from lea and replace .quad with ASM_ADDR.
40318
40319 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40320
40321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40322         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40323         instead of $17.
40324         (PTR_DEMANGLE): Likewise.
40325
40326 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40327
40328         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40329         (LP_OP): Likewise.
40330         (ASM_ADDR): Likewise.
40331         (RAX_LP): Likewise.
40332         (RBP_LP): Likewise.
40333         (RBX_LP): Likewise.
40334         (RCX_LP): Likewise.
40335         (RDI_LP): Likewise.
40336         (RSI_LP): Likewise.
40337         (RSP_LP): Likewise.
40338         (R8_LP): Likewise.
40339         (R9_LP): Likewise.
40340         (R10_LP): Likewise.
40341         (R10_LP): Likewise.
40342         (R11_LP): Likewise.
40343         (R12_LP): Likewise.
40344         (R13_LP): Likewise.
40345         (R14_LP): Likewise.
40346         (R15_LP): Likewise.
40347
40348 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40349
40350         * sysdeps/x86_64/x32/dl-machine.h: New file.
40351
40352 2012-05-14  Andreas Jaeger  <aj@suse.de>
40353
40354         * manual/Makefile (subdir): Remove export of subdir.
40355         (all): Remove target.
40356         (.PHONY): Remove all from list.
40357         (mkinstalldirs): Remove.
40358         (.PHONY): Remove installdirs from list.
40359         ($(inst_infodir)/libc.info): Use make-target-directory.
40360         (installdirs): Remove.
40361         (subdir_%): Remove.
40362         (glibc-targets): Remove.
40363         (lib): Remove.
40364         (stubs): Remove.
40365         ($(objpfx)stubs ../po/manual.pot): Remove.
40366         ($(objpfx)stamp%): Remove.
40367         (make-target-directory): Remove.
40368         (subdir_install): Remove.
40369         (routines): Remove.
40370         (aux): Remove.
40371         (sources): Remove.
40372         (objects): Remove.
40373         (headers): Remove.
40374
40375         [BZ #13750]
40376         * manual/.gitignore: Remove, it's not needed anymore.
40377         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40378         all files in it.
40379         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40380         directory.
40381         (texis): Renamed to $(objpfx)texis.
40382         (texis-path): New, contains path to generated files.
40383         (chapters.%): Use texis-path for complete path, add extra argument
40384         libc-texinfo.sh.
40385         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40386         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40387         (summary,texi, stamp-summary): Use complete path of
40388         files. Generate files in build dir.
40389         (dir-add.texi): Build in build dir.
40390         (libm-err.texi,stamp-libm-err): Likewise.
40391         (version.texi, stamp-version): Likewise.
40392         (.%c.texi): Likewise.
40393         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40394         (mostlyclean): Remove target.
40395         (realclean): Remove target.
40396         (generated): Add new variable with contents from mostlyclean and
40397         realclean, remove entries duplicated in common-mostlyclean, add
40398         stamp-libm-err and stamp-version.
40399         (generated-dirs): Add libc directory.
40400         ($(inst_infodir)/libc.info): Install files from build dir.
40401
40402         * manual/install.texi (Configuring and compiling): Adjust since
40403         the info files are not part of the tar ball anymore.
40404
40405 2012-05-14  Andreas Jaeger  <aj@suse.de>
40406
40407         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40408         variable.
40409
40410 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40411
40412         [BZ #13717]
40413         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40414         to 2.2.0 where earlier.
40415         * sysdeps/unix/sysv/linux/configure: Regenerated.
40416         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40417         Remove conditional code.
40418         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40419         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40420         Remove conditional code.
40421         [!__NR_lchown]: Likewise.
40422         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40423         [__NR_lchown]: Likewise.
40424         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40425         comment referencing __ASSUME_LCHOWN_SYSCALL.
40426         * sysdeps/unix/sysv/linux/i386/sigaction.c
40427         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40428         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40429         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40430         Remove conditional code.
40431         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40432         (__protocol_available): Remove #if 0 code.
40433         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40434         conditional code.
40435         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40436         * sysdeps/unix/sysv/linux/kernel-features.h
40437         (__ASSUME_GETCWD_SYSCALL): Don't define.
40438         (__ASSUME_REALTIME_SIGNALS): Likewise.
40439         (__ASSUME_PREAD_SYSCALL): Likewise.
40440         (__ASSUME_PWRITE_SYSCALL): Likewise.
40441         (__ASSUME_POLL_SYSCALL): Likewise.
40442         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40443         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40444         non-SPARC.
40445         (__ASSUME_SIOCGIFNAME): Don't define.
40446         (__ASSUME_MSG_NOSIGNAL): Likewise.
40447         (__ASSUME_SENDFILE): Define unconditionally.
40448         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40449         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40450         conditional code.
40451         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40452         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40453         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40454         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40455         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40456         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40457         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40459         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40462         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40463         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40465         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40466         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40468         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40469         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40471         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40472         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40474         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40475         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40477         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40478         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40480         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40481         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40482         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40483         Remove conditional code.
40484         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40485         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40486         Remove conditional code.
40487         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40488         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40489         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40490         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40491         Remove conditional code.
40492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40493         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40494         Remove conditional code.
40495         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40496         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40497         Remove conditional code.
40498         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40499         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40500         Remove conditional code.
40501         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40502         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40503         Remove conditional code.
40504         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40505         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40506         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40507         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40508         * sysdeps/unix/sysv/linux/sigaction.c
40509         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40510         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40511         * sysdeps/unix/sysv/linux/sigpending.c
40512         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40513         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40514         * sysdeps/unix/sysv/linux/sigprocmask.c
40515         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40516         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40517         * sysdeps/unix/sysv/linux/sigsuspend.c
40518         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40519         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40520         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40521         (__libc_missing_rt_sigs): Remove.
40522         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40523         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40524         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40525         Remove conditional code.
40526         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40527         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40528         return 1.
40529         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40530         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40531         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40532         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40533
40534 2012-05-14  Andreas Jaeger  <aj@suse.de>
40535
40536         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40537         it's not used in glibc.
40538         (__coshm1): Likewise.
40539         (__acosh1p): Likewise.
40540         (__sgn): Likewise.
40541
40542         * manual/string.texi (Copying and Concatenation): Add missing
40543         variable in concat example.
40544         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40545
40546 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40547
40548         [BZ #14103]
40549         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40550         __builtin_clzl with __builtin_clzll.
40551
40552 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40553
40554         [BZ #14104]
40555         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40556         libc_freeres_ptr.
40557
40558 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40559
40560         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40561         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40562         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40563         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40564
40565 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40566
40567         * NEWS: Update ia64 info.
40568
40569 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40570
40571         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40572         used as bcopy.
40573
40574 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40575
40576         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40577         * sysdeps/unix/syscalls.list (dup3): Likewise.
40578         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40579         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40580
40581 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40582
40583         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40584         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40585
40586 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40587
40588         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40589         thread pointer.
40590         (TLS_IE): Use mov/add instead of movq/addq to load thread
40591         pointer.
40592         (TLS_GD_PREFIX): New.
40593         (TLS_GD): Use it.
40594
40595 2012-05-11  David S. Miller  <davem@davemloft.net>
40596
40597         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40598         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40599         (_FPU_SETCW): Likewise.
40600
40601 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40602
40603         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40604         is 32-byte aligned.
40605
40606 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40607
40608         [BZ #11837]
40609         * iconvdata/gb18030.c: Update tables.
40610         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40611         characters specially.
40612         (BODY for TO_LOOP): Add encoding of missing ranges.
40613
40614 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40615
40616         [BZ #13673]
40617         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40618         * sysdeps/mach/hurd/dup3.c: Likewise.
40619         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40620         * sysdeps/powerpc/memmove.c:: Likewise.
40621
40622 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40623
40624         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40625         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40626
40627 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40628
40629         * elf/elf.h (R_X86_64_RELATIVE64): New.
40630         (R_X86_64_NUM): Updated.
40631         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40632         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40633         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40634         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40635         tst-quad1pie tst-quad2pie
40636         (modules-names): Add tst-quadmod1 tst-quadmod2.
40637         ($(objpfx)tst-quad1): New dependency.
40638         ($(objpfx)tst-quad2): Likewise.
40639         ($(objpfx)tst-quad1pie): Likewise.
40640         ($(objpfx)tst-quad2pie): Likewise.
40641         * sysdeps/x86_64/tst-quad1.c: New file.
40642         * sysdeps/x86_64/tst-quad1pie.c: New file.
40643         * sysdeps/x86_64/tst-quad2.c: Likewise.
40644         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40645         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40646         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40647         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40648         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40649
40650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40651
40652         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40653         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40654         * streams/stropts.h (t_scalar_t): Define type.
40655
40656         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40657         (_PATH_PRESERVE): Set to "/var/lib".
40658         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40659
40660         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40661         instead of int.
40662
40663         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40664         if __dir_mkfile succeeded.
40665
40666         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40667         checking for _hurd_dtablesize.  Unlock it right after having
40668         finished _hurd_dtable allocation.
40669
40670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40671
40672         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40673         * sysdeps/mach/hurd/configure: Regenerated.
40674         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40675         special-casing to...
40676         * sysdeps/gnu/configure.in: ... this new file.
40677         * sysdeps/unix/sysv/linux/configure: Regenerated.
40678         * sysdeps/gnu/configure: New generated file.
40679
40680         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40681         for Linux: use nsec instead of usec, as well as:
40682         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40683         members of type struct timespec.
40684         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40685         New macros.
40686         (struct stat64): Likewise.
40687         (_STATBUF_ST_NSEC): New macro.
40688         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40689
40690         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40691         __strtoul_internal rather than strtoul.
40692
40693 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40694
40695         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40696         and reject them.
40697
40698 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40699
40700         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40701         which preserves existing values.
40702         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40703
40704 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40705
40706         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40707         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40708         greater than FD_SETSIZE.
40709
40710 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40711
40712         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40713         allocated, call __vm_protect to finish enabling the existing space, and
40714         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40715         allocate the remainder.
40716
40717 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40718
40719         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40720         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40721
40722 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40723
40724         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40725         sysdeps/mach/hurd/readlink.c.
40726
40727         * posix/tst-sysconf.c (posix_options): Only use
40728         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40729         _POSIX_SYNCHRONIZED_IO when they are defined
40730         * sysdeps/mach/hurd/bits/posix_opt.h:
40731         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40732         (_XOPEN_REALTIME): Undefine macro.
40733         (_XOPEN_REALTIME_THREADS): Undefine macro.
40734         (_XOPEN_SHM): Undefine macro.
40735         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40736         macro to -1.
40737         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40738         macro to -1.
40739         (_POSIX_ASYNC_IO): Undefine macro.
40740         (_POSIX_PRIORITIZED_IO): Undefine macro.
40741         (_POSIX_SPIN_LOCKS): Define macro to -1.
40742
40743         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40744         SA_NODEFER, SA_RESETHAND.
40745         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40746         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40747         F_DUPFD_CLOEXEC.
40748
40749 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40750
40751         * elf/Makefile (pldd-modules): Define unconditionally.
40752
40753 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40754
40755         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40756
40757 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40758
40759         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40760         Return ENOENT when name is empty.
40761         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40762
40763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40764
40765         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40766
40767         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40768
40769 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40770
40771         Fix mlock in all cases except non-readable pages.
40772         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40773         instead of VM_PROT_ALL as parameter to __vm_wire function.
40774
40775         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40776         (__mkdir): When path is `/', just fail with EEXIST.
40777         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40778
40779 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40780
40781         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40782         <sys/uio.h> (for writev).
40783         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40784         and <sys/param.h> (for MIN).
40785
40786 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40787
40788         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40789         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40790         if interrupted.
40791
40792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40793
40794         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40795         Depend on against $(link-rpcuserlibs).
40796
40797 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40798
40799         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40800         (__libc_stack_end): Do not use attribute_relro.
40801         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40802         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40803         to libthread-provided value.
40804         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40805         attribute_relro.
40806
40807 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40808
40809         [BZ #3748]
40810         * bits/libc-lock.h (__libc_once_get): New macro.
40811         * sysdeps/mach/bits/libc-lock.h: Likewise.
40812         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40813         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40814         instead of using implementation details.
40815
40816         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40817         * libio/freopen.c: Likewise.
40818         * libio/freopen64.c: Likewise.
40819         * misc/syslog.c: Likewise.
40820         * nscd/connections.c: Likewise.
40821         * nscd/netgroupcache.c: Likewise.
40822         * sysdeps/posix/getcwd.c: Likewise.
40823
40824 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40825
40826         * math/w_ilogbf.c: Add #include <limits.h>.
40827
40828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40829
40830         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40831         path instead of returning without unlocking.
40832
40833         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40834         immediate-write ioctls.
40835         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40836
40837 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40838
40839         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40840         __builtin_frame_address instead of making assumptions about the
40841         location of the return address relative to DATA.  Force early load of
40842         the return address.
40843         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40844         __builtin_frame_address.
40845
40846         dup3 for GNU Hurd.
40847         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40848         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40849         implement dup3 and do some further code clean-ups.
40850         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40851         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40852
40853 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40854
40855         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40856
40857         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40858         HURD_CRITICAL_END around holding _hurd_dtable_lock.
40859         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40860         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40861         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40862         d->port.lock.
40863
40864         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40865         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
40866         when handler == SIG_ERR, not when handler != SIG_ERR.
40867
40868 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40869
40870         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40871         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40872         definitions.
40873
40874         accept4 for GNU Hurd.
40875         * include/sys/socket.h (__libc_accept4): New prototype.
40876         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
40877         to implement __libc_accept4.
40878         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40879         __libc_accept4.
40880         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40881
40882         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40883         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40884         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40885         signal-defines.sym.
40886
40887 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40888
40889         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40890
40891 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40892
40893         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40894         assertion on O_CLOEXEC flag.
40895         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40896         * hurd/intern-fd.c: Likewise.
40897         * hurd/port2fd.c: Likewise.
40898
40899 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40900
40901         [BZ #3906]
40902         * bits/in.h (IPV6_PKTINFO): Define new macro.
40903         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40904
40905 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40906
40907         [BZ #13954]
40908         [BZ #13955]
40909         [BZ #13956]
40910         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40911         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40912         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40913         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40914         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40915         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40916         * math/libm-test.inc (logb_test) : Additional logb tests.
40917
40918 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
40919             Andreas Jaeger  <aj@suse.de>
40920
40921         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40922         * configure: Regenerated.
40923         * config.h.in (LINK_OBSOLETE_RPC): New macro.
40924         * config.make.in (link-obsolete-rpc): New substituted variable.
40925         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40926         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40927         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40928         (shared-only-routines): Don't set it under [link-obsolete-rpc],
40929         so that libc.a contains the symbols.
40930         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40931         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40932         * sunrpc/auth_none.c: Likewise.
40933         * sunrpc/auth_unix.c: Likewise.
40934         * sunrpc/authdes_prot.c: Likewise.
40935         * sunrpc/authuxprot.c: Likewise.
40936         * sunrpc/clnt_gen.c: Likewise.
40937         * sunrpc/clnt_perr.c: Likewise.
40938         * sunrpc/clnt_raw.c: Likewise.
40939         * sunrpc/clnt_simp.c: Likewise.
40940         * sunrpc/clnt_tcp.c: Likewise.
40941         * sunrpc/clnt_udp.c: Likewise.
40942         * sunrpc/clnt_unix.c: Likewise.
40943         * sunrpc/des_crypt.c: Likewise.
40944         * sunrpc/des_soft.c: Likewise.
40945         * sunrpc/get_myaddr.c: Likewise.
40946         * sunrpc/key_call.c: Likewise.
40947         * sunrpc/key_prot.c: Likewise.
40948         * sunrpc/netname.c: Likewise.
40949         * sunrpc/pm_getmaps.c: Likewise.
40950         * sunrpc/pm_getport.c: Likewise.
40951         * sunrpc/pmap_clnt.c: Likewise.
40952         * sunrpc/pmap_prot.c: Likewise.
40953         * sunrpc/pmap_prot2.c: Likewise.
40954         * sunrpc/pmap_rmt.c: Likewise.
40955         * sunrpc/publickey.c: Likewise.
40956         * sunrpc/rpc_cmsg.c: Likewise.
40957         * sunrpc/rpc_common.c: Likewise.
40958         * sunrpc/rpc_dtable.c: Likewise.
40959         * sunrpc/rpc_prot.c: Likewise.
40960         * sunrpc/rpc_thread.c: Likewise.
40961         * sunrpc/rtime.c: Likewise.
40962         * sunrpc/svc.c: Likewise.
40963         * sunrpc/svc_auth.c: Likewise.
40964         * sunrpc/svc_raw.c: Likewise.
40965         * sunrpc/svc_run.c: Likewise.
40966         * sunrpc/svc_tcp.c: Likewise.
40967         * sunrpc/svc_udp.c: Likewise.
40968         * sunrpc/svc_unix.c: Likewise.
40969         * sunrpc/svcauth_des.c: Likewise.
40970         * sunrpc/xcrypt.c: Likewise.
40971         * sunrpc/xdr.c: Likewise.
40972         * sunrpc/xdr_array.c: Likewise.
40973         * sunrpc/xdr_float.c: Likewise.
40974         * sunrpc/xdr_intXX_t.c: Likewise.
40975         * sunrpc/xdr_mem.c: Likewise.
40976         * sunrpc/xdr_rec.c: Likewise.
40977         * sunrpc/xdr_ref.c: Likewise.
40978         * sunrpc/xdr_sizeof.c: Likewise.
40979         * sunrpc/xdr_stdio.c: Likewise.
40980
40981 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40982
40983         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40984         change.  Update copyright years.
40985
40986 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40987
40988         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40989
40990 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
40991             Joseph Myers  <joseph@codesourcery.com>
40992             Paul Pluzhnikov  <ppluzhnikov@google.com>
40993
40994         [BZ #14012]
40995         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40996         requiring rpcgen.
40997         [cross-compiling] (extra-libs): Likewise.
40998         [cross-compiling] (extra-libs-others): Likewise.
40999         [cross-compiling] (librpcsvc-routines): Likewise.
41000         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41001         [cross-compiling] (omit-deps): Likewise.
41002         (sunrpc-CPPFLAGS): New variable.
41003         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41004         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41005         (cross-rpcgen-objs): New variable.
41006         (extra-objs): Append $(cross-rpcgen-objs).
41007         ($(cross-rpcgen-objs)): New rule.
41008         ($(objpfx)cross-rpcgen): Likewise.
41009         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41010         comment.
41011         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41012         ($(objpfx)x%.stmp): Likewise.
41013         * sunrpc/proto.h [IS_IN_build] (_): Define.
41014         [IS_IN_build] (_libc_intl_domainname): Likewise.
41015
41016 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41017
41018         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41019         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41020         and R_X86_64_TPOFF64.
41021
41022 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41023
41024         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41025         sysdeps/unix/sysv/syscalls.list.
41026         (stime): Likewise.
41027         (utime): Likewise.
41028         * sysdeps/unix/sysv/syscalls.list: Remove file.
41029
41030 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41031
41032         [BZ #3440]
41033         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41034         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41035         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41036         (__LC_IDENTIFICATION): Make these macros useful in #if
41037         expressions, as required by C99.
41038
41039 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41040
41041         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41042         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41043         after this.
41044
41045 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41046
41047         * stdlib/longlong.h: Updated from GCC.
41048
41049 2012-05-09  Andreas Jaeger  <aj@suse.de>
41050
41051         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41052         default is first entry.
41053         (run_mode): Set type.
41054         (main): Remove informal message about syslog.
41055         (options): Fix typo.
41056
41057         [BZ #14053]
41058         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41059         to asm.
41060         (lrint): Likewise.
41061         (llrintf): Likewise.
41062         (llrint): Likewise.
41063         (rint): Likewise.
41064         (rintf): Likewise.
41065         (nearbyint): Likewise.
41066         (nearbyintf): Likewise.
41067
41068 2012-05-09  Andreas Jaeger  <aj@suse.de>
41069             Pedro Alves  <palves@redhat.com>
41070
41071         * nscd/nscd.c (run_mode): Use enum.
41072         (main): Cleanup coding style issue.
41073
41074 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41075             Andreas Jaeger  <aj@suse.de>
41076
41077         * nscd/nscd.c (go_background): Replaced with...
41078         (run_mode): ... this.
41079         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41080         (options): Add -F --foreground.
41081         (main): Implement it.
41082         (parse_opt): Parse it.
41083
41084 2012-05-09  Andreas Jaeger  <aj@suse.de>
41085
41086         [BZ #14083]
41087         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41088         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41089         -Wconversion warning.
41090         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41091         Likewise.
41092
41093 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41094
41095         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41096         == 0.
41097         (LC_ALL): Use macro-int-constant.
41098         (LC_COLLATE): Likewise.
41099         (LC_CTYPE): Likewise.
41100         (LC_MESSAGES): Likewise.
41101         (LC_MONETARY): Likewise.
41102         (LC_NUMERIC): Likewise.
41103         (LC_TIME): Likewise.
41104         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41105         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41106         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41107         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41108         Specify type.
41109         [C99-based standards] (float_t): Expect type.
41110         [C99-based standards] (double_t): Expect type.
41111         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41112         type.
41113         [C99-based standards] (HUGE_VALL): Likewise.
41114         [C99-based standards] (INFINITY): Likewise.
41115         [C99-based standards] (NAN): Likewise.
41116         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41117         [C99-based standards] (FP_NAN): Likewise.
41118         [C99-based standards] (FP_NORMAL): Likewise.
41119         [C99-based standards] (FP_SUBNORMAL): Likewise.
41120         [C99-based standards] (FP_ZERO): Likewise.
41121         [C99-based standards] (FP_FAST_FMA): Use
41122         optional-macro-int-constant.  Specify type.  Require == 1.
41123         [C99-based standards] (FP_FAST_FMAF): Likewise.
41124         [C99-based standards] (FP_FAST_FMAL): Likewise.
41125         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41126         [C99-based standards] (FP_ILOGBNAN): Likewise.
41127         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41128         Specify type.
41129         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41130         [C99-based standards] (math_errhandling): Specify type.
41131         [ISO99 || ISO11] (signgam): Do not allow.
41132         [non-C99-based standards] (copysignf): Do not allow.
41133         [non-C99-based standards] (exp2f): Likewise.
41134         [non-C99-based standards] (log2f): Likewise.
41135         [non-C99-based standards] (modff): Allow.
41136         [non-C99-based standards] (erff): Do not allow.
41137         [non-C99-based standards] (erfcf): Likewise.
41138         [non-C99-based standards] (gammaf): Likewise.
41139         [non-C99-based standards] (hypotf): Likewise.
41140         [non-C99-based standards] (j0f): Likewise.
41141         [non-C99-based standards] (j1f): Likewise.
41142         [non-C99-based standards] (jnf): Likewise.
41143         [non-C99-based standards] (lgammaf): Likewise.
41144         [non-C99-based standards] (tgammaf): Likewise.
41145         [non-C99-based standards] (y0f): Likewise.
41146         [non-C99-based standards] (y1f): Likewise.
41147         [non-C99-based standards] (ynf): Likewise.
41148         [non-C99-based standards] (isnanf): Likewise.
41149         [non-C99-based standards] (acoshf): Likewise.
41150         [non-C99-based standards] (asinhf): Likewise.
41151         [non-C99-based standards] (atanhf): Likewise.
41152         [non-C99-based standards] (cbrtf): Likewise.
41153         [non-C99-based standards] (expm1f): Likewise.
41154         [non-C99-based standards] (ilogbf): Likewise.
41155         [non-C99-based standards] (log1pf): Likewise.
41156         [non-C99-based standards] (logbf): Likewise.
41157         [non-C99-based standards] (nextafterf): Likewise.
41158         [non-C99-based standards] (remainderf): Likewise.
41159         [non-C99-based standards] (rintf): Likewise.
41160         [non-C99-based standards] (scalbf): Likewise.
41161         [non-C99-based standards] (copysignl): Likewise.
41162         [non-C99-based standards] (exp2l): Likewise.
41163         [non-C99-based standards] (log2l): Likewise.
41164         [non-C99-based standards] (modfl): Allow.
41165         [non-C99-based standards] (erfl): Do not allow.
41166         [non-C99-based standards] (erfcl): Likewise.
41167         [non-C99-based standards] (gammal): Likewise.
41168         [non-C99-based standards] (hypotl): Likewise.
41169         [non-C99-based standards] (j0l): Likewise.
41170         [non-C99-based standards] (j1l): Likewise.
41171         [non-C99-based standards] (jnl): Likewise.
41172         [non-C99-based standards] (lgammal): Likewise.
41173         [non-C99-based standards] (tgammal): Likewise.
41174         [non-C99-based standards] (y0l): Likewise.
41175         [non-C99-based standards] (y1l): Likewise.
41176         [non-C99-based standards] (ynl): Likewise.
41177         [non-C99-based standards] (isnanl): Likewise.
41178         [non-C99-based standards] (acoshl): Likewise.
41179         [non-C99-based standards] (asinhl): Likewise.
41180         [non-C99-based standards] (atanhl): Likewise.
41181         [non-C99-based standards] (cbrtl): Likewise.
41182         [non-C99-based standards] (expm1l): Likewise.
41183         [non-C99-based standards] (ilogbl): Likewise.
41184         [non-C99-based standards] (log1pl): Likewise.
41185         [non-C99-based standards] (logbl): Likewise.
41186         [non-C99-based standards] (nextafterl): Likewise.
41187         [non-C99-based standards] (remainderl): Likewise.
41188         [non-C99-based standards] (rintl): Likewise.
41189         [non-C99-based standards] (scalbl): Likewise.
41190         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41191         [non-C99-based standards] (FP_*): Do not allow.
41192         [C99-based standards] (FP_*): Change to
41193         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41194         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41195         allow.
41196         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41197         (SIG_ERR): Likewise.
41198         [X/Open-based standards] (SIG_HOLD): Likewise.
41199         (SIG_IGN): Likewise.
41200         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41201         positive value.
41202         (SIGFPE): Likewise.
41203         (SIGILL): Likewise.
41204         (SIGINT): Likewise.
41205         (SIGSEGV): Likewise.
41206         (SIGTER): Likewise.
41207         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41208         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41209         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41210         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41211         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41212         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41213         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41214         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41215         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41216         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41217         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41218         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41219         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41220         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41221         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41222         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41223         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41224         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41225         [X/Open-based standards] (SIGTRAP): Likewise.
41226         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41227         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41228         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41229         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41230         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41231         allow.
41232
41233 2012-05-08  Ian Wienand  <ianw@vmware.com>
41234
41235         [BZ #14080]
41236         * time/tzset.c (__tzset_parse_tz): Update default rules for
41237         daylight time changes in the Energy Policy Act of 2005.
41238
41239 2012-05-09  Andreas Jaeger  <aj@suse.de>
41240
41241         [BZ #13983]
41242         * elf/ldconfig.c (parse_conf): Change string to make clear that
41243         ldconfig only issued a warning if ld.so.conf does not exist.
41244
41245 2012-05-08  David S. Miller  <davem@davemloft.net>
41246
41247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41248         movxtod instead of popping the value on the stack.
41249
41250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41251
41252 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41253
41254         * config.h.in: Add HAVE_ARM_PCS_VFP.
41255
41256 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41257
41258         [BZ #13979]
41259         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41260         checking but the checks are disabled for any reason.
41261
41262 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41263
41264         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41265         and ELF64_R_TYPE with ELFW(R_TYPE).
41266
41267 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41268
41269         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41270         (ulimit): Likewise.
41271
41272         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41273         (settimeofday): Likewise.
41274
41275 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41276
41277         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41278         a struct th_u2 inside the union, and move tu_block/tu_code into
41279         a new th_u3 union of tu_block/tu_code inside of that.  Move
41280         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41281         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41282         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41283         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41284         (th_stuff): Change to th_u1.tu_stuff.
41285         (th_data): Define.
41286         (th_msg): Change to th_u1.th_u2.tu_data.
41287
41288 2012-05-07  David S. Miller  <davem@davemloft.net>
41289
41290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41291
41292         [BZ #14074]
41293         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41294         (SETUP_PIC_REG): Use it.
41295         (SETUP_PIC_REG_LEAF): Use it.
41296
41297 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41298
41299         [BZ #13885]
41300         [BZ #13923]
41301         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41302         USE_AS_EXPM1L.
41303         (EXPL_FINITE): Likewise.
41304         (FLDLOG): Likewise.
41305         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41306         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41307         e_expl.S.
41308         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41309         USE_AS_EXPM1L.
41310         (EXPL_FINITE): Likewise.
41311         (FLDLOG): Likewise.
41312         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41313         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41314         e_expl.S.
41315         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41316         test of -max_value argument for long double.
41317         * sysdeps/i386/fpu/libm-test-ulps: Update.
41318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41319
41320 2012-05-06  David S. Miller  <davem@davemloft.net>
41321
41322         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41323         quad soft-float symbols whose references which are compiler
41324         generated.
41325         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41326
41327 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41328
41329         [BZ #13884]
41330         [BZ #13914]
41331         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41332         USE_AS_EXP10L.
41333         (EXPL_FINITE): Likewise.
41334         (FLDLOG): Likewise.
41335         (c0): Likewise.
41336         (c1): Likewise.
41337         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41338         Adjust comments for base varying.
41339         (__expl_finite): Change alias to EXPL_FINITE.
41340         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41341         e_expl.S.
41342         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41343         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41344         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41345         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41346         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41347         USE_AS_EXP10L.
41348         (EXPL_FINITE): Likewise.
41349         (FLDLOG): Likewise.
41350         (c0): Likewise.
41351         (c1): Likewise.
41352         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41353         Adjust comments for base varying.
41354         (__expl_finite): Change alias to EXPL_FINITE.
41355         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41356         tests for bugs.
41357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41358
41359         [BZ #14064]
41360         * math/libm-test.inc (check_float_internal): Correct ulp
41361         calculation for subnormal expected results.
41362
41363 2012-05-06  Andreas Jaeger  <aj@suse.de>
41364
41365         * Makeconfig (+math-flags): New, set to -frounding-math.
41366         (+cflags): Add +math-flags so that all of glibc gets compiled with
41367         it.
41368
41369         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41370
41371 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41372
41373         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41374         Disable one test.
41375
41376         [BZ #13787]
41377         [BZ #13922]
41378         [BZ #14036]
41379         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41380         (__ieee754_expl): Allow for and saturate large arguments.
41381         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41382         (u_threshold): Likewise.
41383         (__exp): Call __ieee754_exp before checking for overflow and
41384         underflow.
41385         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41386         (u_threshold): Likewise.
41387         (__expf): Call __ieee754_expf before checking for overflow and
41388         underflow.
41389         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41390         (u_threshold): Likewise.
41391         (__expl): Call __ieee754_expl before checking for overflow and
41392         underflow.
41393         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41394         (__ieee754_expl): Allow for and saturate large arguments.
41395         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41396         missing overflow exception on overflow.
41397         (expm1_test): Do not allow missing overflow exception on overflow.
41398
41399         * sysdeps/i386/fpu/e_expl.c: Move to ...
41400         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41401         rather than using inline asm.
41402         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41403         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41404         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41405
41406         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41407         (nice): Likewise.
41408         (poll): Likewise.
41409         (signal): Likewise.
41410         (time): Likewise.
41411         (times): Likewise.
41412
41413 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41414
41415         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41416         sysdeps/unix/common/syscalls.list.
41417         (fchmod): Likewise.
41418         (fchown): Likewise.
41419         (ftruncate): Likewise.
41420         (getrusage): Likewise.
41421         (gettimeofday): Likewise.
41422         (setpgid): Likewise.
41423         (setregid): Likewise.
41424         (setreuid): Likewise.
41425         (sigaction): Likewise.
41426         (truncate): Likewise.
41427         (vhangup): Likewise.
41428         * sysdeps/unix/common/syscalls.list: Remove file.
41429         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41430         * sysdeps/unix/sysv/linux/Implies: Likewise.
41431
41432 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41433
41434         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41436         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41437         Moved to ...
41438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41439         Here.
41440         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41441         to ...
41442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41443         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41444         to ...
41445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41446         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41447         to ...
41448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41449         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41450         to ...
41451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41452         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41453         to ...
41454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41455         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41456         to ...
41457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41458         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41459         to ...
41460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41461         Here.
41462         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41463         to ...
41464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41465         Here.
41466         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41467         to ...
41468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41469         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41470         Moved to ...
41471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41472         Here.
41473         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41474         to ...
41475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41476
41477 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41478
41479         * sysdeps/unix/common/bits/dirent.h: Remove file.
41480         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41481
41482         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41483         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41484         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41485         * sysdeps/unix/bsd/isatty.c: Likewise.
41486         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41487         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41488         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41489
41490 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41491
41492         [BZ #13563]
41493         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41494         long double comparison inaccuracies.
41495         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41497
41498 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41499
41500         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41501         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41502
41503 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41504
41505         [BZ #14049]
41506         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41507         nonzero digits before rounding a hex value.
41508         * stdlib/tst-strtod.c (tests): Add another test.
41509
41510 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41511
41512         * sysdeps/s390/fpu/libm-test-ulps: Update.
41513
41514 2012-05-03  Andreas Jaeger  <aj@suse.de>
41515
41516         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41517         does not get optimized out.
41518         (malloc_opt_barrier): New.
41519
41520 2012-05-03  Andreas Jaeger  <aj@suse.de>
41521             Roland McGrath  <roland@hack.frob.com>
41522
41523         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41524         intermediate file deletion.
41525         (generated): Add .symlist files.
41526
41527 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41528
41529         [BZ #13775]
41530         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41531         Redirect under this condition.
41532         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41533         [__USE_GNU] (__dprintf_chk): Not under this condition.
41534         [__USE_GNU] (__vdprintf_chk): Likewise.
41535         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41536         under this condition.
41537         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41538         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41539         [__USE_XOPEN2K8] (vdprintf): Likewise.
41540         [__USE_GNU] (__dprintf_chk): Not under this condition.
41541         [__USE_GNU] (__vdprintf_chk): Likewise.
41542         [__USE_GNU] (dprintf): Likewise.
41543         [__USE_GNU] (vdprintf): Likewise.
41544
41545 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41546
41547         * elf/Makefile (common-generated): Set this instead of generated for
41548         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41549         $(all-built-dso)-derived lists.
41550
41551 2012-05-03  Andreas Jaeger  <aj@suse.de>
41552
41553         * sysdeps/i386/fpu/libm-test-ulps: Update.
41554
41555         * FAQ: Removed.
41556         * FAQ.in: Likewise.
41557         * scripts/gen-FAQ.pl: Likewise.
41558         * manual/install.texi (Installation): Point to online location of
41559         FAQ.
41560         * Makefile (files-for-dist): Remove FAQ.
41561         (FAQ): Remove.
41562
41563 2012-05-02  Allan McRae  <allan@archlinux.org>
41564
41565         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41566         (LDFLAGS-reldepmod5.so): Likewise.
41567         (LDFLAGS-reldep6mod1.so): Likewise.
41568         (LDFLAGS-reldep6mod4.so): Likewise.
41569         (LDFLAGS-reldep8mod3.so): Likewise.
41570         (LDFLAGS-unload4mod1.so): Likewise.
41571         (LDFLAGS-unload4mod2.so): Likewise.
41572         (LDFLAGS-tst-initorder): Likewise.
41573         (LDFLAGS-tst-initordera2.so): Likewise.
41574         (LDFLAGS-tst-initordera3.so): Likewise.
41575         (LDFLAGS-tst-initordera4.so): Likewise.
41576         (LDFLAGS-tst-initorderb2.so): Likewise.
41577         (LDFLAGS-noload): Likewise.
41578         (LDFLAGS-next): Likewise.
41579         (LDFLAGS-order2mod1.so): Likewise.
41580         (LDFLAGS-order2mod2.so): Likewise.
41581         (LDFLAGS-tst-initorder2): Likewise.
41582         (LDFLAGS-tst-initorder2a.so): Likewise.
41583         (LDFLAGS-tst-initorder2b.so): Likewise.
41584         (LDFLAGS-tst-initorder2c.so): Likewise.
41585         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41586
41587 2012-05-02  David S. Miller  <davem@davemloft.net>
41588
41589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41590
41591 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41592
41593         [BZ #14055]
41594         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41595
41596 2012-05-02  Andreas Jaeger  <aj@suse.de>
41597
41598         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41599         since we manipulate rounding mode.
41600         (CPPFLAGS-test-idouble.c): Likewise.
41601         (CPPFLAGS-test-ifloat.c): Likewise.
41602         (CFLAGS-test-ldouble.c): Likewise.
41603         (CFLAGS-test-double.c): Likewise.
41604         (CFLAGS-test-float.c): Likewise.
41605         (CFLAGS-test-misc.c): Likewise.
41606         (CFLAGS-test-test-fenv.c): Likewise.
41607
41608 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41609
41610         [BZ #2550]
41611         [BZ #2570]
41612         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41613         comparisons to determine direction to adjust input.
41614
41615 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41616
41617         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41618         output to the target.
41619
41620         * scripts/localplt.awk: New file.
41621         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41622         (check-localplt-CFLAGS): Variable removed.
41623         ($(all-built-dso:=.jmprel)): New static pattern rule.
41624         (generated): Add those targets.
41625         (localplt-built-dso): New variable.
41626         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41627
41628         * elf/check-localplt.c: File removed.
41629
41630         * scripts/check-execstack.awk: New file.
41631         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41632         (check-execstack-CFLAGS): Variable removed.
41633         ($(objpfx)check-execstack.h): Target removed.
41634         ($(objpfx)execstack-default): New target.
41635         (generated): Add that instead of check-execstack.h.
41636         ($(all-built-dso:=.phdr)): New static pattern rule.
41637         (generated): Add those targets.
41638         * elf/check-execstack.c: File removed.
41639
41640         * scripts/check-textrel.awk: New file.
41641         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41642         (check-textrel-CFLAGS): Variable removed.
41643         (all-built-dso): Use := to define.o
41644         ($(all-built-dso:=.dyn)): New static pattern rule.
41645         (generated): Add those targets.
41646         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41647         * config.make.in (READELF): New substituted variable.
41648         * elf/check-textrel.c: File removed.
41649
41650 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41651
41652         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41653         allow.
41654         * conform/data/ctype.h-data [C99-based standards] (isblank):
41655         Expect function.
41656         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41657         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41658         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41659         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41660         Specify type.  Require positive value.
41661         (EILSEQ): Likewise.
41662         (ERANGE): Likewise.
41663         [ISO || POSIX] (EILSEQ): Do not expect.
41664         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41665         Specify type.  Require positive value.
41666         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41667         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41668         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41669         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41670         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41671         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41672         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41673         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41674         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41675         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41676         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41677         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41678         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41679         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41680         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41681         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41682         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41683         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41684         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41685         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41686         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41687         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41688         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41689         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41690         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41691         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41692         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41693         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41694         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41695         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41696         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41697         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41698         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41699         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41700         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41701         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41702         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41703         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41704         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41705         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41706         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41707         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41708         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41709         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41710         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41711         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41712         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41713         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41714         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41715         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41716         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41717         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41718         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41719         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41720         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41721         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41722         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41723         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41724         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41725         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41726         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41727         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41728         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41729         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41730         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41731         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41732         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41733         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41734         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41735         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41736         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41737         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41738         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41739         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41740         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41741         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41742         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41743         Require >= 2.
41744         (FLT_ROUNDS): Expect as macro, not constant.
41745         (FLT_MANT_DIG): Use macro-int-constant.
41746         (DBL_MANT_DIG): Likewise.
41747         (LDBL_MANT_DIG): Likewise.
41748         (FLT_DIG): Likewise.
41749         (DBL_DIG): Likewise.
41750         (LDBL_DIG): Likewise.
41751         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41752         (DBL_MIN_EXP): Likewise.
41753         (LDBL_MIN_EXP): Likewise.
41754         (FLT_MAX_EXP): Use macro-int-constant.
41755         (DBL_MAX_EXP): Likewise.
41756         (LDBL_MAX_EXP): Likewise.
41757         (FLT_MAX_10_EXP): Likewise.
41758         (DBL_MAX_10_EXP): Likewise.
41759         (LDBL_MAX_10_EXP): Likewise.
41760         (FLT_MAX): Use macro-constant.
41761         (DBL_MAX): Likewise.
41762         (LDBL_MAX): Likewise.
41763         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41764         (DBL_EPSILON): Likewise.
41765         (LDBL_EPSILON): Likewise.
41766         (FLT_MIN): Likewise.
41767         (DBL_MIN): Likewise.
41768         (LDBL_MIN): Likewise.
41769         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41770         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41771         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41772         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41773         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41774         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41775         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41776         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41777         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41778         [ISO11] (FLT_TRUE_MIN): Likewise.
41779         [ISO11] (LDBL_TRUE_MIN): Likewise.
41780         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41781         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41782         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41783         (SCHAR_MAX): Likewise.
41784         (UCHAR_MAX): Likewise.
41785         (CHAR_MIN): Likewise.
41786         (CHAR_MAX): Likewise.
41787         (MB_LEN_MAX): Use macro-int-constant.
41788         (SHRT_MIN): Use macro-int-constant.  Specify type.
41789         (SHRT_MAX): Likewise.
41790         (USHRT_MAX): Likewise.
41791         (INT_MAX): Likewise.
41792         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41793         bound negative.
41794         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41795         bound with "U".
41796         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41797         bound with "L".
41798         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41799         bound negative.  Suffix upper bound with "L".
41800         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41801         bound with "UL".
41802         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41803         Specify type.
41804         [C99-based standards] (LLONG_MAX): Likewise.
41805         [C99-based standards] (ULLONG_MAX): Likewise.
41806         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41807         == 0.
41808         [ISO11] (max_align_t): Require type.
41809         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41810
41811         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41812         from $CFLAGS, without defining away __attribute__ calls.
41813         (checknamespace): Use $CFLAGS_namespace.
41814
41815         * conform/conformtest.pl (@keywords): Only include C99 keywords
41816         for standards based on C99 or C11.
41817
41818         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41819         Disable tests.
41820         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41821         UNIX98]: Likewise.
41822
41823         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41824         usability of symbols in #if.
41825
41826         * conform/conformtest.pl: If macro or constant types start
41827         "promoted:", expect the symbol to be of the following type
41828         promoted by the integer promotions.
41829
41830         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41831         in one place.  Also handle "macro-constant".
41832
41833         * conform/conformtest.pl: Only accept expected macro values with
41834         "==".  Parse all "macro" lines in one place.
41835         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41836
41837         * conform/conformtest.pl: Handle braced types on "constant" lines
41838         instead of handling "typed-constant".
41839         * conform/data/signal.h-data: Use "constant" instead of
41840         "typed-constant".
41841
41842         * conform/conformtest.pl: Handle "optional-" at start of lines in
41843         one place rather than duplicating several cases.  Handle each
41844         format of "macro" line with initial "optional-".
41845
41846         * conform/conformtest.pl: Only accept expected constant or
41847         optional-constant values with "==".  Parse all "constant" lines in
41848         one place.  Parse all "optional-constant" lines in one place.
41849         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41850         * conform/data/fmtmsg.h-data: Likewise.
41851         * conform/data/netinet/in.h-data: Likewise.
41852         * conform/data/tar.h-data: Likewise.
41853         * conform/data/limits.h-data: Use "==" form on "constant" and
41854         "optional-constant" lines.
41855
41856         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41857         Use -std=c99 for XOPEN2K.
41858         (@knownproblems): Remove.
41859         (newtoken): Don't check %isknown.
41860
41861         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41862         Do not expect macro.
41863         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41864         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41865         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41866         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41867         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41868         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41869         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41870         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41871         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41872         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41873         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41874         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41875         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41876         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41877         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41878         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41879         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41880         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41881         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41882         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41883         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41884         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41885         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41886         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41887         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41888         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41889         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41890         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41891         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41892         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41893         [XPG3] (acosh): Likewise.
41894         [XPG3] (asinh): Likewise.
41895         [XPG3] (atanh): Likewise.
41896         [XPG3] (cbrt): Likewise.
41897         [XPG3] (expm1): Likewise.
41898         [XPG3] (ilogb): Likewise.
41899         [XPG3] (log1p): Likewise.
41900         [XPG3] (logb): Likewise.
41901         [XPG3] (nextafter): Likewise.
41902         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41903         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41904         [XPG3] (remainder): Likewise.
41905         [XPG3] (rint): Likewise.
41906         [XPG3 || XPG4 || UNIX98] (round): Likewise.
41907         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41908         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41909         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41910         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41911         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41912         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41913         [UNIX98 || XOPEN2K] (scalb): Expect.
41914         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41915         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41916         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41917         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41918         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41919         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41920         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41921         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41922         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41923         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41924         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41925         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41926         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41927         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41928         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41929         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41930         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41931         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41932         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41933         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41934         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41935         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41936         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41937         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41938         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41939         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41940         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41941         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41942         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41943         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41944         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41945         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41946         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41947         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41948         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41949         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41950         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41951         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41952         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41953         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41954         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41955         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41956         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41957         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41958         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41959         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41960         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41961         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41962         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41963         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41964         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41965         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41966         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41967         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41968         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41969         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41970         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41971         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41972         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41973         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41974         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41975         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41976         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41977         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41978         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41979         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41980         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41981         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41982         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41983         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41984         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41985         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41986         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41987         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41988         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41989         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41990         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41991         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41992         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41993         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41994         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41995         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41996         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41997         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41998         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41999         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42000         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42001         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42002         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42003         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42004         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42005         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42006         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42007         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42008         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42009         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42010         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42011         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42012         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42013         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42014         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42015         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42016         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42017         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42018         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42019         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42020         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42021         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42022         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42023         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42024         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42025         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42026         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42027         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42028         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42029         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42030         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42031         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42032         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42033         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42034         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42035         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42036         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42037         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42038         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42039         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42040         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42041         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42042         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42043         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42044         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42045         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42046         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42047         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42048         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42049         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42050         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42051
42052         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42053         _XOPEN_SOURCE_EXTENDED for XPG4.
42054
42055         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42056
42057         * Makeconfig (localtime): Remove variable.
42058         (inst_localtime-file): Likewise.
42059
42060 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42061
42062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42063         Update.
42064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42065         Update.
42066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42067         Update.
42068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42069         Update.
42070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42071         Update.
42072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42073         Update.
42074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42075         Update.
42076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42077         Update.
42078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42079         Update.
42080
42081 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42082
42083         [BZ #2550]
42084         [BZ #2570]
42085         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42086         comparisons to determine direction to adjust input.
42087         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42088         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42089         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42090         Likewise.
42091         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42092         Likewise.
42093         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42094         Likewise.
42095         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42096         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42097         Likewise.
42098         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42099         Likewise.
42100         * math/libm-test.inc (nexttoward_test): Add more tests.
42101
42102 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42103
42104         [BZ #14040]
42105         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42106         in version GLIBC_2.1, not GLIBC_2.0.
42107         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42108         Likewise.
42109
42110 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42111
42112         [BZ #13942]
42113         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42114         (1 - x) * (1 + x).
42115         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42116         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42117         * math/libm-test.inc (acos_test): Add more tests.
42118         (asin_test): Likewise.
42119         * sysdeps/i386/fpu/libm-test-ulps: Update.
42120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42121
42122         [BZ #14034]
42123         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42124         of square root.
42125         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42126         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42127         * math/libm-test.inc (acos_test_tonearest): New function.
42128         (acos_test_towardzero): Likewise.
42129         (acos_test_downward): Likewise.
42130         (acos_test_upward): Likewise.
42131         (asin_test_tonearest): Likewise.
42132         (asin_test_towardzero): Likewise.
42133         (asin_test_downward): Likewise.
42134         (asin_test_upward): Likewise.
42135         (main): Call the new functions.
42136         * sysdeps/i386/fpu/libm-test-ulps: Update.
42137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42138
42139         [BZ #13884]
42140         [BZ #13924]
42141         * math/e_exp10.c: Include <float.h>.
42142         (__ieee754_exp10): Handle underflow here rather than multiplying
42143         large negative argument by M_LN10.
42144         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42145         of __ieee754_expf.
42146         * math/e_exp10l.c: Include <float.h>.
42147         (__ieee754_exp10l): Handle underflow here rather than multiplying
42148         large negative argument by M_LN10l.
42149         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42150         spurious overflow exception on underflow.
42151
42152 2012-04-29  Marek Polacek  <polacek@redhat.com>
42153
42154         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42155         (__fortify_function): New macro.
42156         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42157         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42158         __extern_always_inline.
42159         * libio/bits/stdio2.h: Likewise.
42160         * libio/bits/stdio.h: Likewise.
42161         * string/string.h: Likewise.
42162         * string/bits/string3.h: Likewise.
42163         * include/stdio.h: Likewise.
42164         * stdlib/bits/stdlib.h: Likewise.
42165         * stdlib/stdlib.h: Likewise.
42166         * rt/bits/mqueue2.h: Likewise.
42167         * rt/mqueue.h: Likewise.
42168         * posix/bits/unistd.h: Likewise.
42169         * posix/unistd.h: Likewise.
42170         * io/bits/poll2.h: Likewise.
42171         * io/bits/fcntl2.h: Likewise.
42172         * io/fcntl.h: Likewise.
42173         * io/sys/poll.h: Likewise.
42174         * misc/bits/syslog.h: Likewise.
42175         * misc/bits/syslog-ldbl.h: Likewise.
42176         * misc/sys/syslog.h: Likewise.
42177         * socket/bits/socket2.h: Likewise.
42178         * socket/sys/socket.h: Likewise.
42179         * debug/tst-chk1.c: Likewise.
42180         * wcsmbs/bits/wchar2.h: Likewise.
42181         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42182         * wcsmbs/wchar.h: Likewise.
42183
42184 2012-04-29  Andreas Jaeger  <aj@suse.de>
42185
42186         * Makerules (tests): Remove enable-check-abi protection.
42187         (check-abi-warn): Remove.
42188         (check-abi-%): Remove check-abi-warn usage.
42189
42190         * configure.in: Remove check-abi configure option.
42191         * configure: Regenerated.
42192         * config.make.in (enable-check-abi): Remove.
42193
42194 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42195
42196         [BZ #14033]
42197         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42198         double functions to double *_finite functions.
42199
42200         [BZ #13941]
42201         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42202         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42203         LDBL_MIN_EXP.
42204         * stdio-common/Makefile (tests): Add tst-sprintf3.
42205         * stdio-common/tst-sprintf3.c: New file.
42206
42207         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42208         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42209
42210 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42211
42212         * conform/conformtest.pl: Remove duplicate typed-constant
42213         handling.
42214
42215 2012-04-28  David S. Miller  <davem@davemloft.net>
42216
42217         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42218         (check-abi-%): Remove AWK script prerequisite and explicit
42219         abilist directory.
42220         (check-abi): Rewrite to just diff the symlist with the abilist.
42221         (config-tls, config-abi-config): Delete, no longer used.
42222         (update-abi-%): Remove AWK script and explicit abilist directory.
42223         (update-abi): Rewrite to simply compare and conditionally copy the
42224         symlist and the sysdep abilist file.  Remove update-abi-config
42225         checks.
42226         * abilist/ld.abilist: Remove.
42227         * abilist/libBrokenLocale.abilist: Remove.
42228         * abilist/libanl.abilist: Remove.
42229         * abilist/libcrypt.abilist: Remove.
42230         * abilist/libdl.abilist: Remove.
42231         * abilist/librt.abilist: Remove.
42232         * abilist/libthread_db.abilist: Remove.
42233         * abilist/libutil.abilist: Remove.
42234         * scripts/extract-abilist.awk: Remove.
42235         * scripts/merge-abilist.awk: Remove.
42236         * sysdeps/generic/libcidn.abilist: New file.
42237         * sysdeps/generic/libnss_compat.abilist: New file.
42238         * sysdeps/generic/libnss_db.abilist: New file.
42239         * sysdeps/generic/libnss_dns.abilist: New file.
42240         * sysdeps/generic/libnss_files.abilist: New file.
42241         * sysdeps/generic/libnss_hesiod.abilist: New file.
42242         * sysdeps/generic/libnss_nis.abilist: New file.
42243         * sysdeps/generic/libnss_nisplus.abilist: New file.
42244         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42245         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42246         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42247         file.
42248         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42249         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42250         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42251         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42252         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42253         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42254         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42255         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42256         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42257         file.
42258         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42259         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42260         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42261         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42262         file.
42263         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42264         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42265         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42266         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42267         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42268         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42269         file.
42270         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42271         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42272         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42273         file.
42274         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42276         New file.
42277         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42278         New file.
42279         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42280         New file.
42281         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42282         New file.
42283         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42284         New file.
42285         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42286         New file.
42287         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42288         New file.
42289         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42290         New file.
42291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42292         New file.
42293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42294         New file.
42295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42296         New file.
42297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42298         New file.
42299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42300         New file.
42301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42302         file.
42303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42304         New file.
42305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42306         New file.
42307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42308         file.
42309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42310         New file.
42311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42312         New file.
42313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42314         file.
42315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42316         New file.
42317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42318         New file.
42319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42320         New file.
42321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42322         New file.
42323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42324         New file.
42325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42326         New file.
42327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42329         file.
42330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42331         New file.
42332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42333         file.
42334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42335         file.
42336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42337         file.
42338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42339         file.
42340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42341         file.
42342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42343         New file.
42344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42345         file.
42346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42347         file.
42348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42349         New file.
42350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42351         file.
42352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42354         file.
42355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42356         New file.
42357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42358         file.
42359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42360         file.
42361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42362         file.
42363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42364         file.
42365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42366         file.
42367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42368         New file.
42369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42370         file.
42371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42372         file.
42373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42374         New file.
42375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42376         file.
42377         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42378         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42379         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42380         file.
42381         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42382         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42383         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42384         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42385         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42386         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42387         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42388         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42389         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42390         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42393         file.
42394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42395         New file.
42396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42397         file.
42398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42399         file.
42400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42401         file.
42402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42403         file.
42404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42405         file.
42406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42407         New file.
42408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42409         New file.
42410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42411         file.
42412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42413         New file.
42414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42415         file.
42416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42418         file.
42419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42420         New file.
42421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42422         file.
42423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42424         file.
42425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42426         file.
42427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42428         file.
42429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42430         file.
42431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42432         New file.
42433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42434         New file.
42435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42436         file.
42437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42438         New file.
42439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42440         file.
42441
42442 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42443
42444         * conform/conformtest.pl: Fix typo in handling typed-constant from
42445         allow-header.
42446
42447 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42448
42449         * README: Cut down references to pre-2.6 Linux kernels and
42450         Linuxthreads.  Update lists of configurations in libc and ports
42451         and sort alphabetically.  Say "or newer" with Linux kernel version
42452         requirements.
42453
42454         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42455
42456 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42457
42458         [BZ #887]
42459         * math/libm-test.inc (logb_test_downward): New test to expose
42460         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42461         rounding mode.
42462
42463 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42464
42465         [BZ #14027]
42466         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42467         to be done.
42468         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42469         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42470
42471 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42472
42473         * sysdeps/unix/i386/brk.S: Remove file.
42474         * sysdeps/unix/i386/dl-brk.S: Likewise.
42475         * sysdeps/unix/i386/pipe.S: Likewise.
42476         * sysdeps/unix/i386/sigreturn.S: Likewise.
42477         * sysdeps/unix/i386/syscall.S: Likewise.
42478         * sysdeps/unix/i386/vfork.S: Likewise.
42479         * sysdeps/unix/i386/wait.S: Likewise.
42480
42481         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42482         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42483
42484         * configure.in (arm*-none*): Do not allow without
42485         --enable-hacker-mode.
42486         (netbsd*): Remove case setting base_os.
42487         (386bsd*): Likewise.
42488         (freebsd*): Likewise.
42489         (bsdi*): Likewise.
42490         (osf*): Likewise.
42491         (sunos*): Likewise.
42492         (ultrix*): Likewise.
42493         (newsos*): Likewise.
42494         (dynix*): Likewise.
42495         (*bsd*): Likewise.
42496         (sysv*): Likewise.
42497         (isc*): Likewise.
42498         (esix*): Likewise.
42499         (sco*): Likewise.
42500         (minix*): Likewise.
42501         (irix4*): Likewise.
42502         (irix6*): Likewise.
42503         (solaris[2-9]*): Likewise.
42504         (none): Likewise.
42505         * configure: Regenerated.
42506
42507 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42508
42509         [BZ #11521]
42510         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42511         overflow or cancellation in calculating denominator.
42512         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42513         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42514         down expression to avoid unexpected rounding in newer GCCs.
42515         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42516
42517 2012-04-26  David S. Miller  <davem@davemloft.net>
42518
42519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42520         long-double compat symbols.
42521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42534
42535 2012-04-25  David S. Miller  <davem@davemloft.net>
42536
42537         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42538         HWCAP_* values only after the memory barriers have been defined.
42539         (atomic_full_barrier): Define.
42540         (atomic_read_barrier): Define.
42541         (atomic_write_barrier): Define.
42542
42543 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42544
42545         * shlib-versions: Add libgcc_s version information.
42546         * sysdeps/generic/libgcc_s.h: Remove.
42547         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42548         libgcc_s.h.
42549         * sysdeps/gnu/unwind-resume.c: Likewise.
42550         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42551
42552 2012-04-25  David S. Miller  <davem@davemloft.net>
42553
42554         * sysdeps/unix/sparc/brk.S: Delete.
42555         * sysdeps/unix/sparc/dl-brk.S: Delete.
42556         * sysdeps/unix/sparc/pipe.S: Delete.
42557         * sysdeps/unix/sparc/sysdep.S: Delete.
42558         * sysdeps/unix/sparc/sysdep.h: Delete.
42559         * sysdeps/unix/sparc/vfork.S: Delete.
42560         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42561         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42562         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42563         (ret_ERRVAL, r0, r1, MOVE): Define.
42564         (JUMPTARGET): Remove.
42565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42566         sysdeps/unix/sparc/sysdep.h
42567         (ENTRY, END): Remove.
42568         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42569
42570 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42571
42572         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42573         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42574         -DIS_IN_build.
42575
42576         * timezone/README: Update upstream location and email address for
42577         tzcode and tzdata.
42578         * timezone/zdump.c: Update from tzcode 2012b.
42579         * timezone/zic.c: Likewise.
42580
42581         * configure.in (libc_cv_as_needed): Remove test.
42582         * configure: Regenerated.
42583         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42584         conditional definition.
42585         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42586         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42587         * config.make.in (have-as-needed): Remove variable.
42588
42589 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42590             Paul Pluzhnikov  <ppluzhnikov@google.com>
42591
42592         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42593         strings correctly.
42594
42595 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42596
42597         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42598         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42599         * sysdeps/sh/strlen.S: Likewise.
42600
42601 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42602
42603         * sysdeps/unix/fork.S: Remove file.
42604         * sysdeps/unix/i386/fork.S: Likewise.
42605         * sysdeps/unix/sparc/fork.S: Likewise.
42606
42607         * sysdeps/unix/system.c: Remove file.
42608         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42609
42610         * sysdeps/unix/getegid.S: Remove file.
42611         * sysdeps/unix/geteuid.S: Likewise.
42612
42613 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42614
42615         * scripts/check-localplt.awk: New file.
42616         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42617         of diff.
42618         * scripts/data/localplt-generic.data: Add a comment.
42619
42620         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42621         NODE when __dir_mkfile failed.
42622         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42623         Reported by Ludovic Courtès <ludo@gnu.org>.
42624
42625 2012-04-24  Andreas Jaeger  <aj@suse.de>
42626
42627         * Makerules (common-clean): Also remove gen-as-const-headers
42628         files.
42629
42630 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42631
42632         * Makerules (native-compile): Do not change working directory for
42633         build.  Use $(OUTPUT_OPTION) in command.
42634         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42635
42636 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42637
42638         [BZ #13886]
42639         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42640         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42641         * math/libm-test.inc (floor_test): Add more tests.
42642         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42643
42644 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42645
42646         * sysdeps/unix/getdents.c: Remove file.
42647         * sysdeps/unix/sysv/getdents.c: Likewise.
42648         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42649
42650         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42651         sysdeps/unix/mman/syscalls.list.
42652         (mmap): Likewise.
42653         (mprotect): Likewise.
42654         (msync): Likewise.
42655         (munmap): Likewise.
42656         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42657         * sysdeps/unix/mman/syscalls.list: Remove.
42658         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42659
42660         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42661         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42662         * configure: Regenerated.
42663         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42664         $(libgcc_s_suffix).
42665         * config.make.in (libgcc_s_suffix): Remove variable.
42666
42667 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42668
42669         * sysdeps/unix/sysv/gethostname.c: Move to ...
42670         * sysdeps/posix/gethostname.c: ... here.
42671
42672         * sysdeps/unix/execve.S: Remove file.
42673
42674         * sysdeps/unix/_exit.S: Remove file.
42675
42676 2012-04-23  Andreas Jaeger  <aj@suse.de>
42677
42678         [BZ #13739]
42679         * manual/Makefile: Remove make dist support, there's no
42680         need for a stand-alone documentation tar ball.
42681         (TEXI2DVI): Define always, it's not in Makeconfig.
42682         (dist): Removed.
42683         (tar-it): Removed.
42684         (edition): Removed.
42685         (glibc-doc-$(edition).tar): Removed
42686         (%.Z): Removed.
42687         (%.gz): Removed.
42688         (%.uu): Removed.
42689         (ETAGS): Remove, it's in Makeconfig.
42690         (move-if-change): Remove, it's in Makeconfig.
42691
42692 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42693
42694         [BZ #13970]
42695         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42696         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42697         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42698         (strtod_l, strtof_l, strtold_l): Remove __wur.
42699         It is not necessarily an error to ignore strtol's return value.
42700         One can reliably look at the stored endptr to decide whether
42701         the number had valid syntax.
42702
42703 2012-04-21  Andreas Jaeger  <aj@suse.de>
42704
42705         [BZ #13739]
42706         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42707
42708 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42709
42710         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42711         * sysdeps/unix/sysv/Versions: Remove file.
42712
42713 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42714
42715         [BZ #13927]
42716         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42717
42718 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42719
42720         [BZ #7064]
42721         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42722         version from __vm86.
42723
42724 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42725
42726         * sysdeps/unix/common/lxstat.c: Remove file.
42727         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42728
42729         * sysdeps/unix/sysv/Makefile: Remove file.
42730
42731         * sysdeps/unix/sysv/direct.h: Remove file.
42732
42733         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42734         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42735         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42736         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42737         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42738         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42739         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42740
42741         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42742
42743         * sysdeps/unix/xmknod.c: Remove file.
42744         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42745
42746         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42747
42748         * sysdeps/unix/sysv/i386/time.S: Remove file.
42749
42750         * sysdeps/unix/fxstat.c: Remove file.
42751         * sysdeps/unix/xstat.c: Likewise.
42752         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42753
42754         * sysdeps/unix/sysv/sigaction.c: Remove file.
42755
42756         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42757         (sysdep_headers): Remove variable.
42758         [termio.h not in sysdep_headers] (generated): Likewise.
42759         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42760         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42761         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42762         * sysdeps/unix/sysv/tcflow.c: Likewise.
42763         * sysdeps/unix/sysv/tcflush.c: Likewise.
42764         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42765         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42766         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42767         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42768         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42769
42770         * sysdeps/unix/siglist.c: Remove file.
42771
42772         * sysdeps/unix/getppid.S: Remove file.
42773
42774         * sysdeps/unix/mkdir.c: Remove file.
42775         * sysdeps/unix/rmdir.c: Likewise.
42776
42777 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42778
42779         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42780         ERR_MAX value.
42781         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42782         errlist-compat value.
42783
42784 2012-04-18  David S. Miller  <davem@davemloft.net>
42785
42786         * sysdeps/generic/memcopy.h (reg_char): Delete.
42787         * debug/strcat_chk.c: Use char, not reg_char.
42788         * debug/strcpy_chk.c: Likewise.
42789         * debug/strncat_chk.c: Likewise.
42790         * debug/strncpy_chk.c: Likewise.
42791         * string/memchr.c: Likewise.
42792         * string/memrchr.c: Likewise.
42793         * string/rawmemchr.c: Likewise.
42794         * string/strcat.c: Likewise.
42795         * string/strchr.c: Likewise.
42796         * string/strchrnul.c: Likewise.
42797         * string/strcmp.c: Likewise.
42798         * string/strcpy.c: Likewise.
42799         * string/strncat.c: Likewise.
42800         * string/strncmp.c: Likewise.
42801         * string/strncpy.c: Likewise.
42802
42803 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42804
42805         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42806         __builtin_memcopy is called when src and dest ranges are known to not
42807         overlap.
42808
42809 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42810
42811         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42812         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42813         fwd_align_merge macro call.
42814         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42815         bwd_align_merge macro call.
42816         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42817
42818 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42819
42820         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42821         bwd_align_merge macros.
42822         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42823         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42824         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42825
42826 2012-04-18  David S. Miller  <davem@davemloft.net>
42827
42828         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42829
42830 2012-04-18  Andreas Jaeger  <aj@suse.de>
42831
42832         [BZ# 6794]
42833         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42834         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42835         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42836
42837         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42838         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42839         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42840
42841         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42842         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42843         Adjust for changed ldbl-128 files.
42844
42845         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42846         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42847         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42848
42849 2012-04-17  David S. Miller  <davem@davemloft.net>
42850
42851         * sysdeps/sparc/sparc32/memcopy.h: Delete.
42852
42853 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
42854
42855         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42856         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42857         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42858         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42859         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42860         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42861
42862 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42863
42864         [BZ #6794]
42865         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42866         * math/libm-test.inc: Add ilogb errno and exception tests.
42867         * math/w_ilogb.c: New file: ilogb wrapper.
42868         * math/w_ilogbf.c: New file: ilogbf wrapper.
42869         * math/w_ilogbl.c: New file: ilogbl wrapper.
42870         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42871         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42872         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42873         exception being thrown with 0.0 as argument.
42874         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42875         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42876         exception being thrown with 0.0 as argument.
42877         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42878         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42879         exception being thrown with 0.0 as argument.
42880         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42881         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42882         exception being thrown with 0.0 as argument.
42883         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42884         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42885         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42886         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42887         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42888         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42889         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42890         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42891         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42892
42893 2012-04-17  Petr Baudis  <pasky@ucw.cz>
42894
42895         * include/sys/uio.h: Change __vector to __iovec to avoid clash
42896         with altivec.
42897
42898 2012-04-16  Marek Polacek  <polacek@redhat.com>
42899
42900         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42901
42902 2012-04-16  Marek Polacek  <polacek@redhat.com>
42903
42904         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42905         operands of fdivp instruction.
42906
42907 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42908
42909         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42910         * elf/tst-auditmod3b.c: Likewise.
42911         * elf/tst-auditmod4b.c: Likewise.
42912         * elf/tst-auditmod5b.c: Likewise.
42913         * elf/tst-auditmod6b.c: Likewise.
42914         * elf/tst-auditmod6c.c: Likewise.
42915         * elf/tst-auditmod7b.c: Likewise.
42916         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42917         * sysdeps/x86_64/preconfigure.in: Likewise.
42918         * sysdeps/x86_64/preconfigure: Regenerated.
42919
42920 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42921
42922         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42923         __ILP32__.
42924
42925 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
42926
42927         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42928         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42929
42930 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
42931
42932         [BZ #13973]
42933         * locale/iso-639.def: Fix gl language name. Spotted by
42934         Yaron Shahrabani.
42935
42936 2012-04-12  Roland McGrath  <roland@hack.frob.com>
42937
42938         [BZ #2074]
42939         * libio/libio.h (__io_write_fn): Update comment.
42940
42941 2012-04-12  Petr Baudis  <pasky@ucw.cz>
42942
42943         [BZ #2074]
42944         * stdio.texi (Hook Functions): The user provided writer function
42945         is not allowed to return -1.
42946
42947 2012-04-11  David S. Miller  <davem@davemloft.net>
42948
42949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42950
42951 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
42952
42953         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42954         Add a leading slash to rtkaio.
42955
42956 2012-04-11  Jim Meyering  <meyering@redhat.com>
42957
42958         [BZ #11959]
42959         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42960         It is not necessarily an error to ignore fwrite's return
42961         value.  One can reliably use ferror to test for errors after
42962         the fact.
42963
42964 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42965
42966         * bits/types.h (__snseconds_t): New type.
42967         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42968
42969         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42970         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42971         (__SNSECONDS_T_TYPE): Likewise.
42972         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42973         (__SNSECONDS_T_TYPE): Likewise.
42974         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42975         (__SNSECONDS_T_TYPE): Likewise.
42976
42977 2012-04-10  Andreas Jaeger  <aj@suse.de>
42978
42979         [BZ #2636]
42980         * manual/time.texi (Processor Time): Return type of times is
42981         elapsed real time since an arbitrary point in the past.
42982         (CPU Time): Move CLK_TCK from here...
42983         (Processor Time): ...to here.  Correct description.
42984         * manual/conf.texi (Constants for Sysconf): Correct description of
42985         _SC_CLK_TCK.
42986
42987 2012-04-10  David S. Miller  <davem@davemloft.net>
42988
42989         [BZ #13967]
42990         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42991         where the is a gap between DT_REL(A) and DT_JMPREL.
42992
42993 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42994
42995         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42996         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42997         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42998
42999 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43000
43001         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43002         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43003         (dl_main): Handle --inhibit-cache.
43004         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43005         _dl_inhibit_cache.
43006         * elf/dl-load.c (_dl_map_object): Use it.
43007         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43008
43009 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43010
43011         [BZ #13872]
43012         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43013         (__ieee754_powl): Saturate large exponents rather than testing for
43014         overflow of y*log2(x).
43015         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43016         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43017         exceptions.
43018
43019         [BZ #11521]
43020         * math/s_ctan.c: Include <float.h>.
43021         (__ctan): Avoid internal overflow or cancellation in calculating
43022         denominator.
43023         * math/s_ctanf.c: Likewise.
43024         * math/s_ctanl.c: Likewise.
43025         * math/s_ctanh.c: Likewise.
43026         * math/s_ctanhf.c: Likewise.
43027         * math/s_ctanhl.c: Likewise.
43028         * math/libm-test.inc (ctan_test): Add more tests.
43029         (ctanh_test): Likewise.
43030         * sysdeps/i386/fpu/libm-test-ulps: Update.
43031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43032
43033 2012-04-09  Andreas Jaeger  <aj@suse.de>
43034
43035         [BZ #6894]
43036         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43037         is an optional BSD extension.
43038
43039         [BZ #10254]
43040         * manual/stdio.texi (Opening Streams): Document additional fopen
43041         parameters.
43042
43043 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43044
43045         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43046         %eax without telling the compiler.
43047
43048 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43049
43050         [BZ # 13963]
43051         * manual/install.texi: Use sourceware.org.
43052
43053 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43054
43055         [BZ #13873]
43056         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43057         (__ieee754_pow): Generate overflow and underflow using huge*huge
43058         and tiny*tiny rather than just returning constant infinity or zero
43059         for large exponents.
43060         * math/libm-test.inc (pow_test): Require overflow exceptions for
43061         applicable cases of large exponents.
43062
43063         [BZ #706]
43064         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43065         (__ieee754_pow): Use iterative multiplication algorithm only for
43066         integer exponents with absolute value below 1024.  Check for odd
43067         integer exponents when using algorithm for real exponents.
43068         * math/libm-test.inc (pow_test): Add more tests.
43069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43070
43071 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43072
43073         [BZ #13705]
43074         * math/libm-test.inc (exp_test): Do not allow overflow exception
43075         on underflow test.
43076
43077 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43078
43079         [BZ #13705]
43080         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43081         instead of __kernel_standard_f.
43082
43083 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43084
43085         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43086         * sysdeps/x86_64/memset_chk.S: Likewise.
43087
43088 2012-04-08  Andreas Jaeger  <aj@suse.de>
43089
43090         [BZ #10153]
43091         * manual/startup.texi (Environment Access): Describe return value
43092         for putenv and setenv.
43093
43094         [BZ #6895]
43095         * manual/filesys.texi (Directory Entries): Add description for
43096         DT_LNK.
43097
43098         [BZ #6890]
43099         * manual/filesys.texi (Directory Entries): Clarify that it's file
43100         system not operating system in the description of DT_UNKNOWN.
43101
43102         [BZ #6578]
43103         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43104
43105 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43106
43107         [BZ #6649]
43108         * manual/llio.texi (Opening and Closing Files): Add cross
43109         reference to explain mode argument.
43110
43111 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43112
43113         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43114         * sysdeps/x86_64/memset_chk.S: Likewise.
43115
43116 2012-04-07  David S. Miller  <davem@davemloft.net>
43117
43118         * elf/elf.h (R_SPARC_WDISP10): Define.
43119         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43120         R_SPARC_SIZE32.
43121         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43122         R_SPARC_SIZE64 and R_SPARC_H34.
43123
43124 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43125
43126         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43127         conditions and remove no longer applicable assertion.
43128
43129 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43130
43131         * bits/byteswap.h: Include <features.h>.
43132         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43133         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43134
43135 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43136
43137         * bits/byteswap.h (__bswap_16): Removed.
43138         Include <bits/byteswap-16.h> to get __bswap_16.
43139         * sysdeps/i386/bits/byteswap.h: Likewise.
43140         * sysdeps/s390/bits/byteswap.h: Likewise.
43141         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43142         * bits/byteswap-16.h: New file.
43143         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43144         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43145         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43146         * string/Makefile (headers): Add bits/byteswap-16.h.
43147
43148 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43149
43150         [BZ #13895]
43151         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43152         extra indirection.
43153         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43154         * nss/tst-nss-static.c: New.
43155
43156 2012-04-06  Robert Millan  <rmh@gnu.org>
43157
43158         [BZ #6486]
43159         * manual/llio.texi (File Position Primitive): lseek
43160         refers to WHENCE when it really means OFFSET.
43161
43162 2012-04-06  Andreas Jaeger  <aj@suse.de>
43163
43164         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43165         strncmp declarations.
43166
43167         * abilist/libc.abilist: Add __poll and __ppoll.
43168
43169 2012-04-05  David S. Miller  <davem@davemloft.net>
43170
43171         * scripts/check-local-headers.sh: Accept a host triplet in the
43172         path matched by the exclude regexp.
43173
43174         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43175         definition.
43176         * sysdeps/powerpc/powerpc32/dl-machine.h
43177         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43178         * sysdeps/s390/s390-32/dl-machine.h
43179         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43180         * sysdeps/sparc/sparc32/dl-machine.h
43181         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43182         * sysdeps/sparc/sparc64/dl-machine.h
43183         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43184
43185         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43186         lazy binding.
43187         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43188         undefined symbol errors.
43189
43190         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43191         DT_NEEDED entries.
43192
43193 2012-04-05  Michael Matz  <matz@suse.de>
43194
43195         [BZ #13592]
43196         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43197
43198 2012-04-05  Andreas Jaeger  <aj@suse.de>
43199
43200         [BZ #13908]
43201         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43202         comment.
43203
43204 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43205
43206         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43207         which ROUND is no valid rounding mode.
43208
43209 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43210
43211         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43212         read again.
43213         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43214
43215 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43216
43217         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43218         an exception using FPU order intentionally.
43219
43220 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43221
43222         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43223         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43224         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43225         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43226
43227 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43228
43229         [BZ #12340]
43230         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43231         EINVAL when BUFLEN is too smal.
43232
43233 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43234
43235         [BZ #13553]
43236         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43237         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43238
43239 2012-04-03  Andreas Jaeger  <aj@suse.de>
43240
43241         [BZ #13938]
43242         * manual/setjmp.texi (System V contexts): Fix sentence.
43243
43244         [BZ #13926]
43245         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43246         New macro for this case.
43247         [!__GNUC__] (__bswap_64): New inline function for this case.
43248         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43249         * bits/byteswap.h: Likewise.
43250         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43251         ull, guard with __GLIBC_HAVE_LONG_LONG.
43252
43253         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43254         __GLIBC_HAVE_LONG_LONG.
43255
43256         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43257         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43258
43259 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43260
43261         [BZ #13691]
43262         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43263         inptr and inend, rather than using last_ch.
43264
43265 2012-04-02  David S. Miller  <davem@davemloft.net>
43266
43267         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43268         * stdio-common/printf-parse.h (read_int): Change return type to
43269         'int', return -1 on INT_MAX overflow.
43270         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43271         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43272         overflows INT_MAX.  Check for overflow of in-format-string precision
43273         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43274         SIZE_MAX not INT_MAX for integer overflow test.
43275         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43276         skip the construct in the format string but do not record anything.
43277         * stdio-common/bug22.c: Adjust to test both width/prevision
43278         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43279         explicitly for proper errno values.
43280
43281 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43282
43283         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43284         CHAR_MAX.
43285         * string/test-strcmp.c [! WIDE]: Likewise.
43286         * time/tst-mktime2.c: Likewise for INT_MAX.
43287         * string/test-string.h: #include <sys/param.h> for MIN.
43288
43289         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43290         * sysdeps/i386/init-first.c (init): Likewise.
43291         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43292         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43293         * sysdeps/sh/init-first.c (init): Likewise.
43294
43295 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43296
43297         * po/ru.po: Update from translation team.
43298         * po/vi.po: Likewise.
43299
43300 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43301
43302         * resolv/nss_dns/dns-host.c: Merge copyright years.
43303
43304 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43305
43306         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43307         Optimize memcpy with prefetch if
43308         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43309         src, dst pointers have unequal 16 byte alignments.
43310
43311 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43312
43313         [BZ #13928]
43314         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43315         from a CNAME entry and return the minimum ttl for the query.
43316         (gaih_getanswer_slice): Likewise.
43317
43318 2012-03-30  Jeff Law  <law@redhat.com>
43319
43320         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43321         due to long keys.
43322         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43323         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43324
43325         * resolv/nss_dns/dns-host.c: Update copyright year.
43326
43327 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43328
43329         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43330         requests to save a system call.  Fix check that all bytes are sent.
43331
43332         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43333         comments for sendmmsg.
43334
43335 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43336
43337         [BZ #13691]
43338         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43339         with only 1 character between 0x0041 and 0x01b0.
43340         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43341         * wcsmbs/tst-mbsnrtowcs.c: New file.
43342
43343 2012-03-29  David S. Miller  <davem@davemloft.net>
43344
43345         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43346         small copies by hand.
43347
43348 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43349
43350         [BZ #13761]
43351         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43352         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43353         group memberships.
43354
43355 2012-03-28  David S. Miller  <davem@davemloft.net>
43356
43357         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43358         that branches into memcpy.
43359         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43360         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43361         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43362         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43363         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43364         bits.
43365         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43366         implementation too.
43367         * sysdeps/sparc/mempcpy.S: New file.
43368
43369         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43370         the IFUNC routine in the libc case.
43371         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43372
43373         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43374         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43375         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43376         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43377         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43378         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43379         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43380         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43381
43382         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43383         loop to 256 bytes instead of 64 bytes and fix test signedness.
43384
43385         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43386         * sysdeps/sparc/sparc32/Makefile: rather than here...
43387         * sysdeps/sparc/sparc64/Makefile: and here.
43388
43389 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43390
43391         * malloc/mallocbug.c: Avoid warnings about unused variables.
43392
43393 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43394
43395         [BZ #13760]
43396         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43397         in the right place. Discard and retry query if response is
43398         larger than input buffer size.
43399
43400 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43401
43402         [BZ #369]
43403         [BZ #2678]
43404         [BZ #3866]
43405         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43406         x for large integer exponent.
43407         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43408         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43409         sign of result as needed afterwards.
43410         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43411         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43412         result for underflowing pow the same as for overflow.
43413         (__kernel_standard_l): Handle powl overflow and underflow here
43414         rather than calling __kernel_standard.
43415         * math/libm-test.inc (pow_test): Add more tests.
43416
43417         [BZ #3868]
43418         [BZ #13879]
43419         [BZ #13910]
43420         [BZ #13911]
43421         [BZ #13912]
43422         [BZ #13913]
43423         [BZ #13915]
43424         [BZ #13916]
43425         [BZ #13917]
43426         [BZ #13918]
43427         [BZ #13919]
43428         [BZ #13920]
43429         [BZ #13921]
43430         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43431         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43432         (__kernel_standard_l): New function.
43433         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43434         __kernel_standard.
43435         * math/w_acosl.c (__acosl): Likewise.
43436         * math/w_asinl.c (__asinl): Likewise.
43437         * math/w_atan2l.c (__atan2l): Likewise.
43438         * math/w_atanhl.c (__atanhl): Likewise.
43439         * math/w_coshl.c (__coshl): Likewise.
43440         * math/w_exp10l.c (__exp10l): Likewise.
43441         * math/w_exp2l.c (__exp2l): Likewise.
43442         * math/w_fmodl.c (__fmodl): Likewise.
43443         * math/w_hypotl.c (__hypotl): Likewise.
43444         * math/w_j0l.c (__j0l, __y0l): Likewise.
43445         * math/w_j1l.c (__j1l, __y1l): Likewise.
43446         * math/w_jnl.c (__jnl, __ynl): Likewise.
43447         * math/w_lgammal.c (__lgammal): Likewise.
43448         * math/w_log10l.c (__log10l): Likewise.
43449         * math/w_log2l.c (__log2l): Likewise.
43450         * math/w_logl.c (__logl): Likewise.
43451         * math/w_powl.c (__powl): Likewise.
43452         * math/w_remainderl.c (__remainderl): Likewise.
43453         * math/w_scalbl.c (sysv_scalbl): Likewise.
43454         * math/w_sinhl.c (__sinhl): Likewise.
43455         * math/w_sqrtl.c (__sqrtl): Likewise.
43456         * math/w_tgammal.c (__tgammal): Likewise.
43457         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43458         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43459         * math/libm-test.inc (acos_test): Add more tests.
43460         (acosh_test): Likewise.
43461         (asin_test): Likewise.
43462         (atanh_test): Likewise.
43463         (exp_test): Likewise.
43464         (exp10_test): Likewise.
43465         (exp2_test): Likewise.
43466         (expm1_test): Likewise.
43467         (lgamma_test): Likewise.
43468         (log_test): Likewise.
43469         (log10_test): Likewise.
43470         (log1p_test): Likewise.
43471         (log2_test): Likewise.
43472         (pow_test): Do not allow some spurious overflow exceptions.
43473         (sqrt_test): Add more tests.
43474         (tgamma_test): Likewise.
43475         (y0_test): Likewise.
43476         (y1_test): Likewise.
43477         (yn_test): Likewise.
43478
43479 2012-03-27  Anton Blanchard  <anton@samba.org>
43480
43481         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43482         MAP_HUGETLB.
43483         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43484         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43485         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43486
43487 2012-03-27  David S. Miller  <davem@davemloft.net>
43488
43489         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43490
43491         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43492         have-as-vis3 check.
43493
43494 2012-03-27  Andreas Jaeger  <aj@suse.de>
43495
43496         * sysdeps/x86_64/elf/configure.in: Moved to ...
43497         * sysdeps/x86_64/configure.in: ... here.
43498         * sysdeps/x86_64/elf/start.S: Moved to ...
43499         * sysdeps/x86_64/start.S: ... here.
43500         * sysdeps/x86_64/elf/configure: Delete.
43501
43502         * sysdeps/x86_64/configure.in: Merge contents from
43503         sysdeps/i386/configure.in (without i686 check).
43504
43505         * sysdeps/i386/elf/Versions: Merge into ...
43506         * sysdeps/i386/Versions: ... this.
43507         * sysdeps/i386/elf/Versions: Delete file.
43508         * sysdeps/i386/elf/start.S: Moved to ...
43509         * sysdeps/i386/start.S: ...here.
43510         * sysdeps/i386/elf/configure.in: Merge into...
43511         * sysdeps/i386/configure.in: ...here.
43512         * sysdeps/i386/elf/configure.in: Delete file.
43513         * sysdeps/i386/elf/configure: Delete file.
43514
43515         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43516         * debug/backtracesyms.c: ... here.
43517         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43518         * debug/backtracesymsfd.c: ... here.
43519         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43520         * sysdeps/generic/ifunc-sel.h: ... here.
43521
43522         * sysdeps/unix/i386/start.c: Delete file.
43523         * sysdeps/unix/sparc/start.c: Delete file.
43524         * sysdeps/unix/start.c: Delete file.
43525
43526         * sysdeps/sh/elf/configure.in: Moved to ...
43527         * sysdeps/sh/configure.in: ... here.
43528         * sysdeps/sh/elf/start.S: Moved to ...
43529         * sysdeps/sh/start.S: ... here.
43530         * sysdeps/sh/elf/configure: Delete file.
43531
43532         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43533         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43534         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43535         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43536         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43537         * sysdeps/powerpc/powerpc64/start.S: here.
43538         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43539         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43540         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43541         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43542         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43543
43544         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43545         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43546         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43547         * sysdeps/powerpc/powerpc32/start.S: ... here.
43548         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43549         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43550         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43551
43552         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43553         * sysdeps/powerpc/ifunc-sel.h: ... here.
43554         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43555         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43556
43557         * sysdeps/sparc/elf/configure.in: Moved to ...
43558         * sysdeps/sparc/configure.in: ... here.
43559         * sysdeps/sparc/elf/configure: Delete file.
43560         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43561         * sysdeps/sparc/sparc32/start.S: ... here.
43562         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43563         * sysdeps/sparc/sparc64/start.S: ... here.
43564         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43565         * sysdeps/sparc/sparc32/Makefile: ... this.
43566         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43567         * sysdeps/sparc/sparc64/Makefile: ... this.
43568
43569         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43570         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43571         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43572         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43573         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43574         * sysdeps/s390/s390-32/setjmp.S: ... here.
43575         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43576         * sysdeps/s390/s390-32/configure.in: ... here.
43577         * sysdeps/s390/s390-32/elf/configure: Delete file.
43578         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43579         * sysdeps/s390/s390-32/start.S: ... here.
43580
43581         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43582         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43583         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43584         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43585         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43586         * sysdeps/s390/s390-64/setjmp.S: ... here.
43587         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43588         * sysdeps/s390/s390-64/configure.in: ... here
43589         * sysdeps/s390/s390-64/elf/configure: Delete file.
43590         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43591         * sysdeps/s390/s390-64/start.S: ... here.
43592         * sysdeps/s390/s390-64/elf/configure: Delete.
43593
43594         * configure.in: Remove support for elf directories in sysdeps.
43595
43596         * configure: Regenerated.
43597         * sysdeps/i386/configure: Regenerated.
43598         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43599         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43600         * sysdeps/s390/s390-32/configure: Regenerated.
43601         * sysdeps/s390/s390-64/configure: Regenerated.
43602         * sysdeps/sh/configure: Regenerated.
43603         * sysdeps/sparc/configure: Regenerated.
43604         * sysdeps/x86_64/configure: Regenerated.
43605
43606 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43607
43608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43609
43610         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43611         denormal result into account.
43612
43613 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43614
43615         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43616         Reported by Allan McRae <allan@archlinux.org>.
43617
43618 2012-03-23  Jeff Law  <law@redhat.com>
43619
43620         * nss/getnssent.c (__nss_getent): Fix typo.
43621
43622 2012-03-23  David S. Miller  <davem@davemloft.net>
43623
43624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43625
43626 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43627
43628         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43629         to pad to uint64_t for each field.
43630         (dl_tls_index): Replace unsigned long with uint64_t.
43631
43632 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43633         Paul Pluzhnikov  <ppluzhnikov@google.com>
43634
43635         [BZ #6528]
43636         * grp/Makefile (otherlibs): Don't set it.
43637         * inet/Makefile (otherlibs): Likewise.
43638         * login/Makefile (otherlibs): Likewise.
43639         * nscd/Makefile (otherlibs): Likewise.
43640         * posix/Makefile (otherlibs): Likewise.
43641         * pwd/Makefile (otherlibs): Likewise.
43642         * rt/Makefile (otherlibs): Likewise.
43643         * sunrpc/Makefile (otherlibs): Likewise.
43644         * nss/Makefile (otherlibs): Likewise.
43645         Add libnss_files to routines and static-only-routines.
43646         ($(objpfx)getent): Remove rule.
43647         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43648         static-only-routines.
43649
43650 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43651
43652         [BZ #13892]
43653         * math/s_cexp.c: Include <float.h>.
43654         (__cexp): Handle exp result overflowing not necessarily
43655         overflowing both real and imaginary parts of result.
43656         * math/s_cexpf.c: Likewise.
43657         * math/s_cexpl.c: Likewise.
43658         * math/libm-test.inc (cexp_test): Add more tests.
43659         * sysdeps/i386/fpu/libm-test-ulps: Update.
43660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43661
43662 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43663
43664         * include/link.h (ELFW): New macro.
43665         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43666         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43667
43668 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43669
43670         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43671         with uint64_t.
43672
43673 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43674
43675         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43676         declaration.
43677         (struct La_x32_retval): Likewise.
43678
43679 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43680
43681         * sysdeps/x86_64/preconfigure.in: New file.
43682         * sysdeps/x86_64/preconfigure: New generated file.
43683
43684 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43685
43686         [BZ #13824]
43687         * math/e_exp2l.c: Include <float.h>.
43688         (__ieee754_exp2l): Handle overflow and underflow cases
43689         separately.  Only pass fractional part of argument to
43690         __ieee754_expl.
43691         * math/libm-test.inc (exp2_test): Add more tests.
43692
43693         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43694         negating x to take absolute value.
43695         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43696         Likewise.
43697         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43698         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43699         Likewise.
43700         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43701         computing low part if x was negated.
43702         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43703
43704 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43705
43706         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43707         la_x32_gnu_pltexit.
43708         (pltexit): Cast int_retval to ptrdiff_t.
43709         * elf/tst-auditmod3b.c: Likewise.
43710         * elf/tst-auditmod4b.c: Likewise.
43711         * elf/tst-auditmod5b.c: Likewise.
43712         * elf/tst-auditmod6b.c: Likewise.
43713         * elf/tst-auditmod6c.c: Likewise.
43714         * elf/tst-auditmod7b.c: Likewise.
43715
43716         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43717         and x32_gnu_pltexit.
43718
43719         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43720         __ELF_NATIVE_CLASS.
43721         (La_x32_regs): New macro.
43722         (La_x32_retval): Likewise.
43723         (la_x32_gnu_pltenter): New function prototype.
43724         (la_x32_gnu_pltexit): Likewise.
43725
43726 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43727
43728         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43729         exponent.
43730
43731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43732
43733         * configure.in (libc_cv_cc_nofma): Check for option to disable
43734         generation of FMA instructions.
43735         * configure: Regenerate.
43736         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43737         * sysdeps/ieee754/dbl-64/Makefile: New file.
43738         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43739         Remove brandred-fma4.
43740         (CFLAGS-brandred-fma4.c): Remove.
43741         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43742         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43743         define.
43744         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43745         define.
43746
43747 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43748
43749         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43750         LLONG_MAX != LONG_MAX.
43751         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43752         (_fitoa_word): Likewise.
43753         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43754         LLONG_MAX != LONG_MAX.
43755         * stdio-common/_itowa.h: Include <_itoa.h>.
43756         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43757         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43758         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43759         only if not defined.
43760         (_ITOA_WORD_TYPE): Likewise.
43761         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43762         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43763
43764 2012-03-21  David S. Miller  <davem@davemloft.net>
43765
43766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43767
43768 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43769
43770         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43771         of x86_64 when setting libc_cv_slibdir, libdir and
43772         libc_cv_localedir.
43773         * sysdeps/unix/sysv/linux/configure: Regenerated.
43774
43775 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43776
43777         * manual/lang.texi (Old Varargs): Remove section.
43778         (How Variadic): Update menu.
43779         (va_start): Do not mention varargs.h.
43780
43781 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43782             Joseph Myers  <joseph@codesourcery.com>
43783
43784         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43785         link test.
43786         * configure: Regenerated.
43787
43788 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43789
43790         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43791         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43792         conformtest.pl
43793
43794 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43795
43796         * NOTES: Remove.
43797         * Makefile (files-for-dist): Remove NOTES.
43798         (NOTES): Remove rule.
43799         * README: Don't refer to NOTES.
43800         * manual/creature.texi: Don't include macros.texi.
43801         * manual/intro.texi (creature.texi): Remove comment referring to
43802         NOTES.
43803
43804         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43805         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43806         * configure: Regenerated.
43807         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43808         LIBC_TRY_CC_OPTION.
43809         (libc_cv_as_i686): Likewise.
43810         (libc_cv_cc_avx): Likewise.
43811         (libc_cv_cc_sse2avx): Likewise.
43812         (libc_cv_cc_fma4): Likewise.
43813         (libc_cv_cc_novzeroupper): Likewise.
43814         * sysdeps/i386/configure: Regenerated.
43815
43816         [BZ #13883]
43817         * sysdeps/i386/fpu/s_cexp.S: Remove.
43818         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43819         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43820         * math/libm-test.inc (cexp_test): Add more tests.
43821         * sysdeps/i386/fpu/libm-test-ulps: Update.
43822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43823
43824 2012-03-21  Allan McRae  <allan@archlinux.org>
43825
43826         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43827
43828 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43829
43830         [BZ #13871]
43831         * math/w_exp2.c: Do not include <float.h>.
43832         (o_threshold, u_threshold): Remove.
43833         (__exp2): Calculate result before checking finiteness and calling
43834         __kernel_standard.
43835         * math/w_exp2f.c: Likewise.
43836         * math/w_exp2l.c: Likewise.
43837         * math/libm-test.inc (exp2_test): Require overflow exception for
43838         1e6 input.
43839
43840         [BZ #3866]
43841         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43842         range of signed 64-bit integers before using fistpll.  Remove
43843         checks for whether integers fit in mantissa bits.
43844         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43845         the range of signed 32-bit integers before using fistpl.  Remove
43846         checks for whether integers fit in mantissa bits.
43847         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43848         (__ieee754_powl): Test for y outside the range of signed 64-bit
43849         integers before using fistpll.  Reduce 64-bit values to 63-bit
43850         ones as needed.
43851         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43852         divide-by-zero is raised for zero to large negative powers.
43853         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43854         (__ieee754_powl): Test for y outside the range of signed 64-bit
43855         integers before using fistpll.  Reduce 64-bit values to 63-bit
43856         ones as needed.
43857         * math/libm-test.inc (pow_test): Add more tests.
43858
43859 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43860
43861         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43862         <stdio-common/_itoa.h>.
43863         * debug/segfault.c: Likewise.
43864         * elf/dl-cache.c: Likewise.
43865         * elf/dl-minimal.c: Likewise.
43866         * elf/dl-misc.c: Likewise.
43867         * elf/dl-sysdep.c: Likewise.
43868         * elf/dl-version.c: Likewise.
43869         * elf/rtld.c: Likewise.
43870         * hurd/hurdsock.c: Likewise.
43871         * hurd/lookup-retry.c: Likewise.
43872         * malloc/malloc.c: Likewise.
43873         * malloc/mtrace.c: Likewise.
43874         * nscd/nscd_getgr_r.c: Likewise.
43875         * nscd/nscd_getpw_r.c: Likewise.
43876         * nscd/nscd_getserv_r.c: Likewise.
43877         * posix/getopt_init.c: Likewise.
43878         * posix/wordexp.c: Likewise.
43879         * stdio-common/_itoa.c: Likewise.
43880         * stdio-common/printf_fphex.c: Likewise.
43881         * stdio-common/vfprintf.c: Likewise.
43882         * string/_strerror.c: Likewise.
43883         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43884         * sysdeps/i386/i686/hp-timing.h: Likewise.
43885         * sysdeps/mach/_strerror.c: Likewise.
43886         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43887         * sysdeps/mach/hurd/sethostid.c: Likewise.
43888         * sysdeps/mach/hurd/xmknodat.c: Likewise.
43889         * sysdeps/mach/xpg-strerror.c: Likewise.
43890         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43891         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43892         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43893         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43894         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43895         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43896         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43897         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43898         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43899         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43900         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43901         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43902         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43903         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43904         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43905         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43906         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43907         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43908         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43909         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43910         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43911
43912         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43913
43914         * stdio-common/_itoa.h: Moved to ...
43915         * sysdeps/generic/_itoa.h: Here.
43916
43917         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43918
43919         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43920         instead of "_itoa.h" and "_itowa.h".
43921         * stdio-common/vfprintf.: Likewise.
43922
43923 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43924
43925         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43926         <bits/wordsize.h>.
43927         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43928         (__signbit): Likwise.
43929         (llrintf): Likwise.
43930         (llrint): Likwise.
43931
43932 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43933
43934         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43935         __WORDSIZE != 64.
43936
43937 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
43938
43939         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43940         OVERFLOW_EXCEPTION_OK.
43941         * math/libm-test.inc ("Philosophy"): Update comment about
43942         exception testing.
43943         (OVERFLOW_EXCEPTION): Define.
43944         (OVERFLOW_EXCEPTION_OK): Likewise.
43945         (INVALID_EXCEPTION_OK): Renumber.
43946         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43947         (IGNORE_ZERO_INF_SIGN): Likewise.
43948         (test_exceptions): Handle FE_OVERFLOW.
43949         (exp10_test): Expect overflow exceptions.
43950         (exp2_test): Likewise.
43951         (expm1_test): Likewise.
43952         (nextafter_test): Likewise.
43953         (pow_test): Likewise.
43954         (scalbn_test): Likewise.
43955         (scalbln_test): Likewise.
43956
43957 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43958
43959         * sysdeps/x86_64/bits/atomic.h
43960         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43961         64bit integer.
43962         (atomic_exchange_acq): Likewise.
43963         (__arch_exchange_and_add_body): Likewise.
43964         (__arch_add_body): Likewise.
43965         (atomic_add_negative): Likewise.
43966         (atomic_add_zero): Likewise.
43967
43968 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43969
43970         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43971         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43972
43973 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43974
43975         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43976         Check __x86_64__ instead of __WORDSIZE.
43977
43978 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43979
43980         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43981
43982 2012-03-19  David S. Miller  <davem@davemloft.net>
43983
43984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43985
43986         * sysdeps/sparc/fpu/fenv_private.h: New file.
43987         * sysdeps/sparc/fpu/math_private.h: Use it.
43988         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43989         Remove.
43990         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43991         (libc_feholdexcept_setroundl): Remove.
43992         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43993         Remove.
43994         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43995         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43996
43997 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43998
43999         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44000         int64_t instead of long int.
44001         (INSERT_WORDS64): Likwise.
44002
44003 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44004
44005         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44006         _Unwind_GetCFA return to _Unwind_Ptr first.
44007
44008 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44009
44010         [BZ #13629]
44011         * math/s_clog.c: Include <float.h>.
44012         (__clog): Scale large or subnormal inputs.
44013         * math/s_clogf.c: Likewise.
44014         * math/s_clogl.c: Likewise.
44015         * math/s_clog10.c: Include <float.h>.
44016         (M_LOG10_2): Define.
44017         (__clog10): Scale large or subnormal inputs.
44018         * math/s_clog10f.c: Likewise.
44019         * math/s_clog10l.c: Likewise.
44020         * math/libm-test.inc (clog_test): Add more tests.
44021         (clog10_test): Likewise.
44022         * sysdeps/i386/fpu/libm-test-ulps: Update.
44023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44024
44025         [BZ #11451]
44026         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44027         x and y.
44028         * math/libm-test.inc (atan2_test): Add another test.
44029
44030         * Makerules (common-objdir-compile): Remove.
44031         * sysdeps/unix/Makefile (config-generated): Do not add
44032         $(unix-generated) to variable.
44033         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44034         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44035         Remove rule.
44036         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44037         Likewise.
44038         [generic bits/local_lim.h] (before-compile): Do not append to
44039         variable.
44040         [generic bits/local_lim.h] (common-generated): Likewise.
44041         [generic sys/param.h] (before-compile): Do not append to variable.
44042         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44043         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44044         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44045         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44046         include.
44047         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44048         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44049         [generic sys/param.h] ($(addprefix
44050         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44051         [generic sys/param.h] (common-generated): Do not append to
44052         variable.
44053         [generic sys/param.h] (sysdep_headers): Likewise.
44054         [generic bits/errno.h] (before-compile): Do not append to
44055         variable.
44056         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44057         rule.
44058         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44059         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44060         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44061         [generic bits/errno.h] (common-generated): Do not append to
44062         variable.
44063         [generic bits/ioctls.h] (before-compile): Do not append to
44064         variable.
44065         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44066         rule.
44067         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44068         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44069         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44070         rule.
44071         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44072         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44073         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44074         [generic bits/ioctls.h] (common-generated): Do not append to
44075         variable.
44076         [generic sys/syscall.h] (syscall.h): Remove variable.
44077         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44078         rule.
44079         [generic sys/syscall.h] (before-compile): Do not append to
44080         variable.
44081         [generic sys/syscall.h] (common-generated): Likewise.
44082         * sysdeps/unix/errnos-tmpl.c: Remove file.
44083         * sysdeps/unix/errnos.awk: Likewise.
44084         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44085         * sysdeps/unix/ioctls.awk: Likewise.
44086         * sysdeps/unix/mk-local_lim.c: Likewise.
44087         * sysdeps/unix/snarf-ioctls: Likewise.
44088
44089 2012-03-19  Richard Henderson  <rth@twiddle.net>
44090
44091         * sysdeps/i386/fpu/fenv_private.h: New file.
44092         * sysdeps/i386/fpu/math_private.h: Use it.
44093         (math_opt_barrier, math_force_eval): Remove.
44094         (libc_feholdexcept_setround_53bit): Remove.
44095         (libc_feupdateenv_53bit): Remove.
44096         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44097         (math_opt_barrier, math_force_eval): Remove.
44098         (libc_feholdexcept): Remove.
44099         (libc_feholdexcept_setround): Remove.
44100         (libc_fetestexcept, libc_fesetenv): Remove.
44101         (libc_feupdateenv_test): Remove.
44102         (libc_feupdateenv, libc_feholdsetround): Remove.
44103         (libc_feresetround): Remove.
44104
44105         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44106         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44107
44108         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44109         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44110         (libc_feupdateenv_testl): New.
44111         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44112         (libc_feupdateenv_testf): New.
44113         (libc_feupdateenv): Use libc_feupdateenv_test.
44114         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44115         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44116
44117         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44118         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44119         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44120         (libc_feresetround_noex): New.
44121         (libc_feresetround_noexf): New.
44122         (libc_feresetround_noexl): New.
44123         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44124         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44125         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44126         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44127         SET_RESTORE_ROUND.
44128         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44129         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44130         (__cos): Likewise.
44131         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44132         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44133         SET_RESTORE_ROUND_NOEX.
44134         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44135         SET_RESTORE_ROUND_NOEXF.
44136         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44137         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44138         (libc_feholdsetroundf): New.
44139         (libc_feresetround, libc_feresetroundf): New.
44140
44141         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44142         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44143         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44144
44145         * sysdeps/generic/math_private.h: Include <fenv.h>.
44146         (default_libc_feholdexcept): New.
44147         (default_libc_feholdexcept_setround): New.
44148         (default_libc_fesetenv, default_libc_feupdateenv): New.
44149         (libc_feholdexcept): Only define if undefined.
44150         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44151         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44152         (libc_feholdexcept_setroundl): Likewise.
44153         (libc_feholdexcept_setround_53bit): Likewise.
44154         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44155         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44156         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44157         (libc_feupdateenv_53bit): Likewise.
44158         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44159         (libc_feholdexcept): Convert from macro to inline function.
44160         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44161         (libc_fesetenv, libc_feupdateenv): Likewise.
44162
44163         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44164         not previously defined.
44165         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44166         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44167         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44168         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44169         * sysdeps/ieee754/flt-32/math_private.h: New file.
44170         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44171         math_private.h below SET_FLOAT_WORD.
44172         (__isnan, __isinf_ns, __finite): Remove.
44173         (__isnanf, __isinf_nsf, __finitef): Remove.
44174
44175 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44176
44177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44178
44179 2012-03-17  David S. Miller  <davem@davemloft.net>
44180
44181         [BZ #6471]
44182         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44183         for 2.16.
44184
44185 2012-03-16  David S. Miller  <davem@davemloft.net>
44186
44187         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44188         warnings.
44189
44190         [BZ #6471]
44191         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44192         properly.
44193         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44194         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44195         sysdep_routines when subdir is sysvipc.
44196         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44197         __getshmlba helper.
44198
44199         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44200
44201 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44202
44203         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44204         [__LP64__].
44205
44206 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44207
44208         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44209         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44210         (__lround): Renamed to ...
44211         (__llround): This.  Replace long int with long long int.
44212         Define lround functions as aliases of llround functions.
44213         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44214
44215 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44216
44217         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44218         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44219         adresses to uintptr_t.  Replace "long int" and "unsigned long
44220         int" with "greg_t" on va_arg.
44221
44222 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44223
44224         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44225         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44226
44227         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44228         Move e_machine check before EI_CLASS check.  Handle x32
44229         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44230         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44231         SKIP_EM_IA_64 and include
44232         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44233
44234         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44235         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44236         (add_system_dir): New macro.
44237
44238         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44239         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44240
44241 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44242
44243         [BZ #2551]
44244         [BZ #2552]
44245         [BZ #2553]
44246         [BZ #2554]
44247         [BZ #2562]
44248         [BZ #2563]
44249         [BZ #2565]
44250         [BZ #2566]
44251         [BZ #2576]
44252         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44253         (y0): Likewise.
44254         * math/w_j0f.c (j0f): Likewise.
44255         (y0f): Likewise.
44256         * math/w_j0l.c (__j0l): Likewise.
44257         (__y0l): Likewise.
44258         * math/w_j1.c (j1): Likewise.
44259         (y1): Likewise.
44260         * math/w_j1f.c (j1f): Likewise.
44261         (y1f): Likewise.
44262         * math/w_j1l.c (__j1l): Likewise.
44263         (__y1l): Likewise.
44264         * math/w_jn.c (jn): Likewise.
44265         (yn): Likewise.
44266         * math/w_jnf.c (jnf): Likewise.
44267         (ynf): Likewise.
44268         * math/w_jnl.c (__jnl): Likewise.
44269         (__ynl): Likewise.
44270         * math/libm-test.inc (j0_test): Add more tests.
44271         (j1_test): Likewise.
44272         (jn_test): Likewise.  Add trailing semicolon to existing test.
44273         (y0_test): Likewise.
44274         (y1_test): Likewise.
44275         * sysdeps/i386/fpu/libm-test-ulps: Update.
44276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44277
44278         [BZ #13851]
44279         [BZ #13854]
44280         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44281         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44282         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44283         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44284         (__tanl): Set errno for infinite argument.
44285         * sysdeps/i386/fpu/mptan.c: Remove.
44286         * sysdeps/i386/fpu/s_tan.S: Likewise.
44287         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44288         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44289         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44290         * math/libm-test.inc (tan_test): Add more tests and enable more
44291         tests for double and long double.
44292         * sysdeps/i386/fpu/libm-test-ulps: Update.
44293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44294
44295 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44296
44297         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44298         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44299
44300 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44301
44302         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44303         * configure.in: Use it for both main tree and add-ons.
44304         * configure: Regenerated.
44305
44306 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44307
44308         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44309
44310 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44311
44312         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44313         in comment.
44314
44315         [BZ #13851]
44316         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44317         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44318         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44319         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44320         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44321         infinite argument.
44322         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44323         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44324         != 0 for prec == 2.
44325         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44326         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44327         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44328         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44329         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44330         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44331         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44332         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44333         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44334         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44335         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44336         * math/libm-test.inc (cos_test): Add more tests and enable more
44337         tests for long double.
44338         (sin_test): Likewise.
44339         (sincos_test): Likewise.
44340         * sysdeps/i386/fpu/libm-test-ulps: Update.
44341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44342
44343 2012-03-16  David S. Miller  <davem@davemloft.net>
44344
44345         * sysdeps/sparc/fpu/math_private.h: New file.
44346
44347 2012-03-15  David S. Miller  <davem@davemloft.net>
44348
44349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44350         file.
44351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44353         file.
44354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44356         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44357         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44359         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44360         sysdep routines.
44361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44362
44363         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44364         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44365
44366         * sysdeps/sparc/sparc-ifunc.h: New file.
44367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44368         sparc-ifunc.h
44369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44371         Likewise.
44372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44373         Likewise.
44374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44378         Likewise.
44379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44384         Likewise.
44385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44386         Likewise.
44387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44392         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44393         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44394         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44395         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44396         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44400         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44401         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44402         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44403         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44404         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44405         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44406         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44407         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44408         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44409         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44410         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44411
44412 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44413
44414         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44415         scaling.
44416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44417
44418 2012-03-15  Andreas Jaeger  <aj@suse.de>
44419
44420         [BZ #13852]
44421         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44422         ieee754/flt-32 implementation for sin, cos and sincos.
44423         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44424         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44425         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44426         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44427         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44428         ieee754/flt-32 implementation for tan.
44429
44430         * math/libm-test.inc (cos_test): Enable some large input tests for
44431         float as well
44432         (sin_test): Likewise.
44433         (sincos_test): Likewise.
44434         (tan_test): Add tests for large input.
44435
44436         * sysdeps/i386/fpu/libm-test-ulps: Update.
44437
44438 2012-03-15  Andreas Jaeger  <aj@suse.de>
44439
44440         [BZ #13658]
44441         * math/libm-test.inc (cos_test): Add more test cases.
44442         (sin_test): Likewise.
44443         (sincos_test): Likewise.
44444
44445 2012-03-15  Andreas Jaeger  <aj@suse.de>
44446
44447         [BZ #13837]
44448         * math/libm-test.inc (cos_test): Add a test case for large input
44449         value.
44450         (sin_test): Likewise.
44451         (sincos_test): Likewise.
44452
44453 2012-03-15  Andreas Jaeger  <aj@suse.de>
44454             Joseph Myers  <joseph@codesourcery.com>
44455
44456         [BZ #13658]
44457         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44458         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44459         * sysdeps/i386/fpu/branred.c: Likewise.
44460         * sysdeps/i386/fpu/dosincos.c: Likewise.
44461         * sysdeps/i386/fpu/mpa.c: Likewise.
44462         * sysdeps/i386/fpu/s_cos.S: Likewise.
44463         * sysdeps/i386/fpu/s_sin.S: Likewise.
44464         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44465         * sysdeps/i386/fpu/sincos32.c: Likewise.
44466
44467         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44468         Define.
44469         (libc_feupdateenv_53bit): Define.
44470         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44471         Define.
44472         (libc_feupdateenv_53bit): Define.
44473
44474         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44475         53 bit (without extend i386 double precision).
44476
44477         * math/libm-test.inc (sincos_test): Add tests for large input.
44478         (sin): Likewise.
44479         (cos): Likewise.
44480
44481         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44482
44483 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44484
44485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44486
44487 2012-03-15  David S. Miller  <davem@davemloft.net>
44488
44489         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44490         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44491         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44492         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44499         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44501         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44502         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44505         file.
44506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44508         file.
44509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44511         file.
44512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44514         file.
44515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44516         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44517         fmin/fmax sysdep routines.
44518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44519
44520 2012-03-14  David S. Miller  <davem@davemloft.net>
44521
44522         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44523         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44524         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44525         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44526         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44527         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44528         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44529         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44532         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44533         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44534         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44535         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44536         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44537         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44538         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44539         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44540         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44541         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44542         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44543         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44544         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44545         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44546         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44547         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44548         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44549         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44550         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44551         routines.
44552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44553         file.
44554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44556         file.
44557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44559         file.
44560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44562         file.
44563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44565         file.
44566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44568         file.
44569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44570         file.
44571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44572         file.
44573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44574         file.
44575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44576         New file.
44577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44578         file.
44579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44580         file.
44581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44583         file.
44584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44586         file.
44587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44589         file.
44590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44592         VIS3 routines.
44593
44594         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44595         New file.
44596
44597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44598
44599         * sysdeps/sparc/configure.in: New file.
44600         * sysdeps/sparc/configure: Generate.
44601         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44602         * configure: Regenerate.
44603         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44604         * config.make.in (have-as-vis3): New.
44605         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44606         available use -Av9d instead of -Av9a.
44607         * sysdeps/sparc/sparc64/Makefile: Likewise.
44608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44610         New file.
44611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44612         file.
44613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44614         New file.
44615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44616         file.
44617         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44618         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44619         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44620         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44621         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44622
44623         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44624         fzeros/fnegs to load 0x80000000 into a float register instead of
44625         using the stack.
44626         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44627
44628 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44629
44630         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44631         bits/syscall.h.
44632         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44633         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44634         ($(inst_includedir)/bits/syscall.h): Remove rule.
44635         ($(objpfx)bits/syscall.d): Include instead of
44636         $(objpfx)syscall-list.d.
44637         (generated): Change syscall-list.h and syscall-list.d to
44638         bits/syscall.h and bits/syscall.d.
44639
44640 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44641
44642         [BZ #13846]
44643         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44644
44645 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44646
44647         [BZ #13841]
44648         * math/s_csqrt.c: Include <float.h>.
44649         (__csqrt): Scale large or subnormal inputs.
44650         * math/s_csqrtf.c: Likewise.
44651         * math/s_csqrtl.c: Likewise.
44652         * math/libm-test.inc (csqrt_test): Add more tests.
44653         * sysdeps/i386/fpu/libm-test-ulps: Update.
44654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44655
44656         [BZ #13840]
44657         * math/libm-test.inc (hypot_test): Add more tests.
44658
44659 2012-03-13  David S. Miller  <davem@davemloft.net>
44660
44661         [BZ #13840]
44662         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44663         double-precision for the calculation instead of scaling.
44664
44665 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44666
44667         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44668         manipulate bits before adding and subtracting TWO52[sx].
44669         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44670         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44671         Likewise.
44672         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44673
44674 2012-03-13  David S. Miller  <davem@davemloft.net>
44675
44676         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44677         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44678         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44679         rtld-global-offsets.h
44680         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44681
44682         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44683         large parameters.
44684
44685         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44686
44687         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44688         'err' in the ifdef scope in which it is actually used.
44689
44690         * nss/nss_db/db-init.c: Include string.h
44691
44692 2012-03-12  David S. Miller  <davem@davemloft.net>
44693
44694         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44695         masking out of the most significant byte of random value used.
44696         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44697         Fix coding style in previous change.
44698
44699         * sysdeps/unix/sysv/linux/kernel-features.h
44700         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44701         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44702         expression.
44703         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44704         later.
44705
44706 2012-03-11  David S. Miller  <davem@davemloft.net>
44707
44708         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44709         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44710         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44711         for 'resultvar' otherwise things get truncated on 64-bit.
44712
44713         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44714         Fix masking out of the most significant byte of random value used.
44715
44716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44717
44718 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44719
44720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44721
44722 2012-03-09  David S. Miller  <davem@davemloft.net>
44723
44724         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44725         variables with appropriate CPP guards.
44726         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44727         from the frame pointer, not the stack pointer.  Correct layout
44728         comments.  Fix test on resulting framesize and the management of
44729         the outregs buffer for pltexit.  Preserve floating point return
44730         values across _dl_call_pltexit call.
44731         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44732         framesize and the management of the outregs buffer for pltexit.
44733         Preserve floating point return values across _dl_call_pltexit
44734         call.
44735         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44736         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44737         (la_sparc64_gnu_pltexit): New functions.
44738         (print_exit): Fix format string for return register value.
44739
44740 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44741
44742         * sunrpc/Makefile (others): Add rpcgen.
44743         ($(objpfx)rpcgen): Remove special build rule and dependency on
44744         libc.
44745         * sunrpc/rpcgen.c: New file.
44746
44747 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44748
44749         [BZ #13673]
44750         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44751         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44752         * sysdeps/i386/crti.S: Likewise.
44753         * sysdeps/i386/crtn.S: Likewise.
44754         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44755         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44756         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44757         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44758         * sysdeps/sh/crti.S: Likewise.
44759         * sysdeps/sh/crtn.S: Likewise.
44760         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44761
44762         [BZ #13673]
44763         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44764         with URL.
44765         * locale/programs/locfile-kw.gperf: Likewise.
44766         * locale/programs/charmap-kw.h: Regenerated.
44767         * locale/programs/locfile-kw.h: Likewise.
44768
44769         [BZ #13673]
44770         * intl/plural.y: Replace FSF snail mail address with URL.
44771         * intl/plural.c: Regenerated.
44772
44773 2012-03-09  Richard Henderson  <rth@twiddle.net>
44774
44775         * include/math_private.h: Remove file.
44776         * math/math_private.h: Move file ...
44777         * sysdeps/generic/math_private.h: ... here.
44778
44779         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44780         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44781         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44782
44783         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44784         and <math_private.h>.
44785         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44786         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44787         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44788         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44789         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44790         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44791         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44792         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44793         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44794         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44796         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44797         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44798         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44799         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44800         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44801         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44802         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44803         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44804         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44805         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44806         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44807         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44808         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44809         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44810         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44811         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44812         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44813         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44814         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44815         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44816         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44817         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44818         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44819         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44820         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44821         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44822         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44823         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44824         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44825         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44826         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44827         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44828         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44829         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44830         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44831         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44832         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44833         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44834         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44835         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44836         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44837         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44838         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44839         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44840         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44841         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44842         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44843         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44844         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44845         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44846         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44847         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44848         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44849         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44850         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44851         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44852         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44853         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44854         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44855         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44856         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44857         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44858         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44859         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44860         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44861         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44862         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44863         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44864         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44865         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44866         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44867         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44868         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44869         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44870         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44871         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44872         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44873         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44874         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44875         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44876         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44877         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44878         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44879         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44880         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44881         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44882         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44883         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44884         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44885         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44886         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44887         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44888         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44889         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44890         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44891         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44892         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44893         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44894         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44895         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44896         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44897         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44898         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44899         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44900         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44901         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44902         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44903         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44904         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44905         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44906         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44907         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44908         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44909         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44910         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44911         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44912         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44913         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44914         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44915         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44916         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44917         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44918         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44919         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44920         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44921         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44922         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44923         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44924         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44925         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44926         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44927         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44928         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44929         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44930         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44931         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44932         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44933         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44934         * sysdeps/ieee754/k_standard.c: Likewise.
44935         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44936         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44937         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44938         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44939         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44940         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44941         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44942         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44943         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44944         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44945         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44946         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44947         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44948         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44949         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44950         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44951         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44952         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44953         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44954         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44955         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44956         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44957         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44958         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44959         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44960         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44961         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44962         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44963         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44964         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44965         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44966         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44967         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44968         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44969         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44970         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44971         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44972         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44973         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44974         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44975         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44976         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44977         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44978         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44979         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44980         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44981         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44982         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44983         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44984         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44985         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44986         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44987         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44988         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44989         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44990         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44991         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44992         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44993         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44994         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44995         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44996         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44997         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44998         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44999         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45000         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45001         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45002         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45003         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45004         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45005         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45006         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45007         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45008         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45009         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45010         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45011         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45012         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45013         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45014         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45015         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45016         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45017         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45018         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45019         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45020         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45021         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45022         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45023         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45024         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45025         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45026         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45027         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45028         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45029         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45030         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45031         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45032         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45033         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45034         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45035         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45036         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45037         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45038         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45039         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45040         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45041         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45042         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45043         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45044         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45045         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45046         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45047         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45048         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45049         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45050         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45051         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45052         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45053         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45054         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45055         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45056         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45057         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45058         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45059         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45060         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45061         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45062         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45063         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45064         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45065         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45066         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45067         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45068         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45069         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45070         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45071         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45072         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45073         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45074         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45075         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45076         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45077         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45078         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45079         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45080         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45081         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45082         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45083         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45084         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45085         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45086         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45087         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45088         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45089         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45090         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45091         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45092         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45093         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45094         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45095         * sysdeps/ieee754/s_lib_version.c: Likewise.
45096         * sysdeps/ieee754/s_matherr.c: Likewise.
45097         * sysdeps/ieee754/s_signgam.c: Likewise.
45098         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45099         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45100         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45101         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45102         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45103         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45104         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45105         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45106         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45107         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45108         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45109         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45110         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45111         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45112         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45113         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45114         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45115         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45116         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45117         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45118         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45119
45120 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45121
45122         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45123         * sunrpc/rpc_main.c: Likewise.
45124         * sunrpc/rpc_svcout.c: Likewise.
45125
45126 2012-03-09  David S. Miller  <davem@davemloft.net>
45127
45128         * include/math_private.h: New file.
45129
45130 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45131
45132         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45133         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45134         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45135         from <bits/socket_type.h>.
45136         (enum __socket_type): Don't define here.
45137         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45139         bits/socket_type.h.
45140
45141         [BZ #13566]
45142         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45143         checking __USE_GNU.
45144
45145         * Makerules ($(inst_includedir)/%.h): New rule.
45146         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45147         (install-others): Remove variable setting.
45148         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45149
45150 2012-03-08  Richard Henderson  <rth@twiddle.net>
45151
45152         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45153         from macro to inline function; merge with the
45154         !__LIBC_INTERNAL_MATH_INLINES version.
45155         (__ieee754_sqrtf): Likewise.
45156
45157         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45158         to inline function.
45159         (__rintf, __floor, __floorf): Likewise.
45160
45161         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45162         macro to inline function.
45163         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45164
45165         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45166         not <math/math_private.h>.
45167
45168 2012-03-08  David S. Miller  <davem@davemloft.net>
45169
45170         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45171         copyright year.
45172         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45173
45174 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45175
45176         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45177         normalization.
45178         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45179         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45180
45181 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45182
45183         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45184         be defined individually, they must be defined as a block.  Define
45185         S for printing a string instead of hidint the different by using a
45186         macro for adding the 'l'.
45187         * stdio-common/tst-fphex-wide.c: Adjust.
45188
45189 2012-03-07  Marek Polacek  <polacek@redhat.com>
45190
45191         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45192
45193 2012-03-08  Marek Polacek  <polacek@redhat.com>
45194
45195         [BZ #13806]
45196         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45197         * stdio-common/tst-fphex.c: Define a few macros to make the
45198         test reusable.  Use them.
45199         * stdio-common/tst-fphex-wide.c: New file.
45200
45201 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45202
45203         [BZ #6911]
45204         * manual/macros.texi (gnusystems): New macro.
45205         (nongnusystems): Likewise.
45206         (gnulinuxhurdsystems): Likewise.
45207         (gnuhurdsystems): Likewise..
45208         (gnulinuxsystems): Likewise.
45209         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45210         variants of the GNU system, not "GNU system".
45211         * manual/conf.texi: Likewise.
45212         * manual/errno.texi: Likewise.  Update example of errno macro
45213         expansion.
45214         * manual/filesys.texi: Likewise.
45215         (getumask): Document as specific to GNU/Hurd.
45216         * manual/install.texi: Likewise.  Reword some references to
45217         GNU/Linux.
45218         * manual/intro.texi: Likewise.
45219         * manual/io.texi: Likewise.
45220         (File Name Portability): Detail which constraints are inapplicable
45221         to all GNU systems and which are only inapplicable to GNU/Hurd.
45222         * manual/job.texi: Likewise.
45223         * manual/llio.texi: Likewise.
45224         (O_NOCTTY): Document as present on GNU/Linux.
45225         * manual/maint.texi: Likewise.
45226         * manual/memory.texi: Likewise.
45227         * manual/pattern.texi: Likewise.
45228         * manual/pipe.texi: Likewise.
45229         * manual/process.texi: Likewise.
45230         * manual/resource.texi: Likewise.
45231         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45232         child on GNU/Hurd.
45233         * manual/setjmp.texi: Likewise.
45234         * manual/signal.texi: Likewise.
45235         * manual/startup.texi: Likewise.
45236         * manual/stdio.texi: Likewise.
45237         * manual/terminal.texi: Likewise.
45238         (ONLCR): Document as POSIX.
45239         (OXTABS): Document availability on GNU/Linux as XTABS.
45240         (ONOEOT): Document availability separately from other bits.
45241         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45242         * manual/time.texi: Likewise.
45243         * manual/users.texi: Likewise.
45244         * INSTALL: Regenerated.
45245         * sysdeps/gnu/errlist.c: Regenerated.
45246
45247         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45248         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45249         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45250         puts.
45251         * configure: Regenerated.
45252
45253 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45254
45255         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45256         default includes instead of AC_HEADER_CHECK.
45257         * sysdeps/i386/configure: Regenerated.
45258
45259         [BZ #10716]
45260         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45261         * math/s_cacoshf.c (__cacoshf): Likewise.
45262         * math/s_cacoshl.c (__cacoshl): Likewise.
45263         * math/s_casinh.c (__casinh): Set signs of result from argument.
45264         * math/s_casinhf.c (__casinhf): Likewise.
45265         * math/s_casinhl.c (__casinhl): Likewise.
45266         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45267         (casinh_test): Add more tests.
45268         * sysdeps/i386/fpu/libm-test-ulps: Update.
45269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45270
45271 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45272
45273         * po/zh_TW.po: Update from translation team.
45274
45275         * login/Makefile (distribute): Remove variable.
45276         * catgets/Makefile: Likewise.
45277         * mach/Makefile: Likewise.
45278         * malloc/Makefile: Likewise.
45279         * misc/Makefile: Likewise.
45280         * iconv/Makefile: Likewise.
45281         * nscd/Makefile: Likewise.
45282         * hurd/Makefile: Likewise.
45283         * manual/Makefile: Likewise.
45284         * locale/Makefile: Likewise.
45285         * intl/Makefile: Likewise.
45286         * conform/Makefile: Likewise.
45287         * nss/Makefile: Likewise.
45288         * time/Makefile: Likewise.
45289         * soft-fp/Makefile: Likewise.
45290         * dirent/Makefile: Likewise.
45291         * gmon/Makefile: Likewise.
45292         * po/Makefile: Likewise.
45293         * rt/Makefile: Likewise.
45294         * socket/Makefile: Likewise.
45295         * math/Makefile: Likewise.
45296         * signal/Makefile: Likewise.
45297         * debug/Makefile: Likewise.
45298         * elf/Makefile: Likewise.
45299         * timezone/Makefile: Likewise.
45300         * stdlib/Makefile: Likewise.
45301         * iconvdata/Makefile: Likewise.
45302         * sunrpc/Makefile: Likewise.
45303         * io/Makefile: Likewise.
45304         * argp/Makefile: Likewise.
45305         * inet/Makefile: Likewise.
45306         * hesiod/Makefile: Likewise.
45307         * grp/Makefile: Likewise.
45308         * csu/Makefile: Likewise.
45309         * wctype/Makefile: Likewise.
45310         * crypt/Makefile: Likewise.
45311         * libio/Makefile: Likewise.
45312         * string/Makefile: Likewise.
45313         * nis/Makefile: Likewise.
45314         * resolv/Makefile: Likewise.
45315         * stdio-common/Makefile: Likewise.
45316         * wcsmbs/Makefile: Likewise.
45317         * dlfcn/Makefile: Likewise.
45318         * posix/Makefile: Likewise.
45319
45320         [BZ #6959]
45321         * timezone/Makefile: Don't install timezone files, just the programs
45322         and scripts.
45323
45324 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45325
45326         * nss/databases.def: Add missing gshadow entry.
45327
45328         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45329
45330 2012-03-06  Marek Polacek  <polacek@redhat.com>
45331
45332         [BZ #13726]
45333         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45334         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45335         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45336         * stdio-common/tst-long-dbl-fphex.c: New file.
45337
45338 2012-03-06  David S. Miller  <davem@davemloft.net>
45339
45340         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45341         (set_obp_int): New function.
45342         (get_obp_int): New function.
45343         (__get_clockfreq_via_dev_openprom): Likewise.
45344         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45345         Avoid unused variable warnings on 'val' and use builtin_expect.
45346         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45347         __builtin_expect.
45348         (INLINE_CLONE_SYSCALL): Likewise.
45349
45350 2012-03-05  David S. Miller  <davem@davemloft.net>
45351
45352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45353
45354 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45355
45356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45357
45358         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45359         only for |x| >= 40.
45360         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45361
45362 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45363
45364         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45365         Replace gettimeofday with __vdso_gettimeofday.
45366
45367         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45368         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45369         __vdso_clock_gettime and __vdso_getcpu.
45370
45371         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45372         time with __vdso_time.
45373
45374 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45375
45376         * manual/lang.texi (size_t): Note types to which size_t may be
45377         equivalent with the GNU C Library, but do not describe when
45378         differences between them are significant.
45379
45380 2012-03-05  Andreas Jaeger  <aj@suse.de>
45381
45382         * sysdeps/i386/fpu/libm-test-ulps: Update.
45383
45384 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45385
45386         [BZ #3976]
45387         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45388         (__ieee754_pow): Save and restore rounding mode and use
45389         round-to-nearest for main computations.
45390         * math/libm-test.inc (pow_test_tonearest): New function.
45391         (pow_test_towardzero): Likewise.
45392         (pow_test_downward): Likewise.
45393         (pow_test_upward): Likewise.
45394         (main): Call the new functions.
45395         * sysdeps/i386/fpu/libm-test-ulps: Update.
45396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45397
45398         [BZ #3976]
45399         * math/libm-test.inc (cosh_test_tonearest): New function.
45400         (cosh_test_towardzero): Likewise.
45401         (cosh_test_downward): Likewise.
45402         (cosh_test_upward): Likewise.
45403         (sinh_test_tonearest): Likewise.
45404         (sinh_test_towardzero): Likewise.
45405         (sinh_test_downward): Likewise.
45406         (sinh_test_upward): Likewise.
45407         (main): Call the new functions.
45408         * sysdeps/i386/fpu/libm-test-ulps: Update.
45409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45410
45411 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45412
45413         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45414         default stack guard is set in last bytes.
45415         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45416
45417 2012-03-05  Kees Cook  <keescook@chromium.org>
45418
45419         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45420
45421         [BZ #13656]
45422         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45423         possibly allocate from heap instead of stack.
45424         * stdio-common/bug-vfprintf-nargs.c: New file.
45425         * stdio-common/Makefile (tests): Add nargs overflow test.
45426
45427 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45428
45429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45430
45431 2012-03-03  Marek Polacek  <polacek@redhat.com>
45432
45433         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45434         * math/math_private.h: Likewise.
45435         * stdlib/tst-strtod.c: Likewise.
45436         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45437         * sysdeps/x86_64/bits/atomic.h: Likewise.
45438
45439 2012-03-02  David S. Miller  <davem@davemloft.net>
45440
45441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45445         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45446         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45447         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45448         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45449
45450 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45451
45452         [BZ #13792]
45453         * manual/examples/README: New file, says the example source files
45454         can be used under GPL>=2.
45455         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45456         line containing just "*/".
45457         * manual/examples/add.c: Add copyright header (GPL>=2).
45458         * manual/examples/argp-ex1.c: Likewise.
45459         * manual/examples/argp-ex2.c: Likewise.
45460         * manual/examples/argp-ex3.c: Likewise.
45461         * manual/examples/argp-ex4.c: Likewise.
45462         * manual/examples/atexit.c: Likewise.
45463         * manual/examples/db.c: Likewise.
45464         * manual/examples/dir.c: Likewise.
45465         * manual/examples/dir2.c: Likewise.
45466         * manual/examples/execinfo.c: Likewise.
45467         * manual/examples/filecli.c: Likewise.
45468         * manual/examples/filesrv.c: Likewise.
45469         * manual/examples/fmtmsgexpl.c: Likewise.
45470         * manual/examples/genpass.c: Likewise.
45471         * manual/examples/inetcli.c: Likewise.
45472         * manual/examples/inetsrv.c: Likewise.
45473         * manual/examples/isockad.c: Likewise.
45474         * manual/examples/longopt.c: Likewise.
45475         * manual/examples/memopen.c: Likewise.
45476         * manual/examples/memstrm.c: Likewise.
45477         * manual/examples/mkfsock.c: Likewise.
45478         * manual/examples/mkisock.c: Likewise.
45479         * manual/examples/mygetpass.c: Likewise.
45480         * manual/examples/pipe.c: Likewise.
45481         * manual/examples/popen.c: Likewise.
45482         * manual/examples/rprintf.c: Likewise.
45483         * manual/examples/search.c: Likewise.
45484         * manual/examples/select.c: Likewise.
45485         * manual/examples/setjmp.c: Likewise.
45486         * manual/examples/sigh1.c: Likewise.
45487         * manual/examples/sigusr.c: Likewise.
45488         * manual/examples/stpcpy.c: Likewise.
45489         * manual/examples/strdupa.c: Likewise.
45490         * manual/examples/strftim.c: Likewise.
45491         * manual/examples/strncat.c: Likewise.
45492         * manual/examples/subopt.c: Likewise.
45493         * manual/examples/swapcontext.c: Likewise.
45494         * manual/examples/termios.c: Likewise.
45495         * manual/examples/testopt.c: Likewise.
45496         * manual/examples/testpass.c: Likewise.
45497         * manual/examples/timeval_subtract.c: Likewise.
45498
45499         [BZ #13792]
45500         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45501         function to ...
45502         * manual/timeval_subtract.c.texi: ... here, new file.
45503
45504 2012-03-02  David S. Miller  <davem@davemloft.net>
45505
45506         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45507
45508 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45509
45510         [BZ #3976]
45511         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45512         (__sin): Save and restore rounding mode and use round-to-nearest
45513         for all computations.
45514         (__cos): Save and restore rounding mode and use round-to-nearest
45515         for all computations.
45516         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45517         <fenv.h>.
45518         (tan): Save and restore rounding mode and use round-to-nearest for
45519         all computations.
45520         * math/libm-test.inc (cos_test_tonearest): New function.
45521         (cos_test_towardzero): Likewise.
45522         (cos_test_downward): Likewise.
45523         (cos_test_upward): Likewise.
45524         (sin_test_tonearest): Likewise.
45525         (sin_test_towardzero): Likewise.
45526         (sin_test_downward): Likewise.
45527         (sin_test_upward): Likewise.
45528         (tan_test_tonearest): Likewise.
45529         (tan_test_towardzero): Likewise.
45530         (tan_test_downward): Likewise.
45531         (tan_test_upward): Likewise.
45532         (main): Call the new functions.
45533         * sysdeps/i386/fpu/libm-test-ulps: Update.
45534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45535
45536         [BZ #10135]
45537         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45538         small n, then large n, before computing and testing k+n.
45539         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45540         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45541         Likewise.
45542         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45543         Likewise.
45544         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45545         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45546         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45547         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45548         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45549         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45550         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45551         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45552         * math/libm-test.inc (scalbn_test): Add more tests.
45553         (scalbln_test): Likewise.
45554
45555         * manual/filesys.texi (mode_t): Describe constraints on size and
45556         signedness, not exact equivalence to a particular type.
45557         (ino_t): Likewise.
45558         (ino64_t): Likewise.
45559         (dev_t): Likewise.
45560         (nlink_t): Likewise.
45561         (blkcnt_t): Likewise.
45562         (blkcnt64_t): Likewise.
45563         * manual/llio.texi (off_t): Likewise.
45564
45565         [BZ #3976]
45566         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45567         (__ieee754_exp): Save and restore rounding mode and use
45568         round-to-nearest for all computations.
45569         * math/libm-test.inc (exp_test_tonearest): New function.
45570         (exp_test_towardzero): Likewise.
45571         (exp_test_downward): Likewise.
45572         (exp_test_upward): Likewise.
45573         (main): Call the new functions.
45574         * sysdeps/i386/fpu/libm-test-ulps: Update.
45575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45576
45577 2012-03-01  Chris Demetriou  <cgd@google.com>
45578
45579         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45580         have predictable order.
45581
45582 2012-03-01  David S. Miller  <davem@davemloft.net>
45583
45584         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45585
45586         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45587         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45588         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45589         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45590
45591         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45592         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45593         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45595         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45596         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45597         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45598         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45599         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45600
45601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45602
45603         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45604         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45605         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45606
45607         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45608         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45609         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45610         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45611         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45612         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45613         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45614         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45615         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45616         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45617         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45618         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45620         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45621         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45622         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45623         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45624         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45625         * sysdeps/sparc/elf/configure: Regenerated.
45626
45627 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45628
45629         * configure.in (AS, LD): Require binutils 2.20 or later.
45630         * configure: Regenerated.
45631         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45632         as required minimum version.
45633         * INSTALL: Regenerated.
45634
45635         [BZ #2541]
45636         [BZ #4108]
45637         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45638         before squaring exponent.
45639         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45640         bottom long double and 27 bits of top long double before squaring
45641         exponent.
45642         * math/libm-test.inc (erfc_test): Add more tests.
45643         * sysdeps/i386/fpu/libm-test-ulps: Update.
45644         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45646
45647 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45648
45649         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45650         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45651         containing bit-fields.
45652         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45653         * soft-fp/single.h (_FP_UNION_S): Likewise.
45654         * soft-fp/double.h (_FP_UNION_D): Likewise.
45655
45656 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45657
45658         [BZ #13786]
45659         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45660         not include ../strcmp.S.
45661         [USE_AS_STRNCASECMP_L]: Likewise.
45662         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45663         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45664         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45665         (__strncasecmp_l_ia32): Define as alias to
45666         __strncasecmp_l_nonascii.
45667
45668         [BZ #5794]
45669         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45670         * sysdeps/i386/fpu/libm-test-ulps: Update.
45671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45672
45673         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45675
45676 2012-02-29  Jeff Law  <law@redhat.com>
45677
45678         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45679         out of bounds read.
45680
45681 2012-02-29  Marek Polacek  <polacek@redhat.com>
45682
45683         [BZ #13706]
45684         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45685         * elf/Makefile: Add rules to run tst-unused-dep.out.
45686
45687 2012-02-28  David S. Miller  <davem@davemloft.net>
45688
45689         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45690         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45691         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45692         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45693         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45694         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45695
45696 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45697
45698         * math/libm-test.inc (llround_test): Move one test from
45699         lround_test.  Use TEST_f_L in moved test.
45700         (lround_test): Move misplaced test to llround_test.  Add testcase
45701         from bug 2561.
45702
45703 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45704
45705         * sysdeps/x86_64/fpu/e_expf.S: New file.
45706         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45707
45708 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45709
45710         [BZ #13637]
45711         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45712         of remain_len that may cause incomplete multi-byte character and
45713         false match.
45714         * posix/bug-regex33.c: New file.
45715         * posix/Makefile (tests): Add bug-regex33.
45716
45717 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45718
45719         * manual/macros.texi: New file.
45720         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45721         * manual/libc.texinfo: Include macros.texi.
45722         * manual/creatute.texi: Likewise.
45723         * manual/install.texi: Likewise.
45724         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45725         @glibcadj{} in references to the GNU C Library.
45726         * manual/charset.texi: Likewise.
45727         * manual/conf.texi: Likewise.
45728         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45729         when not using those macros.
45730         * manual/creature.texi: Likewise.
45731         * manual/crypt.texi: Likewise.
45732         * manual/errno.texi: Likewise.
45733         * manual/filesys.texi: Likewise.
45734         * manual/header.texi: Likewise.
45735         * manual/install.texi: Likewise.
45736         * manual/intro.texi: Likewise.
45737         * manual/io.texi: Likewise.
45738         * manual/job.texi: Likewise.
45739         * manual/lang.texi: Likewise.
45740         * manual/libc.texiinfo: Likewise.
45741         * manual/llio.texi: Likewise.
45742         * manual/locale.texi: Likewise.
45743         * manual/maint.texi: Likewise.
45744         * manual/math.texi: Likewise.
45745         * manual/memory.texi: Likewise.
45746         * manual/message.texi: Likewise.
45747         * manual/nss.texi: Likewise.
45748         * manual/pattern.texi: Likewise.
45749         * manual/process.texi: Likewise.
45750         * manual/resource.texi: Likewise.
45751         * manual/search.texi: Likewise.
45752         * manual/setjmp.texi: Likewise.
45753         * manual/signal.texi: Likewise.
45754         * manual/socket.texi: Likewise.
45755         * manual/startup.texi: Likewise.
45756         * manual/stdio.texi: Likewise.
45757         * manual/string.texi: Likewise.
45758         * manual/sysinfo.texi: Likewise.
45759         * manual/syslog.texi: Likewise.
45760         * manual/terminal.texi: Likewise.
45761         * manual/time.texi: Likewise.
45762         * manual/users.texi: Likewise.
45763         * INSTALL: Regenerated.
45764         * NOTES: Regenerated.
45765         * sysdeps/gnu/errlist.c: Regenerated.
45766
45767 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45768
45769         * include/dirent.h: Include <dirstream.h> before
45770         <dirent/dirent.h>.
45771
45772 2012-02-28  David S. Miller  <davem@davemloft.net>
45773
45774         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45775         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45776         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45777         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45778
45779 2012-02-27  David S. Miller  <davem@davemloft.net>
45780
45781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45783         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45784         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45785
45786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45787         frame pointer instead of stack pointer relative arg slot.
45788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45789         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45790         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45791
45792 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45793
45794         [BZ #3992]
45795         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45796
45797 2012-02-27  David S. Miller  <davem@davemloft.net>
45798
45799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45803         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45804         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45805         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45806         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45807
45808 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45809
45810         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45811         later.  Allow versions 5-9.
45812         * configure: Regenerated.
45813         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45814         required minimum version and 4.6 as recommended version.  Do not
45815         mention bugs in GCC 2.7 and 2.8.
45816         * INSTALL: Regenerated.
45817
45818 2012-02-27  David S. Miller  <davem@davemloft.net>
45819
45820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45824         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45825         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45826         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45827         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45828
45829         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45830         manipulate bits before adding and subtracting TWO112[sx].
45831         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45832
45833 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45834
45835         [BZ #13775]
45836         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45837         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45838         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45839         being in POSIX, because they are in 1003.1-2008.
45840
45841         * rt/tst-aio.c: Include <fcntl.h>.
45842         * rt/tst-aio7.c: Likewise.
45843         * rt/tst-aio64.c: Likewise.
45844
45845         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45846
45847 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45848
45849         * manual/install.texi (--with-headers): Describe headers as
45850         interface headers, not private headers.
45851         (Specific advice for GNU/Linux systems): Describe use of headers
45852         from "make headers_install", not private headers from older
45853         kernels.
45854         * INSTALL: Regenerated.
45855         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45856         Change to 2.6.19.
45857         * sysdeps/unix/sysv/linux/configure: Regenerated.
45858
45859         * manual/llio.texi (fclean): Remove documentation.
45860
45861         * manual/Makefile (libc-texi-generated): New variable.  Include
45862         version.texi.
45863         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45864         $(libc-texi-generated), not duplicated list of files.
45865         (version.texi, stamp-version): New rules.
45866         (realclean): Remove $(libc-texi-generated), not individual files
45867         from that list.  Do not remove dir-add.texinfo.
45868         * manual/libc.texinfo: Comment out uses of edition numbers and
45869         references to printed manual.  Remove last-updated dates.
45870         (EDITION): Comment out.
45871         (ISBN): Likewise.
45872         (VERSION, UPDATED): Remove.
45873         (version.texi): Include.
45874
45875 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
45876
45877         * sysdeps/posix/spawni.c: Include <signal.h>.
45878         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45879         * sysdeps/pthread/aio_fsync.c: Likewise.
45880
45881 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
45882
45883         * conform/Makefile (tests): Run only when not cross-compiling and
45884         when fast-check is not defined.
45885
45886         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45887         * conform/data/limits.h-data: Fixes for POSIX2008.
45888         * conform/run-conformtest.sh: Run all tests.
45889         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45890         headers.
45891         * include/bits/dlfcn.h: Likewise.
45892         * include/langinfo.h: Likewise.
45893         * include/monetary.h: Likewise.
45894         * include/sys/poll.h: Likewise.
45895
45896         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45897         for __USE_GNU.
45898         * posix/spawn.h: Define __need_sigset_t.
45899         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45900         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45901         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
45902         to get sigevent_t only.
45903         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45904         only for __USE_GNU.
45905         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45906         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45907         process_vm_writev only for __USE_GNU.
45908         * termios/termios.h: Declare tcgetsid also for POSIX2008.
45909
45910         * conform/Makefile: For now ignore errors from run-conformtest.
45911         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
45912         POSIX to avoid namespace pollution.  Don't prepend headers.
45913         * conform/data/aio.h-data: Fixes for POSIX testing.
45914         * conform/data/fcntl.h-data: Likewise.
45915         * conform/data/glob.h-data: Likewise.
45916         * conform/data/grp.h-data: Likewise.
45917         * conform/data/pthread.h-data: Likewise.
45918         * conform/data/pwd.h-data: Likewise.
45919         * conform/data/signal.h-data: Likewise.
45920         * conform/data/spawn.h-data: Likewise.
45921         * conform/data/stdio.h-data: Likewise.
45922         * conform/data/stdlib.h-data: Likewise.
45923         * conform/data/stropts.h-data: Likewise.
45924         * conform/data/sys/mman.h-data: Likewise.
45925         * conform/data/sys/stat.h-data: Likewise.
45926         * conform/data/sys/types.h-data: Likewise.
45927         * conform/data/sys/wait.h-data: Likewise.
45928         * conform/data/time.h-data: Likewise.
45929         * conform/data/unistd.h-data: Likewise.
45930         * conform/data/utime.h-data: Likewise.
45931
45932         * io/sys/stat.h: fchmod was always in POSIX.
45933         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45934         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45935         * rt/aio.h: Define __need_timespec before including <time.h>.
45936         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45937         struct.  Add forward declaration of pthread_attr_t and use it in
45938         sigevent.
45939         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45940         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45941         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45942         always remove CLK_TCK definition.
45943
45944 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
45945
45946         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45947
45948 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
45949
45950         * conform/run-conformtest.sh: New file.
45951         * conform/Makefile: Run run-conformtest for tests.
45952         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
45953         support.
45954
45955         * conform/data/uchar.h-data: New file.
45956         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45957         * conform/data/arpa/inet.h-data: Likewise.
45958         * conform/data/assert.h-data: Likewise.
45959         * conform/data/complex.h-data: Likewise.
45960         * conform/data/cpio.h-data: Likewise.
45961         * conform/data/ctype.h-data: Likewise.
45962         * conform/data/dirent.h-data: Likewise.
45963         * conform/data/dlfcn.h-data: Likewise.
45964         * conform/data/errno.h-data: Likewise.
45965         * conform/data/fcntl.h-data: Likewise.
45966         * conform/data/float.h-data: Likewise.
45967         * conform/data/fmtmsg.h-data: Likewise.
45968         * conform/data/fnmatch.h-data: Likewise.
45969         * conform/data/ftw.h-data: Likewise.
45970         * conform/data/glob.h-data: Likewise.
45971         * conform/data/grp.h-data: Likewise.
45972         * conform/data/iconv.h-data: Likewise.
45973         * conform/data/inttypes.h-data: Likewise.
45974         * conform/data/langinfo.h-data: Likewise.
45975         * conform/data/libgen.h-data: Likewise.
45976         * conform/data/limits.h-data: Likewise.
45977         * conform/data/locale.h-data: Likewise.
45978         * conform/data/math.h-data: Likewise.
45979         * conform/data/monetary.h-data: Likewise.
45980         * conform/data/mqueue.h-data: Likewise.
45981         * conform/data/ndbm.h-data: Likewise.
45982         * conform/data/net/if.h-data: Likewise.
45983         * conform/data/netdb.h-data: Likewise.
45984         * conform/data/netinet/in.h-data: Likewise.
45985         * conform/data/nl_types.h-data: Likewise.
45986         * conform/data/poll.h-data: Likewise.
45987         * conform/data/pthread.h-data: Likewise.
45988         * conform/data/pwd.h-data: Likewise.
45989         * conform/data/regex.h-data: Likewise.
45990         * conform/data/sched.h-data: Likewise.
45991         * conform/data/search.h-data: Likewise.
45992         * conform/data/semaphore.h-data: Likewise.
45993         * conform/data/setjmp.h-data: Likewise.
45994         * conform/data/signal.h-data: Likewise.
45995         * conform/data/spawn.h-data: Likewise.
45996         * conform/data/stdarg.h-data: Likewise.
45997         * conform/data/stdio.h-data: Likewise.
45998         * conform/data/stdlib.h-data: Likewise.
45999         * conform/data/string.h-data: Likewise.
46000         * conform/data/strings.h-data: Likewise.
46001         * conform/data/stropts.h-data: Likewise.
46002         * conform/data/sys/ipc.h-data: Likewise.
46003         * conform/data/sys/mman.h-data: Likewise.
46004         * conform/data/sys/msg.h-data: Likewise.
46005         * conform/data/sys/resource.h-data: Likewise.
46006         * conform/data/sys/select.h-data: Likewise.
46007         * conform/data/sys/sem.h-data: Likewise.
46008         * conform/data/sys/shm.h-data: Likewise.
46009         * conform/data/sys/socket.h-data: Likewise.
46010         * conform/data/sys/stat.h-data: Likewise.
46011         * conform/data/sys/statvfs.h-data: Likewise.
46012         * conform/data/sys/time.h-data: Likewise.
46013         * conform/data/sys/timeb.h-data: Likewise.
46014         * conform/data/sys/times.h-data: Likewise.
46015         * conform/data/sys/types.h-data: Likewise.
46016         * conform/data/sys/uio.h-data: Likewise.
46017         * conform/data/sys/un.h-data: Likewise.
46018         * conform/data/sys/utsname.h-data: Likewise.
46019         * conform/data/sys/wait.h-data: Likewise.
46020         * conform/data/syslog.h-data: Likewise.
46021         * conform/data/tar.h-data: Likewise.
46022         * conform/data/termios.h-data: Likewise.
46023         * conform/data/utime.h-data: Likewise.
46024         * conform/data/utmpx.h-data: Likewise.
46025         * conform/data/varargs.h-data: Likewise.
46026         * conform/data/wchar.h-data: Likewise.
46027         * conform/data/wctype.h-data: Likewise.
46028         * conform/data/wordexp.h-data: Likewise.
46029
46030         * include/stropts.h: New file.
46031         * include/uchar.h: New file.
46032         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46033         * include/assert.h: Likewise.
46034         * include/ctype.h: Likewise.
46035         * include/dirent.h: Likewise.
46036         * include/dlfcn.h: Likewise.
46037         * include/fcntl.h: Likewise.
46038         * include/fnmatch.h: Likewise.
46039         * include/glob.h: Likewise.
46040         * include/grp.h: Likewise.
46041         * include/libio.h: Likewise.
46042         * include/locale.h: Likewise.
46043         * include/math.h: Likewise.
46044         * include/net/if.h: Likewise.
46045         * include/netdb.h: Likewise.
46046         * include/netinet/in.h: Likewise.
46047         * include/pthread.h: Likewise.
46048         * include/pwd.h: Likewise.
46049         * include/regex.h: Likewise.
46050         * include/sched.h: Likewise.
46051         * include/search.h: Likewise.
46052         * include/setjmp.h: Likewise.
46053         * include/signal.h: Likewise.
46054         * include/stdio.h: Likewise.
46055         * include/stdlib.h: Likewise.
46056         * include/string.h: Likewise.
46057         * include/sys/cdefs.h: Likewise.
46058         * include/sys/mman.h: Likewise.
46059         * include/sys/msg.h: Likewise.
46060         * include/sys/resource.h: Likewise.
46061         * include/sys/select.h: Likewise.
46062         * include/sys/socket.h: Likewise.
46063         * include/sys/stat.h: Likewise.
46064         * include/sys/statvfs.h: Likewise.
46065         * include/sys/time.h: Likewise.
46066         * include/sys/times.h: Likewise.
46067         * include/sys/uio.h: Likewise.
46068         * include/sys/utsname.h: Likewise.
46069         * include/sys/wait.h: Likewise.
46070         * include/termios.h: Likewise.
46071         * include/time.h: Likewise.
46072         * include/ulimit.h: Likewise.
46073         * include/unistd.h: Likewise.
46074         * include/utime.h: Likewise.
46075         * include/wchar.h: Likewise.
46076         * include/wctype.h: Likewise.
46077         * include/wordexp.h: Likewise.
46078
46079         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46080
46081         * time/time.h: TIME_UTC must be a macro.
46082         Make timespec_get available for ISO C11 only as well.
46083
46084 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46085
46086         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46087         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46088
46089 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46090
46091         * configure.in: Use -o not -a in test for unsupported multi-arch.
46092
46093 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46094
46095         * manual/texinfo.tex: Update to version 2012-01-19.16.
46096
46097 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46098
46099         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46100
46101 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46102
46103         [BZ #13738]
46104         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46105         * manual/fdl-1.3.texi: New file.
46106         * manual/fdl-1.1.texi: File removed.
46107
46108         [BZ #13738]
46109         * manual/libc.texinfo (FDL_VERSION): New @set.
46110         Use it for mention of FDL in cover text.
46111         (Documentation License): Use it in @include file name.
46112
46113 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46114             Roland McGrath  <roland@hack.frob.com>
46115
46116         [BZ #5461]
46117         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46118         (not LONG_LONG_MAX and LONG_LONG_MIN.
46119         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46120         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46121         name.
46122         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46123
46124 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46125
46126         [BZ #2547]
46127         [BZ #11365]
46128         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46129         manipulate bits before adding and subtracting TWO23[sx].
46130         * math/libm-test.inc (nearbyint_test): Add more tests.
46131
46132 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46133
46134         [BZ #2548]
46135         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46136         bits before adding and subtracting TWO23[sx].
46137         * math/libm-test.inc (rint_test): Add more tests.
46138         (rint_test_tonearest): Likewise.
46139         (rint_test_towardzero): Likewise.
46140         (rint_test_downward): Likewise.
46141         (rint_test_upward: Likewise.
46142
46143 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46144
46145         [BZ #10110]
46146         * include/stdc-predef.h: New file.  Extracted from features.h.
46147         * include/features.h: Include stdc-predef.h.
46148         * Makefile (headers): Add stdc-predef.h.
46149         * CONFORMANCE (Compiler limitations): Update.
46150
46151 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46152
46153         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46154
46155 2012-02-21  David S. Miller  <davem@davemloft.net>
46156
46157         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46158         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46159
46160 2012-02-20  David S. Miller  <davem@davemloft.net>
46161
46162         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46163         using a normal save/restore sequence, rather than allocating a
46164         dummy stack frame just to store a frame pointer and restore.
46165         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46166
46167 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46168
46169         * manual/install.texi: Fix stray word in line-wrapped comment.
46170
46171 2012-02-20  David S. Miller  <davem@davemloft.net>
46172
46173         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46174         both binutils and gcc support GOTDATA.
46175
46176         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46177         "rd %pc" in the PIC register setup sequences.
46178
46179         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46180         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46181         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46182         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46183         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46184         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46185         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46186         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46187         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46188         (SYSCALL_ERROR_HANDLER): Likewise.
46189         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46190         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46191         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46192         (SYSCALL_ERROR_HANDLER): Likewise.
46193
46194         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46195         (HAVE_GCC_GOTDATA): New.
46196         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46197         relocation support in both binutils and gcc.
46198         * sysdeps/sparc/elf/configure: Regenerate.
46199
46200         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46201         * sysdeps/sparc/sparc32/elf/configure: Delete.
46202         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46203         * sysdeps/sparc/sparc64/elf/configure: Delete.
46204         * sysdeps/sparc/elf/configure.in: New file.
46205         * sysdeps/sparc/elf/configure: Generate.
46206
46207         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46208         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46209         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46210         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46211         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46212
46213 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46214
46215         * manual/install.texi: Do not mention specific glibc version
46216         numbers.
46217         * manual/libc.texinfo (VERSION, UPDATED): Update.
46218         (@copying): Use @copyright{} and range of years.
46219
46220 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46221
46222         [BZ #13695]
46223         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46224         [crti.S not in sysdirs] (generated): Do not append.
46225         [crti.S not in sysdirs] (omit-deps): Likewise.
46226         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46227         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46228         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46229         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46230         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46231         Likewise.
46232         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46233         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46234         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46235         * csu/defs.awk: Remove file.
46236         * sysdeps/generic/initfini.c: Likewise.
46237         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46238         variable.
46239         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46240         Likewise.
46241
46242 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46243
46244         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46245         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46246         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46247         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46248         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46249         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46250         <bits/epoll.h>.
46251         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46252         (__EPOLL_PACKED): Define to empty if not defined by
46253         <bits/epoll.h>.
46254         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46255         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46256         bits/epoll.h.
46257
46258 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46259
46260         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46261         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46262         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46263         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46264         <bits/timerfd.h>.
46265         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46266         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46267         bits/timerfd.h.
46268
46269 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46270
46271         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46272         in C locale.
46273         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46274         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46275         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46277
46278 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46279
46280         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46281         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46282
46283 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46284
46285         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46286         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46287         defined.
46288         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46289         Likewise.
46290         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46291         entry for 2.16.
46292
46293 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46294
46295         * math/w_acos.c: Use non-signaling floating-point comparisons.
46296         * math/w_acosf.c: Likewise.
46297         * math/w_acosh.c: Likewise.
46298         * math/w_acoshf.c: Likewise.
46299         * math/w_acoshl.c: Likewise.
46300         * math/w_acosl.c: Likewise.
46301         * math/w_asin.c: Likewise.
46302         * math/w_asinf.c: Likewise.
46303         * math/w_asinl.c: Likewise.
46304         * math/w_atanh.c: Likewise.
46305         * math/w_atanhf.c: Likewise.
46306         * math/w_atanhl.c: Likewise.
46307         * math/w_exp2.c: Likewise.
46308         * math/w_exp2f.c: Likewise.
46309         * math/w_exp2l.c: Likewise.
46310         * math/w_j0.c: Likewise.
46311         * math/w_j0f.c: Likewise.
46312         * math/w_j0l.c: Likewise.
46313         * math/w_j1.c: Likewise.
46314         * math/w_j1f.c: Likewise.
46315         * math/w_j1l.c: Likewise.
46316         * math/w_jn.c: Likewise.
46317         * math/w_jnf.c: Likewise.
46318         * math/w_log.c: Likewise.
46319         * math/w_log10.c: Likewise.
46320         * math/w_log10f.c: Likewise.
46321         * math/w_log10l.c: Likewise.
46322         * math/w_log2.c: Likewise.
46323         * math/w_log2f.c: Likewise.
46324         * math/w_log2l.c: Likewise.
46325         * math/w_logf.c: Likewise.
46326         * math/w_logl.c: Likewise.
46327         * math/w_sqrt.c: Likewise.
46328         * math/w_sqrtf.c: Likewise.
46329         * math/w_sqrtl.c: Likewise.
46330         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46331         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46332         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46333         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46334         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46335
46336 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46337
46338         [BZ #9739]
46339         * manual/string.texi (strnlen): Use correct parameter name in
46340         equivalent expression.
46341
46342 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46343
46344         [BZ #11174]
46345         * manual/users.texi (seteuid): Consistently use neweuid for
46346         argument name.
46347
46348 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46349
46350         [BZ #13704]
46351         * manual/nss.texi (Services in the NSS configuration): Correct
46352         list of services in example configuration file.
46353
46354 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46355
46356         [BZ #11322]
46357         * manual/arith.texi: Remove statements about negative zero
46358         behaving identically to zero.
46359
46360 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46361
46362         [BZ #5993]
46363         * manual/install.texi: Do not document upgrading from libc5.
46364
46365 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46366
46367         [BZ #4596]
46368         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46369
46370 2012-02-18  David S. Miller  <davem@davemloft.net>
46371
46372         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46373         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46374         %o7 across the call.
46375         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46376         instead.
46377         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46378         SETUP_PIC_REG_LEAF.
46379         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46380         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46381         * sysdeps/sparc/crtn.S: Likewise.
46382
46383 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46384
46385         * aout/Makefile: Remove.
46386
46387 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46388
46389         [BZ #13058]
46390         * manual/examples/argp-ex1.c (main): Format definition in GNU
46391         style.
46392         * manual/examples/argp-ex2.c (main): Likewise.
46393         * manual/examples/argp-ex3.c (main): Likewise.
46394         * manual/examples/argp-ex4.c (main): Likewise.
46395         * manual/examples/longopt.c (main): Use new-style prototype
46396         definition.
46397         * manual/examples/strncat.c (main): Specify return type and use
46398         (void) for arguments.
46399         * manual/examples/subopt.c (main): Use char **argv argument.
46400
46401 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46402
46403         [BZ #5077]
46404         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46405         rounding modes.
46406
46407 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46408
46409         [BZ #6907]
46410         * manual/string.texi (strchr): Change when strchrnul is
46411         recommended.
46412
46413 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46414
46415         [BZ #174]
46416         * manual/locale.texi (setlocale): Document LOCPATH.
46417
46418 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46419
46420         [BZ #10210]
46421         * manual/process.texi (execle): Move @dots{} before last argument.
46422
46423 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46424
46425         [BZ #12047]
46426         * manual/charset.texi (Generic Charset Conversion): Fix typo
46427         (LC_TYPE -> LC_CTYPE).
46428
46429 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46430
46431         [BZ #5805]
46432         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46433         (scalbnf): Likewise.
46434         (scalbnl): Likewise.
46435         (scalbln): Likewise.
46436         (scalblnf): Likewise.
46437         (scalblnl): Likewise.
46438         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46439         (vwarnx): Likewise.
46440         (verr): Likewise.
46441         (verrx): Likewise.
46442         * manual/filesys.texi (telldir): Use braces around return type.
46443         * manual/llio.texi (mmap): Add space after comma.
46444         (mmap64): Likewise.
46445         * manual/math.texi (jn): Use @var{} on parameter names.
46446         (jnf): Likewise.
46447         (jnl): Likewise.
46448         (yn): Likewise.
46449         (ynf): Likewise.
46450         (ynl): Likewise.
46451         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46452         line.
46453         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46454         "...".
46455         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46456         (sched_get_priority_max): Likewise.
46457         * manual/signal.texi (sigvec): Add space after comma.
46458         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46459         names.
46460         (if_indextoname): Likewise.
46461         (if_freenameindex): Likewise.
46462         (sendto): Use ',' instead of '.' in prototype.
46463         * manual/startup.texi (syscall): Use @dots{} instead of literal
46464         "...".
46465         * manual/stdio.texi (__fpending): Separate initial words of
46466         paragraph from @deftypefun line.
46467         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46468         "...".
46469         (vsyslog): Use @var{} on parameter names.
46470         * manual/terminal.texi (stty): Use @var{} on parameter names.
46471         * manual/users.texi (getutmp): Use @var{} on parameter names.
46472         (getutmpx): Likewise.
46473
46474 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46475
46476         [BZ #6884]
46477         * manual/stdio.texi (fopen): Fix typos in description of
46478         ",ccs=STRING".
46479
46480 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46481
46482         [BZ #4026]
46483         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46484         get clock_id definition.
46485
46486 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46487
46488         [BZ #4822]
46489         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46490         (madvise): Cast every argument to void on its own.
46491
46492 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46493
46494         [BZ #9902]
46495         * manual/startup.texi (Exit Status): Fix typo.
46496
46497 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46498
46499         [BZ #10140]
46500         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46501         * manual/examples/argp-ex2.c: Likewise.
46502         * manual/examples/argp-ex3.c: Likewise.
46503
46504 2012-02-16  Richard Henderson  <rth@redhat.com>
46505
46506         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46507         * sysdeps/s390/s390-32/initfini.c: Remove.
46508         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46509         * sysdeps/s390/s390-64/initfini.c: Remove.
46510
46511 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46512
46513         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46514         compiler output for sysdeps/generic/initfini.c.
46515         * sysdeps/sh/elf/initfini.c: Remove file.
46516
46517 2012-02-16  David S. Miller  <davem@davemloft.net>
46518
46519         [BZ #11494]
46520         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46521
46522         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46523         * sysdeps/sparc/crti.S: New file.
46524         * sysdeps/sparc/crtn.S: New file.
46525         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46526         * sysdeps/sparc/sparc64/Makefile: Likewise.
46527
46528 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46529
46530         [BZ #3335]
46531         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46532
46533 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46534
46535         [BZ #4822]
46536         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46537
46538         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46539         (write, read, close): Likewise.
46540         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46541
46542 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46543
46544         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46545         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46546         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46547         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46548         <bits/signalfd.h>.
46549         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46551         bits/signalfd.h.
46552
46553 2012-02-14  Marek Polacek  <polacek@redhat.com>
46554
46555         * sysdeps/x86_64/crti.S: New file.
46556         * sysdeps/x86_64/crtn.S: New file.
46557         * sysdeps/x86_64/elf/initfini.c: Remove file.
46558
46559 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46560
46561         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46562         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46563         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46564         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46565         <bits/inotify.h>.
46566         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46567         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46568         bits/inotify.h.
46569
46570 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46571
46572         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46573         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46574         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46575         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46576         <bits/eventfd.h>.
46577         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46579         bits/eventfd.h.
46580
46581 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46582
46583         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46584         __feraiseexcept instead of feraiseexcept.
46585
46586         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46587         nanosleep invocations.
46588         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46589         strings, and add error checking for a nanosleep invocations.
46590
46591 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46592
46593         Replace FSF snail mail address with URLs, as per GNU coding standards.
46594         Most of the snail mail addresses were wrong anyway, and omitting
46595         them makes the source code easier to maintain.  Almost all of the
46596         changes are to license notices and to locale LC_IDENTIFICATION
46597         addresses, except for this one:
46598         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46599         not its snail mail address.
46600
46601 2012-02-09  Richard Henderson  <rth@twiddle.net>
46602
46603         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46604         of kernel-features.h.
46605
46606         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46607
46608 2012-02-08  Marek Polacek  <polacek@redhat.com>
46609
46610         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46611         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46612         * sysdeps/gnu/_G_config.h: Likewise.
46613         * sysdeps/generic/_G_config.h: Likewise.
46614
46615 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46616
46617         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46618         tests.
46619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46620
46621         * sysdeps/powerpc/powerpc32/crti.S: New file.
46622         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46623         * sysdeps/powerpc/powerpc64/crti.S: New file.
46624         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46625
46626         * Makeconfig (have-initfini): Don't set.
46627         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46628         * configure.in (nopic_initfini): Don't substitute.
46629         * config.h.in (HAVE_INITFINI): Don't #undef.
46630         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46631         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46632
46633 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46634
46635         Support crti.S and crtn.S provided directly by architectures.
46636         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46637         [crti.S in sysdirs] (omit-deps): Likewise.
46638         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46639         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46640         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46641         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46642         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46643         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46644         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46645         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46646         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46647         compiler output for sysdeps/generic/initfini.c.
46648         * sysdeps/i386/elf/Makefile: Remove file.
46649         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46650
46651 2012-02-07  Marek Polacek  <polacek@redhat.com>
46652
46653         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46654         * sysdeps/gnu/_G_config.h: Likewise.
46655         * sysdeps/mach/hurd/_G_config.h: Likewise.
46656
46657 2012-02-07  Marek Polacek  <polacek@redhat.com>
46658
46659         * math/Makefile (tests): Add tst-CMPLX2.
46660         * math/tst-CMPLX2.c: New file.
46661
46662 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46663
46664         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46665
46666         * math/libm-test.inc (jn_test): Add missing L suffix.
46667
46668 2012-02-06  Marek Polacek  <polacek@redhat.com>
46669
46670         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46671         * sysdeps/i386/fpu/e_powf.S: Likewise.
46672         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46673         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46674         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46675         * sysdeps/i386/fpu/e_pow.S: Likewise.
46676         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46677         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46678         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46679         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46680         * sysdeps/i386/fpu/e_log2.S: Likewise.
46681         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46682         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46683         * sysdeps/i386/fpu/e_powl.S: Likewise.
46684         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46685         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46686         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46687         * sysdeps/i386/fpu/e_logl.S: Likewise.
46688         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46689         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46690         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46691         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46692         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46693         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46694         * sysdeps/i386/fpu/e_log.S: Likewise.
46695         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46696         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46697         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46698         * sysdeps/i386/fpu/e_logf.S: Likewise.
46699         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46700         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46701         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46702         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46703         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46704         * sysdeps/i386/fpu/e_log10.S: Likewise.
46705         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46706         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46707         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46708         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46709         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46710         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46711         * sysdeps/i386/asm-syntax.h: Likewise.
46712         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46713         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46714         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46715         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46716         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46717         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46718         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46719         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46720         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46721         * sysdeps/powerpc/sysdep.h: Likewise.
46722         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46723         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46724
46725 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46726
46727         [BZ #411]
46728         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46729
46730 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46731
46732         * sysdeps/i386/sysdep.h: Include <features.h>.
46733         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46734         version.
46735
46736 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46737
46738         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46739         Define.
46740         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46741         LOAD_PIC_REG_STR.
46742
46743 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46744
46745         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46746         (SETUP_PIC_REG): Use GET_PC_THUNK.
46747         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46748         macro.
46749
46750 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46751
46752         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46753         for non-PIC compilation.
46754         (SETUP_PIC_REG): Add .p2align directive.
46755         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46756         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46757         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46758         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46759         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46760         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46761         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46762         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46763         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46764         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46765         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46766         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46767         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46768         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46769         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46770         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46771         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46772         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46773         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46774         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46775         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46776         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46777         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46778         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46779         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46780         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46781         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46782         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46783         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46784         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46785         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46786         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46787         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46788         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46789         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46790         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46791         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46792         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46793         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46794         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46795         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46796
46797 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46798
46799         * math/tst-CMPLX.c: Include <stdio.h>.
46800
46801 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46802
46803         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46804         float.
46805         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46806         * sysdeps/sparc/bits/mathdef.h: Likewise.
46807
46808 2012-01-31  Marek Polacek  <polacek@redhat.com>
46809
46810         * libio/libio.h: Don't define _PARAMS.
46811         * locale/programs/config.h: Don't define PARAMS.
46812         * stdlib/strtol_l.c: Likewise.
46813         (__strtol_l): Remove PARAMS from the prototype.
46814
46815 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46816
46817         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46818         names.  Just use the correct names.  Remove unnecessary wrapper
46819         functions.
46820         * malloc/arena.c: Likewise.
46821         * malloc/hooks.c: Likewise.
46822
46823         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46824         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46825         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46826
46827 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46828
46829         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46830         into tail calls.
46831         (update_get_addr): New function.
46832         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46833         GET_ADDR_MODULE parameter.
46834
46835 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46836
46837         * crypt/cert.c: Remove __STDC__ conditionals.
46838         * crypt/crypt-entry.c: Likewise.
46839         * crypt/crypt_util.c: Likewise.
46840         * libio/filedoalloc.c: Likewise.
46841         * libio/fileops.c: Likewise.
46842         * libio/genops.c: Likewise.
46843         * libio/iofclose.c: Likewise.
46844         * libio/iofdopen.c: Likewise.
46845         * libio/iofopen.c: Likewise.
46846         * libio/iofopen64.c: Likewise.
46847         * libio/iogetdelim.c: Likewise.
46848         * libio/iopopen.c: Likewise.
46849         * libio/obprintf.c: Likewise.
46850         * libio/oldfileops.c: Likewise.
46851         * libio/oldiofclose.c: Likewise.
46852         * libio/oldiofdopen.c: Likewise.
46853         * libio/oldiofopen.c: Likewise.
46854         * libio/oldiopopen.c: Likewise.
46855         * libio/wfiledoalloc.c: Likewise.
46856         * libio/wgenops.c: Likewise.
46857         * locale/programs/xmalloc.c: Likewise.
46858         * misc/syslog.c: Likewise.
46859         * stdio-common/xbug.c: Likewise.
46860         * string/memchr.c: Likewise.
46861         * string/memcmp.c: Likewise.
46862         * string/memrchr.c: Likewise.
46863         * string/rawmemchr.c: Likewise.
46864         * sysdeps/posix/getcwd.c: Likewise.
46865         * time/strftime_l.c: Likewise.
46866
46867 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46868
46869         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46870         * config.make.in (config-cflags-sse2avx): Define.
46871         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46872         Fix typo.
46873
46874 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
46875
46876         * scripts/config.guess: Update from upstream config git repository.
46877         * scripts/config.sub: Likewise.
46878
46879 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
46880
46881         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46882         (EM_NUM): Update.
46883         (R_TILEPRO_*, R_TILEGX_*): New macros.
46884
46885         * scripts/firstversions.awk: Fix bug in version range handling.
46886
46887         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46888
46889         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46890
46891         * include/sys/epoll.h: New file.
46892         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46893         libc_hidden_def.
46894
46895 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
46896
46897         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46898         Avoid unnecessary __WORDSIZE == 64 test.
46899         (fmaxf): Use VEX format if possible.
46900         (fmax): Likewise.
46901         (fminf): Likewise.
46902         (fmin): Likewise.
46903
46904         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46905         * math/math_private.h: Remove libc_fegetround* and
46906         libc_fesetround*.
46907         * sysdeps/i386/configure.in: Check for -msse2avx.
46908         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46909         also if SSE2AVX is defined.
46910         Remove libc_fegetround* and libc_fesetround*.
46911         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46912         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
46913         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46914         of HAS_YMM_USABLE.
46915         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46916         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46917         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46918         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46919         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46920
46921         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46922
46923 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46924
46925         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46926         size is not set.
46927         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46928
46929 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
46930
46931         [BZ #13618]
46932         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46933         relocation.
46934         * Makeconfig (libm): Define.
46935         * elf/Makefile: Add rules to build and run tst-relsort1.
46936         * elf/tst-relsort1.c: New file.
46937         * elf/tst-relsort1mod1.c: New file.
46938         * elf/tst-relsort1mod2.c: New file.
46939
46940 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
46941
46942         * math/s_ldexp.c: Remove __STDC__ conditionals.
46943         * math/s_ldexpf.c: Likewise.
46944         * math/s_ldexpl.c: Likewise.
46945         * math/s_nextafter.c: Likewise.
46946         * math/s_nexttowardf.c: Likewise.
46947         * math/s_significand.c: Likewise.
46948         * math/s_significandf.c: Likewise.
46949         * math/s_significandl.c: Likewise.
46950         * math/w_jnl.c: Likewise.
46951         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46952         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46953         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46954         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46955         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46956         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46957         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46958         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46959         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46960         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46961         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46962         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46963         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46964         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46965         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46966         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46967         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46968         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46969         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46970         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46971         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46972         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46973         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46974         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46975         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46976         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46977         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46978         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46979         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46980         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46981         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46982         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46983         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46984         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46985         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46986         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46987         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46988         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46989         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46990         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46991         * sysdeps/ieee754/k_standard.c: Likewise.
46992         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46993         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46994         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46995         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46996         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46997         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46998         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46999         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47000         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47001         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47002         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47003         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47004         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47005         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47006         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47007         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47008         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47009         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47010         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47011         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47012         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47013         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47014         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47015         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47016         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47017         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47018         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47019         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47020         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47021         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47022         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47023         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47024         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47025         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47026         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47027         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47028         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47029         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47030         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47031         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47032         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47033         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47034         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47035         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47036         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47037         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47038         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47039         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47040         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47041         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47042         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47043         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47044         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47045         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47046         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47047         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47048         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47049         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47050         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47051         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47052         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47053         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47054         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47055         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47056         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47057         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47058         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47059         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47060         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47061         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47062         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47063         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47064         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47065         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47066         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47067         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47068         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47069         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47070         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47071         * sysdeps/ieee754/s_matherr.c: Likewise.
47072         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47073         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47074         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47075         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47076
47077 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47078
47079         * crypt/md5.h: Remove __STDC__ conditionals.
47080         * libio/libioP.h: Likewise.
47081         * locale/programs/config.h: Likewise.
47082         * sysdeps/generic/sysdep.h: Likewise.
47083         * sysdeps/i386/asm-syntax.h: Likewise.
47084         * sysdeps/s390/asm-syntax.h: Likewise.
47085         * sysdeps/unix/sysdep.h: Likewise.
47086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47088
47089 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47090
47091         * libio/libio.h: Remove __STDC__ conditionals.
47092         * malloc/obstack.h: Likewise.
47093         * math/complex.h: Likewise.
47094         * math/math.h: Likewise.
47095         * sysdeps/generic/_G_config.h: Likewise.
47096         * sysdeps/gnu/_G_config.h: Likewise.
47097         * sysdeps/mach/hurd/_G_config.h: Likewise.
47098         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47099         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47100         * sysdeps/sparc/bits/mathdef.h: Likewise.
47101
47102 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47103
47104         [BZ #13583]
47105         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47106         Clean up HAS_* macros.
47107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47108         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47109         possible.
47110         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47111         HAS_AVX.
47112         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47113         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47114         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47115         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47116         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47117
47118 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47119
47120         * elf/tst-unique3.cc (gets): Remove declaration.
47121         * elf/tst-unique3lib.cc (gets): Likewise.
47122         * elf/tst-unique3lib2.cc (gets): Likewise.
47123         * elf/tst-unique4.cc (gets): Likewise.
47124
47125 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47126
47127         * include/stdio.h: Add C++ protection.  Add gets declarations and
47128         definitions.
47129         * debug/tst-chk1.c: Don't declare gets here.
47130         * stdio-common/tst-gets.c: Likewise.
47131
47132 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47133
47134         * posix/glob: Remove directory.
47135
47136 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47137
47138         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47139
47140 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47141
47142         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47143         of the non-standard EPFNOSUPPORT.
47144
47145 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47146
47147         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47148         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47149         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47150
47151 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47152
47153         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47154
47155 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47156
47157         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47158         transient errors.
47159         * nscd/grpcache.c (cache_addgr): Likewise.
47160         * nscd/hstcache.c (cache_addhst): Likewise.
47161         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47162         * nscd/pwdcache.c (cache_addpw): Likewise.
47163         * nscd/servicescache.c (cache_addserv): Likewise.
47164
47165 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47166
47167         * malloc/malloc.c: Various cleanups.
47168         * malloc/hooks.c: Likewise.
47169
47170         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47171         * stdlib/bug-fmtmsg1.c: New file.
47172
47173         * stdlib/fmtmsg.c (init): Add missing unlock.
47174         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47175
47176 2012-01-12  Marek Polacek  <polacek@redhat.com>
47177
47178         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47179         and _GNU_SOURCE.
47180
47181 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47182
47183         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47184         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47185         macro to ensure uniqueness of label name.
47186         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47187         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47188
47189 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47190
47191         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47192
47193         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47194         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47195         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47196         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47197
47198 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47199
47200         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47201
47202         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47203         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47204         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47205
47206         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47207
47208         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47209         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47210         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47211         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47212
47213         * math/bits/math-finite.h: Add ldexp support.
47214
47215 2012-01-10  Marek Polacek  <polacek@redhat.com>
47216
47217         * locale/programs/localedef.h (show_archive_content): Add noreturn
47218         attribute.
47219
47220 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47221
47222         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47223
47224 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47225
47226         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47227
47228         * io/Makefile (headers): Add bits/poll2.h.
47229
47230 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47231
47232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47233         typo #include statement.
47234
47235 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47236
47237         * include/sys/cdefs.h: Define __attribute_alloc_size.
47238         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47239         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47240         * elf/pldd.c: Likewise.
47241         * iconv/iconv_charmap.c: Likewise.
47242         * iconv/iconvconfig.c: Likewise.
47243         * iconv/strtab.c: Likewise.
47244         * locale/programs/locale.c: Likewise.
47245         * locale/programs/localedef.h: Likewise.
47246         * locale/programs/simple-hash.c: Likewise.
47247         * nscd/nscd.h: Likewise.
47248         * nss/makedb.c: Likewise.
47249         * sysdeps/generic/ldconfig.h: Likewise.
47250         * locale/programs/localedef.c: Remove xmalloc prototype.
47251         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47252
47253 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47254
47255         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47256         appropriate.
47257
47258 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47259
47260         * math/Makefile (tests): Add tst-CMPLX.
47261         * math/tst-CMPLX.c: New file.
47262
47263         * math/complex.h (CMPLXL): Fix typo.
47264
47265         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47266         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47267         GLIBC_2.16.
47268         * debug/tst-chk1.c: Add poll and ppoll tests.
47269         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47270         * include/sys/poll.h: Add hidden proto for ppoll.
47271         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47272         * sysdeps/mach/hurd/ppoll.c: Likewise.
47273         * io/ppoll.c: Likewise.
47274         * debug/poll_chk.c: New file.
47275         * debug/ppoll_chk.c: New file.
47276         * include/bits/poll2.h: New file.
47277         * io/bits/poll2.h: New file.
47278
47279         [BZ #1350]
47280         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47281
47282         * configure.in: static is always set to yes.  Remove.
47283         * config.make.in: Don't set build-static.
47284         * Makeconfig: Remove use of build-static.
47285         * dlfcn/Makefile: Likewise.
47286         * elf/Makefile: Likewise.
47287         * math/Makefile: Likewise.
47288         * misc/Makefile: Likewise.
47289         * nptl/Makefile: Likewise.
47290         * sysdeps/mach/hurd/Makefile: Likewise.
47291
47292         * configure.in: PWD_P is not used anymore.
47293         * config.make.in: Remove PWD_P entry.
47294
47295         * configure.in: Remove last remnants of RANLIB.
47296         No need to check for signed size_t anymore.
47297         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47298         and IA-64.
47299         Remove __builtin_expect test because we require at least gcc 3.4.
47300         * aclocal.m4: Likewise.
47301
47302         * wcsmbs/mbrtoc16.c: Implement using towc function.
47303         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47304         * wcsmbs/wcsmbsload.c: Likewise.
47305         * iconv/gconv_simple.c: Likewise.
47306         * iconv/gconv_int.h: Likewise.
47307         * iconv/gconv_builtin.h: Likewise.
47308         * iconv/iconv_prog.c: Remove CHAR16 handling.
47309
47310         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47311
47312         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47313
47314         * configure.in: Remove --with-elf and --enable-bounded options.
47315         Dont set base_machine for ia64.  More non-ELF conditions removed.
47316         Remove testing and setting of leading underscore information.
47317         * config.make.in (build-bounded): Set to no.
47318         * config.h.in: Remove NO_UNDERSCORES entry.
47319         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47320         them.
47321         * csu/start.c: Remove !NO_UNDERSCORE code.
47322         * locale/localeinfo.h: Likewise.
47323         * sysdeps/generic/machine-gmon.h: Likewise.
47324         * sysdeps/generic/sysdep.h: Likewise.
47325         * sysdeps/i386/sysdep.h: Likewise.
47326         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47327         * sysdeps/mach/sysdep.h: Likewise.
47328         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47329         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47330         * sysdeps/sh/sysdep.h: Likewise.
47331         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47332         * sysdeps/unix/i386/sysdep.S: Likewise.
47333         * sysdeps/unix/sparc/start.c: Likewise.
47334         * sysdeps/unix/sparc/sysdep.S: Likewise.
47335         * sysdeps/unix/sparc/sysdep.h: Likewise.
47336         * sysdeps/unix/start.c: Likewise.
47337         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47338         * sysdeps/x86_64/sysdep.h: Likewise.
47339
47340 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47341
47342         [BZ #13553]
47343         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47344         for non-gcc.
47345         * argp/argp-fmtstream.h: Use const instead __const.
47346         * argp/argp.h: Likewise.
47347         * assert/assert.h: Likewise.
47348         * bits/fenv.h: Likewise.
47349         * bits/sched.h: Likewise.
47350         * bits/sigset.h: Likewise.
47351         * bits/sigthread.h: Likewise.
47352         * catgets/nl_types.h: Likewise.
47353         * conform/data/pthread.h-data: Likewise.
47354         * crypt/crypt-private.h: Likewise.
47355         * crypt/crypt.h: Likewise.
47356         * crypt/crypt_util.c: Likewise.
47357         * ctype/ctype.h: Likewise.
47358         * debug/execinfo.h: Likewise.
47359         * debug/mbsnrtowcs_chk.c: Likewise.
47360         * debug/mbsrtowcs_chk.c: Likewise.
47361         * debug/wcsnrtombs_chk.c: Likewise.
47362         * debug/wcsrtombs_chk.c: Likewise.
47363         * debug/wcstombs_chk.c: Likewise.
47364         * dirent/dirent.h: Likewise.
47365         * dlfcn/dlfcn.h: Likewise.
47366         * elf/neededtest4.c: Likewise.
47367         * grp/grp.h: Likewise.
47368         * gshadow/gshadow.h: Likewise.
47369         * iconv/gconv.h: Likewise.
47370         * iconv/gconv_int.h: Likewise.
47371         * iconv/gconv_simple.c: Likewise.
47372         * iconv/iconv.h: Likewise.
47373         * iconv/loop.c: Likewise.
47374         * iconv/skeleton.c: Likewise.
47375         * include/aio.h: Likewise.
47376         * include/aliases.h: Likewise.
47377         * include/argz.h: Likewise.
47378         * include/arpa/inet.h: Likewise.
47379         * include/assert.h: Likewise.
47380         * include/dirent.h: Likewise.
47381         * include/dlfcn.h: Likewise.
47382         * include/execinfo.h: Likewise.
47383         * include/fcntl.h: Likewise.
47384         * include/fenv.h: Likewise.
47385         * include/glob.h: Likewise.
47386         * include/grp.h: Likewise.
47387         * include/libintl.h: Likewise.
47388         * include/mntent.h: Likewise.
47389         * include/netdb.h: Likewise.
47390         * include/pwd.h: Likewise.
47391         * include/rpc/netdb.h: Likewise.
47392         * include/sched.h: Likewise.
47393         * include/search.h: Likewise.
47394         * include/shadow.h: Likewise.
47395         * include/signal.h: Likewise.
47396         * include/stdio.h: Likewise.
47397         * include/stdlib.h: Likewise.
47398         * include/string.h: Likewise.
47399         * include/sys/socket.h: Likewise.
47400         * include/sys/stat.h: Likewise.
47401         * include/sys/statfs.h: Likewise.
47402         * include/sys/statvfs.h: Likewise.
47403         * include/sys/syslog.h: Likewise.
47404         * include/sys/time.h: Likewise.
47405         * include/sys/uio.h: Likewise.
47406         * include/time.h: Likewise.
47407         * include/unistd.h: Likewise.
47408         * include/utmp.h: Likewise.
47409         * include/wchar.h: Likewise.
47410         * include/wctype.h: Likewise.
47411         * inet/aliases.h: Likewise.
47412         * inet/arpa/inet.h: Likewise.
47413         * inet/netinet/ether.h: Likewise.
47414         * inet/netinet/in.h: Likewise.
47415         * intl/libintl.h: Likewise.
47416         * io/bits/fcntl2.h: Likewise.
47417         * io/fcntl.h: Likewise.
47418         * io/ftw.h: Likewise.
47419         * io/sys/poll.h: Likewise.
47420         * io/sys/stat.h: Likewise.
47421         * io/sys/statfs.h: Likewise.
47422         * io/sys/statvfs.h: Likewise.
47423         * io/utime.h: Likewise.
47424         * libio/bits/stdio.h: Likewise.
47425         * libio/bits/stdio2.h: Likewise.
47426         * libio/libio.h: Likewise.
47427         * libio/libioP.h: Likewise.
47428         * libio/stdio.h: Likewise.
47429         * locale/lc-ctype.c: Likewise.
47430         * locale/locale.h: Likewise.
47431         * login/utmp.h: Likewise.
47432         * malloc/arena.c: Likewise.
47433         * malloc/malloc.c: Likewise.
47434         * malloc/malloc.h: Likewise.
47435         * malloc/mcheck.c: Likewise.
47436         * malloc/mtrace.c: Likewise.
47437         * math/bits/mathcalls.h: Likewise.
47438         * math/fenv.h: Likewise.
47439         * math/math_private.h: Likewise.
47440         * misc/bits/error.h: Likewise.
47441         * misc/bits/syslog.h: Likewise.
47442         * misc/err.h: Likewise.
47443         * misc/error.h: Likewise.
47444         * misc/fstab.h: Likewise.
47445         * misc/mntent.h: Likewise.
47446         * misc/regexp.h: Likewise.
47447         * misc/search.h: Likewise.
47448         * misc/sgtty.h: Likewise.
47449         * misc/sys/mman.h: Likewise.
47450         * misc/sys/syslog.h: Likewise.
47451         * misc/sys/uio.h: Likewise.
47452         * misc/sys/xattr.h: Likewise.
47453         * misc/ttyent.h: Likewise.
47454         * nis/rpcsvc/ypclnt.h: Likewise.
47455         * nss/nss.h: Likewise.
47456         * posix/bits/unistd.h: Likewise.
47457         * posix/fnmatch.h: Likewise.
47458         * posix/glob.h: Likewise.
47459         * posix/sched.h: Likewise.
47460         * posix/spawn.h: Likewise.
47461         * posix/sys/wait.h: Likewise.
47462         * posix/unistd.h: Likewise.
47463         * posix/wordexp.h: Likewise.
47464         * pwd/pwd.h: Likewise.
47465         * resolv/netdb.h: Likewise.
47466         * resource/sys/resource.h: Likewise.
47467         * rt/aio.h: Likewise.
47468         * rt/bits/mqueue2.h: Likewise.
47469         * rt/mqueue.h: Likewise.
47470         * shadow/shadow.h: Likewise.
47471         * signal/signal.h: Likewise.
47472         * socket/send.c: Likewise.
47473         * socket/sendto.c: Likewise.
47474         * socket/sys/socket.h: Likewise.
47475         * stdio-common/printf.h: Likewise.
47476         * stdlib/bits/stdlib.h: Likewise.
47477         * stdlib/fmtmsg.h: Likewise.
47478         * stdlib/monetary.h: Likewise.
47479         * stdlib/stdlib.h: Likewise.
47480         * stdlib/ucontext.h: Likewise.
47481         * streams/stropts.h: Likewise.
47482         * string/argz.h: Likewise.
47483         * string/bits/string2.h: Likewise.
47484         * string/string.h: Likewise.
47485         * string/strings.h: Likewise.
47486         * sunrpc/rpc/auth.h: Likewise.
47487         * sunrpc/rpc/auth_des.h: Likewise.
47488         * sunrpc/rpc/clnt.h: Likewise.
47489         * sunrpc/rpc/netdb.h: Likewise.
47490         * sunrpc/rpc/pmap_clnt.h: Likewise.
47491         * sunrpc/rpc/xdr.h: Likewise.
47492         * sysdeps/generic/inttypes.h: Likewise.
47493         * sysdeps/generic/net/if.h: Likewise.
47494         * sysdeps/generic/sys/swap.h: Likewise.
47495         * sysdeps/gnu/net/if.h: Likewise.
47496         * sysdeps/gnu/utmpx.h: Likewise.
47497         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47498         * sysdeps/i386/i486/bits/string.h: Likewise.
47499         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47500         * sysdeps/s390/bits/string.h: Likewise.
47501         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47502         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47503         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47504         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47505         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47506         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47507         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47508         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47509         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47510         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47511         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47512         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47513         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47514         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47515         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47516         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47517         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47518         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47519         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47520         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47521         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47522         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47523         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47524         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47525         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47526         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47527         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47528         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47529         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47530         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47531         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47532         * sysvipc/sys/ipc.h: Likewise.
47533         * sysvipc/sys/msg.h: Likewise.
47534         * sysvipc/sys/sem.h: Likewise.
47535         * sysvipc/sys/shm.h: Likewise.
47536         * termios/termios.h: Likewise.
47537         * time/sys/time.h: Likewise.
47538         * time/time.h: Likewise.
47539         * wcsmbs/bits/wchar2.h: Likewise.
47540         * wcsmbs/uchar.h: Likewise.
47541         * wcsmbs/wchar.h: Likewise.
47542         * wctype/wctype.h: Likewise.
47543
47544         [BZ #13551]
47545         * Makeconfig: Remove all but ELF support including AIX support.
47546         * Makerules: Likewise.
47547         * config.h.in: Likewise.
47548         * config.make.in: Likewise.
47549         * configure: Likewise.
47550         * configure.in: Likewise.
47551         * csu/Makefile: Likewise.
47552         * csu/version.c: Likewise.
47553         * debug/Makefile: Likewise.
47554         * dlfcn/Makefile: Likewise.
47555         * elf/Makefile: Likewise.
47556         * extra-lib.mk: Likewise.
47557         * iconv/Makefile: Likewise.
47558         * include/libc-symbols.h: Likewise.
47559         * include/shlib-compat.h: Likewise.
47560         * resolv/Makefile: Likewise.
47561         * resolv/res_libc.c: Likewise.
47562         * rt/Makefile: Likewise.
47563         * sysdeps/i386/asm-syntax.h: Likewise.
47564         * sysdeps/i386/sysdep.h: Likewise.
47565         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47566         * sysdeps/mach/sysdep.h: Likewise.
47567         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47568         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47569         * sysdeps/s390/asm-syntax.h: Likewise.
47570         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47571         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47572         * sysdeps/sh/sysdep.h: Likewise.
47573         * sysdeps/unix/sparc/sysdep.h: Likewise.
47574         * sysdeps/wordsize-32/divdi3.c: Likewise.
47575         * sysdeps/x86_64/sysdep.h: Likewise.
47576
47577         * argp/Versions: Remove _argp_unlock_xxx.
47578
47579         [BZ #13559]
47580         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47581         * abilist/libBrokenLocale.abilist: Likewise.
47582         * abilist/libanl.abilist: Likewise.
47583         * abilist/libc.abilist: Likewise.
47584         * abilist/libcrypt.abilist: Likewise.
47585         * abilist/libdl.abilist: Likewise.
47586         * abilist/libm.abilist: Likewise.
47587         * abilist/libnsl.abilist: Likewise.
47588         * abilist/libpthread.abilist: Likewise.
47589         * abilist/libresolv.abilist: Likewise.
47590         * abilist/librt.abilist: Likewise.
47591         * abilist/libthread_db.abilist: Likewise.
47592         * abilist/libutil.abilist: Likewise.
47593         * abilist/libnss_db.abilist: New file.
47594
47595         * scripts/abilist.awk: Add support for indirect functions.
47596
47597         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47598
47599         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47600
47601         * shlib-versions: Remove entries for ports architectures.
47602
47603         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47604         files in ports.
47605         * elf/stackguard-macros.h: Remove support for IA-64.
47606         * elf/tst-auditmod1.c: Likewise.
47607         * sysdeps/generic/ldsodefs.h: Likewise.
47608
47609         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47610         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47611         configure files.
47612
47613         [BZ #13552]
47614         * configure.in: Remove --enable-omitfp support.
47615         * FAQ.in: Adjust.
47616         * config.make.in: Likewise.
47617         * Makeconfig: Likewise.
47618         * manual/install.texi: Likewise.
47619
47620         In case anyone cares, the IA-64 architecture could move to ports.
47621         * sysdeps/ia64/*: Removed.
47622         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47623         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47624
47625         [BZ #13555]
47626         * configure.in: Remove entries for unsupported architectures.
47627
47628         [BZ #13533]
47629         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47630         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47631         routines.
47632         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47633         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47634         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47635         fall back to using wcrtomb.
47636         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47637         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47638         renaming.
47639         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47640         * wcsmbs/tst-c16c32-1.c: New file.
47641
47642         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47643         local variable.
47644
47645         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47646
47647         * elf/tst-unique3.cc: Add explicit declaration of gets.
47648         * elf/tst-unique3lib.cc: Likewise.
47649         * elf/tst-unique3lib2.cc: Likewise.
47650         * elf/tst-unique4.cc: Likewise.
47651
47652         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47653
47654 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47655
47656         [BZ #13566]
47657         * assert/assert.h (static_assert): Don't define for C++.
47658         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47659         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47660
47661 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47662
47663         * iconv/loop.c (single loop): Fix assertion in storing of
47664         remaining bytes.
47665
47666         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47667
47668 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47669
47670         * posix/getconf.c: Update copyright year.
47671         * nss/getent.c: Likewise.
47672         * nss/makedb.c: Likewise.
47673         * iconv/iconvconfig.c: Likewise.
47674         * iconv/iconv_prog.c: Likewise.
47675         * elf/ldconfig.c: Likewise.
47676         * elf/pldd.c: Likewise.
47677         * elf/sotruss.ksh: Likewise.
47678         * catgets/gencat.c: Likewise.
47679         * csu/version.c: Likewise.
47680         * elf/ldd.bash.in: Likewise.
47681         * elf/sprof.c (print_version): Likewise.
47682         * locale/programs/locale.c: Likewise.
47683         * locale/programs/localedef.c: Likewise.
47684         * login/programs/pt_chown.c: Likewise.
47685         * nscd/nscd.c (print_version): Likewise.
47686         * debug/xtrace.sh: Likewise.
47687         * malloc/memusage.sh: Likewise.
47688         * malloc/mtrace.pl: Likewise.
47689         * debug/catchsegv.sh: Likewise.
47690
47691 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47692
47693         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47694         pure attribute.
47695
47696 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47697
47698         [BZ #13533]
47699         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47700         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47701         transformations.
47702         * iconv/gconv_int.h: Likewise.
47703         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47704         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47705         from libc for GLIBC_2.16.
47706         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47707         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47708         * wcsmbs/uchar.h: Really define mbstate_t.
47709         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47710         * wcsmbs/c16rtomb.c: New file.
47711         * wcsmbs/mbrtoc16.c: New file.
47712         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47713         for C/POSIX locale.
47714         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47715         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47716
47717         * wcsmbs/wchar.h: Add missing __restrict.
47718
47719 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47720
47721         [BZ #13532]
47722         * time/Makefile (routines): Add timespec_get.
47723         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47724         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47725         timespec for ISO C11.
47726         * time/timespec_get.c: New file.
47727         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47728         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47729
47730         [BZ #13531]
47731         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47732         * stdlib/stdlib.h: Declare aligned_alloc.
47733         * Versions.def: Add GLIBC_2.16 for libc.
47734         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47735
47736         [BZ 13527]
47737         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47738         ISO C11.
47739
47740         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47741         code.
47742
47743         [BZ #13528]
47744         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47745
47746         [BZ #13529]
47747         * assert/assert.h (static_assert): Define.
47748
47749         * version.h: Update for 2.16 development version.
47750
47751         [BZ #13526]
47752         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47753         _ISOC11_SOURCE.
47754
47755         * version.h (RELEASE): Bump for 2.15 release.
47756         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47757
47758         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47759         Patch by Marek Polacek <mpolacek@redhat.com>.
47760
47761         * bits/byteswap.h: Protect long long constants with __extension__.
47762         * sysdeps/i386/bits/byteswap.h: Likewise.
47763         * sysdeps/ia64/bits/byteswap.h: Likewise.
47764         * sysdeps/s390/bits/byteswap.h: Likewise.
47765         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47766
47767 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47768
47769         [BZ #13540]
47770         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47771         destination buffer.
47772         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47773
47774 2011-12-23  Marek Polacek  <polacek@redhat.com>
47775
47776         * elf/dl-addr.c (determine_info): Add inline keyword.
47777         * elf/tst-auditmod4b.c (check_avx): Likewise.
47778         * elf/tst-auditmod6b.c (check_avx): Likewise.
47779         * elf/tst-auditmod6c.c (check_avx): Likewise.
47780         * elf/tst-auditmod7b.c (check_avx): Likewise.
47781
47782 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47783
47784         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47785         !__SSE_MATH__.
47786
47787 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47788
47789         [BZ #13540]
47790         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47791         processing for last bytes.
47792
47793 2011-08-06  Bruno Haible  <bruno@clisp.org>
47794
47795         [BZ #13061]
47796         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47797         U+0385, not to U+1FEE.
47798
47799         [BZ #13062]
47800         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47801         entry for U+00A5 U+0301.
47802
47803 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47804
47805         [BZ #13166]
47806         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47807         buffer for the output is too small.
47808
47809         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47810         optimization.
47811
47812         [BZ #13185]
47813         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47814         SSE flags if possible.
47815
47816 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47817
47818         [BZ #13540]
47819         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47820         processing for last bytes.
47821
47822 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47823
47824         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47825         (syscall-list-default-options, syscall-list-default-condition)
47826         (syscall-list-includes): Define.
47827         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47828         list of ABIs and options and #if conditions for each ABI.  Do not
47829         handle common syscalls between ABIs specially.
47830         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47831         Remove.
47832         (syscall-list-variants, syscall-list-32bit-options)
47833         (syscall-list-32bit-condition, syscall-list-64bit-options)
47834         (syscall-list-64bit-condition): Define.
47835         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47836         (syscall-list-variants, syscall-list-32bit-options)
47837         (syscall-list-32bit-condition, syscall-list-64bit-options)
47838         (syscall-list-64bit-condition): Define.
47839         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47840         Remove.
47841         (syscall-list-variants, syscall-list-32bit-options)
47842         (syscall-list-32bit-condition, syscall-list-64bit-options)
47843         (syscall-list-64bit-condition): Define.
47844         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47845         Remove.
47846         (syscall-list-variants, syscall-list-32bit-options)
47847         (syscall-list-32bit-condition, syscall-list-64bit-options)
47848         (syscall-list-64bit-condition): Define.
47849
47850 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47851
47852         * locale/iso-639.def: Add brx entry.
47853
47854         [BZ #13328]
47855         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47856         Proposed by Mariusz_Cukr <marcukr@op.pl>.
47857
47858         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47859         __feraiseexcept_renamed.
47860
47861 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47862
47863         [BZ #13538]
47864         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47865         EPOLLET with unsigned values.
47866         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47867         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47868
47869         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47870         to large cancellation.
47871         * math/s_cacoshf.c: Likewise.
47872         * math/s_cacoshl.c: Likewise.
47873
47874 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
47875
47876         [BZ #13305]
47877         [BZ #12786]
47878         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47879         * math/s_cacoshf.c: Likewise.
47880         * math/s_cacoshl.c: Likewise.
47881
47882 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47883
47884         [BZ #13439]
47885         * iconv/gconv.h: Define __GCONV_SWAP.
47886         * iconvdata/unicode.c: The swap bit must be stored in __flags.
47887         * iconvdata/utf-16.c: Likewise.
47888         * iconvdata/utf-32.c: Likewise.
47889
47890 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
47891
47892         [BZ #13524]
47893         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47894         numerator after shifting it by one limb.
47895
47896 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
47897
47898         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47899         under [__USE_EXTERN_INLINES].
47900
47901 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47902
47903         [BZ #13446]
47904         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47905
47906 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47907
47908         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47909         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47910         optimized code.
47911         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47912         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47913         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47914         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47915         for strncasecmp/strncasecmp_l compilation.
47916         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47917         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47918
47919 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
47920
47921         [BZ #13484]
47922         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47923         of __asm__.
47924
47925 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47926
47927         [BZ #13506]
47928         * time/tzfile.c (__tzfile_read): Check values from file header.
47929
47930 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47931
47932         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47933         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47934         * powerpc/powerpc32/dl-start.S: Likewise.
47935         * powerpc/powerpc32/elf/start.S: Likewise.
47936         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47937         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47938         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47939         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47940         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47941         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47942         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47943         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47944         * powerpc/powerpc32/fpu/s_round.S: Likewise.
47945         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47946         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47947         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47948         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47949         * powerpc/powerpc32/memset.S: Likewise.
47950         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47951         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47952         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47953         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47954         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47955         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47956         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47957         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47958         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47959         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47960         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47961         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47962         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47963
47964 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47965
47966         * math/libm-test.inc: Added more nearbyint tests.
47967         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47968         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47969         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47970         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47971
47972 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
47973
47974         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47975         FD_CLOEXEC.
47976
47977 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47978
47979         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47980         Add wcscpy-ssse3 wcscpy-c.
47981         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47982         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47983         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47984         * sysdeps/x86_64/wcschr.S: New file.
47985         * sysdeps/x86_64/wcsrchr.S: New file.
47986         * string/test-strcmp.c: Remove checking of wcscmp function for
47987         wrong alignments.
47988         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47989         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47990         wcsrchr-sse2 wcsrchr-c.
47991         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47992         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47993         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47994         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47995         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47996         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47997         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47998         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47999         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48000         * wcsmbc/wcschr.c (WCSCHR): New macro.
48001
48002 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48003
48004         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48005         * wcsmbs/test-wcsrchr.c: New file.
48006         * string/test-strrchr.c: Add wcsrchr support.
48007         (WIDE): New macro.
48008         * wcsmbs/test-wcscpy.c: New file.
48009         * string/test-strcpy.c: Add wcscpy support.
48010         (WIDE): New macro.
48011
48012 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48013
48014         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48015         the inner loop.
48016
48017 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48018
48019         [BZ #13472]
48020         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48021
48022 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48023
48024         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48025         Minor optimizations.
48026
48027         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48028         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48029         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48030
48031 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48032
48033         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48034         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48035         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48036         for gcc to avoid warnings.
48037         * inet/Makefile (tests): Add tst-checks.
48038         * inet/tst-checks.c: New file.
48039
48040         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48041         warning.
48042
48043         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48044         __wmemcmp_sse2.
48045
48046         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48047         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48048
48049         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48050
48051 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48052
48053         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48054         problem.
48055
48056         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48057
48058 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48059
48060         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48061         conditional on GCC version.
48062         (__arch_compare_and_exchange_val_8_acq)
48063         (__arch_compare_and_exchange_val_16_acq)
48064         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48065         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48066         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48067
48068 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48069
48070         * sysdeps/sh/backtrace.c: New file.
48071
48072 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48073
48074         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48075         parenthesis.
48076
48077 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48078
48079         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48080         falling back to utime.
48081
48082 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48083
48084         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48085         expectations for float.
48086
48087 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48088
48089         * locale/weight.h (findidx): Add parameter len.
48090         * locale/weightwc.h (findidx): Likewise.
48091         * posix/fnmatch_loop.c (FCT): Adjust caller.
48092         * posix/regcomp.c (build_equiv_class): Likewise.
48093         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48094         * posix/regexec.c (check_node_accept_bytes): Likewise.
48095         * string/strcoll_l.c (STRCOLL): Likewise.
48096         * string/strxfrm_l.c (STRXFRM): Likewise.
48097
48098 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48099
48100         * Makefile.in: Remove CVSOPT handling.
48101         * configure.in: Remove use of AC_REVISION.
48102         * iconvdata/Makefile (distribute): No need to filter out CVS.
48103         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48104         handling.
48105
48106 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48107
48108         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48109         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48110         [USE_AS_STRNCASECMP_L]: Likewise.
48111         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48112         NO_TLS_DIRECT_SEG_REFS.
48113         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48114         Fix argument offsets for non-PIC.
48115         [USE_AS_STRNCASECMP_L]: Likewise.
48116         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48117         NO_TLS_DIRECT_SEG_REFS.
48118
48119 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48120
48121         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48122         O_CLOEXEC.
48123         * locale/loadlocale.c (_nl_load_locale): Likewise.
48124
48125 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48126
48127         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48128         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48129         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48130         (SYSCALL_GETTIME): Set errno on error.
48131
48132         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48133         count references to noai6ai_cached.
48134
48135 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48136
48137         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48138
48139         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48140         FD_CLOEXEC for /proc/self/maps.
48141
48142         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48143         FD_CLOEXEC for /proc/meminfo.
48144
48145         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48146         gai.conf.
48147
48148         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48149         FD_CLOEXEC for given file.
48150
48151         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48152
48153         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48154         FD_CLOEXEC for /etc/hosts.
48155         (_gethtent): Likewise.
48156
48157         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48158
48159         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48160         cancellation and set FD_CLOEXEC for /etc/netgroup.
48161
48162         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48163         reading /etc/publickey.
48164
48165         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48166         allow cancellation when reading /etc/group.
48167
48168         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48169         cancellation.
48170         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48171
48172         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48173         when using data file.
48174
48175         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48176
48177         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48178         (write_nis_obj): Use "c" and "e" in fopen.
48179
48180         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48181
48182         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48183
48184         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48185
48186         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48187
48188         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48189         locale.alias.
48190
48191         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48192
48193         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48194
48195         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48196
48197         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48198         file parsing and set FD_CLOEXEC.
48199
48200 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48201
48202         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48203
48204 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48205
48206         * malloc/arena.c (arena_get2): Don't call reused_arena when
48207         _int_new_arena failed.
48208
48209 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48210
48211         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48212         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48213         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48214         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48215         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48216         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48217         to compile strcasecmp and strncasecmp.
48218         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48219         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48220
48221         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48222
48223 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48224
48225         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48226         locale-defines.sym to gen-as-const-headers.
48227         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48228         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48229         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48230         to compile strcasecmp and strncasecmp.
48231         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48232         strcasecmp_l and strncasecmp_l.
48233         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48234         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48235         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48236         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48237         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48238         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48239         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48240         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48241         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48242         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48243         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48244
48245 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48246
48247         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48248         result of SYSDEP_GETTIME_CPU to retval.
48249         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48250         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48251
48252         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48253         variable.
48254
48255         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48256         mantissa words.
48257         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48258
48259         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48260         from unused variable.
48261
48262         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48263         DWARF definitions.
48264         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48265         for assembling.
48266
48267         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48268         over namespaces.
48269
48270         * sunrpc/rpc_prot.c (rejected): Fix case value.
48271
48272         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48273         unsigned long long int to avoid warnings in shift.
48274
48275         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48276         of use of trans.
48277         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48278         variable tmp.
48279
48280         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48281         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48282         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48283
48284         * nis/nis_table.c (nis_list): Use variable of correct type for
48285         result of __follow_path call.
48286
48287 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48288
48289         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48290         of math functions ceil, trunc, floor, round, and sqrt, when
48291         avaliable on the platform.
48292         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48293         name clash.
48294         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48295         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48296         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48297
48298 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48299
48300         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48301         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48302
48303 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48304
48305         * include/unistd.h: Fix __readlink return type.
48306         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48307
48308 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48309
48310         * stdlib/ucontext.h: Undo last change for makecontext.
48311
48312 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48313
48314         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48315
48316         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48317         * setjmp/setjmp.h: Mark functions as non-leaf.
48318         * setjmp/bits/setjmp2.h: Likewise.
48319         * stdlib/ucontext.h: Likewise.
48320
48321 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48322
48323         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48324         (reused_arena): Don't check arena limit.
48325         (arena_get2): Atomically check arena limit.
48326
48327 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48328
48329         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48330         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48331
48332         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48333         instructions.
48334
48335 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48336
48337         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48338         handler when locking.
48339
48340         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48341         Fix size of allocated buffer.
48342
48343 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48344
48345         [BZ #10103]
48346         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48347         declarations for long double functions.
48348         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48349
48350         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48351
48352 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48353
48354         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48355         installed.
48356
48357         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48358         is disabled.
48359
48360 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48361
48362         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48363
48364 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48365
48366         * include/alloca.h (stackinfo_alloca_round): Define.
48367         (extend_alloca): Use it.
48368         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48369         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48370         here.
48371
48372         * scripts/check-local-headers.sh: Ignore libaudit.h.
48373
48374         * nscd/Makefile (extra-objs): Make recursively expanded.
48375
48376 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48377
48378         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48379         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48380
48381         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48382         * posix/tst-rfc3484-2.c: Likewise.
48383         * posix/tst-rfc3484-3.c: Likewise.
48384
48385         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48386         process_vm_writev.
48387         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48388         process_vm_writev.
48389         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48390         process_vm_writev from libc using GLIBC_2.15 version.
48391
48392         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48393
48394 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48395
48396         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48397         stack usage.
48398
48399 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48400
48401         [BZ #13367]
48402         * nss/getent.c (initgroups_keys): Show error message in case no group
48403         names are given.
48404
48405         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48406         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48407         __bump_nl_timestamp.
48408         * nscd/connections (nscd_init): When host database is served open
48409         netlink socket and request notification about configuration changes.
48410         (main_loop_poll): Track netlink file descriptor and bump timestamp
48411         in case data becomes available.
48412         (main_loop_epoll): Likewise.
48413         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48414         (database_pers_head): Add extra_data fileds.
48415         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48416         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48417         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48418         Adjust caller.
48419         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48420         in6ai data, call __free_in6ai.
48421         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48422         Add -DHAVE_NETLINK.
48423         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48424         interface information.  Reuse previous data if netlink timestamp
48425         is not changed.
48426         (__bump_nl_timestamp): New function.
48427         (__free_in6ai): New function.
48428
48429 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48430
48431         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48432         close_not_cancel_no_status here.
48433         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48434
48435 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48436
48437         [BZ #13276]
48438         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48439         return value.
48440
48441         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48442         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48443         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48444
48445 2011-07-03  Andreas Jaeger  <aj@suse.de>
48446
48447         [BZ #10709]
48448         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48449         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48450         * math/libm-test.inc (sin_test): Add test case.
48451
48452 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48453
48454         [BZ #13337]
48455         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48456         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48457
48458         * elf/chroot_canon.c (chroot_canon): Cleanups.
48459
48460         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48461
48462         [BZ #13335]
48463         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48464         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48465
48466         * string/test-strchr.c: Make usable for strchrnul testing.
48467         * string/test-strchrnul.c: New file.
48468         * string/Makefile (strop-tests): Add strchrnul.
48469
48470         * po/it.po: Update from translation team.
48471         * po/es.po: Likewise.
48472
48473 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48474
48475         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48476         the three constants needed as parameters.  Drop the others.
48477         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48478         __m128i_strloadu_tolower.
48479         Create and initialize variable zero and use it in all the places
48480         where _mm_setzero_si128 was used.
48481
48482         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48483         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48484         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48485         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48486         anymore.
48487         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48488         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48489         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48490         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48491         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48492         __mpranred, __mptan.
48493         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48494         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48495         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48496         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48497         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48498         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48499         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48500         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48501         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48502
48503 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48504
48505         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48506         redefine if SHARED.
48507         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48508
48509         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48510         wide char related routines to wcsmbs subdir.
48511
48512 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48513
48514         [BZ #13344]
48515         * misc/sys/cdefs.h (__THROWNL): Define.
48516         * posix/unistd.h: Use __THREADNL instead of __THREAD
48517         for memory synchronization functions.
48518
48519 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48520
48521         [BZ #13349]
48522         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48523         doesn't exist.
48524         * manual/stdio.texi (Obstack Streams): Node removed.
48525
48526 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48527
48528         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48529         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48530         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48531
48532         * math/math_private.h (math_force_eval): Allow non-addressable
48533         arguments.
48534         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48535
48536 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48537
48538         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48539         file is not needed.
48540
48541         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48542         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48543         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48544         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48545         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48546         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48547         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48548         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48549         Add AVX variants.
48550         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48551         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48552         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48553         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48554         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48555         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48556         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48557         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48558         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48559         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48560         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48561         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48562         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48563         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48564         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48565         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48566         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48567         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48568         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48569
48570         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48571         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48572
48573         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48574         place.  Use VEX encoding when compiling for AVX.
48575
48576 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48577
48578         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48579         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48580
48581         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48582
48583 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48584
48585         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48586         useless if() expression.
48587         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48588         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48589         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48590         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48591         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48592         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48593         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48594         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48595         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48596         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48597         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48598         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48599         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48600         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48601         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48602         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48603         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48604         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48605         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48606
48607         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48608
48609 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48610
48611         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48612         condition.
48613         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48614
48615 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48616
48617         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48618         .text section.  Avoid duplicate constants.
48619         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48620         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48621         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48623         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48624         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48625         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48626         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48627         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48628         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48629         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48630         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48631         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48632         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48633         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48634         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48635         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48636         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48637         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48638         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48639         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48640         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48641         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48642         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48643         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48644         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48645         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48646         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48647         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48648         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48649         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48650         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48651         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48652         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48653         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48654         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48655         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48656         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48657         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48658         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48659         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48660         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48661         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48662         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48663         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48664
48665 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48666
48667         * sysdeps/x86_64/dla.h: Move to ...
48668         * sysdeps/x86_64/fpu/dla.h: ...here.
48669         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48670         situations.  Use __builtin_fma only for gcc 4.6 and up.
48671
48672         * config.make.in: Add have-mfma4 entry.
48673         * configure.in: Substitute libc_cv_cc_fma4.
48674         * math/Makefile (dbl-only-routines): Add sincostab.
48675         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48676         Use __sincostab not sincos.
48677         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48678         name is a macro.
48679         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48680         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48681         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48682         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48683         using __copysign.
48684         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48685         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48686         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48687         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48688         and __inv.
48689         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48690         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48691         __copysign.
48692         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48693         define aliases when function name is a macro.
48694         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48695         sysdeps/ieee754/dbl-64/sincos.tbl.
48696         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48697         fma4-enabled routines.
48698         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48699         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48700         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48701         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48702         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48703         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48704         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48705         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48706         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48707         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48708         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48709         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48710         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48711         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48712         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48713         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48714         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48715         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48716         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48717         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48718         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48719         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48720         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48721         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48722         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48723         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48724         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48725         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48726         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48727         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48728
48729         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48730         rename.
48731         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48732         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48733         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48734         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48735         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48736         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48737         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48738         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48739
48740 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48741
48742         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48743
48744 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48745
48746         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48747
48748         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48749         prediction.
48750         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48751
48752         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48753         Remove unused variable magic_bits.
48754         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48755
48756         * string/strnlen.c: Define and use STRNLEN macro.
48757         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48758         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48759         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48760         * wcsmbs/wcslen.c: Define and use WCSLEN.
48761         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48762         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48763         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48764         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48765         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48766         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48767         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48768
48769 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48770
48771         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48772         strnlen-sse2-no-bsf.
48773         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48774         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48775         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48776         Add strnlen support.
48777         (USE_AS_STRNLEN): New macro.
48778         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48779         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48780         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48781         * sysdeps/x86_64/wcslen.S: New file.
48782
48783 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48784
48785         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48786         XMM-moves are used for copying on small sizes.
48787
48788 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48789
48790         * wcsmbs/Makefile (strop-tests): Add wcschr.
48791         * wcsmbs/test-wcschr.c: New file.
48792         * string/test-strchr.c: Update.
48793         Add wcschr support.
48794         (WIDE): New macro.
48795
48796 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48797
48798         * wcsmbs/Makefile (strop-tests): Add wcslen.
48799         * wcsmbs/test-wcslen.c: New file.
48800         * string/test-strlen.c: Update.
48801         Add wcslen support.
48802         (WIDE): New macro.
48803
48804 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48805
48806         * po/it.po: Update from translation team.
48807
48808 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48809
48810         * sysdeps/x86_64/wcscmp.S: Update.
48811         Fix wrong comparison semantics.
48812         wcscmp shall use signed comparison not unsigned.
48813         Don't use substraction to avoid overflow bug.
48814         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48815         * wcsmbc/wcscmp.c: Likewise.
48816         * string/test-strcmp.c: Likewise.
48817         Add new tests to check cases with negative values.
48818
48819 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48820
48821         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48822         * sysdeps/x86_64/dla.h: ...here.  New file.
48823         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48824         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48825         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48826         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48827         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48828         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48829         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48830         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48831         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48832
48833 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48834
48835         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48836         __ynl_finite aliases.
48837
48838 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48839
48840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48841
48842         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48843         define DLA_FMA.
48844         [DLA_FMA] (EMULV): Use DLA_FMA.
48845         [DLA_FMA] (MUL12): Use EMULV.
48846         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48847         that are not needed.
48848         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48849         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48850         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48851         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48852         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48853         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48854         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48855
48856 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
48857
48858         * math/s_nan.c: Undef __nan.
48859         * math/s_nanf.c: Undef __nanf.
48860         * math/s_nanl.c: Undef __nanl.
48861         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48862         "math_private.h".
48863
48864 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48865
48866         * math/s_catan.c: Add branch predictions.
48867         * math/s_catanf.c: Likewise.
48868         * math/s_catanh.c: Likewise.
48869         * math/s_catanhf.c: Likewise.
48870         * math/s_catanhl.c: Likewise.
48871         * math/s_catanl.c: Likewise.
48872         * math/s_cexp.c: Likewise.
48873         * math/s_cexpf.c: Likewise.
48874         * math/s_cexpl.c: Likewise.
48875         * math/s_clog.c: Likewise.
48876         * math/s_clog10.c: Likewise.
48877         * math/s_clog10f.c: Likewise.
48878         * math/s_clog10l.c: Likewise.
48879         * math/s_clogf.c: Likewise.
48880         * math/s_clogl.c: Likewise.
48881         * math/s_csqrt.c: Likewise.
48882         * math/s_csqrtf.c: Likewise.
48883         * math/s_csqrtl.c: Likewise.
48884         * math/s_ctanf.c: Likewise.
48885         * math/s_ctanh.c: Likewise.
48886         * math/s_ctanhf.c: Likewise.
48887         * math/s_ctanhl.c: Likewise.
48888         * math/s_ctanl.c: Likewise.
48889
48890         * math/math_private.h: Define __nan, __nanf, __nanl.
48891         * math/s_cacosh.c: Include <math_private.h>.
48892         * math/s_cacoshl.c: Likewise.
48893         * math/s_casinh.c: Likewise.
48894         * math/s_casinhf.c: Likewise.
48895         * math/s_casinhl.c: Likewise.
48896         * math/s_ccos.c: Rely entire on ccosh.
48897         * math/s_ccosf.c: Rely entire on ccoshf.
48898         * math/s_ccosl.c: Rely entirely on ccoshl.
48899         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
48900         Remove tests for FE_INVALID.
48901         * math/s_ccoshf.c: Likewise.
48902         * math/s_ccoshl.c: Likewise.
48903         * math/s_csin.c: Likewise.
48904         * math/s_csinf.c: Likewise.
48905         * math/s_csinh.c Likewise.
48906         * math/s_csinhf.c: Likewise.
48907         * math/s_csinhl.c: Likewise.
48908         * math/s_csinl.c: Likewise.
48909         * math/s_ctan.c: Likewise.
48910         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48911         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48912         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48913
48914 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
48915
48916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48917         compilation problems.
48918
48919         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48920         __builtin_expect.
48921
48922 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
48923
48924         * sysdeps/i386/configure.in: Test for -mfma4 option.
48925         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48926         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48927         COMMON_CPUID_INDEX_80000001.
48928         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48929         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48930         use it if FMA3 is not supported.
48931         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48932
48933         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48934         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48935
48936 2011-10-20  Andreas Schwab  <schwab@redhat.com>
48937
48938         [BZ #12892]
48939         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48940         it would create a cycle with a link time dependency.
48941
48942 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
48943
48944         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48945         instruction.
48946         * string/Makefile (strop-tests): Add rawmemchr.
48947         * string/test-rawmemchr.c: New file.
48948
48949         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48950         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
48951         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
48952         when compiling str{,n}casecmp and when AVX is available.  Hook up
48953         new optimized code in initializers.
48954
48955 2011-10-19  Andreas Schwab  <schwab@redhat.com>
48956
48957         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48958         __feraiseexcept instead of feraiseexcept.
48959
48960 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
48961
48962         * math/math_private.h: Define defaults for libc_fetestexcept and
48963         libc_feupdateenv.
48964         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48965         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48966         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48967         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48968         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48969         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48970         libc_fetestexcept and libc_feupdateenv.
48971
48972         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48973         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48974         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48975         * sysdeps/x86_64/fpu/math_private.h: Define special version of
48976         libc_feholdexcept_setround.
48977
48978         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48979         Add s_nearbyint-c and s_nearbyintf-c.
48980         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48981         nearbyintf inlines.
48982         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48983         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48984         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48985         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48986
48987         * math/math_private.h: Define defaults for libc_fegetround,
48988         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48989         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48990         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48991         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48992         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48993         standard functions.
48994         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48995         Remove comments and hacks for old compiler versions.
48996         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48997         libc_fegetround, libc_fesetround, libc_feholdexcept, and
48998         libc_feholdexceptl.
48999
49000 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49001
49002         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49003         (__feraiseexcept_renamed): Add __NTH.
49004         (feraiseexcept): Add __NTH.  Rename local variables to fix
49005         namespace violations.
49006
49007 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49008
49009         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49010
49011         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49012
49013         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49014         recently added interfaces.
49015         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49016
49017         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49018         about macro parameter expansion.
49019
49020         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49021         __NO_MATH_INLINES is defined.  Cleanups.
49022
49023         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49024         and __floorf is target has SSE4.1.
49025         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49026         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49027         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49028         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49029
49030         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49031         name.
49032         (floorf): Likewise.
49033
49034         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49035
49036 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49037
49038         * misc/sys/cdefs.h: Fix last change.
49039
49040         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49041         database lookup.
49042
49043 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49044
49045         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49046
49047         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49048         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49049         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49050         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49051         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49052         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49053         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49054         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49055         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49056         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49057         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49058         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49059         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49060         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49061         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49062         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49063         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49064         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49065         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49066         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49067         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49068         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49069
49070         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49071         ceil, ceilf, floor, floorf.
49072
49073         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49074         Perform IRELATIVE relocations last.
49075
49076         * elf/do-rel.h: Add another parameter nrelative, replacing the
49077         local variable with the same name.  Change name of the function
49078         to end in Rel or Rela (uppercase).
49079         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49080         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49081         elf_dynamic_do_##reloc function.
49082
49083 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49084
49085         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49086         is sufficient, at least on modern CPUs.
49087
49088         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49089
49090         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49091         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49092
49093         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49094         __expl_finite.
49095         * math/bits/math-finite.h: Add entries for exp.
49096         * math/e_expl.c: Add __*_finite alias.
49097         * sysdeps/i386/fpu/e_exp.S: Likewise.
49098         * sysdeps/i386/fpu/e_expf.S: Likewise.
49099         * sysdeps/i386/fpu/e_expl.c: Likewise.
49100         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49101         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49102         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49103         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49104         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49105         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49106         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49107
49108         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49109         is sufficient, at least on modern CPUs.
49110
49111         * ctype/ctype-info.c (__ctype_init): Define.
49112         * include/ctype.h (__ctype_init): Declare.
49113         (__ctype_b_loc): The variable is always initialized.
49114         (__ctype_toupper_loc): Likewise.
49115         (__ctype_tolower_loc): Likewise.
49116         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49117         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49118
49119 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49120
49121         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49122
49123         * configure.in: Also look in $cxxmachine/include for C++ system
49124         headers.
49125
49126 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49127
49128         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49129         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49130         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49131         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49132         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49133         (USE_AS_WMEMCMP): New macro.
49134         Fixing indents.
49135         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49136         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49137         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49138         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49140         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49141         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49142         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49143         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49144         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49145         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49146         (USE_AS_WMEMCMP): New macro.
49147         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49148         * sysdeps/string/test-memcmp.c: Update.
49149         Fix simple_wmemcmp.
49150         Add new tests.
49151         * wcsmbs/wmemcmp.c: Update.
49152         (WMEMCMP): New macro.
49153         Fix overflow bug.
49154
49155 2011-10-12  Andreas Jaeger  <aj@suse.de>
49156
49157         [BZ #13268]
49158         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49159
49160 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49161
49162         * libio/iofwide.c (do_length): Avoid warning.
49163
49164         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49165
49166 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49167
49168         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49169
49170         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49171         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49172         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49173         * sysdeps/i386/i686/fpu/e_log.S: New file.
49174         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49175         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49176
49177         * ctype/ctype.h: Add support for inlined isXXX functions when
49178         compiling C++ code.
49179
49180 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49181
49182         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49183
49184         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49185
49186 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49187
49188         [BZ #13291]
49189         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49190
49191 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49192
49193         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49194         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49195         feraiseexcept.
49196
49197         * sysdeps/x86_64/memrchr.S: Check for zero size.
49198
49199         * string/stratcliff.c: Add memrchr tests.
49200
49201 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49202
49203         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49204         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49205         rawmemchr-sse2 rawmemchr-sse2-bsf.
49206         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49207         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49208         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49209         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49210         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49211         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49212         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49213         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49214         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49215         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49216         * string/memrchr.c (MEMRCHR): New macro.
49217
49218 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49219
49220         Add integration with gcc's -ffinite-math-only and optimize wrapper
49221         functions in libm.
49222         * Versions.def: Define GLIBC_2.15 version for libm.
49223         * math/Makefile (headers): Add bits/math-finite.h.
49224         * math/bits/math-finite.h: New file.
49225         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49226         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49227         * math/e_acoshl.c: Add __*_finite alias.
49228         * math/e_acosl.c: Likewise.
49229         * math/e_asinl.c: Likewise.
49230         * math/e_atan2l.c: Likewise.
49231         * math/e_atanhl.c: Likewise.
49232         * math/e_coshl.c: Likewise.
49233         * math/e_exp10.c: Likewise.
49234         * math/e_exp10f.c: Likewise.
49235         * math/e_exp10l.c: Likewise.
49236         * math/e_exp2l.c: Likewise.
49237         * math/e_fmodl.c: Likewise.
49238         * math/e_gammal_r.c: Likewise.
49239         * math/e_hypotl.c: Likewise.
49240         * math/e_j0l.c: Likewise.
49241         * math/e_j1l.c: Likewise.
49242         * math/e_jnl.c: Likewise.
49243         * math/e_lgammal_r.c: Likewise.
49244         * math/e_log10l.c: Likewise.
49245         * math/e_log2l.c: Likewise.
49246         * math/e_logl.c: Likewise.
49247         * math/e_powl.c: Likewise.
49248         * math/e_sinhl.c: Likewise.
49249         * math/e_sqrtl.c: Likewise.
49250         * math/e_scalb.c: Completely rewritten and optimized.
49251         * math/e_scalbf.c: Likewise.
49252         * math/e_scalbl.c: Likewise.
49253         * math/w_acos.c: Likewise.
49254         * math/w_acosf.c: Likewise.
49255         * math/w_acosl.c: Likewise.
49256         * math/w_acosh.c: Likewise.
49257         * math/w_acoshf.c: Likewise.
49258         * math/w_acoshl.c: Likewise.
49259         * math/w_asin.c: Likewise.
49260         * math/w_asinf.c: Likewise.
49261         * math/w_asinl.c: Likewise.
49262         * math/w_atan2.c: Likewise.
49263         * math/w_atan2f.c: Likewise.
49264         * math/w_atan2l.c: Likewise.
49265         * math/w_atanh.c: Likewise.
49266         * math/w_atanhf.c: Likewise.
49267         * math/w_atanhl.c: Likewise.
49268         * math/w_exp10.c: Likewise.
49269         * math/w_exp10f.c: Likewise.
49270         * math/w_exp10l.c: Likewise.
49271         * math/w_fmod.c: Likewise.
49272         * math/w_fmodf.c: Likewise.
49273         * math/w_fmodl.c: Likewise.
49274         * math/w_j0.c: Likewise.
49275         * math/w_j0f.c: Likewise.
49276         * math/w_j0l.c: Likewise.
49277         * math/w_j1.c: Likewise.
49278         * math/w_j1f.c: Likewise.
49279         * math/w_j1l.c: Likewise.
49280         * math/w_jn.c: Likewise.
49281         * math/w_jnf.c: Likewise.
49282         * math/w_log.c: Likewise.
49283         * math/w_logf.c: Likewise.
49284         * math/w_logl.c: Likewise.
49285         * math/w_log10.c: Likewise.
49286         * math/w_log10f.c: Likewise.
49287         * math/w_log10l.c: Likewise.
49288         * math/w_log2.c: Likewise.
49289         * math/w_log2f.c: Likewise.
49290         * math/w_log2l.c: Likewise.
49291         * math/w_pow.c: Likewise.
49292         * math/w_powf.c: Likewise.
49293         * math/w_powl.c: Likewise.
49294         * math/w_remainder.c: Likewise.
49295         * math/w_remainderf.c: Likewise.
49296         * math/w_remainderl.c: Likewise.
49297         * math/w_scalb.c: Likewise.
49298         * math/w_scalbf.c: Likewise.
49299         * math/w_scalbl.c: Likewise.
49300         * math/w_sqrt.c: Likewise.
49301         * math/w_sqrtf.c: Likewise.
49302         * math/w_sqrtl.c: Likewise.
49303         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49304         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49305         used.
49306         * math/math_private.h: Declare __kernel_standard_f.
49307         * math/w_cosh.c: Remove cruft and optimize a bit.
49308         * math/w_coshf.c: Likewise.
49309         * math/w_coshl.c: Likewise.
49310         * math/w_exp2.c: Likewise.
49311         * math/w_exp2f.c: Likewise.
49312         * math/w_exp2l.c: Likewise.
49313         * math/w_hypot.c: Likewise.
49314         * math/w_hypotf.c: Likewise.
49315         * math/w_hypotl.c: Likewise.
49316         * math/w_lgamma.c: Likewise.
49317         * math/w_lgamma_r.c: Likewise.
49318         * math/w_lgammaf.c: Likewise.
49319         * math/w_lgammaf_r.c: Likewise.
49320         * math/w_lgammal.c: Likewise.
49321         * math/w_lgammal_r.c: Likewise.
49322         * math/w_sinh.c: Likewise.
49323         * math/w_sinhf.c: Likewise.
49324         * math/w_sinhl.c: Likewise.
49325         * math/w_tgamma.c: Likewise.
49326         * math/w_tgammaf.c: Likewise.
49327         * math/w_tgammal.c: Likewise.
49328         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49329         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49330         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49331         Minor optimizations.  Pretty printing.  Remove cruft.
49332         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49333         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49334         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49335         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49336         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49337         * sysdeps/i386/fpu/e_asin.S: Likewise.
49338         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49339         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49340         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49341         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49342         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49343         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49344         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49345         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49346         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49347         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49348         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49349         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49350         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49351         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49352         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49353         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49354         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49355         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49356         * sysdeps/i386/fpu/e_log.S: Likewise.
49357         * sysdeps/i386/fpu/e_log10.S: Likewise.
49358         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49359         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49360         * sysdeps/i386/fpu/e_log2.S: Likewise.
49361         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49362         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49363         * sysdeps/i386/fpu/e_logf.S: Likewise.
49364         * sysdeps/i386/fpu/e_logl.S: Likewise.
49365         * sysdeps/i386/fpu/e_pow.S: Likewise.
49366         * sysdeps/i386/fpu/e_powf.S: Likewise.
49367         * sysdeps/i386/fpu/e_powl.S: Likewise.
49368         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49369         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49370         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49371         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49372         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49373         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49374         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49375         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49376         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49377         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49378         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49379         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49380         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49381         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49382         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49383         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49384         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49385         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49386         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49387         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49388         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49389         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49390         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49391         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49392         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49393         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49394         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49395         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49396         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49397         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49398         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49399         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49400         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49401         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49402         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49403         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49404         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49405         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49406         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49407         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49408         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49409         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49410         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49411         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49412         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49413         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49414         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49415         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49416         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49417         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49418         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49419         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49420         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49421         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49422         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49423         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49424         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49425         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49426         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49427         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49428         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49429         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49430         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49431         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49432         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49433         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49434         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49435         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49436         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49437         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49438         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49439         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49440         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49441         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49442         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49443         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49444         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49445         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49446         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49447         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49448         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49449         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49450         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49451         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49452         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49453         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49454         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49455         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49456         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49457         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49458         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49459         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49460         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49461         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49462         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49463         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49464         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49465         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49466         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49467         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49468         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49469         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49470         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49471         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49472         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49473         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49474         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49475         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49476         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49477         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49478         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49479         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49480         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49481         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49482         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49483         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49484         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49485         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49486         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49487         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49488         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49489         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49490         (__isnanf): Likewise.
49491         (__isinf_ns): Likewise.
49492         (__isinf_nsf): Likewise.
49493         (__finite): Likewise.
49494         (__finitef): Likewise.
49495         (__ieee754_sqrt): Define as macro.
49496         (__ieee754_sqrtf): Define as macro.
49497         (__ieee754_sqrtl): Define as macro.
49498         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49499         inlined copy.
49500         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49501         __FINITE_MATH_ONLY__ consistent.
49502         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49503
49504 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49505
49506         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49507         of rawmemchr.
49508
49509         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49510
49511 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49512
49513         * po/ja.po: Update from translation team.
49514
49515 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49516
49517         * locale/programs/locarchive.c (prepare_address_space): New function.
49518         (create_archive, enlarge_archive, open_archive): Use it.
49519
49520         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49521         inside [SHARED], where it is used.
49522
49523         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49524
49525         * nss/getent.c (netgroup_keys): Remove unused variable.
49526         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49527
49528 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49529
49530         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49531         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49532         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49533         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49534         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49535         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49536         * math/Makefile (libm-calls): Add s_isinf_ns.
49537         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49538         * math/multc3.c: Likewise.
49539         * math/s_casin.c: Likewise.
49540         * math/s_casinf.c: Likewise.
49541         * math/s_casinl.c: Likewise.
49542         * math/s_ccos.c: Likewise.
49543         * math/s_ccosf.c: Likewise.
49544         * math/s_ccosl.c: Likewise.
49545         * math/s_ctan.c: Likewise.
49546         * math/s_ctanf.c: Likewise.
49547         * math/s_ctanh.c: Likewise.
49548         * math/s_ctanhf.c: Likewise.
49549         * math/s_ctanhl.c: Likewise.
49550         * math/s_ctanl.c: Likewise.
49551         * math/w_fmod.c: Likewise.
49552         * math/w_fmodf.c: Likewise.
49553         * math/w_fmodl.c: Likewise.
49554         * math/w_remainder.c: Likewise.
49555         * math/w_remainderf.c: Likewise.
49556         * math/w_remainderl.c: Likewise.
49557         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49558         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49559         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49560         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49561         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49562         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49563         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49564         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49565
49566         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49567         of the number.
49568         * stdio-common/printf_fphex.c: Likewise.
49569         * stdio-common/printf_size.c: Likewise.
49570
49571         * math/e_exp10.c: Include math_private.h using <...> not "...".
49572         * math/e_exp10f.c: Likewise.
49573         * math/e_exp10l.c: Likewise.
49574         * math/e_exp2l.c: Likewise.
49575         * math/e_j0l.c: Likewise.
49576         * math/e_j1l.c: Likewise.
49577         * math/e_jnl.c: Likewise.
49578         * math/e_lgammal_r.c: Likewise.
49579         * math/e_rem_pio2l.c: Likewise.
49580         * math/e_scalb.c: Likewise.
49581         * math/e_scalbf.c: Likewise.
49582         * math/e_scalbl.c: Likewise.
49583         * math/k_cosl.c: Likewise.
49584         * math/k_sinl.c: Likewise.
49585         * math/k_tanl.c: Likewise.
49586         * math/s_cacoshf.c: Likewise.
49587         * math/s_catan.c: Likewise.
49588         * math/s_catanf.c: Likewise.
49589         * math/s_catanh.c: Likewise.
49590         * math/s_catanhf.c: Likewise.
49591         * math/s_catanhl.c: Likewise.
49592         * math/s_catanl.c: Likewise.
49593         * math/s_ccosh.c: Likewise.
49594         * math/s_ccoshf.c: Likewise.
49595         * math/s_ccoshl.c: Likewise.
49596         * math/s_cexp.c: Likewise.
49597         * math/s_cexpf.c: Likewise.
49598         * math/s_cexpl.c: Likewise.
49599         * math/s_clog.c: Likewise.
49600         * math/s_clog10.c: Likewise.
49601         * math/s_clog10f.c: Likewise.
49602         * math/s_clog10l.c: Likewise.
49603         * math/s_clogf.c: Likewise.
49604         * math/s_clogl.c: Likewise.
49605         * math/s_csin.c: Likewise.
49606         * math/s_csinf.c: Likewise.
49607         * math/s_csinh.c: Likewise.
49608         * math/s_csinhf.c: Likewise.
49609         * math/s_csinhl.c: Likewise.
49610         * math/s_csinl.c: Likewise.
49611         * math/s_csqrt.c: Likewise.
49612         * math/s_csqrtf.c: Likewise.
49613         * math/s_csqrtl.c: Likewise.
49614         * math/s_ctan.c: Likewise.
49615         * math/s_ctanf.c: Likewise.
49616         * math/s_ctanh.c: Likewise.
49617         * math/s_ctanhf.c: Likewise.
49618         * math/s_ctanhl.c: Likewise.
49619         * math/s_ctanl.c: Likewise.
49620         * math/s_ldexp.c: Likewise.
49621         * math/s_ldexpf.c: Likewise.
49622         * math/s_ldexpl.c: Likewise.
49623         * math/s_significand.c: Likewise.
49624         * math/s_significandf.c: Likewise.
49625         * math/s_significandl.c: Likewise.
49626         * math/w_acos.c: Likewise.
49627         * math/w_acosf.c: Likewise.
49628         * math/w_acosh.c: Likewise.
49629         * math/w_acoshf.c: Likewise.
49630         * math/w_acoshl.c: Likewise.
49631         * math/w_acosl.c: Likewise.
49632         * math/w_asin.c: Likewise.
49633         * math/w_asinf.c: Likewise.
49634         * math/w_asinl.c: Likewise.
49635         * math/w_atan2.c: Likewise.
49636         * math/w_atan2f.c: Likewise.
49637         * math/w_atan2l.c: Likewise.
49638         * math/w_atanh.c: Likewise.
49639         * math/w_atanhf.c: Likewise.
49640         * math/w_atanhl.c: Likewise.
49641         * math/w_cosh.c: Likewise.
49642         * math/w_coshf.c: Likewise.
49643         * math/w_coshl.c: Likewise.
49644         * math/w_dremf.c: Likewise.
49645         * math/w_exp10.c: Likewise.
49646         * math/w_exp10f.c: Likewise.
49647         * math/w_exp10l.c: Likewise.
49648         * math/w_exp2.c: Likewise.
49649         * math/w_exp2f.c: Likewise.
49650         * math/w_fmod.c: Likewise.
49651         * math/w_fmodf.c: Likewise.
49652         * math/w_fmodl.c: Likewise.
49653         * math/w_hypot.c: Likewise.
49654         * math/w_hypotf.c: Likewise.
49655         * math/w_hypotl.c: Likewise.
49656         * math/w_j0.c: Likewise.
49657         * math/w_j0f.c: Likewise.
49658         * math/w_j0l.c: Likewise.
49659         * math/w_j1.c: Likewise.
49660         * math/w_j1f.c: Likewise.
49661         * math/w_j1l.c: Likewise.
49662         * math/w_jn.c: Likewise.
49663         * math/w_jnf.c: Likewise.
49664         * math/w_jnl.c: Likewise.
49665         * math/w_lgamma.c: Likewise.
49666         * math/w_lgamma_r.c: Likewise.
49667         * math/w_lgammaf.c: Likewise.
49668         * math/w_lgammaf_r.c: Likewise.
49669         * math/w_lgammal.c: Likewise.
49670         * math/w_lgammal_r.c: Likewise.
49671         * math/w_log.c: Likewise.
49672         * math/w_log10.c: Likewise.
49673         * math/w_log10f.c: Likewise.
49674         * math/w_log10l.c: Likewise.
49675         * math/w_log2.c: Likewise.
49676         * math/w_log2f.c: Likewise.
49677         * math/w_log2l.c: Likewise.
49678         * math/w_logf.c: Likewise.
49679         * math/w_logl.c: Likewise.
49680         * math/w_pow.c: Likewise.
49681         * math/w_powf.c: Likewise.
49682         * math/w_powl.c: Likewise.
49683         * math/w_remainder.c: Likewise.
49684         * math/w_remainderf.c: Likewise.
49685         * math/w_remainderl.c: Likewise.
49686         * math/w_scalb.c: Likewise.
49687         * math/w_scalbf.c: Likewise.
49688         * math/w_scalbl.c: Likewise.
49689         * math/w_sinh.c: Likewise.
49690         * math/w_sinhf.c: Likewise.
49691         * math/w_sinhl.c: Likewise.
49692         * math/w_sqrt.c: Likewise.
49693         * math/w_sqrtf.c: Likewise.
49694         * math/w_sqrtl.c: Likewise.
49695         * math/w_tgamma.c: Likewise.
49696         * math/w_tgammaf.c: Likewise.
49697         * math/w_tgammal.c: Likewise.
49698
49699         * po/ja.po: Update from translation team.
49700
49701 2011-09-29  Andreas Jaeger  <aj@suse.de>
49702
49703         [BZ #13179]
49704         * sunrpc/netname.c (netname2host): Fix logic.
49705
49706         [BZ #6779]
49707         [BZ #6783]
49708         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49709         correctly.
49710         * math/w_remainder.c (__remainder): Likewise.
49711         * math/w_remainderf.c (__remainderf): Likewise.
49712         * math/libm-test.inc (remainder_test): Add test cases.
49713
49714 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49715
49716         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49717         sdiv_qrnnd.
49718
49719 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49720
49721         * string/test-memcmp.c: Avoid unncessary #defines.
49722         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49723
49724 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49725
49726         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49727         Use new sse2 version for core i3 - i7 as it's faster
49728         than sse42 version.
49729         (bit_Prefer_PMINUB_for_stringop): New.
49730         * sysdeps/x86_64/rawmemchr.S: Update.
49731         Replace with faster SSE2 version.
49732         * sysdeps/x86_64/memrchr.S: New file.
49733         * sysdeps/x86_64/memchr.S: Update.
49734         Replace with faster SSE2 version.
49735
49736 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49737
49738         * elf/dl-load.c (lose): Add cast to avoid warning.
49739
49740 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49741
49742         * po/ca.po: Update from translation team.
49743
49744         * inet/getnetgrent_r.c: Hook up nscd.
49745         * nscd/Makefile (routines): Add nscd_netgroup.
49746         (nscd-modules): Add netgroupcache.
49747         (CFLAGS-netgroupcache.c): Define.
49748         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49749         (cache_search): Add const to second parameter.
49750         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49751         INNETGR.
49752         (dbs): Add netgrdb entry.
49753         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49754         (verify_persistent_db): Handle netgrdb.
49755         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49756         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49757         GETFDNETGR.
49758         (netgroup_response_header): Define.
49759         (innetgroup_response_header): Define.
49760         (datahead): Add netgroup_response_header and innetgroup_response_header
49761         elements.
49762         * nscd/nscd.conf: Add entries for netgroup cache.
49763         * nscd/nscd.h (dbtype): Add netgrdb.
49764         (_PATH_NSCD_NETGROUP_DB): Define.
49765         (netgroup_iov_disabled): Declare.
49766         (xmalloc, xcalloc, xrealloc): Move declarations here.
49767         (cache_search): Adjust prototype.
49768         Add netgroup-related prototypes.
49769         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49770         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49771         (__nscd_innetgr): Declare.
49772         * nscd/selinux.c (perms): Use access_vector_t as element type and
49773         add netgroup-related initializers.
49774         * nscd/netgroupcache.c: New file.
49775         * nscd/nscd_netgroup.c: New file.
49776         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49777         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49778         For four parameters use innetgr.
49779         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49780         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49781         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49782         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49783
49784         * nscd/connections.c (register_traced_file): Don't register file
49785         for disabled databases.
49786
49787 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49788
49789         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49790
49791         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49792         from tree and freeing node.
49793
49794 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49795
49796         * nss/nsswitch.c (__nss_database_lookup): Handle
49797         nss_parse_service_list out of memory case.
49798
49799 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49800
49801         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49802         out of memory case.
49803
49804 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49805
49806         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49807         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49808         pass it down.
49809         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49810         elf_machine_rela, elf_machine_lazy_rel.
49811         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49812         (ELF_DYNAMIC_DO_REL): Likewise.
49813         (ELF_DYNAMIC_DO_RELA): Likewise.
49814         (ELF_DYNAMIC_RELOCATE): Likewise.
49815         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49816         to ELF_DYNAMIC_DO_REL.
49817         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49818         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49819         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49820         elf_machine_rela.
49821         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49822         skip_ifunc, don't call ifunc function if non-zero.
49823         (elf_machine_rela): Likewise.
49824         (elf_machine_lazy_rel): Likewise.
49825         (elf_machine_lazy_rela): Likewise.
49826         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49827         (elf_machine_lazy_rel): Likewise.
49828         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49829         Likewise.
49830         (elf_machine_lazy_rel): Likewise.
49831         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49832         Likewise.
49833         (elf_machine_lazy_rel): Likewise.
49834         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49835         (elf_machine_lazy_rel): Likewise.
49836         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49837         (elf_machine_lazy_rel): Likewise.
49838         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49839         (elf_machine_lazy_rel): Likewise.
49840         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49841         (elf_machine_lazy_rel): Likewise.
49842         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49843         (elf_machine_lazy_rel): Likewise.
49844         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49845         (elf_machine_lazy_rel): Likewise.
49846
49847 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49848
49849         * nss/nss_files/files-init.c (_nss_files_init): Use static
49850         initialization for all the *_traced_file variables.
49851
49852 2011-09-28  Andreas Schwab  <schwab@redhat.com>
49853
49854         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49855
49856 2011-09-27  Roland McGrath  <roland@hack.frob.com>
49857
49858         [BZ #13226]
49859         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49860
49861 2011-09-27  Andreas Schwab  <schwab@redhat.com>
49862
49863         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49864         Reread the line before reparsing it.
49865
49866 2011-09-26  Andreas Schwab  <schwab@redhat.com>
49867
49868         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49869
49870 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
49871             Maxim Kuvyrkov  <maxim@codesourcery.com>
49872             Joseph Myers  <joseph@codesourcery.com>
49873
49874         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49875         if needed for __stack_chk_guard.
49876
49877 2011-09-19  Roland McGrath  <roland@hack.frob.com>
49878
49879         * sysdeps/posix/spawni.c (script_execute): Always define it.
49880         It will be optimized away if unused.
49881         (maybe_script_execute): New function.
49882         (__spawni): Call it.
49883
49884         * Makerules: Don't include tls.make.
49885         (config-tls): Always set to thread.
49886         * tls.make.c: File removed.
49887
49888 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
49889
49890         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49891         * config.make.in (CPPFLAGS-config): New substituted variable.
49892
49893 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49894
49895         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49896
49897         [BZ #13192]
49898         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49899         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49900
49901 2011-09-15  Roland McGrath  <roland@hack.frob.com>
49902
49903         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49904         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49905         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49906         (CALL_FAIL): Likewise.
49907         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49908         (CALL_FAIL): Macro removed.
49909         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49910
49911 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49912
49913         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49914         for __FINITE_MATH_ONLY__ == 1.
49915
49916 2011-09-15  Andreas Schwab  <schwab@redhat.com>
49917
49918         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49919         __ieee754_sqrt instead of sqrt.
49920         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49921         __ieee754_sqrtf instead of sqrtf.
49922         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49923         __floorf instead of floorf.
49924         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49925         __floorf, __truncf instead of floorf, truncf.
49926
49927 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
49928
49929         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49930
49931         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49932         __extern_always_inline.
49933         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49934         32-bit.
49935
49936 2011-09-14  Andreas Schwab  <schwab@redhat.com>
49937
49938         * elf/rtld.c (dl_main): Also relocate in dependency order when
49939         doing symbol dependency testing.
49940
49941 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
49942
49943         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49944         Always define `refsym'.
49945
49946 2011-09-13  Andreas Schwab  <schwab@redhat.com>
49947
49948         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49949         (__FD_ELT): Renamed from __FDELT.
49950         * misc/bits/select2.h (__FD_ELT): Likewise.
49951         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49952         __FD_MASK instead of __FDELT, __FDMASK.
49953         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49954         Likewise.
49955         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49956         Likewise.
49957
49958         * elf/Makefile (gen-ldd): Fix pattern.
49959
49960         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49961         (init_tls): Likewise.
49962
49963 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
49964
49965         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49966
49967 2011-09-12  Andreas Schwab  <schwab@redhat.com>
49968
49969         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49970         `struct cmsghdr *' instead of `void *'.
49971         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49972         Likewise.
49973
49974 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
49975
49976         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49977         if non-absolute.
49978         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49979         ldd_rewrite_script.
49980
49981 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
49982
49983         * configure.in: Remove --with-tls option.
49984         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49985         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49986         out in case it is missing.
49987         * sysdeps/ia64/elf/configure.in: Likewise.
49988         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49989         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49990         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49991         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49992         * sysdeps/sh/elf/configure.in: Likewise.
49993         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49994         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49995         * sysdeps/x86_64/elf/configure.in: Likewise.
49996         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49997         * sysdeps/mach/hurd/tls.h: Likewise.
49998
49999         [BZ #13067]
50000         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50001
50002         [BZ #13090]
50003         * configure.in: Fix use of AC_INIT.
50004
50005         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50006
50007 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50008
50009         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50010         __set_errno.
50011         * malloc/hooks.c: Likewise.
50012
50013         [BZ #11929]
50014         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50015         variables statically.
50016         (narenas): Initialize.
50017         (list_lock): Initialize.
50018         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50019         initializtion of main_arena and list_lock.  Small cleanups.
50020         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50021         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50022         Add initializers to main_arena and mp_.
50023         (malloc_state): Remove pagesize member.  Change all users to use
50024         GLRO(dl_pagesize).
50025
50026         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50027         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50028         is always initialized.
50029
50030         * malloc/malloc.c: Removed unused configurations and dead code.
50031         * malloc/arena.c: Likewise.
50032         * malloc/hooks.c: Likewise.
50033         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50034
50035         * include/tls.h: Removed.  USE___THREAD must always be defined.
50036         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50037         * elf/dl-libc.c: Likewise.
50038         * elf/dl-tsd.c: Likewise.
50039         * include/errno.h: Likewise.
50040         * include/netdb.h: Likewise.
50041         * include/resolv.h: Likewise.
50042         * inet/herrno-loc.c: Likewise.
50043         * inet/herrno.c: Likewise.
50044         * malloc/arena.c: Likewise.
50045         * malloc/hooks.c: Likewise.
50046         * malloc/malloc.c: Likewise.
50047         * resolv/res-state.c: Likewise.
50048         * resolv/res_libc.c: Likewise.
50049         * sysdeps/i386/dl-machine.h: Likewise.
50050         * sysdeps/ia64/dl-machine.h: Likewise.
50051         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50052         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50053         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50054         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50055         * sysdeps/sh/dl-machine.h: Likewise.
50056         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50057         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50058         * sysdeps/unix/i386/sysdep.S: Likewise.
50059         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50060         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50061         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50062         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50063         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50064         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50065         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50066         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50067         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50068         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50069         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50070         * sysdeps/x86_64/dl-machine.h: Likewise.
50071         * tls.make.c: Likewise.
50072
50073         * configure.in: Remove --with-__thread option.  Make tests for
50074         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50075         tls_model attribute fail if no support is available.  Remove
50076         USE_IN_LIBIO.
50077         * Makeconfig: Adjust for dropped configure option.  All features are
50078         now mandatory.
50079         * Makerules: Likewise.
50080         * Versions.def: Likewise.
50081         * argp/argp-fmtstream.c: Likewise.
50082         * argp/argp-fmtstream.h: Likewise.
50083         * argp/argp-help.c: Likewise.
50084         * assert/assert.c: Likewise.
50085         * config.h.in: Likewise.
50086         * config.make.in: Likewise.
50087         * configure: Likewise.
50088         * configure.in: Likewise.
50089         * csu/Versions: Likewise.
50090         * csu/init.c: Likewise.
50091         * elf/tst-audit2.c: Likewise.
50092         * elf/tst-tls10.c: Likewise.
50093         * elf/tst-tls10.h: Likewise.
50094         * elf/tst-tls11.c: Likewise.
50095         * elf/tst-tls12.c: Likewise.
50096         * elf/tst-tls14.c: Likewise.
50097         * elf/tst-tlsmod11.c: Likewise.
50098         * elf/tst-tlsmod12.c: Likewise.
50099         * elf/tst-tlsmod13.c: Likewise.
50100         * elf/tst-tlsmod13a.c: Likewise.
50101         * elf/tst-tlsmod14a.c: Likewise.
50102         * elf/tst-tlsmod15b.c: Likewise.
50103         * elf/tst-tlsmod16a.c: Likewise.
50104         * elf/tst-tlsmod16b.c: Likewise.
50105         * elf/tst-tlsmod7.c: Likewise.
50106         * elf/tst-tlsmod8.c: Likewise.
50107         * elf/tst-tlsmod9.c: Likewise.
50108         * gmon/gmon.c: Likewise.
50109         * grp/fgetgrent_r.c: Likewise.
50110         * grp/putgrent.c: Likewise.
50111         * hurd/fopenport.c: Likewise.
50112         * include/libc-symbols.h: Likewise.
50113         * include/tls.h: Likewise.
50114         * intl/gettextP.h: Likewise.
50115         * intl/loadinfo.h: Likewise.
50116         * locale/global-locale.c: Likewise.
50117         * locale/localeinfo.h: Likewise.
50118         * mach/devstream.c: Likewise.
50119         * malloc/arena.c: Likewise.
50120         * malloc/set-freeres.c: Likewise.
50121         * misc/err.c: Likewise.
50122         * misc/getttyent.c: Likewise.
50123         * misc/mntent_r.c: Likewise.
50124         * posix/getopt.c: Likewise.
50125         * posix/wordexp.c: Likewise.
50126         * pwd/fgetpwent_r.c: Likewise.
50127         * resolv/Versions: Likewise.
50128         * resolv/res_hconf.c: Likewise.
50129         * shadow/fgetspent_r.c: Likewise.
50130         * shadow/putspent.c: Likewise.
50131         * stdio-common/printf_fphex.c: Likewise.
50132         * stdio-common/tmpfile.c: Likewise.
50133         * stdlib/abort.c: Likewise.
50134         * stdlib/fmtmsg.c: Likewise.
50135         * sunrpc/auth_unix.c: Likewise.
50136         * sunrpc/clnt_perr.c: Likewise.
50137         * sunrpc/clnt_tcp.c: Likewise.
50138         * sunrpc/clnt_udp.c: Likewise.
50139         * sunrpc/clnt_unix.c: Likewise.
50140         * sunrpc/openchild.c: Likewise.
50141         * sunrpc/svc_simple.c: Likewise.
50142         * sunrpc/svc_tcp.c: Likewise.
50143         * sunrpc/svc_udp.c: Likewise.
50144         * sunrpc/svc_unix.c: Likewise.
50145         * sunrpc/xdr.c: Likewise.
50146         * sunrpc/xdr_array.c: Likewise.
50147         * sunrpc/xdr_rec.c: Likewise.
50148         * sunrpc/xdr_ref.c: Likewise.
50149         * sunrpc/xdr_stdio.c: Likewise.
50150
50151 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50152
50153         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50154
50155 2011-07-03  Andreas Jaeger  <aj@suse.de>
50156
50157         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50158         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50159         regenerate with gen-libm-tests.pl.
50160
50161 2010-05-12  Petr Baudis  <pasky@suse.cz>
50162
50163         [BZ #11589]
50164         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50165         around j0() zero points by switching to j1().
50166         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50167         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50168         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50169         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50170
50171 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50172
50173         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50174         instead of 0.
50175         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50176         instead of 0.
50177         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50178         Patch in part by Pavel Roskin <proski@gnu.org>.
50179
50180         [BZ #13138]
50181         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50182         realloc.
50183         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50184         Free memory block if necessary.
50185
50186         [BZ #12847]
50187         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50188         be NULL.  Don't lock in this case.
50189
50190 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50191
50192         * elf/elf.h (ELFOSABI_GNU): New macro.
50193         (ELFOSABI_LINUX): Define to that.
50194
50195 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50196
50197         * string/strncat.c (strncat): Undef the symbol in case it has been
50198         defined in bits/string.h.
50199
50200 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50201
50202         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50203
50204         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50205         link map.
50206
50207 2011-08-17  Andreas Jaeger  <aj@suse.de>
50208
50209         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50210
50211 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50212             Ian Lance Taylor  <iant@google.com>
50213
50214         * math/libm-test.inc (lround_test): New testcase.
50215         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50216
50217 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50218
50219         * Makefile: Remove support for automatic cvs check-ins.
50220         * Makerules: Likewise.
50221         * config.make.in: Likewise.
50222         * configure.in: Likewise.
50223         * intl/Makefile: Likewise.
50224         * locale/Makefile: Likewise.
50225         * po/Makefile: Likewise.
50226         * posix/Makefile: Likewise.
50227         * sysdeps/gnu/Makefile: Likewise.
50228         * sysdeps/mach/hurd/Makefile: Likewise.
50229         * sysdeps/sparc/sparc32/Makefile: Likewise.
50230
50231         [BZ #13118]
50232         * posix/Makefile (bug-regex32-ENV): Define.
50233         Patch by John Stanley <jpsinthemix@verizon.net>.
50234
50235         * misc/Makefile (headers): Add bits/select2.h.
50236         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50237         * misc/bits/select2.h: New file.
50238         * include/bits/select2.h: New file.
50239         * debug/Makefile (routines): Add fdelt_chk.
50240         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50241         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50242         FD_ISSET.
50243         * debug/fdelt_chk.c: New file.
50244
50245         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50246         * wcsmbs/test-wmemcmp.c: Likewise.
50247         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50248         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50249
50250 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50251
50252         * string/Makefile (strop-tests): Add memcmp.
50253         * string/test-wmemcmp.c: New file.
50254         * string/test-memcmp.c: Add wmemcmp support.
50255
50256 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50257
50258         [BZ #13153]
50259         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50260         2011-07-19 change.
50261
50262         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50263         garbage value in a __mach_port_mod_refs call in the cases of the
50264         task-self and thread-self ports.
50265
50266 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50267
50268         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50269
50270 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50271
50272         * elf/dl-load.c (lose): Check for non-null L.
50273
50274 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50275
50276         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50277
50278         * elf/dl-libc.c (dlerror_run): Pass back error code from
50279         dl_catch_error.
50280
50281         [BZ #13123]
50282         * elf/dl-load.c (lose): Free l_origin if it is valid.
50283
50284         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50285         names.
50286         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50287         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50288         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50289         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50290         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50291         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50292
50293 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50294
50295         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50296         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50297         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50298         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50299         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50300         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50301         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50302         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50303         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50304         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50305
50306 2011-08-15  Alan Modra  <amodra@gmail.com>
50307
50308         [BZ #13092]
50309         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50310         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50311         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50312         ppc_mcount to static-only-routines.
50313         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50314         __mcount_internal.
50315         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50316         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50317
50318 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50319
50320         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50321         for finite and infinity parameters.
50322
50323 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50324
50325         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50326         and add nop instructions for throughput optimization.
50327         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50328
50329 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50330
50331         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50332         aligned copy for power7 with vector-scalar instructions.
50333         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50334
50335 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50336
50337         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50338         AVX check.
50339
50340 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50341
50342         [BZ #13144]
50343         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50344         last change.
50345
50346 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50347
50348         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50349         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50350         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50351         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50352         clock_gettime.
50353
50354 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50355
50356         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50357         Forgot to demangle the pointer.
50358
50359         * sysdeps/i386/sysdep.h: Define atom_text_section.
50360         * sysdeps/x86_64/sysdep.h: Likewise.
50361         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50362         section with atom_text_section.
50363         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50364         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50365         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50366         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50367         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50368
50369         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50370         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50371         already be defined.  Change to take two parameters and don't assign
50372         result to variable.  Adjust all users.
50373         Define INTERNAL_GETTIME if not already defined.
50374         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50375         call.
50376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50377         HAVE_CLOCK_GETTIME_VSYSCALL.
50378         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50379
50380         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50381         gettimeofday vsyscall, just use time.
50382
50383 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50384
50385         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50386         <errno.h>.
50387
50388 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50389
50390         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50391         syscall on x86-64.
50392         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50393         syscall.
50394         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50395         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50396         syscall if possible.
50397
50398 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50399
50400         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50401         e_ident.  Don't pass to find_mapsXX.
50402         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50403
50404 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50405
50406         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50407         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50408         * sysdeps/x86_64/multiarch/strchr.S: Update.
50409         Check bit_slow_BSF bit.
50410         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50411         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50412         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50413
50414 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50415
50416         [BZ #13134]
50417         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50418         before glibc 2.15.
50419         (tryshell): Define.
50420         (__spawni): Change last parameter to be flag.  Test
50421         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50422         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50423         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50424         * posix/spawni.c: Likewise.
50425         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50426         * posix/spawnp.c: Likewise.  Change normal version to use
50427         SPAWN_XFLAGS_USE_PATH.
50428         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50429         SPAWN_XFLAGS_TRY_SHELL.
50430
50431         [BZ #13150]
50432         * posix/glob.h: Remove gcc 1.x support.
50433
50434         [BZ #13068]
50435         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50436
50437 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50438
50439         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50440         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50441         strrchr-sse2-bsf
50442         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50443         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50444         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50445         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50446         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50447         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50448
50449 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50450
50451         * sysdeps/x86_64/wcscmp.S: New file.
50452
50453         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50454         wcscmp-c wcscmp-sse2
50455         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50456         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50457         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50458         * wcsmbs/wcscmp.c: Allow renaming.
50459
50460 2011-09-05  David S. Miller  <davem@davemloft.net>
50461
50462         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50463         stack slot, rather than the struct return pointer slot.
50464         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50465         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50467         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50468
50469 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50470
50471         * po/ja.po: Update from translation team.
50472
50473         [BZ #13144]
50474         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50475         kernel in 64-bit binaries.
50476
50477 2011-09-01  David S. Miller  <davem@davemloft.net>
50478
50479         * elf/elf.h (HWCAP_SPARC_*): Move to..
50480         * sysdeps/sparc/sysdep.h: this new file and add new values.
50481         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50482         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50483         _DL_HWCAP_COUNT to 24.
50484         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50485         entries.
50486         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50487         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50488         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50489         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50490         instead of magic constants.
50491         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50492
50493 2011-08-31  David S. Miller  <davem@davemloft.net>
50494
50495         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50496         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50497         Reimplement to do errno handling inline.
50498         (SYSCALL_ERROR_HANDLER): New macro.
50499         (__SYSCALL_STRING): Do not do errno handling in asm.
50500         (__CLONE_SYSCALL_STRING): Delete.
50501         (__INTERNAL_SYSCALL_STRING): Delete.
50502         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50503         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50504         (PSEUDO): Reimplement to do errno handling inline.
50505         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50506         (SYSCALL_ERROR_HANDLER): New macro.
50507         (__SYSCALL_STRING): Do not do errno handling in asm.
50508         (__CLONE_SYSCALL_STRING): Delete.
50509         (__INTERNAL_SYSCALL_STRING): Delete.
50510         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50511         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50512         i386.
50513         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50514         (inline_syscall*): Add 'err' argument.
50515         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50516         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50517         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50518         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50519
50520         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50521         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50522
50523 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50524
50525         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50526
50527 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50528
50529         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50530         directive.
50531
50532 2011-08-24  David S. Miller  <davem@davemloft.net>
50533
50534         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50535
50536 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50537
50538         * elf/Makefile: Add rules to build and run unload8 test.
50539         * elf/unload8.c: New file.
50540         * elf/unload8mod1.c: New file.
50541         * elf/unload8mod1x.c: New file.
50542         * elf/unload8mod2.c: New file.
50543         * elf/unload8mod3.c: New file.
50544
50545         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50546         it wasn't used.
50547
50548 2011-08-23  David S. Miller  <davem@davemloft.net>
50549
50550         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50551         subtract stack bias.
50552         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50553         %sp not %fp in calculations.
50554         (_JMPBUF_UNWINDS_ADJ): Likewise.
50555
50556         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50557         (aio_suspend): Call it to force an exception region around the
50558         AIO_MISC_WAIT() invocation.
50559
50560 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50561
50562         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50563         backslash.
50564
50565 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50566
50567         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50568         protection macro.
50569         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50570         and <dl-machine.h>.
50571         (Elf64_FuncDesc): Remove.
50572
50573 2011-08-22  David S. Miller  <davem@davemloft.net>
50574
50575         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50576         sigaltstack check, add missing cfi directives.
50577         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50578         missing cfi directives, and sigaltstack handling.
50579
50580 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50581
50582         [BZ #11724]
50583         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50584         object is seen twice.
50585         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50586
50587         * elf/Makefile (distribute): Add tst-initorder2.c.
50588         (tests): Add tst-initorder2.
50589         (modules-names): Add tst-initorder2a tst-initorder2b
50590         tst-initorder2c tst-initorder2d.  Add rules to build them.
50591         ($(objpfx)tst-initorder2.out): New rule.
50592         * elf/tst-initorder2.c: New file.
50593         * elf/tst-initorder2.exp: New file.
50594
50595 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50596
50597         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50598
50599         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50600         dependencies back to end of function.
50601
50602         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50603         $(elfobjdir)/ld.so.
50604
50605 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50606
50607         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50608         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50609         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50610         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50611         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50612         of __vdso_gettimeofday.
50613         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50614         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50615         attribute_hidden.
50616         (_libc_vdso_platform_setup): Remove initialization of
50617         __vdso_gettimeofday and __vdso_time.
50618
50619 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50620
50621         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50622         and fgetc_unlocked.
50623         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50624         getc_unlocked.
50625
50626         * elf/dl-open.c (add_to_global): Report additions to the global scope
50627         for LD_DEBUG=scopes.
50628         (dl_open_worker): Also print scope of newly loaded dependencies.
50629         (_dl_show_scope): Indicate if there is no scope.
50630
50631         [BZ #13114]
50632         * stdio-common/Makefile (tests): Add bug24.
50633         * stdio-common/bug24.c: New file.
50634
50635 2011-08-19  Andreas Jaeger  <aj@suse.de>
50636
50637         [BZ #13114]
50638         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50639         non-existant file when using close-on-exec mode.
50640
50641 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50642
50643         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50644         the very first instruction.
50645
50646         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50647         the CFI state in the end.
50648         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50649         inclusion of dl-trampoline.h.
50650         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50651
50652 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50653
50654         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50655         expectations for long double.
50656
50657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50658         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50659
50660 2011-08-14  David S. Miller  <davem@davemloft.net>
50661
50662         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50663         artificual limit depends upon the system page size.
50664
50665 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50666
50667         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50668         * resolv/Makefile: Define CFLAGS-libresolv.
50669
50670 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50671
50672         * nss/makedb.c (compute_tables): Make variables used in nested
50673         function static.
50674
50675 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50676
50677         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50678         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50679         if buffer was too small.
50680
50681         * elf/pldd.c (main): Attach to all threads in the process.
50682         Rewrite /proc handling to use *at functions.
50683
50684 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50685
50686         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50687         specifies first scope to show.
50688         (dl_open_worker): Update callers.  Move printing scope of new
50689         object to before the relocation.
50690         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50691         * sysdeps/generic/ldsodefs.h: Update declaration.
50692
50693         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50694         string for the scope number.
50695
50696 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50697
50698         * nscd/servicescache.c (cache_addserv): Make sure written is always
50699         initialized.
50700
50701 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50702
50703         * sysdeps/i386/i486/bits/atomic.h
50704         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50705         statement expression, so as to suppress "set but not used" warning.
50706         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50707
50708         * string/strncat.c (STRNCAT): Use prototype definition.
50709
50710         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50711         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50712         -Iprograms here.
50713         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50714         (localedef-modules): Add localedef.
50715         (locale-modules): Add locale.
50716
50717         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50718         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50719         to avoid a warning.
50720
50721 2011-08-14  David S. Miller  <davem@davemloft.net>
50722
50723         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50724         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50725
50726 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50727
50728         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50729         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50730         * elf/rtld.c (dl_main): Set l_name of vDSO.
50731         Call _dl_show_scope when DL_DEBUG_SCOPES.
50732         (process_dl_debug): Recognize scopes flag and also set it for all.
50733         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50734         Declare _dl_show_scope.
50735
50736         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50737         (do_dlopen): Pass caller_dlopen to dl_open.
50738         (__libc_dlopen_mode): Initialize caller_dlopen.
50739
50740         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50741         of libc.  Make tolower call locale-independent.  Optimize a bit by
50742         using isdigit instead of isalnum.
50743         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50744
50745 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50746
50747         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50748         was a dependency or dynamically loaded.
50749
50750 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50751
50752         * intl/l10nflist.c: Allow architecture-specific pop function.
50753         * sysdeps/x86_64/l10nflist.c: New file.
50754
50755         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50756         classification.
50757
50758 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50759
50760         * include/dirent.h: Add libc_hidden_proto for scandirat and
50761         scandirat64.  Don't declare __scandirat64.
50762         * dirent/scandirat.c: Add libc_hidden_def.
50763         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50764         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50765
50766 2011-08-10  David S. Miller  <davem@davemloft.net>
50767
50768         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50769         enum.
50770         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50771         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50772         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50773
50774 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50775
50776         * Versions.def [libc]: Add GLIBC_2.15.
50777         * dirent/Makefile (routines): Add scandirat and scandirat64.
50778         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50779         GLIBC_2.15.
50780         * dirent/dirent.h: Declare scandirat and scandirat64.
50781         * dirent/scandirat.c: New file.
50782         * dirent/scandirat64.c: New file.
50783         * sysdeps/wordsize-64/scandirat.c: New file.
50784         * sysdeps/wordsize-64/scandirat64.c: New file.
50785         * dirent/opendir.c: Define opendirat.
50786         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50787         using scandirat.
50788         * dirent/scandir64.c: Adjust for scandir.c change.
50789         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50790         __scandirat64, and __scandir_cancel_handler.
50791         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50792         additional parameter and use openat instead of open (outside of ld.so).
50793         Add new __opendir as wrapper around __opendirat.
50794         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50795         here without requiring old scandirat implementation.
50796
50797 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50798
50799         * dirent/scandir.c (cancel_handler): Renamed to
50800         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50801         defined.  Adjust users.
50802         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50803         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50804
50805 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50806
50807         * string/test-string.h (IMPL): Use __STRING to expand name and then
50808         stringify it.
50809
50810         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50811         of cleanups.
50812
50813 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50814
50815         * string/Makefile: Update.
50816         (strop-tests): Append strncat.
50817         * string/test-wcscmp.c: New file.
50818         New comprehensive test for wcscmp.
50819         * string/test-strcmp.c: Update.
50820         (WIDE): New define.
50821
50822 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50823
50824         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50825         line.
50826
50827 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50828
50829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50830         encoding to ACE if AI_IDN.
50831
50832 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50833
50834         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50835         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50836
50837 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50838
50839         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50840         Fix overflow bug in strncat.
50841         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50842
50843         * string/test-strncat.c: Update.
50844         Add new tests for checking overflow bugs.
50845
50846 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50847
50848         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50849         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50850         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50851         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50852         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50853         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50854         * sysdeps/i386/i686/multiarch/strncat.S: New file.
50855         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50856         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50857
50858         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50859         (USE_AS_STRCAT): Define.
50860         Add strcat and strncat support.
50861         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50862
50863 2011-07-25  Andreas Schwab  <schwab@redhat.com>
50864
50865         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50866         __n bigger than INT_MAX+1.
50867         (__strncmp_g): Likewise.
50868
50869 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
50870
50871         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50872         * libio/stido.h: Likewise.
50873
50874         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50875         (AF_NFC): Define.
50876         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50877         (AF_NFC): Define.
50878
50879         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50880         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50881         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50882         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50883         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50884
50885         [BZ #13021]
50886         * scripts/test-installation.pl: Don't expect libnss_test1 to be
50887         installed.
50888
50889         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50890         typo.
50891         (_dl_x86_64_save_sse): Likewise.
50892
50893 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
50894
50895         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50896         OSXSAVE.
50897         (_dl_x86_64_save_sse): Likewise.
50898
50899         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50900
50901         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50902
50903 2011-07-21  Andreas Schwab  <schwab@redhat.com>
50904
50905         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50906         change.
50907         (_dl_x86_64_save_sse): Use correct AVX check.
50908
50909 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50910
50911         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50912         bug in strncpy/strncat.
50913         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50914
50915 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
50916
50917         * string/tester.c (test_strcat): Add tests for different alignments
50918         of source and destination.
50919         (test_strncat): Likewise.
50920
50921 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50922
50923         [BZ #12852]
50924         * posix/glob.c (glob): Check passed in values before using them in
50925         expressions to avoid some overflows.
50926         (glob_in_dir): Likewise.
50927
50928         [BZ #13007]
50929         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50930         check for AVX enablement so that we don't crash with old kernels and
50931         new hardware.
50932         * elf/tst-audit4.c: Add same checks here.
50933         * elf/tst-audit6.c: Likewise.
50934
50935         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50936
50937 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
50938
50939         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50940
50941 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50942
50943         * po/cs.po: Update from translation team.
50944         * po/bg.po: Likewise.
50945
50946 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
50947
50948         * misc/sys/cdefs.h: Add support for const attribute.
50949         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50950         to gnu_dev_{major,minor,makedev} functions.
50951
50952 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
50953
50954         * intl/dcigettext.c (get_output_charset): Add missing bracket.
50955
50956 2011-07-20  Andreas Schwab  <schwab@redhat.com>
50957
50958         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50959         strlen results.
50960
50961 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50962
50963         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50964         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50965         register in order to avoid conflicts with the soft frame pointer
50966         being held in r11 when necessary.
50967         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50968         (INTERNAL_VSYSCALL_NCS): Likewise.
50969
50970 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
50971
50972         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50973         * elf/dl-fini.c (_dl_fini): Adjust caller.
50974         * elf/dl-close.c (_dl_close_worker): Likewise.
50975         * sysdeps/generic/ldsodefs.h: Adjust declaration.
50976
50977 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50978
50979         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50980         "aux_cache->nlibs < 0".
50981
50982         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50983         in the reload-count case.
50984
50985 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50986
50987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50988         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50989         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50990         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50991         * sysdeps/x86_64/multiarch/strcat.S: New file.
50992         * sysdeps/x86_64/multiarch/strncat.S: New file.
50993         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50994         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50995         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50996         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50997         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50998         (USE_AS_STRCAT): Define.
50999         Add strcat and strncat support.
51000         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51001         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51002         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51003         * string/strncat.c: Update.
51004         (USE_AS_STRNCAT): Define.
51005         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51006         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51007         and i7.
51008         * sysdeps/x86_64/multiarch/init-arch.h
51009         (bit_Prefer_PMINUB_for_stringop): New.
51010         (index_Prefer_PMINUB_for_stringop): Likewise.
51011         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51012         bit_Prefer_PMINUB_for_stringop.
51013
51014 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51015
51016         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51017         buffer64.
51018         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51019         of casting of buffer.
51020         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51021         buffer32 and buffer64.
51022         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51023         writes instead of casting of buffer.
51024         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51025         buffer32.
51026         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51027         casting of buffer.
51028
51029 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51030
51031         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51032
51033 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51034
51035         * nscd/nscd.c (termination_handler): Don't do anything for a database
51036         if it has not yet been initialized.
51037
51038 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51039
51040         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51041
51042 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51043
51044         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51045
51046 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51047
51048         * po/nl.po: Update from translation team.
51049         * po/sv.po: Likewise.
51050
51051 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51052
51053         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51054         now disallowed by GCC.
51055
51056         * configure.in (use-default-link): Default to yes if a test -shared
51057         link meets our qualifications.
51058         * configure: Regenerated.
51059
51060         * config.make.in (output-format): New variable.
51061         * configure.in: Check for ld --print-output-format support.
51062         * configure: Regenerated.
51063         * Makerules ($(common-objpfx)format.lds)
51064         [$(output-format) != unknown]: Just use $(output-format),
51065         instead of the linker-script munging.
51066
51067 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51068
51069         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51070         of $(common-objpfx)shlib.lds.
51071         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51072
51073         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51074         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51075
51076         * configure.in (-z relro check): Adjust test code to add a large
51077         writable data section after it.
51078         * configure: Regenerated.
51079
51080 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51081
51082         * configure.in (-z relro check): Fix test code to make the variable
51083         truly const.
51084         * configure: Regenerated.
51085
51086 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51087
51088         * nscd/nscd.h (struct traced_file): Define.
51089         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51090         elements.  Add traced_files.
51091         (inotify_fd): Declare.
51092         (register_traced_file): Declare.
51093         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51094         (inotify_fd): Export.
51095         (resolv_conf_descr): Remove.
51096         (nscd_init): Move inotify descriptor creation to main.
51097         Don't register files for notification here.
51098         (register_traced_file): New function.
51099         (invalidate_cache): Don't use reset_res to determine whether to call
51100         res_init, go through the list of registered files.
51101         (main_loop_poll): The inotify descriptors are now stored in the
51102         structures for the traced files.
51103         (main_loop_epoll): Likewise
51104         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51105         to __nss_disable_nscd.
51106         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51107         for a database anymore.  Check the records for all the registered
51108         files instead.
51109         * nss/Makefile (libnss_files-routines): Add files-init.
51110         (libnss_db-routines): Add db-init.
51111         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51112         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51113         * nss/nss_db/db-init.c: New file.
51114         * nss/nss_files/files-init.c: New file.
51115         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51116         __nss_lookup_function.
51117         (__nss_lookup_function): Call nss_load_library.
51118         (nss_load_all_libraries): New function.
51119         (__nss_disable_nscd): Take parameter with callback function for files
51120         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51121         used for the cached services.
51122         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51123         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51124         options for features to all the files in nscd.
51125
51126         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51127
51128 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51129
51130         * csu/elf-init.c (__libc_csu_init): Comment typo.
51131
51132 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51133
51134         * po/pl.po: Update from translation team.
51135         * po/ja.po: Likewise.
51136         * po/ru.po: Likewise.
51137         * po/ko.po: Likewise.
51138         * po/fr.po: Likewise.
51139
51140 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51141
51142         * configure.in (.ctors/.dtors header and trailer check):
51143         Use an empirical test on a built program.
51144         * configure: Regenerated.
51145
51146         * configure.in (-z relro check): Use an empirical test on a built DSO.
51147         Detect, but do not require, on ia64.
51148         * configure: Regenerated.
51149
51150         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51151         Update tests that use readelf to use $READELF instead.
51152         * configure: Regenerated.
51153
51154 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51155
51156         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51157         if the result is not used.
51158
51159 2011-07-05  Andreas Jaeger  <aj@suse.de>
51160
51161         [BZ#9696]
51162         * stdlib/tst-strtod.c: Add testcase.
51163
51164 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51165
51166         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51167         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51168         The latter has a higher limit.  Take additional parameter to pass to
51169         the new function.
51170         (__pathconf): Pass file to __statfs_link_max.
51171         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51172         __statfs_link_max.
51173         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51174         __statfs_link_max.
51175
51176         [BZ #12868]
51177         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51178         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51179         Handle Lustre.
51180         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51181         (__statfs_filesize_max): Likewise.
51182         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51183
51184 2011-07-05  Andreas Jaeger  <aj@suse.de>
51185
51186         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51187
51188 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51189
51190         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51191         `status' variable.
51192         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51193         Likewise.
51194
51195 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51196
51197         * Makefile (strop-tests): Add strncat.
51198         * string/test-strncat.c: New file.
51199
51200 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51201
51202         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51203
51204 2011-06-21  Andreas Jaeger  <aj@suse.de>
51205
51206         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51207         Copy rule from iconvdata/Makefile.
51208
51209 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51210
51211         [BZ #12922]
51212         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51213         but no long options are defined, just return 'W'.
51214
51215 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51216
51217         [BZ #9696]
51218         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51219
51220 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51221
51222         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51223         netgroups to read.
51224         (innetgr): Likewise.
51225
51226 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51227
51228         * config.make.in (install_root): Default to $(DESTDIR).
51229
51230 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51231
51232         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51233
51234 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51235
51236         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51237
51238         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51239         containing directory rather than embedding absolute directory names.
51240
51241         * scripts/check-local-headers.sh: Rewritten using awk.
51242         Match by word, not by line.  Print error messages for matches.
51243         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51244
51245         * Makerules [shlib-lds-flags empty]:
51246         ($(common-objpfx)libc_pic.opts): New target.
51247         ($(common-objpfx)libc_pic.os.clean): New target.
51248         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51249
51250         * config.make.in (OBJCOPY): New variable.
51251         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51252         * configure: Regenerated.
51253
51254         * config.make.in (use-default-link): New variable.
51255         * configure.in (use_default_link): Grok --with-default-link to set it.
51256         * configure: Regenerated.
51257         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51258         (shlib-lds, shlib-lds-flags): Define to empty.
51259
51260         * Makerules (shlib-lds): New variable.
51261         (shlib-lds-flags): New variable.
51262         (build-shlib, build-moduile, build-module-asneeded): Use it.
51263         ($(common-objpfx)libc.so): Use $(shlib-lds).
51264         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51265         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51266
51267         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51268         DT_FLAGS/DT_FLAGS_1 with zero flags.
51269
51270         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51271         linker script munging.
51272
51273 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51274
51275         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51276         as 128-bit value.
51277         * crypt/sha512.c (sha512_process_block): Perform total addition using
51278         128-bit if possible.
51279         (__sha512_finish_ctx): Likewise.
51280         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51281         as 64-bit value.
51282         * crypt/sha256.c (SWAP64): Define.
51283         (sha256_process_block): Perform total addition using 64-bit if
51284         possible.
51285         (__sha256_finish_ctx): Likewise.
51286
51287 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51288
51289         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51290         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51291         * nscd/hstcache.c (cache_addhst): Likewise.
51292         * nscd/grpcache.c (cache_addgr): Likewise.
51293         * nscd/aicache.c (addhstaiX): Likewise
51294         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51295
51296 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51297
51298         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51299         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51300         * nscd/hstcache.c (cache_addhst): Likewise.
51301         * nscd/grpcache.c (cache_addgr): Likewise.
51302         * nscd/aicache.c (addhstaiX): Likewise
51303
51304 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51305
51306         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51307         domain only when needed.
51308
51309 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51310
51311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51312         is always restored.
51313
51314 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51315
51316         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51317         are re-adding the entry.
51318         * nscd/servicescache.c (cache_addserv): Likewise.
51319
51320 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51321
51322         * sysdeps/generic/dl-irel.h: fix protection against multiple
51323         inclusions.
51324         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51325
51326 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51327
51328         [BZ #12935]
51329         * malloc/memusage.sh: Fix quoting in message.
51330         * debug/xtrace.sh: Likewise.
51331
51332         * configure.in: Remove support for --experimental-malloc option, make
51333         it the default.
51334         * config.make.in: Likewise.
51335         * malloc/Makefile: Likewise.
51336
51337 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51338
51339         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51340         two-byte characters.
51341
51342 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51343
51344         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51345         AC_CACHE_CHECK invocation.
51346         * configure: Regenerated.
51347
51348         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51349
51350 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51351
51352         [BZ #12350]
51353         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51354         bit from old_res_options.
51355
51356         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51357
51358         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51359         value type for setfct.
51360
51361 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51362
51363         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51364         __gettimeofday instead of gettimeofday.
51365
51366 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51367
51368         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51369
51370 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51371
51372         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51373
51374         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51375         info.
51376
51377 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51378
51379         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51380         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51381         strcpy-sse2-unaligned strncpy-sse2-unaligned
51382         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51383         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51384         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51385         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51386         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51387         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51388         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51389         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51390         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51391         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51392         (STRCPY): Support SSE2 and SSSE3 versions.
51393
51394 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51395
51396         [BZ #12874]
51397         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51398         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51399         kernels which artificially limit size of requests.
51400
51401 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51402
51403         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51404         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51405         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51406         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51407         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51408         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51409         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51410         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51411         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51412         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51413         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51414         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51415         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51416         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51417         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51419         Enable unaligned load optimization for Intel Core i3, i5 and i7
51420         processors.
51421         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51422         Define.
51423         (index_Fast_Unaligned_Load): Define.
51424         (HAS_FAST_UNALIGNED_LOAD): Define.
51425
51426 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51427
51428         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51429
51430 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51431
51432         [BZ #12907]
51433         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51434         until it is clear that the information is realy needed.
51435         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51436
51437 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51438
51439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51440
51441 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51442
51443         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51444         /sys/devices/system/cpu/online if it is usable.
51445
51446         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51447         reading the information from the /proc filesystem to once a second.
51448
51449 2011-06-21  Andreas Jaeger  <aj@suse.de>
51450
51451         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51452         NULL after inclusion of kernel headers.
51453
51454 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51455
51456         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51457         calls to internal_setent.
51458
51459         [BZ #12885]
51460         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51461         addresses using gethostbyname4_r ignore IPv4 addresses.
51462
51463         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51464         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51465
51466         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51467
51468 2011-06-20  David S. Miller  <davem@davemloft.net>
51469
51470         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51471         inclusions.
51472         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51473
51474         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51475         (elf_irel): Use it.
51476         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51477         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51478         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51479         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51480         * sysdeps/x86_64/dl-irel.h: Likewise.
51481
51482         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51483         * elf/dl-sym.c: Likewise.
51484
51485 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51486
51487         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51488         need to dereference resplen2.
51489
51490 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51491
51492         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51493
51494 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51495
51496         * Makeconfig: Define vardbdir and inst_vardbdir.
51497         * nss/Makefile: Add rules to install db-Makefile.
51498
51499         * nss/nss_db/db-XXX.c: Cleanup.
51500
51501         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51502         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51503         GLIBC_PRIVATE.
51504         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51505         * nss/makedb.c: Implement -g option to specify that value strings
51506         are generated and should not be added to table iterated over for
51507         get*ent calls.
51508         * nss/nss_db/db-initgroups.c: New file.
51509
51510         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51511         interface.
51512
51513         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51514         (internal_getgrouplist): Adjust to name change.
51515         Update use_initgroups_entry if this is not the first call.
51516         * nss/databases.def: Add initgroups entry.
51517
51518         * nss/makedb.c (compute_tables): Check result of multiple hash table
51519         sizes to minimize maximum chain length.
51520
51521 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51522
51523         * Versions.def: Add entry for libnss_db.
51524         * shlib-versions: Likewise.
51525         * nss/Makefile: Add rules to build libnss_db.
51526         * nss/Versions: Add libnss_db information.  Organize libnss_files
51527         entries better.
51528         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51529         makedb progra.  Some minor improvements to generate smaller files.
51530         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51531         here from...
51532         * nss/makedb.c: ...here.
51533         Improve database format to be smaller and require less memory at
51534         runtime.
51535         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51536         db anymore.
51537         * nss/nss_db/db-netgrp.c: Likewise.
51538         * nss/nss_db/db-open.c: Likewise.
51539         * nss/nss_files/flies-XXX.x: Adjust comments.
51540         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51541         * nss/nss_files/files-grp.c: Likewise.
51542         * nss/nss_files/files-hosts.c: Likewise.
51543         * nss/nss_files/files-network.c: Likewise.
51544         * nss/nss_files/files-proto.c: Likewise.
51545         * nss/nss_files/files-pwd.c: Likewise.
51546         * nss/nss_files/files-rpc.c: Likewise.
51547         * nss/nss_files/files-service.c: Likewise.
51548         * nss/nss_files/files-sgrp.c: Likewise.
51549         * nss/nss_files/files-spwd.c: Likewise.
51550         * nss/nss_db/db-alias.c: Removed.
51551         * nss/nss_db/dummy-db.h: Removed.
51552
51553 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51554
51555         * nss/makedb.c: Rewritten to not use database library.
51556         * nss/Makefile: Update to build new makedb program.
51557
51558 2011-06-14  Andreas Jaeger  <aj@suse.de>
51559
51560         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51561         memset declaration.
51562
51563 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51564
51565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51566         tmpbuf.
51567
51568 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51569
51570         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51571         * elf/Makefile ($(objpfx)ld.so): Likewise.
51572
51573         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51574         Don't list ld.so twice in dependencies.
51575
51576         * posix/bug-regex31.c: Include <stdlib.h>.
51577
51578         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51579
51580         * nis/nss_compat/compat-spwd.c
51581         (getspent_next_nss_netgr): Remove unused variable.
51582         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51583
51584         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51585         nonmembers" output to use the right array.
51586
51587         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51588
51589         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51590
51591         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51592         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51593         * catgets/gencat.c (read_input_file): Likewise.
51594         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51595
51596         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51597         variable definition inside #if's controlling its use.
51598
51599         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51600
51601         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51602
51603         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51604
51605         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51606         unreachable code.
51607
51608         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51609
51610         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51611         * configure: Regenerated.
51612
51613         * Makerules: Revert last change.
51614         * elf/Makefile: Likewise.
51615
51616 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51617
51618         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51619         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51620         (reloc-link): Likewise.
51621
51622 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51623
51624         * elf/Makefile: Add rules to build pldd.
51625         * elf/pldd.c: New file.
51626         * elf/pldd-xx.c: New file.
51627
51628 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51629
51630         * version.h: Update for 2.15 development version.
51631
51632 2011-06-07  David S. Miller  <davem@davemloft.net>
51633
51634         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51635         ifuncs.
51636         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51637         elf_machine_lazy_rel): Likewise.
51638         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51639         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51640         elf_machine_lazy_rel): Likewise.
51641         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51642         dl_hwcap via passed in argument.
51643         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51644         Likewise.
51645
51646 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51647
51648         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51649
51650 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51651
51652         [BZ #12849]
51653         * manual/fdl-1.1.texi: New file, verbatim from:
51654         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51655         * manual/lgpl-2.1.texi: New file, verbatim from:
51656         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51657         * manual/Makefile (licenses): New variable, list those new file names.
51658         (texis): Use it.
51659         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51660
51661         * manual/fdl.texi: File removed.
51662         * manual/lesser.texi: File removed.
51663         * manual/libc.texinfo (Copying, Documentation License):
51664         Use new @include file names, put @appendix directive before @include.
51665
51666 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51667
51668         [BZ #12841]
51669         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51670         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51671         (mq_open): Add __NTH.
51672
51673 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51674
51675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51676         Assume Intel Core i3/i5/i7 processor if AVX is available.
51677
51678 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51679
51680         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51681         typo.
51682
51683 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51684
51685         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51686         memory.  Use alloca_account.  Fix memory leak when retrying.
51687
51688 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51689
51690         * version.h (RELEASE): Bump for 2.14 release.
51691         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51692
51693         * config.make.in (RANLIB): Remove entry.
51694
51695 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51696
51697         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51698         (libc.pot): Work around missing support for .ksh extension in xgettext.
51699
51700         [BZ #12684]
51701         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51702         if both request failed.
51703         (send_dg): In case of server errors clear resplen or *resplen2.
51704
51705         [BZ #12454]
51706         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51707         when there are multiple maps.
51708         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51709         (_dl_fini): Remove test here.
51710
51711         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51712
51713 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51714
51715         [BZ #12350]
51716         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51717         bit from old_res_options.
51718         (gaih_inet): Likewise.
51719
51720         [BZ #11099]
51721         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51722         as signed.
51723
51724         * resolv/res_init.c (res_setoptions): Make the code more compact.
51725
51726         [BZ #11558]
51727         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51728         set RES_USEVC.
51729
51730         [BZ #11634]
51731         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51732
51733         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51734
51735         [BZ #11781]
51736         * malloc/malloc.h: Declare malloc hook variables as volatile.
51737
51738         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51739         in last patch.
51740
51741         [BZ #11799]
51742         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51743         raise in the comment.
51744         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51745         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51746         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51747
51748 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51749
51750         [BZ #12811]
51751         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51752         grow the buffers more if it already has to be sufficient.
51753         (build_wcs_upper_buffer): Likewise.
51754         * posix/regexec.c (check_matching): Likewise.
51755         (clean_state_log_if_needed): Likewise.
51756         (extend_buffers): Don't enlarge buffers beyond size of the input
51757         buffer.
51758         Patches mostly by Emil Wojak <emil@wojak.eu>.
51759         * posix/bug-regex32.c: New file.
51760         * posix/Makefile (tests): Add bug-regex32.
51761
51762         * locale/findlocale.c (_nl_find_locale): Return right away if
51763         _nl_explode_name failed.
51764         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51765
51766         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51767
51768         * debug/xtrace.sh: Unify messages.
51769         * malloc/memusage.sh: Likewise.
51770
51771         [BZ #12813]
51772         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51773         time symbol from vDSO.  Substitute with vsyscall if not available.
51774         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51775         __vdso_time.
51776
51777         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51778         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51779         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51780         Add sendmmsg and internal_sendmmsg.
51781         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51782         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51783         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51784
51785         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51786         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51787         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51788
51789 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51790
51791         [BZ #12813]
51792         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51793         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51794         available.
51795         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51796         __vdso_getcpu.
51797
51798         [BZ #12814]
51799         * iconvdata/Makefile (tests): Add bug-iconv9.
51800         * iconvdata/bug-iconv9.c: New file.
51801
51802 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51803
51804         [BZ #12814]
51805         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51806
51807 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51808
51809         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51810         (struct user_regs_struct): Change intcs field back to cs.
51811
51812 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51813
51814         * po/ja.po: Update from translation team.
51815
51816 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51817
51818         [BZ #12795]
51819         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51820         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51821
51822 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51823
51824         * stdlib/longlong.h: Update from GCC.
51825
51826 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51827
51828         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51829         parameter name.
51830         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51831         Add parameter name.
51832         (__sysconf): Pass it down.
51833
51834 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51835
51836         [BZ #12671]
51837         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51838         some situations.
51839         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51840         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51841         add in in __libc_use_alloca calls.  Adjust callers.
51842         (glob): Use malloc in some situations.
51843
51844         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51845         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51846         pltexit.
51847
51848 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51849
51850         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51851         and CLOCK_BOOTTIME_ALARM.
51852
51853         [BZ #12782]
51854         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51855         is returned.
51856
51857         * string/_strerror.c (__strerror_r): Print negative errors as signed
51858         numbers.
51859
51860         [BZ #12777]
51861         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51862         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51863         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51864
51865         * configure.in: Fix typo in redirection and correct removal of test
51866         files in two cases.
51867
51868         [BZ #12788]
51869         * locale/setlocale.c (new_composite_name): Fix test to check for
51870         identical name of all categories.
51871
51872         [BZ #12792]
51873         * libio/filedoalloc.c (local_isatty): New function.
51874         (_IO_file_doallocate): Use local_isatty.
51875         * stdio-common/perror.c (perror): In case a new stream is used
51876         forward the stream error.
51877         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51878         error flag.
51879
51880 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
51881
51882         [BZ #11869]
51883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51884         alloca.
51885         * include/alloca.h (extend_alloca_account): Define.
51886
51887         [BZ #11857]
51888         * posix/regex.h: Fix comments with documentation of user-accessible
51889         fields after compilation and describe correct free'ing of pattern
51890         after re_compile_pattern.
51891         Patch by Reuben Thomas <rrt@sc3d.org>.
51892
51893 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
51894
51895         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51896         and -mno-altivec to prevent the compiler from using Altivec and/or
51897         VSX instructions when the corresponding registers are not available.
51898
51899 2011-05-19  Andreas Schwab  <schwab@redhat.com>
51900
51901         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51902
51903 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
51904
51905         * libio/freopen.c (freopen): Use __dup2, not dup2.
51906         * libio/freopen64.c (freopen64): Likewise.
51907
51908 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51909
51910         [BZ #12775]
51911         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51912         * math/Makefile (tests): Add test-powl.
51913         (CFLAGS-test-powl.c): Define.
51914         * math/test-powl.c: New file.
51915
51916 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51917
51918         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51919
51920 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
51921
51922         [BZ #11837]
51923         * iconvdata/gb18030.c: Update to GB18020-2005.
51924
51925 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
51926
51927         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51928         RE_SYNTAX_POSIX_AWK): Update to match recent development.
51929         Patch by Aharon Robbins <arnold@skeeve.com>.
51930
51931         [BZ #11892]
51932         * stdlib/putenv.c (putenv): Don't always create copy of the variable
51933         on the stack.
51934
51935         [BZ #11895]
51936         * misc/pselect.c (__pselect): Handle timeout value errors hidden
51937         through underflows.
51938
51939         [BZ #12766]
51940         * misc/error.c (error_at_line): Ensure file_name and old_file_name
51941         point to strings before performing equality test for error_one_per_line
51942         mode.
51943
51944         [BZ #11697]
51945         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51946
51947         [BZ #11820]
51948         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51949         (struct user_fpregs_struct): Avoid __uint*_t types.
51950
51951         [BZ #6420]
51952         * malloc/mtrace.c (tr_where): Add additional parameter to point to
51953         symbol info.  Use it instead of calling _dl_addr locally.
51954         (lock_and_info): New function.
51955         (tr_freehook): Call lock_and_info and pass symbol info as additional
51956         parameter to tr_where.
51957         (tr_mallochook): Likewise.
51958         (tr_reallochook): Likewise.
51959         (tr_memalignhook): Likewise.
51960
51961         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
51962         used and couldn't be at all thread-safe.
51963
51964 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
51965
51966         * libio/freopen.c (freopen): Don't close old file descriptor
51967         before the new one is opened.  Instead dup the new file descriptor
51968         to the old one after the new stream is created.
51969         * libio/freopen64.c (freopen64): Likewise.
51970         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51971         * libio/fileops.c (_IO_new_file_close_it): Handle new
51972         _IO_FLAGS2_NOCLOSE flag.
51973         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51974         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51975         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51976         _IO_FLAGS2_NOCLOSE flag.
51977         * include/unistd.h: Add hidden_proto for dup3.
51978         Define __have_dup3.
51979         * io/dup3.c: Define hidden symbol.
51980         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51981
51982         [BZ #7101]
51983         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51984         when an incomplete long option is used.
51985         * posix/tst-getopt_long1.c: New file.
51986         * posix/Makefile (tests): Add tst-getopt_long1.
51987
51988         [BZ #10138]
51989         * scripts/config.guess: Update from autoconf-2.68.
51990         * scripts/config.sub: Likewise.
51991
51992         [BZ #10157]
51993         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51994         tests into ...
51995         (has_cpuclock): ...this.  New function.
51996         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51997         macro here based on has_cpuclock code.
51998
51999         [BZ #10149]
52000         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52001         First byte (not low byte) is now always NUL.
52002         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52003
52004         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52005         Use non-cancelable interfaces.
52006
52007         [BZ #9809]
52008         * locale/iso-639.def: Add entry for Sorani.
52009
52010         [BZ #11901]
52011         * include/stdlib.h: Move include protection to the right place.
52012         Define abort_msg_s.  Declare __abort_msg with it.
52013         * stdlib/abort.c (__abort_msg): Adjust type.
52014         * assert/assert.c (__assert_fail_base): New function.  Majority
52015         of code from __assert_fail.  Allocate memory for __abort_msg with
52016         mmap.
52017         (__assert_fail): Now call __assert_fail_base.
52018         * assert/assert-perr.c: Remove bulk of implementation.  Use
52019         __assert_fail_base.
52020         * include/assert.hL Declare __assert_fail_base.
52021         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52022         mmap.
52023         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52024
52025 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52026
52027         [BZ #11952]
52028         [BZ #12453]
52029         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52030         until all modules are registered in the DTV.
52031         * elf/Makefile: Add rules to build and run tst-tls19.
52032         * elf/tst-tls19.c: New file.
52033         * elf/tst-tls19mod1.c: New file.
52034         * elf/tst-tls19mod2.c: New file.
52035         * elf/tst-tls19mod3.c: New file.
52036         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52037
52038         [BZ #12083]
52039         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52040         correctly.
52041
52042         [BZ #12601]
52043         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52044         two-byte sequence errors.
52045         * iconvdata/Makefile (tests): Add bug-iconv8.
52046         * iconvdata/bug-iconv8.c: New file.
52047
52048         [BZ #12626]
52049         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52050         buf2 definition.
52051
52052         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52053
52054         [BZ #12432]
52055         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52056         (dummy_getcfa): New function.
52057         (init): Get _Unwind_GetCFA address, use dummy if not found.
52058         (backtrace_helper): In recursion check, also check whether CFA changes.
52059         (__backtrace): Completely initialize arg.
52060
52061         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52062         storing incomplete byte sequence in state object.  Avoid testing for
52063         guaranteed too small input if we know there is enough data available.
52064
52065 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52066
52067         * Makeconfig (+link-pie): Indent.
52068         * Rules (binaries-pie): Define if $(have-fpie) and
52069         $(build-shared).
52070         (binaries-shared): Also filter out $(binaries-pie).
52071         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52072         * nscd/Makefile (others-pie): Add nscd.
52073         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52074         ($(objpfx)nscd): Remove command override.
52075         * login/Makefile (others-pie): Add pt_chown.
52076         ($(objpfx)pt_chown): Remove command override.
52077         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52078         remove command overrides.
52079
52080 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52081
52082         * libio/tst_putwc.c: Fix error messages.
52083
52084         [BZ #12724]
52085         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52086         currently writing and seek to current position when not.
52087         * libio/Makefile (tests): Add bug-fclose1.
52088         * libio/bug-fclose1.c: New file.
52089
52090 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52091
52092         [BZ #12511]
52093         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52094         don't set DF_1_NODELETE here.
52095         (do_lookup_x): When entering new entry test for copy relocation
52096         and if necessary set DF_1_NODELETE flag.
52097         * elf/tst-unique4.cc: New file.
52098         * elf/tst-unique4.h: New file.
52099         * elf/tst-unique4lib.cc: New file.
52100         * elf/Makefile: Add rules to build and run tst-unique4.
52101         Patch by Piotr Bury <pbury@goahead.com>.
52102
52103 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52104
52105         [BZ #12052]
52106         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52107
52108         [BZ #12625]
52109         * misc/mntent_r.c (addmntent): Flush the stream after the output
52110
52111         [BZ #12393]
52112         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52113         (is_trusted_path_normalize): Skip initial colon.  Append slash
52114         to empty buffer.  Duplicate is_trusted_path code but allow
52115         constructed patch to be prefix.
52116         (is_dst): Allow $ORIGIN followed by /.
52117         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52118         Correct testing of result of is_trusted_path_normalize
52119         (decompose_rpath): Fix warning.
52120
52121 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52122
52123         [BZ #11257]
52124         * grp/initgroups.c (internal_getgrouplist): When we found the service
52125         list through the initgroups entry in nsswitch.conf do not always
52126         continue on a successful lookup.  Don't always use the
52127         __nss_group_database value if it is set.
52128         * nss/nsswitch.conf (initgroups): Change action for successful db
52129         lookup to continue for compatibility.
52130
52131 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52132
52133         [BZ #11532]
52134         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52135         and CP774 modules.
52136         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52137         and CP774 modules.
52138         * iconvdata/tst-tables.sh: Likewise.
52139         * iconvdata/cp770.c: New file.
52140         * iconvdata/cp771.c: New file.
52141         * iconvdata/cp772.c: New file.
52142         * iconvdata/cp773.c: New file.
52143         * iconvdata/cp774.c: New file.
52144         * iconvdata/testdata/CP770: New file.
52145         * iconvdata/testdata/CP770..UTF8: New file.
52146         * iconvdata/testdata/CP771: New file.
52147         * iconvdata/testdata/CP771..UTF8: New file.
52148         * iconvdata/testdata/CP772: New file.
52149         * iconvdata/testdata/CP772..UTF8: New file.
52150         * iconvdata/testdata/CP773: New file.
52151         * iconvdata/testdata/CP773..UTF8: New file.
52152         * iconvdata/testdata/CP774: New file.
52153         * iconvdata/testdata/CP774..UTF8: New file.
52154
52155         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52156         END CHARMAP line.
52157         * iconvdata/gen-8bit-gap.sh: Likewise.
52158         * iconvdata/gen-8bit.sh: Likewise.
52159
52160         * locale/iso-639.def: Add ary entry.
52161
52162         [BZ #11258]
52163         * locale/C-translit.h.in: Add U20A1 transliteration.
52164
52165         [BZ #12178]
52166         * locale/iso-639.def: Add wae entry.
52167         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52168
52169         [BZ #12545]
52170         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52171         for n.
52172
52173         [BZ #12711]
52174         * locale/C-translit.h.in: Add entry for U20B9.
52175         Patch by pravin.d.s@gmail.com.
52176
52177 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52178
52179         [BZ #12713]
52180         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52181         ENAMETOOLONG use generic getcwd.
52182         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52183         in rtld.  Use *stat64.
52184         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52185         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52186         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52187         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52188         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52189         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52190         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52191         __fstatat64 macros.
52192         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52193         * dirent/rewinddir.c: Add libc_hidden_def.
52194         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52195         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52196
52197         * include/dirent.h (__alloc_dir): Add flags parameter.
52198         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52199         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52200         __alloc_dir.
52201         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52202         from fdopendir if O_CLOEXEC is already set.
52203
52204 2011-03-15  Alan Modra  <amodra@gmail.com>
52205
52206         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52207         l_tls_firstbyte_offset non-zero.  Save padding offset in
52208         l_tls_firstbyte_offset for later use.
52209         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52210         freeing static tls block.
52211
52212 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52213
52214         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52215         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52216         being defined by the kernel headers.
52217
52218 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52219
52220         [BZ #12734]
52221         * resolv/resolv.h: Define RES_NOTLDQUERY.
52222         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52223         no-tld-query and set RES_NOTLDQUERY.
52224         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52225         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52226         modern BIND to search name as TLD unless forbidden.
52227
52228 2011-05-07  Petr Baudis  <pasky@suse.cz>
52229             Ulrich Drepper  <drepper@gmail.com>
52230
52231         [BZ #12393]
52232         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52233         (is_trusted_path): ...to here.
52234         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52235         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52236         using is_trusted_path_normalize() in setuid scripts.
52237
52238 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52239
52240         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52241         __BEGIN/__END_DECLS.
52242
52243 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52244
52245         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52246         NSS_STATUS_NOTFOUND if no record was found.
52247
52248 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52249
52250         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52251         (headers-not-in-tirpc): Remove rpc/netdb.h
52252         * resolv/netdb.h: Revert last change.
52253
52254 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52255
52256         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52257         circular dependency between libgcc.a and libc.a.
52258
52259 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52260
52261         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52262         * nis/Makefile: Don't install rpcsvc/*.
52263         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52264         instead of <rpc/types.h>.
52265         (MAXHOSTNAMELEN): Define.
52266
52267 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52268
52269         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52270
52271 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52272
52273         [BZ #12714]
52274         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52275         gethostbyname4_r when IPv6 results are possible.
52276
52277 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52278
52279         [BZ #12723]
52280         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52281         _PC_PIPE_BUF handling.
52282
52283 2011-04-30  Bruno Haible  <bruno@clisp.org>
52284
52285         [BZ #12717]
52286         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52287         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52288         to 'int'.
52289         * inet/getnameinfo.c (getnameinfo): Likewise.
52290
52291 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52292
52293         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52294         to groups setting in database lookup.
52295         * nss/nsswitch.conf: Add initgroups entry.
52296
52297 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52298
52299         [BZ #12685]
52300         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52301         mode string.
52302         Patch by Eric Blake <eblake@redhat.com>.
52303
52304 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52305
52306         * sunrpc/Makefile (need-export-routines): Add svc_run.
52307         (routines): Remove svc_run.
52308         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52309         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52310         * sunrpc/svc_run.c (svc_run): Likewise.
52311         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52312
52313 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52314
52315         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52316         problem in reallocation in last patch.
52317
52318 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52319
52320         * sunrpc/Makefile: Move inclusion of Rules.
52321
52322 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52323
52324         * nss/nss_files/files-initgroups.c: New file.
52325         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52326         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52327         _nss_files_initgroups_dyn.
52328
52329 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52330
52331         * elf/elf.h (R_ARM_IRELATIVE): Define.
52332
52333 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52334
52335         * po/ru.po: Update from translation team.
52336
52337 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52338
52339         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52340         dependencies.
52341
52342 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52343
52344         [BZ #12653]
52345         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52346         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52347         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52348         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52349         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52350
52351 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52352
52353         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52354         differing bytes.
52355         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52356         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52357         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52358
52359 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52360
52361         [BZ #12420]
52362         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52363         storing it.
52364         * stdlib/bug-getcontext.c: New file.
52365         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52366
52367 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52368
52369         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52370         instructions into .machine "z9-109".
52371         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52372         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52373
52374 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52375
52376         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52377         between environment variables and auxiliary vector.
52378
52379 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52380
52381         * Makefile: Add rules to build linkobj/libc.so.
52382         * include/libc-symbols.h: Define libc_hidden_nolink.
52383         * include/rpc/auth.h: Mark functions which are to be hidden.
52384         * include/rpc/auth_des.h: Likewise.
52385         * include/rpc/auth_unix.h: Likewise.
52386         * include/rpc/clnt.h: Likewise.
52387         * include/rpc/des_crypt.h: Likewise.
52388         * include/rpc/key_prot.h: Likewise.
52389         * include/rpc/pmap_clnt.h: Likewise.
52390         * include/rpc/pmap_prot.h: Likewise.
52391         * include/rpc/pmap_rmt.h: Likewise.
52392         * include/rpc/rpc_msg.h: Likewise.
52393         * include/rpc/svc.h: Likewise.
52394         * include/rpc/svc_auth.h: Likewise.
52395         * include/rpc/xdr.h: Likewise.
52396         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52397         * nss/Makefile: Likewise.
52398         * sunrpc/Makefile: Don't install headers.  Build library with normal
52399         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52400         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52401         for the compat linking library.  Remove use of INTDEF/INTUSE.
52402         * sunrpc/auth_none.c: Likewise.
52403         * sunrpc/auth_unix.c: Likewise.
52404         * sunrpc/authdes_prot.c: Likewise.
52405         * sunrpc/authuxprot.c: Likewise.
52406         * sunrpc/clnt_gen.c: Likewise.
52407         * sunrpc/clnt_perr.c: Likewise.
52408         * sunrpc/clnt_raw.c: Likewise.
52409         * sunrpc/clnt_simp.c: Likewise.
52410         * sunrpc/clnt_tcp.c: Likewise.
52411         * sunrpc/clnt_udp.c: Likewise.
52412         * sunrpc/clnt_unix.c: Likewise.
52413         * sunrpc/des_crypt.c: Likewise.
52414         * sunrpc/des_soft.c: Likewise.
52415         * sunrpc/get_myaddr.c: Likewise.
52416         * sunrpc/key_call.c: Likewise.
52417         * sunrpc/key_prot.c: Likewise.
52418         * sunrpc/netname.c: Likewise.
52419         * sunrpc/pm_getmaps.c: Likewise.
52420         * sunrpc/pm_getport.c: Likewise.
52421         * sunrpc/pmap_clnt.c: Likewise.
52422         * sunrpc/pmap_prot.c: Likewise.
52423         * sunrpc/pmap_prot2.c: Likewise.
52424         * sunrpc/pmap_rmt.c: Likewise.
52425         * sunrpc/publickey.c: Likewise.
52426         * sunrpc/rpc_cmsg.c: Likewise.
52427         * sunrpc/rpc_common.c: Likewise.
52428         * sunrpc/rpc_dtable.c: Likewise.
52429         * sunrpc/rpc_prot.c: Likewise.
52430         * sunrpc/rpc_thread.c: Likewise.
52431         * sunrpc/rtime.c: Likewise.
52432         * sunrpc/svc.c: Likewise.
52433         * sunrpc/svc_auth.c: Likewise.
52434         * sunrpc/svc_authux.c: Likewise.
52435         * sunrpc/svc_raw.c: Likewise.
52436         * sunrpc/svc_run.c: Likewise.
52437         * sunrpc/svc_simple.c: Likewise.
52438         * sunrpc/svc_tcp.c: Likewise.
52439         * sunrpc/svc_udp.c: Likewise.
52440         * sunrpc/svc_unix.c: Likewise.
52441         * sunrpc/svcauth_des.c: Likewise.
52442         * sunrpc/xcrypt.c: Likewise.
52443         * sunrpc/xdr.c: Likewise.
52444         * sunrpc/xdr_array.c: Likewise.
52445         * sunrpc/xdr_float.c: Likewise.
52446         * sunrpc/xdr_intXX_t.c: Likewise.
52447         * sunrpc/xdr_mem.c: Likewise.
52448         * sunrpc/xdr_rec.c: Likewise.
52449         * sunrpc/xdr_ref.c: Likewise.
52450         * sunrpc/xdr_sizeof.c: Likewise.
52451         * sunrpc/xdr_stdio.c: Likewise.
52452
52453 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52454
52455         [BZ #12650]
52456         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52457         * sysdeps/ia64/dl-tls.h: Likewise.
52458         * sysdeps/powerpc/dl-tls.h: Likewise.
52459         * sysdeps/s390/dl-tls.h: Likewise.
52460         * sysdeps/sh/dl-tls.h: Likewise.
52461         * sysdeps/sparc/dl-tls.h: Likewise.
52462         * sysdeps/x86_64/dl-tls.h: Likewise.
52463         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52464
52465 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52466
52467         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52468         rpath element also skip the following colon.
52469         (expand_dynamic_string_token): Add is_path parameter and pass
52470         down to DL_DST_REQUIRED and _dl_dst_substitute.
52471         (decompose_rpath): Call expand_dynamic_string_token with
52472         non-zero is_path.  Ignore empty rpaths.
52473         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52474         with zero is_path.
52475
52476 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52477
52478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52479         Make cancelable.
52480
52481 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52482
52483         [BZ #12655]
52484         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52485         Patch by Filipe David Manana <fdmanana@apache.org>.
52486
52487 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52488
52489         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52490         Maintain aligned stack.
52491         (CHECK_RSP): Remove unused macro.
52492
52493 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52494
52495         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52496         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52497
52498 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52499
52500         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52501
52502         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52503
52504 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52505
52506         [BZ #12518]
52507         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52508         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52509         * sysdeps/x86_64/memmove.c: New file.
52510         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52511         (memcpy): Renamed to ...
52512         (__new_memcpy): This.
52513         (memcpy): Provide GLIBC_2_14 memcpy.
52514         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52515         (memcpy): Provide GLIBC_2_2_5 memcpy.
52516
52517 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52518
52519         [BZ #12631]
52520         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52521
52522 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52523
52524         * misc/syncfs.c: New file.
52525         * misc/Makefile (routines): Add syncfs.
52526         * posix/unistd.h: Declare syncfs.
52527         * sysdeps/unix/syscalls.list: Add syncfs.
52528
52529 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52530
52531         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52532         open_by_handle_at.
52533         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52534         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52535         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52536         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52537         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52538         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52539         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52540
52541 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52542
52543         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52544         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52545         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52546         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52547         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52549         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52550
52551         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52552         sync_file_range.c with -fexceptions.
52553         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52554         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52555         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52556         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52557         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52558         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52559         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52560         sync_file_range as cancellation point
52561         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52562         now a wrapper around __call_sync_file_range with cancellation handling.
52563         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52564         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52565         function name to __call_sync_file_range.
52566         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52567         Add call_sync_file_range.
52568
52569 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52570
52571         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52572         bits/timex.h.
52573
52574 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52575
52576         * iconv/iconv.h: Fix typo in comment.
52577         * io/fcntl.h: Likewise.
52578         * libio/stdio.h: Likewise.
52579         * posix/spawn.h: Likewise.
52580         * posix/unistd.h: Likewise.
52581         * stdlib/stdlib.h: Likewise.
52582         * time/time.h: Likewise.
52583         * wcsmbs/wchar.h: Likewise.
52584
52585         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52586         open_by_handle): Add.
52587         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52588         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52589         Augment a few comments.
52590         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52591         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52592         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52594         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52595         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52596         open_by_handle.
52597
52598         * io/fcntl.h (AT_EMPTY_PATH): Define.
52599
52600 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52601
52602         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52603         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52604         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52605         to...
52606         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52607         * Versions.def: Add GLIBC_2.14.
52608         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52609         Export.
52610
52611 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52612
52613         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52614         round counter.
52615         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52616
52617 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52618
52619         [BZ #12597]
52620         * string/test-strncmp.c (do_page_test): New function.
52621         (check2): Likewise.
52622         (test_main): Call check2.
52623         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52624
52625 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52626
52627         [BZ #12587]
52628         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52629         Handle cache information in CPU leaf 4.
52630         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52631
52632 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52633
52634         [BZ #12583]
52635         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52636         character representation.
52637         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52638
52639 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52640
52641         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52642         END(__isnan) to END(__isnanf) to match function entry point/label
52643         EALIGN(__isnanf,...).
52644
52645 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52646
52647         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52648
52649 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52650
52651         [BZ #12510]
52652         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52653         copy from the symbol referenced in the relocation to initialize the
52654         used variable.
52655         Patch by Piotr Bury <pbury@goahead.com>.
52656         * elf/Makefile: Add rules to build and tst-unique3.
52657         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52658         * elf/tst-unique3.cc: New file.
52659         * elf/tst-unique3.h: New file.
52660         * elf/tst-unique3lib.cc: New file.
52661         * elf/tst-unique3lib2.cc: New file.
52662
52663         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52664
52665 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52666
52667         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52668         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52669         to _start.
52670
52671 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52672
52673         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52674         to-be-loaded object along a path to loader is ld.so.
52675
52676 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52677             Ulrich Drepper  <drepper@gmail.com>
52678
52679         * sysdeps/x86_64/memset.S: After aligning destination, code
52680         branches to different locations depending on the value of
52681         misalignment, when multiarch is enabled. Fix this.
52682
52683 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52684
52685         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52686         Set _x86_64_preferred_memory_instruction for AMD processsors.
52687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52688         Set bit_Prefer_SSE_for_memop for AMD processors.
52689
52690 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52691
52692         * libio/fmemopen.c (fmemopen): Optimize a bit.
52693
52694 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52695
52696         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52697
52698 2011-03-03  Roland McGrath  <roland@redhat.com>
52699
52700         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52701
52702 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52703
52704         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52705         __bzero_ultra1 instead of __memset_ultra1.
52706
52707 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52708             Ulrich Drepper  <drepper@gmail.com>
52709
52710         [BZ #12509]
52711         * include/link.h (struct link_map): Add l_orig_initfini.
52712         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52713         returning unsuccessfully.
52714         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52715         close of a file loaded at startup, restore the original l_initfini
52716         list.
52717         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52718         list, store the pointer.
52719         * elf/Makefile ($(objpfx)noload-mem): New rule.
52720         (noload-ENV): Define.
52721         (tests): Add $(objpfx)noload-mem.
52722         * elf/noload.c: Include <memcheck.h>.
52723         (main): Call mtrace.  Close all opened handles.
52724
52725 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52726
52727         [BZ #12454]
52728         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52729         dependencies are missing.
52730
52731 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52732
52733         Fix __if_freereq crash: Unlike the generic version which uses free,
52734         Hurd needs munmap.
52735         * sysdeps/mach/hurd/ifreq.h: New file.
52736
52737 2011-01-27  Petr Baudis  <pasky@suse.cz>
52738             Ulrich Drepper  <drepper@gmail.com>
52739
52740         [BZ 12445]#
52741         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52742         to extend_alloca().
52743         * stdio-common/bug23.c: New file.
52744         * stdio-common/Makefile (tests): Add bug23.
52745
52746 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52747             Ulrich Drepper  <drepper@gmail.com>
52748
52749         [BZ #12489]
52750         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52751         before performing relro protection.  At old place add assertion
52752         to make sure nothing changed.
52753
52754 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52755             Glauber de Oliveira Costa  <glommer@gmail.com>
52756
52757         * elf/elf.h: Add new ARM TLS relocs.
52758
52759 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52760
52761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52762         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52763         cast from r3.
52764         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52765         'tests' variable.
52766         * sysdeps/wordsize-64/tst-writev.c: New file.
52767
52768 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52769
52770         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52771         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52772         insns in _dl_start to prevent a TOC reference before relocs are
52773         resolved.
52774
52775 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52776
52777         [BZ #12469]
52778         * Makeconfig: Remove RANLIB definition.
52779         * Makerules: Don't use RANLIB.
52780         * aclocal.m4: Remove ranlib test.
52781         * configure.in: No need to check for ranlib.
52782         * elf/rtld-Rules: Don't use RANLIB.
52783
52784 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52785
52786         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52787         protection macro.
52788         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52789         inclusion protection macro.
52790
52791         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52792         SIGRTMIN and SIGRTMAX and print information in that case only when
52793         SIGRTMIN is defined.
52794
52795 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52796
52797         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52798         arginfo fn returning -1.
52799
52800         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52801         and thousands string is zero terminated.
52802
52803 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52804
52805         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52806         sysdeps/unix/sysv/linux/bits/socket.h.
52807
52808 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52809
52810         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52811         (__CPU_COUNT): Remove old macros.
52812         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52813         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52814         (__CPU_ALLOC, __CPU_FREE): Add macros.
52815         (__sched_cpualloc, __sched_cpufree): Add declarations.
52816
52817 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52818
52819         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52820         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52821         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52822         (readdhstai): Return value of addhstaiX call.
52823         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52824         (addgrbyX): Return value returned by cache_addgr.
52825         (readdgrbyname): Return value returned by addgrbyX.
52826         (readdgrbygid): Likewise.
52827         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52828         (addpwbyX): Return value returned by cache_addpw.
52829         (readdpwbyname): Return value returned by addhstbyX.
52830         (readdpwbyuid): Likewise.
52831         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52832         (addservbyX): Return value returned by cache_addserv.
52833         (readdservbyname): Return value returned by addservbyX:
52834         (readdservbyport): Likewise.
52835         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52836         (addhstbyX): Return value returned by cache_addhst.
52837         (readdhstbyname): Return value returned by addhstbyX.
52838         (readdhstbyaddr): Likewise.
52839         (readdhstbynamev6): Likewise.
52840         (readdhstbyaddrv6): Likewise.
52841         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52842         (readdinitgroups): Return value returned by addinitgroupsX.
52843         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52844         (prune_cache): Keep track of timeout value of re-added entries.
52845         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52846         * nscd/nscd.h: Adjust prototypes of readd* functions.
52847
52848 2011-02-04  Roland McGrath  <roland@redhat.com>
52849
52850         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52851         (nis_stats): Likewise.
52852         * nis/nis_modify.c (nis_modify): Likewise.
52853         * nis/nis_remove.c (nis_remove): Likewise.
52854         * nis/nis_add.c (nis_add): Likewise.
52855
52856         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52857
52858         * posix/fnmatch_loop.c: Add some consts.
52859
52860         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52861
52862 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
52863
52864         [BZ #12460]
52865         * config.make.in (config-cflags-novzeroupper): Define.
52866         * configure.in: Substitute libc_cv_cc_novzeroupper.
52867         * elf/Makefile (AVX-CFLAGS): Define.
52868         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52869         (CFLAGS-tst-auditmod4a.c): Likewise.
52870         (CFLAGS-tst-auditmod4b.c): Likewise.
52871         (CFLAGS-tst-auditmod6b.c): Likewise.
52872         (CFLAGS-tst-auditmod6c.c): Likewise.
52873         (CFLAGS-tst-auditmod7b.c): Likewise.
52874         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52875
52876 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
52877
52878         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52879         function to the callback.
52880         Patch partly by Jiri Olsa <jolsa@redhat.com>.
52881
52882 2011-02-02  Andreas Schwab  <schwab@redhat.com>
52883
52884         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52885         of errno.
52886
52887 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
52888
52889         [BZ #11724]
52890         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52891         of constructors.
52892         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52893         of destructors.
52894         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52895
52896         [BZ #11724]
52897         * elf/Makefile: Add rules to build and run new test.
52898         * elf/tst-initorder.c: New file.
52899         * elf/tst-initorder.exp: New file.
52900         * elf/tst-initordera1.c: New file.
52901         * elf/tst-initordera2.c: New file.
52902         * elf/tst-initordera3.c: New file.
52903         * elf/tst-initordera4.c: New file.
52904         * elf/tst-initorderb1.c: New file.
52905         * elf/tst-initorderb2.c: New file.
52906         * elf/tst-order-a1.c: New file.
52907         * elf/tst-order-a2.c: New file.
52908         * elf/tst-order-a3.c: New file.
52909         * elf/tst-order-a4.c: New file.
52910         * elf/tst-order-b1.c: New file.
52911         * elf/tst-order-b2.c: New file.
52912         * elf/tst-order-main.c: New file.
52913         New test case by George Gensure <werkt0@gmail.com>.
52914
52915 2010-10-01  Andreas Schwab  <schwab@redhat.com>
52916
52917         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52918         decoding ACE if AI_CANONIDN.
52919
52920 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
52921
52922         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52923
52924 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
52925
52926         * version.h (RELEASE): Bump for 2.13 release.
52927         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52928
52929         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52930
52931         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52932         MADV_NOHUGEPAGE.
52933         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52934         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52935         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52936         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52937         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52938         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52939
52940         * posix/getconf.c: Update copyright year.
52941         * catgets/gencat.c: Likewise.
52942         * csu/version.c: Likewise.
52943         * debug/catchsegv.sh: Likewise.
52944         * debug/xtrace.sh: Likewise.
52945         * elf/ldconfig.c: Likewise.
52946         * elf/ldd.bash.in: Likewise.
52947         * elf/sprof.c (print_version): Likewise.
52948         * iconv/iconv_prog.c: Likewise.
52949         * iconv/iconvconfig.c: Likewise.
52950         * locale/programs/locale.c: Likewise.
52951         * locale/programs/localedef.c: Likewise.
52952         * malloc/memusage.sh: Likewise.
52953         * malloc/mtrace.pl: Likewise.
52954         * nscd/nscd.c (print_version): Likewise.
52955         * nss/getent.c: Likewise.
52956
52957         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52958         PF_CAIF, and PF_ALG.
52959         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52960
52961 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
52962
52963         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52964         (modules-names): Use them.
52965         (ifunc-test-modules, ifunc-pie-tests): Define.
52966         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52967         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52968         (test-extras): Likewise.
52969         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52970         $(compile-command.c).
52971         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52972         (all-built-dso): Define.
52973         (check-textrel.out, check-execstack.out): Depend on it.
52974
52975         * configure.in: Don't override --enable-multi-arch.
52976
52977 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
52978
52979         [BZ #6812]
52980         * nscd/hstcache.c (tryagain): Define.
52981         (cache_addhst): Return tryagain not notfound for temporary errors.
52982         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52983         failed.
52984
52985 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
52986
52987         [BZ #10563]
52988         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52989         to make the syscall.
52990         * sysdeps/unix/sysv/linux/setgroups.c: New file.
52991
52992         [BZ #12378]
52993         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52994         and fall back to matching as normal character if the string ends before
52995         the matching ']' is found.  This is what POSIX requires.
52996         * posix/testfnm.c: Adjust test result.
52997         * posix/globtest.sh: Adjust test result.  Add new test.
52998         * posix/tst-fnmatch.input: Likewise.
52999         * posix/tst-fnmatch2.c: Add new test.
53000
53001 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53002
53003         * elf/Makefile (check-execstack): Revert last change.  Depend on
53004         check-execstack.h.
53005         (check-execstack.h): New target.
53006         (generated): Add check-execstack.h.
53007         * elf/check-execstack.c: Include "check-execstack.h".
53008         (main): Revert last change.
53009         (handle_file): Return zero if GNU_STACK is absent and
53010         DEFAULT_STACK_PERMS doesn't include PF_X.
53011
53012 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53013
53014         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53015         in child fails because the descriptor is already closed.
53016         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53017         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53018         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53019
53020         [BZ #12397]
53021         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53022         syscall.
53023
53024         [BZ #10484]
53025         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53026         temporary buffer used to handle multi lookups locally.
53027         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53028
53029 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53030
53031         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53032         loader is ld.so.
53033
53034 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53035
53036         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53037         alignment for SSE2.
53038
53039 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53040
53041         [BZ #12394]
53042         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53043         characters.  When rounding increased number of integer digits recompute
53044         number of groups.
53045         * stdio-common/tst-grouping.c: New file.
53046         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53047
53048 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53049
53050         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53051         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53052
53053         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53054         void.
53055         * bits/select.h: Likewise.
53056
53057 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53058
53059         * po/ja.po: Update from translation team.
53060
53061 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53062
53063         [BZ #11155]
53064         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53065         implementation just like for lxstat, fxstatat, et al.
53066
53067 2010-12-27  Jim Meyering  <meyering@redhat.com>
53068
53069         [BZ #12348]
53070         * posix/regexec.c (build_trtable): Return failure indication upon
53071         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53072
53073 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53074
53075         [BZ #12201]
53076         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53077         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53078         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53079         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53080
53081         [BZ #12207]
53082         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53083
53084         [BZ #12204]
53085         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53086         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53087
53088 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53089
53090         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53091         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53092         script has SORT_BY_INIT_PRIORITY.
53093         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53094         NO_CTORS_DTORS_SECTIONS is defined.
53095         * elf/soinit.c: Likewise.
53096         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53097         NO_CTORS_DTORS_SECTIONS is defined.
53098         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53099         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53100         * sysdeps/sh/init-first.c: Likewise.
53101         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53102
53103 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53104
53105         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53106         always use the slow path.
53107
53108 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53109
53110         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53111         similar rule which adds the sysdep directories to the header search in
53112         order to pick up the correct platform stackinfo.h.
53113         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53114         perform test if it is, otherwise return successfully without testing.
53115         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53116         DEFAULT_STACK_PERMS define in stackinfo.h.
53117         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53118         defined in stackinfo.h.
53119         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53120         DEFAULT_STACK_PERMS defined in stackinfo.h.
53121         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53122         * sysdeps/ia64/stackinfo.h: Likewise.
53123         * sysdeps/s390/stackinfo.h: Likewise.
53124         * sysdeps/sh/stackinfo.h: Likewise.
53125         * sysdeps/sparc/stackinfo.h: Likewise.
53126         * sysdeps/x86_64/stackinfo.h: Likewise.
53127         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53128         PF_X for powerpc64.  Retain PF_X for powerpc32.
53129
53130 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53131
53132         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53133         accurately.
53134         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53135         GETDENTS_64BIT_ALIGNED.
53136
53137 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53138
53139         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53140
53141 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53142
53143         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53144         _GNU_SOURCE.
53145
53146         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53147         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53148         Remove __restrict.
53149         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53150         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53151
53152 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53153
53154         [BZ #11655]
53155         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53156         are initialized.
53157
53158 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53159
53160         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53161
53162 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53163
53164         * po/it.po: Update from translation team.
53165
53166 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53167
53168         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53169         unused codes.
53170
53171 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53172
53173         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53174
53175 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53176
53177         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53178         specially.
53179         (gaih_getanswer_slice): Likewise.
53180
53181 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53182
53183         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53184
53185 2010-05-31  Petr Baudis  <pasky@suse.cz>
53186
53187         [BZ #11149]
53188         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53189         silently even in the chroot mode.
53190
53191 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53192
53193         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53194         last patch a bit.  Pretty printing
53195
53196 2010-05-31  Petr Baudis <pasky@suse.cz>
53197
53198         [BZ #10085]
53199         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53200         initialization of skip_initgroups_dyn.
53201
53202 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53203
53204         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53205         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53206
53207 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53208
53209         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53210
53211 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53212
53213         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53214         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53215         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53216         ($(objpfx)tst-fnmatch-mem): New rule.
53217         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53218         * posix/tst-fnmatch.c (main): Call mtrace.
53219
53220 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53221
53222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53223         Support Intel processor model 6 and model 0x2c.
53224
53225 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53226
53227         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53228           signed comparison.
53229
53230 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53231
53232         [BZ #12205]
53233         * string/test-strncasecmp.c (check_result): New function.
53234         (do_one_test): Use it.
53235         (check1): New function.
53236         (test_main): Use it.
53237         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53238         Support strcasecmp and strncasecmp.
53239
53240 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53241
53242         [BZ #12194]
53243         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53244         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53245
53246 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53247
53248         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53249         IFUNC support.
53250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53251         memset-x86-64.
53252         * sysdeps/x86_64/multiarch/bzero.S: New file.
53253         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53254         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53255         * sysdeps/x86_64/multiarch/memset.S: New file.
53256         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53258         Set bit_Prefer_SSE_for_memop for Intel processors.
53259         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53260         Define.
53261         (index_Prefer_SSE_for_memop): Define.
53262         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53263
53264 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53265
53266         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53267         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53268
53269 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53270
53271         [BZ #12191]
53272         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53273         (__x86_64_raw_data_cache_size_half): Likewise.
53274         (__x86_64_raw_shared_cache_size): Likewise.
53275         (__x86_64_raw_shared_cache_size_half): Likewise.
53276
53277         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53278         (__x86_64_raw_data_cache_size_half): Likewise.
53279         (__x86_64_raw_shared_cache_size): Likewise.
53280         (__x86_64_raw_shared_cache_size_half): Likewise.
53281         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53282         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53283         and __x86_64_raw_shared_cache_size_half.  Round
53284         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53285         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53286         to multiple of 256 bytes.
53287
53288 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53289
53290         [BZ #12167]
53291         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53292         of inacessible symlinks.  Verify result of symlink before returning it.
53293         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53294         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53295
53296 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53297
53298         * math/math.h (isinf): Fix typo in comment.
53299
53300 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53301
53302         * po/da.po: Update from translation team.
53303
53304 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53305
53306         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53307         is added to the list.
53308
53309 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53310             Ulrich Drepper  <drepper@gmail.com>
53311
53312         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53313         the global list here.  Move code to...
53314         (_dl_add_to_namespace_list): ...here.  New function.
53315         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53316         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53317         * elf/dl-load.c (lose): Don't remove the element from the list.
53318         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53319         (_dl_map_object): Likewise.
53320
53321 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53322
53323         [BZ #12159]
53324         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53325         into all bytes of SSE register.
53326         Patch by Richard Li <richardpku@gmail.com>.
53327
53328 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53329
53330         [BZ #12140]
53331         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53332         perturbing.
53333
53334 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53335
53336         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53337         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53338         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53339         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53341         submachine.
53342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53343
53344 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53345
53346         * include/dlfcn.h (__RTLD_SECURE): Define.
53347         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53348         mode & __RTLD_SECURE instead.
53349         (open_path): Rename preloaded parameter to secure.
53350         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53351         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53352         * elf/dl-deps.c (openaux): Likewise.
53353         * elf/rtld.c (struct map_args): Remove is_preloaded.
53354         (map_doit): Don't use it.
53355         (dl_main): Likewise.
53356         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53357         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53358
53359 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53360
53361         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53362         (sysd-rules-targets): Remove duplicates.
53363         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53364         rtld-%.$o dependency.
53365
53366 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53367
53368         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53369         _dl_map_object do it.
53370
53371 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53372
53373         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53374         fast fma builtins, define the macros in the C99 standard.
53375         (FP_FAST_FMAF): Likewise.
53376         (FP_FAST_FMAL): Likewise.
53377         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53378
53379         * bits/mathdef.h: Update copyright year.
53380         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53381
53382 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53383
53384         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53385         builtins, define the macros in the C99 standard.
53386         (FP_FAST_FMAF): Likewise.
53387         (FP_FAST_FMAL): Likewise.
53388         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53389         multiply/add.
53390         (FP_FAST_FMAF): Likewise.
53391
53392 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53393
53394         [BZ #3268]
53395         * math/libm-test.inc (fma_test): Some new testcases.
53396         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53397         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53398         y and infinite z.  Do multiplication by C already in long double.
53399         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53401         y and infinite z.  Do bitwise or of inexact bit into u.d.
53402         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53403         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53404         * sysdeps/i386/fpu/s_fma.S: Removed.
53405         * sysdeps/i386/fpu/s_fmal.S: Removed.
53406
53407 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53408
53409         [BZ #3268]
53410         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53411         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53412         computation is not scheduled after fetestexcept.  Fix value
53413         of minimum denormal long double.
53414
53415 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53416
53417         [BZ #3268]
53418         * math/libm-test.inc (fma_test): Add some more tests.
53419         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53420         correctly.
53421
53422 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53423
53424         * scripts/data/localplt-s390-linux-gnu.data: New file.
53425         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53426
53427 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53428
53429         [BZ #3268]
53430         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53431         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53432         instead of dbl-64.
53433         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53434         inlines.
53435         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53437         if one of x and y is very large and the other is subnormal.
53438         * sysdeps/s390/fpu/s_fmaf.c: New file.
53439         * sysdeps/s390/fpu/s_fma.c: New file.
53440         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53441         * sysdeps/powerpc/fpu/s_fma.S: New file.
53442         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53443         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53444         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53445
53446 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53447
53448         [BZ #3268]
53449         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53450         fma tests.
53451         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53452         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53453         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53454         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53455         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53456         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53457         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53458
53459 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53460
53461         [BZ #12078]
53462         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53463         * posix/bug-regex31.input: Add test case.
53464
53465 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53466
53467         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53468         * posix/bug-regex31.input: New file.
53469
53470         [BZ #12078]
53471         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53472         (parse_sub_exp): Fix last change, use postorder.
53473
53474         * posix/bug-regex31.c: New file.
53475         * posix/Makefile: Add rules to build and run bug-regex31.
53476
53477         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53478
53479         [BZ #12078]
53480         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53481
53482         [BZ #12108]
53483         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53484         to have entries in sys_siglist.
53485
53486         [BZ #12093]
53487         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53488         be NULL.
53489
53490 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53491
53492         [BZ #3268]
53493         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53494         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53495         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53496         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53497         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53498         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53499         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53500         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53501         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53502         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53503         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53504         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53505         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53506         * math/ftestexcept.c (fetestexcept): Likewise.
53507         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53508         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53509         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53510         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53511         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53512         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53513         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53514
53515 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53516
53517         [BZ #12107]
53518         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53519         newline.
53520
53521 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53522
53523         * string/bug-strstr1.c: New file.
53524         * string/Makefile: Add rules to build and run bug-strstr1.
53525
53526 2010-10-05  Eric Blake  <eblake@redhat.com>
53527
53528         [BZ #12092]
53529         * string/str-two-way.h (two_way_long_needle): Always clear memory
53530         when skipping input due to the shift table.
53531
53532 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53533
53534         [BZ #12005]
53535         * malloc/mcheck.c: Handle large requests.
53536
53537         [BZ #12077]
53538         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53539         for strncmp and strncasecmp.
53540         * string/stratcliff.c: Add tests for strcmp and strncmp.
53541         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53542
53543 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53544
53545         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53546         __set_fpscr.
53547
53548 2010-09-30  Andreas Jaeger  <aj@suse.de>
53549
53550         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53551         (CGROUP_SUPER_MAGIC): Define.
53552         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53553         Handle btrfs and cgroup file systems.
53554         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53555         Likewise.
53556
53557 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53558
53559         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53560         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53561
53562 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53563
53564         [BZ #12067]
53565         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53566         trying to locate the ELF header.
53567
53568 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53569
53570         [BZ #11611]
53571         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53572         Mask out sign-bit copies when constructing f_fsid.
53573
53574 2010-09-24  Petr Baudis <pasky@suse.cz>
53575
53576         * debug/stack_chk_fail_local.c: Add missing licence exception.
53577         * debug/warning-nop.c: Likewise.
53578
53579 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53580
53581         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53582         implementing getdents64 using getdents syscall, set d_type if
53583         __ASSUME_GETDENTS32_D_TYPE.
53584
53585 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53586
53587         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53588         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53589
53590 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53591
53592         [BZ #12037]
53593         * posix/unistd.h: Undo change of feature selection for ftruncate from
53594         2010-01-11.
53595
53596 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53597
53598         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53599         detection.
53600
53601 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53602
53603         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53604         fanotify_mark.
53605         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53606
53607 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53608
53609         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53610         variables after CHECK_SP call.
53611         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53612
53613 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53614             Ulrich Drepper  <drepper@redhat.com>
53615
53616         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53617         re-relocationg ld.so.
53618         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53619         _dl_init_paths call.
53620         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53621         here anymore.
53622
53623 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53624
53625         * resolv/res_init.c (__res_vinit): Count the default server we added.
53626
53627 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53628             Ulrich Drepper  <drepper@redhat.com>
53629
53630         [BZ #11968]
53631         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53632         (____longjmp_chk): Use %ebx for saving value across system call.
53633         Add unwind info.
53634
53635 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53636
53637         * manual/Makefile: Don't mix pattern rules with normal rules.
53638
53639 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53640
53641         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53642         operation.
53643         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53644         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53645         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53646         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53647         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53648         Likewise.
53649
53650 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53651
53652         [BZ #11979]
53653         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53654         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53655
53656 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53657
53658         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53659         * sysdeps/x86_64/addmul_1.S: Likewise.
53660         * sysdeps/x86_64/lshift.S: Likewise.
53661         * sysdeps/x86_64/mul_1.S: Likewise.
53662         * sysdeps/x86_64/rshift.S: Likewise.
53663         * sysdeps/x86_64/sub_n.S: Likewise.
53664         * sysdeps/x86_64/submul_1.S: Likewise.
53665
53666 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53667
53668         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53669         Define __sched_param instead of SCHED_* and sched_param when
53670         <bits/sched.h> is included with __need_schedparam defined.
53671         * bits/sched.h [__need_schedparam]
53672         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53673         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53674         (__defined_schedparam): Define to 1.
53675         (__sched_param): New structure, identical to sched_param.
53676         (__need_schedparam): Undefine.
53677
53678 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53679
53680         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53681         (epoll_create1): Declare.
53682
53683         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53684
53685 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53686
53687         [BZ #7066]
53688         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53689         shifting retval into place.
53690
53691 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53692
53693         * nis/rpcsvc/nis.h: Update copyright notice.
53694         * nis/rpcsvc/nis.x: Likewise.
53695         * nis/rpcsvc/nis_callback.h: Likewise.
53696         * nis/rpcsvc/nis_callback.x: Likewise.
53697         * nis/rpcsvc/nis_object.x: Likewise.
53698         * nis/rpcsvc/nis_tags.h: Likewise.
53699         * nis/rpcsvc/yp.h: Likewise.
53700         * nis/rpcsvc/yp.x: Likewise.
53701         * nis/rpcsvc/ypupd.h: Likewise.
53702         * nis/yp_xdr.c: Likewise.
53703         * nis/ypupdate_xdr.c: Likewise.
53704
53705         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53706         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53707         (pmap_getport): Use __libc_rpc_getport.
53708         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53709         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53710         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53711
53712 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53713
53714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53715         fanotify_mark.
53716
53717 2010-08-27  Roland McGrath  <roland@redhat.com>
53718
53719         * sysdeps/i386/i686/multiarch/Makefile
53720         (CFLAGS-varshift.c): New variable.
53721
53722 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53723
53724         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53725         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53726
53727         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53728
53729         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53730
53731 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53732
53733         * sysdeps/x86_64/strlen.S: Unroll the loop.
53734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53735         strlen-sse2 strlen-sse2-bsf.
53736         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53737         __strlen_no_bsf if bit_Slow_BSF is set.
53738         (__strlen_sse42): Removed.
53739         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53740         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53741
53742 2010-08-25  Roland McGrath  <roland@redhat.com>
53743
53744         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53745         * sysdeps/x86_64/multiarch/varshift.c: New file.
53746         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53747         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53748         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53749         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53750
53751 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53752
53753         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53754         strlen-sse2 strlen-sse2-bsf.
53755         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53756         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53757         (__strlen_sse2): Removed.
53758         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53759         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53761         bit_Slow_BSF for Atom.
53762         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53763         (index_Slow_BSF): Define.
53764         (HAS_SLOW_BSF): Define.
53765
53766 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53767
53768         [BZ #10851]
53769         * resolv/res_init.c (__res_vinit): When no server address at all
53770         is given default to loopback.
53771
53772 2010-08-24  Roland McGrath  <roland@redhat.com>
53773
53774         * configure.in: Remove config-name.h generation.
53775         * configure: Regenerated.
53776         * config-name.in: File removed.
53777         * scripts/config-uname.sh: New file.
53778         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53779         ($(objdir)config-name.h): New target.
53780
53781         * sunrpc/rpc_parse.h: Avoid nested comment.
53782
53783 2010-08-24  Richard Henderson  <rth@redhat.com>
53784             Ulrich Drepper  <drepper@redhat.com>
53785             H.J. Lu  <hongjiu.lu@intel.com>
53786
53787         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53788         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53789         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53790         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53791         _mm_alignr_epi8 with _mm_loadu_si128.
53792         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53793         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53794         (__m128i_shift_right): Removed.
53795         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53796         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53797         * sysdeps/x86_64/multiarch/varshift.h: New file.
53798         * sysdeps/x86_64/multiarch/varshift.S: New file.
53799
53800 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53801
53802         * configure.in: Move assembler checks to before sysdep dir checking.
53803
53804 2010-08-20  Petr Baudis  <pasky@suse.cz>
53805
53806         * LICENSES: Sync the sunrpc license.
53807
53808 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53809
53810         * sunrpc/auth_des.c: Update copyright notice once again.
53811         * sunrpc/auth_none.c: Likewise.
53812         * sunrpc/auth_unix.c: Likewise.
53813         * sunrpc/authdes_prot.c: Likewise.
53814         * sunrpc/authuxprot.c: Likewise.
53815         * sunrpc/bindrsvprt.c: Likewise.
53816         * sunrpc/clnt_gen.c: Likewise.
53817         * sunrpc/clnt_perr.c: Likewise.
53818         * sunrpc/clnt_raw.c: Likewise.
53819         * sunrpc/clnt_simp.c: Likewise.
53820         * sunrpc/clnt_tcp.c: Likewise.
53821         * sunrpc/clnt_udp.c: Likewise.
53822         * sunrpc/clnt_unix.c: Likewise.
53823         * sunrpc/des_crypt.c: Likewise.
53824         * sunrpc/des_soft.c: Likewise.
53825         * sunrpc/get_myaddr.c: Likewise.
53826         * sunrpc/getrpcport.c: Likewise.
53827         * sunrpc/key_call.c: Likewise.
53828         * sunrpc/key_prot.c: Likewise.
53829         * sunrpc/openchild.c: Likewise.
53830         * sunrpc/pm_getmaps.c: Likewise.
53831         * sunrpc/pm_getport.c: Likewise.
53832         * sunrpc/pmap_clnt.c: Likewise.
53833         * sunrpc/pmap_prot.c: Likewise.
53834         * sunrpc/pmap_prot2.c: Likewise.
53835         * sunrpc/pmap_rmt.c: Likewise.
53836         * sunrpc/rpc/auth.h: Likewise.
53837         * sunrpc/rpc/auth_unix.h: Likewise.
53838         * sunrpc/rpc/clnt.h: Likewise.
53839         * sunrpc/rpc/des_crypt.h: Likewise.
53840         * sunrpc/rpc/key_prot.h: Likewise.
53841         * sunrpc/rpc/netdb.h: Likewise.
53842         * sunrpc/rpc/pmap_clnt.h: Likewise.
53843         * sunrpc/rpc/pmap_prot.h: Likewise.
53844         * sunrpc/rpc/pmap_rmt.h: Likewise.
53845         * sunrpc/rpc/rpc.h: Likewise.
53846         * sunrpc/rpc/rpc_des.h: Likewise.
53847         * sunrpc/rpc/rpc_msg.h: Likewise.
53848         * sunrpc/rpc/svc.h: Likewise.
53849         * sunrpc/rpc/svc_auth.h: Likewise.
53850         * sunrpc/rpc/types.h: Likewise.
53851         * sunrpc/rpc/xdr.h: Likewise.
53852         * sunrpc/rpc_clntout.c: Likewise.
53853         * sunrpc/rpc_cmsg.c: Likewise.
53854         * sunrpc/rpc_common.c: Likewise.
53855         * sunrpc/rpc_cout.c: Likewise.
53856         * sunrpc/rpc_dtable.c: Likewise.
53857         * sunrpc/rpc_hout.c: Likewise.
53858         * sunrpc/rpc_main.c: Likewise.
53859         * sunrpc/rpc_parse.c: Likewise.
53860         * sunrpc/rpc_parse.h: Likewise.
53861         * sunrpc/rpc_prot.c: Likewise.
53862         * sunrpc/rpc_sample.c: Likewise.
53863         * sunrpc/rpc_scan.c: Likewise.
53864         * sunrpc/rpc_scan.h: Likewise.
53865         * sunrpc/rpc_svcout.c: Likewise.
53866         * sunrpc/rpc_tblout.c: Likewise.
53867         * sunrpc/rpc_util.c: Likewise.
53868         * sunrpc/rpc_util.h: Likewise.
53869         * sunrpc/rpcinfo.c: Likewise.
53870         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53871         * sunrpc/rpcsvc/key_prot.x: Likewise.
53872         * sunrpc/rpcsvc/klm_prot.x: Likewise.
53873         * sunrpc/rpcsvc/mount.x: Likewise.
53874         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53875         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53876         * sunrpc/rpcsvc/rex.x: Likewise.
53877         * sunrpc/rpcsvc/rstat.x: Likewise.
53878         * sunrpc/rpcsvc/rusers.x: Likewise.
53879         * sunrpc/rpcsvc/sm_inter.x: Likewise.
53880         * sunrpc/rpcsvc/spray.x: Likewise.
53881         * sunrpc/rpcsvc/yppasswd.x: Likewise.
53882         * sunrpc/rtime.c: Likewise.
53883         * sunrpc/svc.c: Likewise.
53884         * sunrpc/svc_auth.c: Likewise.
53885         * sunrpc/svc_authux.c: Likewise.
53886         * sunrpc/svc_raw.c: Likewise.
53887         * sunrpc/svc_run.c: Likewise.
53888         * sunrpc/svc_simple.c: Likewise.
53889         * sunrpc/svc_tcp.c: Likewise.
53890         * sunrpc/svc_udp.c: Likewise.
53891         * sunrpc/svc_unix.c: Likewise.
53892         * sunrpc/svcauth_des.c: Likewise.
53893         * sunrpc/xcrypt.c: Likewise.
53894         * sunrpc/xdr.c: Likewise.
53895         * sunrpc/xdr_array.c: Likewise.
53896         * sunrpc/xdr_float.c: Likewise.
53897         * sunrpc/xdr_mem.c: Likewise.
53898         * sunrpc/xdr_rec.c: Likewise.
53899         * sunrpc/xdr_ref.c: Likewise.
53900         * sunrpc/xdr_sizeof.c: Likewise.
53901         * sunrpc/xdr_stdio.c: Likewise.
53902
53903         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53904         handling.
53905
53906 2010-08-19  Andreas Schwab  <schwab@redhat.com>
53907
53908         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53909
53910 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
53911
53912         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53913         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53914         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53915         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53916         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53917         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53918         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53919         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53920         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53921         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53922         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53923         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53924         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53925         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53926
53927 2010-07-26  Anton Blanchard  <anton@samba.org>
53928
53929         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53930         * malloc/arena.c (heap_trim): Likewise.
53931
53932 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
53933
53934         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53935         here.  Not...
53936         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53937         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53938
53939 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
53940
53941         * sysdeps/i386/elf/Makefile: New file.
53942
53943 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53944
53945         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53946         from fanotify_init.
53947         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53948         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53949
53950 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
53951
53952         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53953         of strncasecmp_l.
53954         * sysdeps/multiarch/strcmp.S: Likewise.
53955
53956 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
53957
53958         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53959         strncase_l-nonascii.
53960         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53961         Add strncase_l-ssse3.
53962         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53963         * sysdeps/x86_64/strcmp.S: Likewise.
53964         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53965         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53966         * sysdeps/x86_64/strncase.S: New file.
53967         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53968         * sysdeps/x86_64/strncase_l.S: New file.
53969         * string/Makefile (strop-tests): Add strncasecmp.
53970         * string/test-strncasecmp.c: New file.
53971
53972         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53973         warning.
53974
53975         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53976         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53977
53978 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53979
53980         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53981
53982 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
53983
53984         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53985         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53986         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53987
53988 2010-05-01  Alan Modra  <amodra@gmail.com>
53989
53990         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53991         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53992         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53993         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53994         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53995         tidying.  Don't tail-call __sigjmp_save for static lib.
53996         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53997         save location.
53998         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53999         (CALL_MCOUNT): Add eh info, and nop after bl.
54000         (TAIL_CALL_SYSCALL_ERROR): New macro.
54001         (PSEUDO_RET): Use it.
54002         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54003         Correct save location of integer regs and cr.
54004         (_dl_profile_resolve): Correct cr save location.  Delete nops
54005         after bl when SHARED.  Reduce cfi size a little by better
54006         placement of cfi directives.
54007         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54008         make a stack frame.  Instead use parm save area as a temp.
54009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54010         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54012         Don't make a stack frame for parent, use parm save area.
54013         Increase child stack frame to 112 bytes.  Don't save unused reg,
54014         and adjust reg usage.  Set up cfi on error recovery and
54015         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54017         (__makecontext): Add dummy nop after jump to exit.
54018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54019         Use correct parm save area and cr save, reduce stack frame.
54020         Correct cfi for possible PSEUDO_RET frame setup.
54021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54022         Branch to local label emitted by PSEUDO_RET rather than
54023         __syscall_error.
54024
54025 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54026
54027         [BZ #11904]
54028         * locale/programs/locale.c (print_assignment): New function.
54029         (show_locale_vars): Use it.
54030
54031 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54032
54033         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54034         field.
54035         (struct statfs64): Likewise.
54036         (_STATFS_F_FLAGS): Define.
54037         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54038         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54039         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54040         (ST_VALID): Define locally.
54041         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54042         __statvfs_getflags, use the provided value.
54043         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54044         __ASSUME_STATFS_F_FLAGS.
54045
54046         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54047
54048         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54049         Add sys/fanotify.h.
54050         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54051         fanotify_mask for GLIBC_2.13.
54052         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54053         fanotify_init and fanotify_mark.
54054         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54055         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54056
54057         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54058         Add prlimit.
54059         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54060         prlimit64 for GLIBC_2.13.
54061         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54062         prlimit64.
54063         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54064         syscall.
54065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54066         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54067         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54068         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54069         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54070         add prlimit alias.
54071         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54072
54073         [BZ #11903]
54074         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54075         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54076
54077         * nss/Makefile: Add rules to build and run tst-nss-test1.
54078         * shlib-versions: Add entry for libnss_test1.
54079         * nss/nss_test1.c: New file.
54080         * nss/tst-nss-test1.c: New file.
54081
54082         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54083         (__nss_configure_lookup): Set appropriate entry in
54084         __nss_configure_lookup to true.
54085         * nss/nsswitch.h: Define enum with indeces of databases in
54086         databases and __nss_database_custom arrays.  Declare
54087         __nss_database_custom.
54088         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54089         to avoid using nscd when custom rules are installed.
54090         * nss/getXXbyYY_r.c: Likewise.
54091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54092
54093         * nss/nss_files/files-parse.c: Whitespace fixes.
54094
54095 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54096
54097         [BZ #11883]
54098         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54099         * posix/fnmatch_loop.c: Likewise.
54100
54101 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54102
54103         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54104         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54105         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54106         * Versions.def [GLIBC_2.13]: Add.
54107
54108 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54109
54110         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54111         Also fail if tpwd after pwuid call is NULL.
54112
54113 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54114
54115         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54116         when converting to ms.
54117
54118 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54119
54120         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54121         EOPNOTSUPP errors with ENOTTY.
54122         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54123         EOPNOTSUPP errors with ENOTTY.
54124
54125 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54126
54127         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54128         Add strcasecmp_l-ssse3.
54129         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54130         strcasecmp.
54131         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54132         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54133         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54134
54135 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54136
54137         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54138
54139         * string/Makefile (strop-tests): Add strcasecmp.
54140         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54141         strcasecmp_l-nonascii.
54142         (gen-as-const-headers): Add locale-defines.sym.
54143         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54144         * sysdeps/x86_64/strcasecmp.S: New file.
54145         * sysdeps/x86_64/strcasecmp_l.S: New file.
54146         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54147         * sysdeps/x86_64/locale-defines.sym: New file.
54148         * string/test-strcasecmp.c: New file.
54149
54150         * string/test-strcasestr.c: Test both ends of the range of characters.
54151         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54152
54153 2010-07-29  Roland McGrath  <roland@redhat.com>
54154
54155         [BZ #11856]
54156         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54157
54158 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54159
54160         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54161         for ld.so.
54162
54163 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54164
54165         * manual/memory.texi (Malloc Tunable Parameters): Document
54166         M_PERTURB.
54167
54168 2010-07-26  Roland McGrath  <roland@redhat.com>
54169
54170         [BZ #11840]
54171         * configure.in (-fgnu89-inline check): Set and substitute
54172         gnu89_inline, not libc_cv_gnu89_inline.
54173         * configure: Regenerated.
54174         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54175
54176 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54177
54178         * string/test-strnlen.c: New file.
54179         * string/Makefile (strop-tests): Add strnlen.
54180         * string/tester.c (test_strnlen): Add a few more test cases.
54181         * string/tst-strlen.c: Better error reporting.
54182
54183         * sysdeps/x86_64/strnlen.S: New file.
54184
54185 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54186
54187         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54188         lower-latency instructions.
54189
54190 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54191
54192         * string/test-strcasestr.c: New file.
54193         * string/test-strstr.c: New file.
54194         * string/Makefile (strop-tests): Add strstr and strcasestr.
54195         * string/str-two-way.h: Don't undefine MAX.
54196         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54197
54198 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54199
54200         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54201         strcasestr-nonascii.
54202         (CFLAGS-strcasestr-nonascii.c): Define.
54203         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54204         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54205         Remove unused attribute.
54206
54207 2010-07-20  Roland McGrath  <roland@redhat.com>
54208
54209         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54210         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54211         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54212         like LD_HWCAP_MASK can disable hwcaps.
54213
54214 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54215
54216         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54217
54218 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54219
54220         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54221         call in strcasestr.
54222         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54223         __strcasestr_sse42_nonascii.
54224         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54225         strcasestr-nonascii.c.
54226         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54227
54228 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54229
54230         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54231         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54232         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54233         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54234
54235 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54236
54237         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54238         fcntl.
54239
54240 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54241
54242         [BZ #11577]
54243         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54244         dl_signal_cerror.
54245
54246 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54247
54248         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54249         _PC_PIPE_BUF using F_GETPIPE_SZ.
54250
54251 2010-07-05  Roland McGrath  <roland@redhat.com>
54252
54253         * manual/arith.texi (Rounding Functions): Fix rint description
54254         implicit in round description.
54255
54256 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54257
54258         * elf/Makefile: Fix linking for a few tests to make recent linker
54259         happy.
54260
54261 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54262
54263         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54264         $(common-objpfx)libc_nonshared.a.
54265
54266 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54267
54268         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54269         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54270         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54271         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54272         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54273         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54274         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54275         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54290         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54291         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54292         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54293         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54294         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54295         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54296         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54297         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54298         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54299         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54300         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54301         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54316
54317 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54318
54319         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54320         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54321         * string/memmove.c (memmove): Renamed to ...
54322         (MEMMOVE): ...this.  Default to memmove.
54323         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54324         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54325         (END_CHK): Define.
54326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54327         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54328         mempcpy-ssse3-back memmove-ssse3-back.
54329         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54330         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54331         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54332         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54333         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54334         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54335         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54336         * sysdeps/x86_64/multiarch/memmove.c: New file.
54337         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54338         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54339         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54340         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54341         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54342         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54343         Define.
54344         (index_Fast_Copy_Backward): Define.
54345         (HAS_ARCH_FEATURE): Define.
54346         (HAS_FAST_REP_STRING): Define.
54347         (HAS_FAST_COPY_BACKWARD): Define.
54348
54349 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54350
54351         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54352         Restore proper fallback handling.
54353
54354 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54355
54356         [BZ #11701]
54357         * posix/group_member.c (__group_member): Correct checking loop.
54358
54359         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54360         OOM in getpwuid_r correctly.  Return error number when the caller
54361         should return, otherwise -1.
54362         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54363         call returning > 0 value.
54364         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54365
54366 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54367
54368         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54369         libc_nonshared.a from targets in modules-names.
54370
54371 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54372
54373         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54374         requires it.
54375
54376 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54377
54378         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54379         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54380         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54381         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54382
54383 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54384
54385         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54386
54387 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54388
54389         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54390         and F_GETPIPE_SZ.
54391         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54392         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54393         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54394         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54395         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54396         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54397
54398 2010-06-14  Roland McGrath  <roland@redhat.com>
54399
54400         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54401
54402 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54403
54404         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54405         __REDIRECT followed by __THROW.
54406         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54407         * posix/getopt.h (getopt): Likewise.
54408
54409 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54410
54411         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54412         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54413         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54414         in AT_FLAGS.
54415         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54416         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54417
54418 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54419
54420         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54421
54422 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54423
54424         [BZ #11640]
54425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54426         Properly check family and model.
54427
54428 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54429
54430         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54431
54432 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54433
54434         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54435
54436 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54437
54438         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54439         symbol reference.
54440
54441 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54442
54443         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54444         symbol reference.
54445
54446 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54447
54448         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54449         and internal_recvmmsg.
54450         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54451         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54452         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54453         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54454
54455         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54456         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54457         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54458
54459 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54460
54461         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54462
54463 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54464
54465         POWER7 optimizations.
54466         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54467         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54468
54469 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54470
54471         * version.h: Update for 2.13 development version.
54472
54473 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54474
54475         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54476         exceptions.  Return 0.
54477
54478 2010-05-07  Roland McGrath  <roland@redhat.com>
54479
54480         * elf/ldconfig.c (main): Add a const.
54481
54482 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54483
54484         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54485         (args_options): Add no-idn option.
54486         (ahosts_keys_int): Add idn_flags to ai_flags.
54487         (parse_option): Handle 'i' option to clear idn_flags.
54488
54489         * malloc/malloc.c (_int_free): Possible race in the most recently
54490         added check.  Only act on the data if no current modification
54491         happened.
54492
54493 See ChangeLog.17 for earlier changes.