Call libc_fetestexcept_aarch64.
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2
3         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4         Call libc_fetestexcept_aarch64.
5
6 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7
8         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9         Call libc_fesetround_aarch64.
10
11 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12
13         [BZ #17733]
14         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
15         (__bind): Do not define as weak alias.
16         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17         define.
18         (__getsockname): Do not define as weak alias.
19
20 2014-12-22  Will Newton  <will.newton@linaro.org>
21
22         * manual/install.texi: Document that we require bison 2.7
23         or above.
24         * INSTALL: Regenerate.
25         * configure.ac: Use AC_CHECK_PROG_VER instead of
26         AC_PATH_PROG when checking for bison and check for
27         version 2.7 or above.
28         * configure: Regenerate.
29
30 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
31
32         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
33         * sysdeps/tile/ffsll.c (ffsll): To here.
34
35         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
36
37 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38
39         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
40         if not defined.
41         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42         definition.
43         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
44         hidden ___tls_get_addr.
45         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
46         hidden __tls_get_addr.
47         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
48         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
49         Likewise.
50
51 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
52
53         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
54         _dl_init call.
55
56 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
57
58         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
59         from "call _dl_init@PLT".
60         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
61
62 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
63
64         * manual/search.texi: (Array Sort Function): Clarify stable sorting
65         guarantees.
66
67 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
68
69         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
70
71 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
72
73         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
74         strnlen.
75
76 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
77
78         * string/strncat.c (STRNCAT): Simplify implementation.
79
80 2014-12-19  David S. Miller  <davem@davemloft.net>
81
82         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
83         access the quad as both a long double and as a series of 4 words.
84
85         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
86         link_map->l_info array access.
87
88 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
89
90         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
91
92         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
93         * math/atest-exp2.c (TIMEOUT): Likewise.
94         * math/atest-sincos.c (TIMEOUT): Likewise.
95
96 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
97
98         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
99         -Wno-error with -fno-builtin-lround.
100
101 2014-12-19  Torvald Riegel  <triegel@redhat.com>
102
103         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
104         Contains futex constants and functions moved over from ...
105         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
106         <lowlevellock-futex.h>.
107         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
108         (lll_timedwait_tid): Add comments and parentheses around macro
109         arguments.
110
111 2014-12-19  Torvald Riegel  <triegel@redhat.com>
112
113         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
114         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
115         (__lll_private_flag): Remove.
116         (lll_futex_wait): Likewise.
117         (lll_futex_timed_wait): Likewise.
118         (lll_futex_wake): Likewise.
119         (lll_futex_requeue): Likewise.
120         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
121         (__lll_timedwait_tid): Spell out argument names.
122         (lll_timedwait_tid): Add comments and parentheses around macro
123         arguments.
124         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
125         LLL_SHARED and LLL_PRIVATE usable from assembly code.
126
127 2014-12-19  Torvald Riegel  <triegel@redhat.com>
128
129         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
130         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
131         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
132         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
133         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
134         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
135         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
136         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
137         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
138         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
139         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
140         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
141         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
142         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
143         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
144         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
145         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
146         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
147         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
148
149 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
150
151         * sysdeps/x86_64/x32/Makefile: New file.
152
153 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
154
155         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
156         1L with (mp_limb_t) 1.
157
158 2014-12-17  Roland McGrath  <roland@hack.frob.com>
159
160         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
161         * nptl/libc_pthread_init.c: ... here.
162         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
163         * nptl/register-atfork.c: ... here.
164
165         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
166         Use pthread_sigmask rather than INTERNAL_SYSCALL.
167         Use assert_perror to check its return value.
168         (__gai_create_helper_thread): Likewise.
169
170         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
171
172         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
173
174 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
175
176         [BZ #17725]
177         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
178         __profil_counter.
179         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
180         Likewise.
181         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
182         Likewise.
183         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
184         Likewise.
185         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
186         (profil_counter): Likewise.
187         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
188         (profil_counter): Likewise.
189         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
190         Likewise.
191         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
192         Likewise.
193         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
194         (profil_counter): Likewise.
195         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
196         Likewise.
197         [!__profil_counter] (profil_counter): Define as weak alias of
198         __profil_counter.
199         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
200         (profil_counter): Rename to __profil_counter.
201         [!__profil_counter] (profil_counter): Define as weak alias of
202         __profil_counter.
203         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
204         (profil_counter): Rename to __profil_counter.
205         [!__profil_counter] (profil_counter): Define as weak alias of
206         __profil_counter.
207         * sysdeps/posix/profil.c: Update comment referring to
208         profil_counter.
209         (__profil): Use __profil_counter instead of profil_counter.
210         * sysdeps/posix/sprofil.c (profil_counter): Rename to
211         __profil_counter.  Use __profil_counter_ushort and
212         __profil_counter_uint in definitions.
213         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
214         instead of profil_counter_uint and profil_counter_ushort.
215
216         [BZ #17722]
217         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
218         define as weak alias of __inet_makeaddr.
219         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
220         as weak alias of __inet_addr.
221         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
222         as weak alias of __inet_pton.  Use libc_hidden_weak.
223         * include/arpa/inet.h (__inet_pton): Declare.  Use
224         libc_hidden_proto.
225         (inet_makeaddr): Don't use libc_hidden_proto.
226         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
227         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
228         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
229         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
230         Remove variable.
231         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
232         (test-xfail-POSIX/time.h/linknamespace): Likewise.
233
234 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
235
236         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
237
238 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
239
240         * stdio-common/bug-vfprintf-nargs.c (do_test):
241         Cast value to intptr_t to avoid format warning
242         for usage with PRIdPTR printing macro.
243
244 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
245
246         * libio/tst-widetext.c (do_test):
247         Use format type %td instead of %Zd for ptrdiff_t
248         in order to avoid format warning.
249
250 2014-12-17  Andreas Schwab  <schwab@suse.de>
251
252         * nscd/mem.c (gc): Add size_t cast to match printf format.
253
254 2014-12-16  Roland McGrath  <roland@hack.frob.com>
255
256         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
257         (init): Apply PTR_MANGLE to pointers before storing them.
258         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
259         before using them.
260
261 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
262
263         [BZ #17719]
264         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
265         define as weak alias of __memrchr.
266         (__memrchr): Do not define as strong alias of memrchr.
267         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
268         Remove variable.
269         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
270         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
271         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
272
273         [BZ #17717]
274         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
275         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
276         (if_indextoname): Rename to __if_indextoname and define as weak
277         alias of __if_indextoname.  Use libc_hidden_weak.
278         (if_freenameindex): Rename to __if_freenameindex and define as
279         weak alias of __if_freenameindex.
280         (if_nameindex): Rename to __if_nameindex and define as weak alias
281         of __if_nameindex.
282         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
283         __if_nametoindex and define as weak alias of __if_nametoindex.
284         Use libc_hidden_weak.
285         (if_freenameindex): Rename to __if_freenameindex and define as
286         weak alias of __if_freenameindex.
287         (if_nameindex): Rename to __if_nameindex and define as weak alias
288         of __if_nameindex.
289         (if_indextoname): Rename to __if_indextoname and define as weak
290         alias of __if_indextoname.  Use libc_hidden_weak.
291         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
292         __if_nametoindex and define as weak alias of __if_nametoindex.
293         Use libc_hidden_weak.
294         (if_freenameindex): Rename to __if_freenameindex and define as
295         weak alias of __if_freenameindex.  Use libc_hidden_weak.
296         (if_nameindex_netlink): Use __if_freenameindex instead of
297         if_freenameindex.
298         (if_nameindex): Rename to __if_nameindex and define as weak alias
299         of __if_nameindex.  Use libc_hidden_weak.
300         (if_indextoname): Rename to __if_indextoname and define as weak
301         alias of __if_indextoname.  Use libc_hidden_weak.
302         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
303         libc_hidden_proto.
304         [!_ISOMAC] (__if_freenameindex): Likewise.
305         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
306         if_nametoindex.
307         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
308         variable.
309         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
310         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
311         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
312         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
313         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
314         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
315         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
316
317         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
318         Remove variable.
319         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
320         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
321
322 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
323
324         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
325         subscript above bounds'
326
327         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
328         bounds.
329
330 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
331
332         * libio/tst-fopenloc.c: Use test-skeleton.c.
333
334         * stdlib/tst-bsearch.c: Use test-skeleton.c.
335         (entry): Rename to ITEM.
336         (do_test, comp): Adjust.
337
338         * stdio-common/tst-fseek.c: Use test-skeleton.c.
339
340 2014-12-16  Torvald Riegel  <triegel@redhat.com>
341
342         * string/tester.c: Include <libc-internal.h>.
343         (test_memset): Ignore -Wmemset-transposed-args.
344
345 2014-12-16  Torvald Riegel  <triegel@redhat.com>
346
347         * misc/tst-mntent2.c (do_test): Fix warning.
348
349 2014-12-16  Torvald Riegel  <triegel@redhat.com>
350
351         * elf/tst-unique4lib.cc(a): Mark as used.
352
353 2014-12-16  Florian Weimer  <fweimer@redhat.com>
354
355         [BZ #17630]
356         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
357         names.
358
359 2014-12-16  Allan McRae  <allan@archlinux.org>
360
361         * stdio-common/Makefile (tests): Re-add bug26.
362
363 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
364
365         [BZ #17657]
366         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
367         static array.
368
369 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
370
371         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
372         (__lll_lock_wait): Likewise.
373         (__lll_timedlock_wait): Likewise.
374         (__lll_timedwait_tid): Likewise.
375         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
376         (__lll_robust_timedlock_wait): Likewise.
377         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
378         (lll_cond_trylock): Likewise.
379         (__lll_lock): Likewise.
380         (__lll_robust_lock): Likewise.
381         (__lll_cond_lock): Likewise.
382         (lll_robust_cond_lock): Likewise.
383         (__lll_timedlock): Likewise.
384         (__lll_robust_timedlock): Likewise.
385         (__lll_unlock): Likewise.
386         (__lll_robust_unlock): Likewise.
387         (lll_wait_tid): Likewise.
388         (lll_timedwait_tid): Likewise.
389
390 2014-12-15  Torvald Riegel  <triegel@redhat.com>
391
392         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
393
394 2014-12-15  Torvald Riegel  <triegel@redhat.com>
395
396         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
397
398 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
399
400         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
401         * stdio-common/tst-sprintf.c: Likewise.
402
403 2014-12-15  Torvald Riegel  <triegel@redhat.com>
404
405         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
406
407 2014-12-15  Jeff Law  <law@redhat.com>
408
409         [BZ #16617]
410         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
411         on the heap.  (CVE-2012-3406)
412         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
413         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
414         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
415
416 2014-12-15  Will Newton  <will.newton@linaro.org>
417
418         * manual/install.texi: Bump required version of texinfo
419         to 4.7 from 4.5.
420         * INSTALL: Regenerated.
421         * configure.ac: Check for makeinfo version 4.7 and above.
422         * configure: Regenerated.
423
424 2014-12-12  Roland McGrath  <roland@hack.frob.com>
425
426         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
427         PREFIX, string constant to insert between directory and name.
428         * sysdeps/posix/shm_open.c: Update caller.
429         * sysdeps/posix/shm_unlink.c: Likewise.
430         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
431         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
432         (SEM_SHM_PREFIX): New macro.
433         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
434         [$(have-thread-library) = no].
435         * nptl/Makefile (libpthread-routines): Add shm-directory.
436         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
437         * sysdeps/nptl/shm-directory.h: New file.
438         * sysdeps/posix/shm-directory.c
439         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
440         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
441         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
442         INTERNAL_SYSCALL.
443         (__where_is_shmfs): Function removed.
444         (mountpoint, defaultmount, defaultdir, __namedsem_once):
445         Variables removed.
446         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
447         Use SHM_GET_NAME.
448         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
449
450         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
451         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
452         unconditional for use inside libpthread.
453         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
454
455 2014-12-12  Roland McGrath  <roland@hack.frob.com>
456
457         * nptl/pthread_getaffinity.c: New file.
458         * nptl/pthread_setaffinity.c: New file.
459         * nptl/pthread_getname.c: New file.
460         * nptl/pthread_setname.c: New file.
461
462         * nptl/pthread_create.c (START_THREAD_DEFN)
463         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
464
465 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
466             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
467
468         * resolv/res_send.c (send_vc): Disable warning resplen may
469         be used uninitialized.
470
471 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
472
473         * nptl/tst-mutex6.c
474         (ATTR_NULL): New define checks ATTR against NULL.
475         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
476         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
477
478 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
479
480         [BZ #17581]
481         * malloc/hooks.c
482         (mem2mem_check): Revert my previous change.
483         (malloc_check_get_size): Revert my previous change.
484         (mem2chunk_check): Revert my previous change.
485
486 2014-12-11  Roland McGrath  <roland@hack.frob.com>
487
488         * sysdeps/posix/shm-directory.c: New file.
489         * sysdeps/posix/shm-directory.h: New file.
490         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
491         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
492         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
493         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
494         Transmute EPERM to EACCES.
495         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
496         from ...
497         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
498         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
499
500 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
501
502         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
503         pointer and cast to uintptr_t.
504         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
505         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
506         Add cast to avoid warning.
507         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
508
509 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
510
511         * nptl/semaphore.h: Move to ...
512         * sysdeps/pthread/semaphore.h: ... here.
513         * Makefile (installed-headers): Change nptl/semaphore.h to
514         sysdeps/pthread/semaphore.h.
515
516 2014-12-11  Roland McGrath  <roland@hack.frob.com>
517
518         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
519         generated error format strings.
520
521         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
522         -Wformat-extra-args warnings for scanf formats.
523         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
524         test of zero-length format (duh).
525         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
526         corner-case scanf format test.
527         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
528         generated fprintf format string.
529         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
530         corner-case sprintf format tests.
531         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
532         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
533         -Wformat-extra-args warnings throughout.
534         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
535         (CFLAGS-scanf4.c): Likewise.
536         (CFLAGS-scanf7.c): Likewise.
537         (CFLAGS-tst-sprintf.c): Likewise.
538         (CFLAGS-tst-printf.c): Likewise.
539         (CFLAGS-tst-printfsz.c): Likewise.
540
541 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
542
543         * include/cpio.h: New file.
544         * include/fmtmsg.h: Likewise.
545
546         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
547         corresponding format argument to size_t.
548         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
549         arguments.
550         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
551         corresponding format argument to size_t.
552         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
553         arguments.
554         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
555         corresponding format argument to size_t.
556         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
557         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
558         (CFLAGS-tst-mbswcs2.c): Likewise.
559         (CFLAGS-tst-mbswcs3.c): Likewise.
560         (CFLAGS-tst-mbswcs4.c): Likewise.
561         (CFLAGS-tst-mbswcs5.c): Likewise.
562         (CFLAGS-tst-trans.c): Likewise
563
564 2014-12-11  Roland McGrath  <roland@hack.frob.com>
565
566         * posix/regexbug1.c (main): Use "%s" format with regerror results,
567         rather than assuming they won't contain any '%'s.
568
569 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
570
571         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
572         inhibit_loop_to_libcall to avoid recursive calls.
573         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
574         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
575
576 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
577
578         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
579         prototype.
580
581 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
582
583         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
584         integer value instead of boolean.
585
586 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
587
588         * malloc/malloc.c: Fix powerof2 check.
589
590 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
591
592         * locale/programs/locfile.h (maybe_swap_uint32):
593         Remove inline and add unused attribute.
594
595 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
596
597         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
598         Truncating assembler expression to a .long expression.
599
600 2014-12-11  Andreas Schwab  <schwab@suse.de>
601
602         * elf/rtld.c (struct map_args): Constify str member.
603         (do_preload): Constify fname argument.
604
605 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
606
607         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
608         constants definition.
609
610 2014-12-11  Andreas Schwab  <schwab@suse.de>
611
612         [BZ #16657]
613         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
614         FORCE_ELISION instead of DO_ELISION.
615         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
616         Remove.
617         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
618         Likewise.
619
620         * iconvdata/gconv-modules: Remove duplicate entry.
621
622 2014-12-11  Will Newton  <will.newton@linaro.org>
623
624         Merge gettext 0.19.3 into intl/.
625
626         This involves a number of cosmetic changes to comments
627         and ANSI function definitions and prototypes throughout
628         all the files. The gettext copyright header is used but
629         with the date ranges taken from the glibc copy.
630
631         * NEWS: Add gettext merge to 2.21.
632         * intl/bindtextdom.c: Switch to gettext copyright.
633         Use ANSI definitions and prototypes.
634         Use gl_* locking primitives rather than __libc_* ones.
635         Use __builtin_expect rather than __glibc_likely/unlikely.
636         * intl/dcgettext.c: Switch to gettext copyright.
637         Use ANSI definitions and prototypes.
638         * intl/dcigettext.c: Switch to gettext copyright.
639         Use ANSI definitions and prototypes.
640         (INTDIV0_RAISES_SIGFPE): New define.
641         Use gl_* locking primitives rather than __libc_* ones.
642         Include eval-plural.h instead of plural-eval.c.
643         Use __builtin_expect rather than __glibc_likely/unlikely.
644         * intl/dcngettext.c: Switch to gettext copyright.
645         Use ANSI definitions and prototypes.
646         * intl/dgettext.c: Likewise.
647         * intl/dngettext.c: Likewise.
648         * intl/plural-eval.c: Renamed to...
649         * intl/eval-plural.h: ...this.
650         * intl/explodename.c: Switch to gettext copyright.
651         Use ANSI definitions and prototypes.
652         (_nl_explode_name): Use strchr instead of __rawmemchr.
653         * intl/finddomain.c: Switch to gettext copyright.
654         Use ANSI definitions and prototypes.
655         Use gl_* locking primitives rather than __libc_* ones.
656         (_nl_find_domain): Use malloc rather than alloca for
657         allocation of temporary locale name.
658         * intl/gettext.c: Switch to gettext copyright.
659         Use ANSI definitions and prototypes.
660         * intl/gettextP.h: Switch to gettext copyright.
661         Use ANSI definitions and prototypes.
662         Use gl_* locking primitives rather than __libc_* ones.
663         * intl/gmo.h: Switch to gettext copyright.
664         (struct sysdep_string): Move struct segment_pair outside of
665         struct definition.
666         * intl/hash-string.c: Use ANSI definitions and prototypes.
667         * intl/hash-string.h: Switch to gettext copyright.
668         Use ANSI definitions and prototypes.
669         * intl/l10nflist.c: Switch to gettext copyright.
670         Use ANSI definitions and prototypes.
671         (_nl_normalize_codeset): Avoid integer overflow.
672         * intl/loadinfo.h: Switch to gettext copyright.
673         Use ANSI definitions and prototypes.
674         (LIBINTL_DLL_EXPORTED): New define.
675         (PATH_SEPARATOR): New define.
676         * intl/loadmsgcat.c: Switch to gettext copyright.
677         * intl/localealias.c: Switch to gettext copyright.
678         Use ANSI definitions and prototypes.
679         (_nl_expand_alias): Use PATH_SEPARATOR.
680         * intl/ngettext.c: Switch to gettext copyright.
681         Use ANSI definitions and prototypes.
682         * intl/plural-exp.c: Likewise.
683         * intl/plural-exp.h: Switch to gettext copyright.
684         Use ANSI definitions and prototypes.
685         (struct expression): Move definition of enum operator outside
686         of struct definition.
687         * intl/plural.c: Regenerate.
688         * intl/plural.y: Switch to gettext copyright.
689         Use ANSI definitions and prototypes.
690         Port to bison 3.0.
691         * intl/textdomain.c: Switch to gettext copyright.
692         Use ANSI definitions and prototypes.
693         Use gl_* locking primitives rather than __libc_* ones.
694
695 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
696
697         * debug/warning-nop.c: Add used atrribute.
698
699 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
700
701         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
702
703         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
704         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
705         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
706
707 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
708             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
709
710         [BZ #17634]
711         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
712         Undefine after defining function.  Define as weak alias of
713         __wcschr.  Use libc_hidden_weak.
714         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
715         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
716         (libc_hidden_def): Also define __GI___wcschr alias.
717         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
718         __wcschr and define as weak alias of __wcschr.
719         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
720         __wcschr.
721         [!WCSCHR] (DEFAULT_WCSCHR): Define.
722         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
723         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
724         libc_hidden_weak.  Do not use libc_hidden_def.
725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
726         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
727         __GI___wcschr alias.
728         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
729         [IS_IN (libc)] (wcschr): Define as macro expanding to
730         __redirect_wcschr.
731         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
732         [IS_IN (libc)] (__wcschr_power6): Likewise.
733         [IS_IN (libc)] (__wcschr_power7): Likewise.
734         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
735         instead of wcschr.
736         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
737         __libc_wcschr.
738         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
739         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
740         __wcschr and define as weak alias of __wcschr.  Use
741         libc_hidden_builtin_def.
742         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
743         as weak alias of __wcschr.  Use libc_hidden_weak.
744         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
745         wcschr.
746         * time/era.c (_nl_init_era_entries): Likewise.
747         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
748         variable.
749         (test-xfail-XPG3/time.h/linknamespace): Likewise.
750         (test-xfail-XPG4/time.h/linknamespace): Likewise.
751
752 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
753
754         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
755         format for long int variable.
756
757 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
758
759         [BZ #10672]
760         * manual/search.texi: (Array Sort Function): Remove claim how to make
761         qsort stable.
762
763 2014-12-10  Andreas Schwab  <schwab@suse.de>
764
765         [BZ #12847]
766         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
767         user-controlled locks.
768
769 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
770
771         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
772         register.
773
774 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
775
776         * configure.ac (--disable-werror): New configure option.
777         (enable_werror): New AC_SUBST.
778         * configure: Regenerated.
779         * config.make.in (enable-werror): New variable.
780         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
781         -Wno-error=undef.
782         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
783         * manual/install.texi (Configuring and compiling): Document
784         --disable-werror.
785         * INSTALL: Regenerated.
786         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
787         (CFLAGS-tst-chk2.c): Likewise.
788         (CFLAGS-tst-chk3.c): Likewise.
789         (CFLAGS-tst-chk4.cc): Likewise.
790         (CFLAGS-tst-chk5.cc): Likewise.
791         (CFLAGS-tst-chk6.cc): Likewise.
792         (CFLAGS-tst-lfschk1.c): Likewise.
793         (CFLAGS-tst-lfschk2.c): Likewise.
794         (CFLAGS-tst-lfschk3.c): Likewise.
795         (CFLAGS-tst-lfschk4.cc): Likewise.
796         (CFLAGS-tst-lfschk5.cc): Likewise.
797         (CFLAGS-tst-lfschk6.cc): Likewise.
798
799         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
800         (main): Disable -Wdeprecated-declarations around calls to
801         register_printf_function.
802
803         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
804         (do_test): Disable -Wdiv-by-zero around some calls to
805         fwrite_unlocked and fread_unlocked.
806
807         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
808         (DIAG_POP_NEEDS_COMMENT): Likewise.
809         (_DIAG_STR1): Likewise.
810         (_DIAG_STR): Likewise.
811         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
812         * stdio-common/bug21.c: Include <libc-internal.h>.
813         (do_test): Disable -Wformat around call to sscanf.
814         * stdio-common/scanf14.c: Include <libc-internal.h>.
815         (main): Disable -Wformat around some calls to scanf functions.
816
817 2014-12-09  Torvald Riegel  <triegel@redhat.com>
818
819         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
820
821 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
822
823         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
824         stack variable alignment.
825
826 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
827
828         [BZ #17682]
829         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
830         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
831         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
832         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
833         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
834         __getrlimit instead of getrlimit.
835         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
836         __gettimeofday instead of gettimeofday.
837         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
838         Likewise.
839         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
840         Likewise.
841         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
842         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
843         Remove variable.
844         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
845         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
846
847 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
848
849         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
850         for wide-character tests.
851
852 2014-12-04  Roland McGrath  <roland@hack.frob.com>
853
854         * io/openat64.c: #include <libc-internal.h>
855         (__openat64): Prototypify.  Use ignore_value on MODE.
856         * io/openat.c: Likewise.
857         * misc/reboot.c: #include <libc-internal.h>
858         (reboot): Prototypify.  Use ignore_value on HOWTO.
859         * misc/ptrace.c: #include <libc-internal.h>
860         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
861
862 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
863
864         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
865         XPG4, UNIX98 and XOPEN2K.
866         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
867         Remove variable.
868         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
869
870 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
871
872         * libio/fileops.c: Use ISO C style for function definitions.
873         * libio/iofopen.c: Likewise.
874         * libio/wfileops.c: Likewise.
875
876         [BZ #17653]
877         * libio/fileops.c (_IO_new_file_underflow): Unset cached
878         offset on EOF.
879         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
880         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
881         (fgets_func): Function pointer to fgets and fgetws.
882         (do_ftell_test): Add test to verify ftell value after read
883         EOF.
884         (do_test): Set fgets_func.
885
886         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
887         O_TRUNC flag for w and w+ modes.
888         (do_rewind_test): Likewise.
889         (do_ftell_test): Likewise.
890         (do_write_test): Likewise.
891
892         [BZ #17647]
893         * libio/fileops.c (do_ftell): Seek only when there are
894         unflushed writes.
895         * libio/wfileops.c (do_ftell_wide): Likewise.
896         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
897         test case.
898         (do_one_test): Call it.
899
900 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
901
902         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
903         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
904         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
905         Remove variable.
906         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
907         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
908         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
909
910 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
911
912         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
913         Remove variable.
914         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
915
916         [BZ #17668]
917         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
918         as weak alias of __getifaddrs.  Use libc_hidden_weak.
919         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
920         __freeifaddrs.  Use libc_hidden_weak.
921         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
922         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
923         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
924         __freeifaddrs.  Use libc_hidden_weak.
925         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
926         __getifaddrs and define as weak alias of __getifaddrs.  Use
927         libc_hidden_weak.
928         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
929         __freeifaddrs.  Use libc_hidden_weak.
930         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
931         Remove variable.
932         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
933         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
934
935 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
936
937         [BZ #17601]
938         * sysdeps/mips/start.S (__start): Use indirect jump to call
939         __libc_start_main.
940
941 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
942
943         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
944
945         * nptl/tst-mutex1.c: Include <stdbool.h>.
946         [!ATTR] (ATTR_NULL): New macro.
947         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
948         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
949         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
950
951         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
952         to char *.
953
954         [BZ #17665]
955         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
956         Change conditional to [__USE_MISC].
957
958         [BZ #17664]
959         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
960         fgets_unlocked.
961         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
962         __fgets_unlocked.
963         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
964         fgets_unlocked.
965         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
966         Remove variable.
967         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
968         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
969         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
970         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
971         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
972         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
973         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
974         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
975         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
976
977         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
978
979 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
980
981         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
982         Remove strpbrk objects.
983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
984         (__libc_ifunc_impl_list): Remove strpbrk implementation.
985         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
986         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
987         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
988         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
989
990         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
991         Remove strcspn objects.
992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
993         (__libc_ifunc_impl_list): Remove strcspn implementation.
994         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
995         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
996         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
997         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
998
999         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1000         Remove strspn objetcs.
1001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1002         (__libc_ifunc_impl_list): Remove strspn implementation.
1003         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1004         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1005         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1006         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1007
1008 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1009
1010         [BZ #17581]
1011         * malloc/hooks.c
1012         (mem2mem_check): Add a terminator to the chain of checking blocks.
1013         (malloc_check_get_size): Use it here.
1014         (mem2chunk_check): Ditto.
1015
1016 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1017
1018         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1019         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1020
1021 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1022
1023         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1024
1025         * nptl/nptl-init.c: Include libc-internal.h.
1026         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1027
1028         * elf/ldconfig.c (search_dir): Expand comment.
1029
1030 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1031
1032         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1033         variable.
1034         (linknamespace-symlist-stdlibs-tests): Likewise.
1035         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1036         instead of $(objpfx)symlist-stdlibs.
1037         (linknamespace-libs-isoc): New variable.
1038         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1039         (linknamespace-libs-ISO): New variable.
1040         (linknamespace-libs-ISO99): Likewise.
1041         (linknamespace-libs-ISO11): Likewise.
1042         (linknamespace-libs-XPG3): Likewise.
1043         (linknamespace-libs-XPG4): Likewise.
1044         (linknamespace-libs-POSIX): Likewise.
1045         (linknamespace-libs-UNIX98): Likewise.
1046         (linknamespace-libs-XOPEN2K): Likewise.
1047         (linknamespace-libs-POSIX2008): Likewise.
1048         (linknamespace-libs-XOPEN2K8): Likewise.
1049         ($(objpfx)symlist-stdlibs): Replace by
1050         $(linknamespace-symlist-stdlibs-tests).  Use
1051         $(linknamespace-libs-$*) as set of libraries.
1052         ($(linknamespace-header-tests)): Update dependencies.  Use
1053         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1054         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1055         * conform/linknamespace.pl: Remove comment about considering
1056         definitions of symbols from irrelevant libraries.
1057
1058 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1059
1060         [BZ #13862]
1061         * elf/dl-tls.c: Include <atomic.h>.
1062         (oom): Remove #ifdef SHARED/#endif.
1063         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1064         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1065         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1066         big enough.
1067         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1068         * nptl/Makefile (tests): Add tst-stack4.
1069         (modules-names): Add tst-stack4mod.
1070         ($(objpfx)tst-stack4): New.
1071         (tst-stack4mod.sos): Likewise.
1072         ($(objpfx)tst-stack4.out): Likewise.
1073         ($(tst-stack4mod.sos)): Likewise.
1074         (clean): Likewise.
1075         * nptl/tst-stack4.c: New file.
1076         * nptl/tst-stack4mod.c: Likewise.
1077
1078 2014-11-27  J. Brown  <jb999@gmx.de>
1079
1080         * sysdeps/x86/bits/string.h: Add recent CPUs.
1081
1082 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1083
1084         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1085         sigblock.
1086
1087         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1088         feof.
1089
1090         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1091         variable.
1092
1093 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1094
1095         * nscd/connections.c: Include libc-internal.h because of macro
1096         usage ignore_value.
1097
1098 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1099
1100         * string/bits/string3.h (__warn_memset_zero_len): Don't
1101         declare for gcc newer than 5.0.
1102         (memset): Don't test for zero-length __LEN for gcc newer than
1103         5.0.
1104
1105 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1106
1107         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1108         size_t for %zu format.
1109
1110         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1111         difference, not %ju.
1112
1113 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1114
1115         * include/libc-internal.h (ignore_value): New macro.
1116         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1117         with ignore_value.
1118
1119         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1120         definition.
1121
1122         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1123         pthread_cleanup_push to void *.
1124
1125         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1126         Undefine.
1127
1128         [BZ #16619]
1129         [BZ #16740]
1130         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1131         instead of 1L << 52.
1132
1133         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1134         * libio/bug-rewind2.c (do_test): Likewise.
1135
1136         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1137         * debug/test-strcpy_chk-ifunc.c: Likewise.
1138         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1139         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1140         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1141         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1142         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1143         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1144         * Rules [$(multi-arch) = no] (tests): Do not filter out
1145         $(tests-ifunc).
1146         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1147         * debug/Makefile (tests-ifunc): Remove variable.
1148         (tests): Do not add $(tests-ifunc).
1149         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1150         (tests): Do not add $(tests-ifunc).
1151         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1152         [TEST_IFUNC]: Remove conditionals.
1153         * string/test-string.h (TEST_IFUNC): Remove macro.
1154         [TEST_IFUNC]: Remove conditionals.
1155
1156         * string/test-strchr.c [!WIDE] (L): New macro.
1157         [WIDE] (L): Likewise.
1158         (check1): Use CHAR instead of char.  Use L on string and character
1159         constants.
1160
1161 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1162
1163         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1164         tests.
1165         * sysdeps/powerpc/bits/atomic.h
1166         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1167         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1168         (atomic_exchange_and_add_acq): Likewise.
1169         (atomic_exchange_and_add_rel): Likewise.
1170         * sysdeps/powerpc/powerpc32/bits/atomic.h
1171         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1172         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1173         * sysdeps/powerpc/powerpc64/bits/atomic.h
1174         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1175         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1176
1177 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1178
1179         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1180         Change synchronization of __sched_fifo_min_prio and
1181         __sched_fifo_max_prio.
1182         * nptl/pthread_mutexattr_getprioceiling.c
1183         (pthread_mutexattr_getprioceiling): Likewise.
1184         * nptl/pthread_mutexattr_setprioceiling.c
1185         (pthread_mutexattr_setprioceiling): Likewise.
1186         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1187         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1188         Likewise.
1189
1190 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1191
1192         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1193         void.
1194
1195 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1196
1197         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1198         third argument const.
1199
1200 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1201
1202         fnmatch: work around GCC compiler warning bug with uninit var
1203         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1204         This works around a bug with x86-64 GCC 4.9.2 and earlier
1205         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1206         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1207         used uninitialized in this function [-Wmaybe-uninitialized]".
1208
1209 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1210
1211         * posix/bug-regex31.c (main): Return RES not 0.
1212
1213 2014-11-25  Anton Blanchard <anton@samba.org>
1214
1215         * sysdeps/powerpc/bits/atomic.h
1216         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1217
1218 2014-11-24  Sterling Augustine  <saugustine@google.com>
1219
1220         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1221
1222 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1223
1224         [BZ #17608]
1225         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1226
1227 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1228
1229         [BZ #17633]
1230         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1231         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1232         variable.
1233         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1234         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1235
1236 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1237
1238         * string/strncpy.c (strncpy): Improve performance by using memset.
1239
1240 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1241
1242         * string/strcpy.c (strcpy):
1243         Improve performance by using strlen and memcpy.
1244
1245 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1246
1247         * string/strcoll_l.c (get_next_seq): __always_inline.
1248         * string/strcoll_l.c (do_compare): __always_inline.
1249
1250 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1251
1252         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1253         defined.
1254         * include/mqueue.h: Likewise.
1255         * include/stdlib.h: Likewise.
1256
1257         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1258         (get_null_defines): Adjust.
1259         * sunrpc/Makefile: Adjust comment.
1260         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1261         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1262         (CFLAGS-interp.c): Likewise.
1263         (CFLAGS-ldconfig.c): Likewise.
1264         (CPPFLAGS-.os): Likewise.
1265         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1266         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1267         * extra-modules.mk (extra-modules.mk): Likewise.
1268         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1269         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1270         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1271         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1272         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1273         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1274         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1275         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1276         * iconvdata/Makefile (CPPFLAGS): Likewise.
1277         (cpp-srcs-left): Add libof for all iconvdata routines.
1278         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1279         * include/assert.h: Likewise.
1280         * include/ctype.h: Likewise.
1281         * include/errno.h: Likewise.
1282         * include/libc-symbols.h: Likewise.
1283         * include/math.h: Likewise.
1284         * include/netdb.h: Likewise.
1285         * include/resolv.h: Likewise.
1286         * include/stdio.h: Likewise.
1287         * include/stdlib.h: Likewise.
1288         * include/string.h: Likewise.
1289         * include/sys/stat.h: Likewise.
1290         * include/wctype.h: Likewise.
1291         * intl/l10nflist.c: Likewise.
1292         * libidn/idn-stub.c: Likewise.
1293         * libio/libioP.h: Likewise.
1294         * nptl/libc_multiple_threads.c: Likewise.
1295         * nptl/pthreadP.h: Likewise.
1296         * posix/regex_internal.h: Likewise.
1297         * resolv/res_hconf.c: Likewise.
1298         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1299         * sysdeps/arm/memmove.S: Likewise.
1300         * sysdeps/arm/sysdep.h: Likewise.
1301         * sysdeps/generic/_itoa.h: Likewise.
1302         * sysdeps/generic/symbol-hacks.h: Likewise.
1303         * sysdeps/gnu/errlist.awk: Likewise.
1304         * sysdeps/gnu/errlist.c: Likewise.
1305         * sysdeps/i386/i586/memcpy.S: Likewise.
1306         * sysdeps/i386/i586/memset.S: Likewise.
1307         * sysdeps/i386/i686/memcpy.S: Likewise.
1308         * sysdeps/i386/i686/memmove.S: Likewise.
1309         * sysdeps/i386/i686/mempcpy.S: Likewise.
1310         * sysdeps/i386/i686/memset.S: Likewise.
1311         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1312         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1313         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1314         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1315         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1316         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1317         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1318         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1319         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1320         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1321         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1322         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1323         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1324         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1325         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1326         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1327         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1328         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1329         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1330         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1331         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1332         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1333         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1334         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1335         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1336         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1337         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1338         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1339         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1340         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1341         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1342         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1343         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1344         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1345         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1346         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1347         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1348         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1349         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1350         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1351         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1352         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1353         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1354         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1355         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1356         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1357         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1358         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1359         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1360         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1361         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1362         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1363         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1364         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1365         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1366         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1367         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1368         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1369         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1370         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1371         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1372         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1373         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1374         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1375         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1376         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1377         * sysdeps/posix/closedir.c: Likewise.
1378         * sysdeps/posix/opendir.c: Likewise.
1379         * sysdeps/posix/readdir.c: Likewise.
1380         * sysdeps/posix/rewinddir.c: Likewise.
1381         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1382         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1383         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1384         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1385         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1386         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1387         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1388         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1389         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1390         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1391         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1392         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1393         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1394         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1395         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1396         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1397         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1398         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1399         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1400         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1401         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1402         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1403         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1404         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1405         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1406         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1407         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1408         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1409         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1410         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1411         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1412         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1413         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1415         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1416         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1417         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1418         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1419         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1420         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1421         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1422         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1423         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1424         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1425         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1426         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1427         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1428         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1429         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1430         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1431         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1432         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1433         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1434         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1435         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1436         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1437         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1438         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1439         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1440         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1441         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1442         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1443         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1444         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1445         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1446         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1447         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1448         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1449         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1450         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1451         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1452         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1453         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1454         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1455         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1456         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1457         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1458         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1459         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1460         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1461         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1462         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1463         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1464         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1465         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1466         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1467         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1468         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1469         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1470         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1471         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1472         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1473         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1474         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1475         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1476         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1477         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1478         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1479         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1480         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1481         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1482         * sysdeps/unix/alpha/sysdep.S: Likewise.
1483         * sysdeps/unix/alpha/sysdep.h: Likewise.
1484         * sysdeps/unix/make-syscalls.sh: Likewise.
1485         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1486         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1487         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1488         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1489         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1490         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1491         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1492         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1493         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1494         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1495         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1496         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1497         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1498         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1499         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1500         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1501         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1502         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1503         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1504         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1505         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1506         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1507         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1508         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1509         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1510         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1511         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1514         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1515         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1516         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1517         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1518         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1519         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1520         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1521         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1522         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1523         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1524         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1525         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1526         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1527         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1528         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1529         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1530         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1531         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1532         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1533         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1534         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1535         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1536         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1537         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1538         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1539         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1540         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1541         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1542         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1543         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1544         * sysdeps/x86_64/memcpy.S: Likewise.
1545         * sysdeps/x86_64/memmove.c: Likewise.
1546         * sysdeps/x86_64/memset.S: Likewise.
1547         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1548         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1549         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1550         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1551         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1552         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1553         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1554         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1555         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1556         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1557         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1558         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1559         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1560         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1561         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1562         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1563         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1564         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1565         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1566         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1567         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1568         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1569         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1570         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1571         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1572         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1573         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1574         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1575         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1576         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1577         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1578         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1579         * sysdeps/x86_64/strcmp.S: Likewise.
1580
1581         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1582
1583         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1584         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1585         * elf/rtld-Rules: Likewise.
1586         * elf/setup-vdso.h: Likewise.
1587         * include/assert.h: Likewise.
1588         * include/bits/stdlib-float.h: Likewise.
1589         * include/errno.h: Likewise.
1590         * include/sys/stat.h: Likewise.
1591         * include/unistd.h: Likewise.
1592         * sysdeps/aarch64/setjmp.S: Likewise.
1593         * sysdeps/alpha/setjmp.S: Likewise.
1594         * sysdeps/arm/__longjmp.S: Likewise.
1595         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1596         * sysdeps/arm/setjmp.S: Likewise.
1597         * sysdeps/arm/sysdep.h: Likewise.
1598         * sysdeps/generic/_itoa.h: Likewise.
1599         * sysdeps/generic/dl-sysdep.h: Likewise.
1600         * sysdeps/generic/ldsodefs.h: Likewise.
1601         * sysdeps/i386/dl-tls.h: Likewise.
1602         * sysdeps/i386/setjmp.S: Likewise.
1603         * sysdeps/m68k/setjmp.c: Likewise.
1604         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1605         * sysdeps/mach/hurd/opendir.c: Likewise.
1606         * sysdeps/posix/getcwd.c: Likewise.
1607         * sysdeps/posix/opendir.c: Likewise.
1608         * sysdeps/posix/profil.c: Likewise.
1609         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1610         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1611         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1612         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1613         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1614         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1615         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1616         * sysdeps/s390/dl-tls.h: Likewise.
1617         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1618         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1619         * sysdeps/sh/sh3/setjmp.S: Likewise.
1620         * sysdeps/sh/sh4/setjmp.S: Likewise.
1621         * sysdeps/unix/alpha/sysdep.h: Likewise.
1622         * sysdeps/unix/arm/sysdep.S: Likewise.
1623         * sysdeps/unix/i386/sysdep.S: Likewise.
1624         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1625         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1626         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1627         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1628         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1629         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1630         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1631         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1632         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1633         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1634         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1635         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1636         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1639         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1640         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1641         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1642         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1643         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1644         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1645         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1646         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1647         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1648         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1649         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1650         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1651         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1652         * sysdeps/x86_64/setjmp.S: Likewise.
1653
1654         * include/math.h: Use IS_IN instead of IS_IN_libm.
1655         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1656         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1657         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1658         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1659         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1660         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1661         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1662         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1663         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1664         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1665         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1666         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1667         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1668         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1669         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1670         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1671         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1672         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1673         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1674         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1675         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1676         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1677         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1678         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1679         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1680         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1681         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1682         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1683         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1684         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1685         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1686         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1687         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1689         Likewise.
1690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1691         Likewise.
1692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1693         Likewise.
1694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1695         Likewise.
1696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1697         Likewise.
1698         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1699         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1700         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1701         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1702         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1703         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1709         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1710         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1711         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1712         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1713         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1714         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1715         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1716         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1717         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1718         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1719         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1720         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1721         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1722         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1724         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1725
1726         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1727         * nptl/pthreadP.h: Likewise.
1728         * nptl_db/structs.def: Likewise.
1729         * sysdeps/arm/sysdep.h: Likewise.
1730         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1731         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1732         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1733         * sysdeps/unix/alpha/sysdep.h: Likewise.
1734         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1735         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1736         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1737         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1738         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1739         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1740         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1741         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1742         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1743         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1744         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1745         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1746         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1747         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1750         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1752         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1753         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1754         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1755         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1756         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1757         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1758         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1759         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1760
1761         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1762         * nptl/pthreadP.h: Likewise.
1763         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1764         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1765         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1766         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1767         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1768         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1769         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1770         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1771         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1772         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1773         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1774         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1776         Likewise.
1777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1778         Likewise.
1779         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1780         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1781         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1782         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1783         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1784         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1785         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1786         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1787
1788         * dlfcn/dladdr.c: Use IS_IN.
1789         * dlfcn/dladdr1.c: Likewise.
1790         * dlfcn/dlclose.c: Likewise.
1791         * dlfcn/dlerror.c: Likewise.
1792         * dlfcn/dlinfo.c: Likewise.
1793         * dlfcn/dlmopen.c: Likewise.
1794         * dlfcn/dlopen.c: Likewise.
1795         * dlfcn/dlsym.c: Likewise.
1796         * dlfcn/dlvsym.c: Likewise.
1797
1798         * include/ifaddrs.h: Use IS_IN.
1799         * inet/check_pf.c: Likewise.
1800         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1801         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1802
1803         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1804         IS_IN_ldconfig.
1805         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1806         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1807
1808         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1809         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1810         IS_IN (libc).
1811
1812         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1813
1814         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1815         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1816         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1817         * include/libc-symbols.h (IS_IN_LIB): New macro.
1818         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1819         * include/netdb.h: Likewise.
1820         * include/stap-probe.h: Remove all uses of IN_LIB.
1821
1822         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1823         instead of IN_MODULE.
1824         * include/libc-symbols.h (IN_MODULE): Define using
1825         MODULE_NAME.
1826         (PASTE_NAME, PASTE_NAME1): New macros.
1827         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1828         of IN_LIB.
1829         (STAP_PROBE_ASM): Likewise.
1830
1831 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1832
1833         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1834         __mach_init in dlopened libc.
1835
1836 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1837
1838         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1839         * sysdeps/arm/preconfigure: Regenerate.
1840
1841 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1842
1843         * nptl/pthread_create.c (__pthread_create_2_1): Set
1844         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1845         when copying values from IATTR into PD.
1846
1847 2014-11-21  Will Newton  <will.newton@linaro.org>
1848             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1849
1850         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1851         Refactor inline-asm.  Also add comment.
1852
1853         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1854         ElfW macro instead of hardcoded Elf64 types.
1855         (la_aarch64_gnu_pltenter): Likewise.
1856         * sysdeps/aarch64/dl-machine.h
1857         (elf_machine_runtime_setup): Use ElfW(Addr).
1858
1859         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1860         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1861         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1862         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1863         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1864         (R_AARCH64_TLS_DTPMOD64): Rename to ..
1865         (R_AARCH64_TLS_DTPMOD): This.
1866         (R_AARCH64_TLS_DTPREL64): Rename to ...
1867         (R_AARCH64_TLS_DTPREL): This.
1868         (R_AARCH64_TLS_TPREL64): Rename to ...
1869         (R_AARCH64_TLS_TPREL): This.
1870         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1871         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1872         R_AARCH64_TLS_TPREL64.
1873         (elf_machine_rela): Likewise.
1874
1875 2014-11-21  Torvald Riegel  <triegel@redhat.com>
1876
1877         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1878         by setting it to 0.  64b atomics are not supported currently.
1879
1880 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1881
1882         [BZ #16469]
1883         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1884         search domain names.
1885
1886 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1887
1888         [BZ #16469]
1889         * NEWS: Update.
1890         * resolv/res_query.c (__libc_res_nquerydomain): Retain
1891         trailing dot.
1892         * posix/tst-getaddrinfo5.c: New.
1893         * posix/Makefile (tests): Add it.
1894
1895 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1896
1897         [BZ #14498]
1898         * NEWS: Fixed.
1899         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1900         after parsing line but before break_if_match.
1901         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1902         if there is a protocol mismatch.
1903
1904 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1905
1906         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1907         because the potential race is on the user-supplied stream.
1908
1909 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1910
1911         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1912         string literal if not passed a buffer.
1913         * manual/job.texi (ctermid): Update reasoning, note deviation
1914         from posix, suggest mtasurace when not passed a buffer, for
1915         future non-preliminary safety notes.
1916
1917 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1918
1919         * manual/users.texi (cuserid): Fix MT-Safety note for the case
1920         of not passing it a buffer.
1921         Reported by Peng Haitao.
1922
1923 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1924
1925         * manual/Makefile ($(objpfx)stamp-summary): Require
1926         check-safety.sh to pass.
1927         * manual/check-safety.sh: Wish for verification that every
1928         @deftypefn and @deftypefun is followed by a @safety remark.
1929
1930 2014-11-20  Roland McGrath  <roland@hack.frob.com>
1931
1932         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1933
1934         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1935         PTHREAD_CANCEL_ASYNCHRONOUS.
1936         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1937         send SIGCANCEL.
1938
1939         * nptl/default-sched.h: New file.
1940         * sysdeps/unix/sysv/linux/default-sched.h: New file.
1941         * nptl/pthread_create.c: Include it.
1942         (__pthread_create_2_1): Use collect_default_sched instead of making
1943         Linux syscalls here directly.
1944
1945 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1946
1947         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1948         __pthread_once): Use C11 atomics.
1949
1950 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1951
1952         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1953
1954 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1955
1956         * include/atomic.h (__atomic_link_error, __atomic_check_size,
1957         atomic_thread_fence_acquire, atomic_thread_fence_release,
1958         atomic_thread_fence_seq_cst, atomic_load_relaxed,
1959         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1960         atomic_compare_exchange_weak_relaxed,
1961         atomic_compare_exchange_weak_acquire,
1962         atomic_compare_exchange_weak_release,
1963         atomic_exchange_acquire, atomic_exchange_release,
1964         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1965         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1966         atomic_fetch_and_acquire,
1967         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1968
1969 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1970
1971         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1972         USE_ATOMIC_COMPILER_BUILTINS): Define.
1973         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1974         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1975         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1976         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1977         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1978         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1979         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1980         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1981         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1982         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1983         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1984         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1985         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1986         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1987         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1988         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1989         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1990         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1991         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1992         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1993         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1994         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1995         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1996         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1997         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1998         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1999         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2000         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2001         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2002         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2003         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2004         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2005         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2006         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2007         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2008         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2009         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2010         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2011         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2012         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2013
2014 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2015
2016         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2017         the sched_priority value here.  It was already checked when the user
2018         called pthread_attr_setschedparam.
2019
2020         * nptl/tst-bad-schedattr.c: New file.
2021         * nptl/Makefile (tests): Add it.
2022
2023 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2024             Florian Weimer  <fweimer@redhat.com>
2025             Joseph Myers  <joseph@codesourcery.com>
2026             Adam Conrad  <adconrad@0c3.net>
2027             Andreas Schwab  <schwab@suse.de>
2028             Brooks  <bmoses@google.com>
2029
2030         [BZ #17625]
2031         * wordexp-test.c (__dso_handle): Add prototype.
2032         (__register_atfork): Likewise.
2033         (__app_register_atfork): New function.
2034         (registered_forks): New global.
2035         (register_fork): New function.
2036         (test_case): Add 3 new tests for WRDE_CMDSUB.
2037         (main): Call __app_register_atfork.
2038         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2039         fork count is non-zero fail the test.
2040         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2041         is set.
2042         (parse_dollars): Remove check for WRDE_NOCMD.
2043         (parse_dquote): Likewise.
2044
2045 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2046
2047         * Makeconfig (built-modules): List non-library modules to be
2048         built.
2049         (module-cppflags): Include libc-modules.h for
2050         everything except shlib-versions.v.i.
2051         (CPPFLAGS): Use it.
2052         (before-compile): Add libc-modules.h.
2053         ($(common-objpfx)libc-modules.h,
2054         $(common-objpfx)libc-modules.stmp): New targets.
2055         (common-generated): Add libc-modules.h and libc-modules.stmp.
2056         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2057         * include/libc-symbols.h: Don't include libc-modules.h.
2058         * include/libc-modules.h: Remove file.
2059         * scripts/gen-libc-modules.awk: New script to generate
2060         libc-modules.h.
2061         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2062         Depend on libc-modules.stmp.
2063
2064         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2065
2066         * Makeconfig (in-module): Get value of libof set for the
2067         translation unit.
2068         (CPPFLAGS): Use $(in-module).
2069         * Makerules: Don't suffix routine names for nonlib.
2070         * include/libc-modules.h: New file.
2071         * include/libc-symbols.h: Include libc-modules.h
2072         (IS_IN): New macro to replace IS_IN_* macros.
2073         * elf/Makefile: Set libof-* for each routine.
2074         * elf/rtld-Rules: Likewise.
2075         * extra-modules.mk: Likewise.
2076         * iconv/Makefile: Likewise.
2077         * iconvdata/Makefile: Likewise.
2078         * locale/Makefile: Likewise.
2079         * malloc/Makefile: Likewise.
2080         * nss/Makefile: Likewise.
2081         * sysdeps/gnu/Makefile: Likewise.
2082         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2083         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2084         * sysdeps/s390/s390-64/Makefile: Likewise.
2085         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2086         CPPFLAGS for nscd instead of nonlib.
2087
2088 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2089
2090         * nptl/createthread.c: New file.
2091
2092         * nptl/createthread.c: Moved ...
2093         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2094
2095         * nptl/createthread.c: Add proper top-line comment.
2096         (do_clone): Folded into ...
2097         (create_thread): ... here.  Take new arguments STOPPED_START and
2098         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2099         increment __nptl_threads, do event-reporting logic, do
2100         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2101         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2102         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2103         just send SIGCANCEL.
2104         * nptl/pthread_create.c: Forward-declare create_thread before
2105         including createthread.c.
2106         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2107         declaration, and new macro START_THREAD_SELF to replace argument.
2108         Remove return statement.
2109         (report_thread_creation): New function.
2110         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2111         synchronization logic, and __nptl_nthreads increment here, around
2112         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2113         PD->parent_cancelhandling here, before create_thread.  When
2114         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2115         __deallocate_stack, and ENOMEM translation here.
2116
2117 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2118
2119         [BZ #17616]
2120         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2121         (mptwo): Rename to __mptwo.
2122         (__inv): Use __mptwo instead of mptwo.
2123         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2124         (mptwo): Rename to __mptwo.
2125         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2126         of mpone and __mptwo instead of mptwo.
2127         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2128         instead of mpone.
2129         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2130         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2131         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2132         of mpone and __mptwo instead of mptwo.
2133         (__mpranred): Use __mpone instead of mpone.
2134         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2135         variable.
2136         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2137         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2138         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2139         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2140         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2141         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2142         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2143         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2144         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2145         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2146         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2147         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2148         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2149         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2150         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2151         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2152         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2153         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2154         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2155
2156 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2157
2158         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2159         replace BSD Handler xref with BSD Signal Handling.
2160
2161 2014-11-17  Richard Henderson  <rth@redhat.com>
2162
2163         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2164         (_FP_PACK_RAW_2): Remove.
2165         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2166         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2167         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2168         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2169         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2170         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2171         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2172         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2173         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2174         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2175         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2176         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2177         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2178         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2179         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2180         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2181
2182 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2183
2184         * signal/signal.h [__USE_MISC]
2185         (struct sigvec): Remove type.
2186         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2187         (sigvec): Remove declaration.
2188         * sysdeps/posix/sigvec.c: Moved ...
2189         * signal/sigvec.c: ... here, replacing old file.
2190         (struct sigvec): New type, copied from old signal.h definition.
2191         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2192         (__sigvec): Convert definition to prototype.
2193         (sigvec): Replace weak_alias with compat_symbol.
2194         * signal/Versions (libc: GLIBC_2.21): New version set.
2195         * include/signal.h: Remove __sigvec declaration.
2196         * sysdeps/unix/bsd/sigvec.c: Remove file.
2197         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2198         * manual/signal.texi (BSD Handler): Remove subsection.
2199         Move siginterrupt up to ...
2200         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2201         (Blocking in BSD): Fold subsection into its parent.
2202         * NEWS: Mention sigvec removal.
2203
2204 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2205
2206         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2207         (DLA_FMS): Make definition conditional only on [__FMA4__].
2208         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2209         definition.
2210
2211         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2212         Make definition conditional only on [PROF].
2213         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2214         definition.
2215         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2216         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2217
2218         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2219         !__GNUC__].
2220         * include/signal.h (__sigpause): Move declaration above call to
2221         libc_hidden_proto.
2222         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2223         variable.
2224         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2225         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2226
2227 2014-11-14  David S. Miller  <davem@davemloft.net>
2228
2229         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2230         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2231
2232 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2233
2234         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2235         * configure: Regenerated.
2236         * manual/install.texi (Tools for Compilation): Document a
2237         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2238         compiler verified to work.
2239         * INSTALL: Regenerated.
2240
2241         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2242         redeclare with asm name.
2243         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2244         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2245         including <string.h>.
2246         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2247         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2248         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2249         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2250         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2251         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2252         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2253
2254 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2255
2256         * stdlib/strtol.c (__strtol): Use prototype definition.
2257
2258         [BZ #17594]
2259         * stdlib/strtol.c (SYM__): New macro.
2260         (SYM__1): Likewise.
2261         (__strtol): Likewise.
2262         (strtol): Rename to __strtol and define as weak alias of
2263         __strtol.  Use libc_hidden_weak.
2264
2265 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2266
2267         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2268         Use numbered labels in inline assembly.
2269
2270 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2271
2272         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2273         Add setjmp LIBC_PROBE.
2274         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2275         Likewise.
2276         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2277         Add longjmp, longjmp_target LIBC_PROBE.
2278         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2279         Likewise.
2280
2281 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2282
2283         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2284         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2285         to get rid of unused variable warning.
2286
2287 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2288
2289         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2290         Check for unwind_backtrace ==  NULL only in SHARED case.
2291         (__backchain_backtrace): Compile only in SHARED case.
2292         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2293         Likewise.
2294         (__backchain_backtrace): Declare as static.
2295
2296 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2297
2298         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2299         (__libc_multiple_threads_ptr): Variable moved ...
2300         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2301
2302 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2303
2304         * conform/GlibcConform.pm: New file.
2305         * conform/conformtest.pl: Use GlibcConform module.
2306         * conform/linknamespace.pl: New file.
2307         * conform/list-header-symbols.pl: Likewise.
2308         * conform/Makefile (linknamespace-symlists-base): New variable.
2309         (linknamespace-symlists-tests): Likewise.
2310         (linknamespace-header-base): Likewise.
2311         (linknamespace-header-tests): Likewise.
2312         (tests-special): Add new tests.
2313         ($(linknamespace-symlists-tests)): New rule.
2314         (linknamespace-libs): New variable.
2315         ($(objpfx)symlist-stdlibs): New rule.
2316         ($(linknamespace-header-tests)): Likewise.
2317         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2318         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2319         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2320         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2321         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2322         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2323         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2324         (test-xfail-ISO/math.h/linknamespace): Likewise.
2325         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2326         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2327         (test-xfail-ISO/time.h/linknamespace): Likewise.
2328         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2329         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2330         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2331         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2332         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2333         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2334         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2335         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2336         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2337         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2338         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2339         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2340         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2341         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2342         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2343         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2344         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2345         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2346         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2347         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2348         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2349         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2350         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2351         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2352         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2353         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2354         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2355         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2356         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2357         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2358         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2359         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2360         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2361         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2362         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2363         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2364         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2365         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2366         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2367         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2368         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2369         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2370         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2371         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2372         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2373         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2374         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2375         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2376         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2377         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2378         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2379         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2380         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2381         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2382         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2383         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2384         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2385         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2386         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2387         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2388         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2389         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2390         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2391         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2392         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2393         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2394         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2395         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2396         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2397         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2398         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2399         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2400         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2401         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2402         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2403         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2404         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2405         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2406         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2407         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2408         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2409         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2410         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2411         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2412         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2413         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2414         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2415         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2416         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2417         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2418         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2419         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2420         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2421         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2422         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2423         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2424         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2425         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2426         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2427         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2428         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2429         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2430         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2431         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2432         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2433         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2434         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2435         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2436         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2437         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2438         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2439         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2440         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2441         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2442         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2443         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2444         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2445         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2446         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2447         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2448         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2449         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2450         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2451         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2452         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2453         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2454         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2455         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2456         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2457         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2458         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2459         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2460         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2461         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2462         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2463         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2464         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2465         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2466         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2467         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2468         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2469         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2470         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2471         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2472         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2473         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2474         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2475         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2476         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2477         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2478
2479         [BZ #17589]
2480         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2481         of fgets_unlocked.
2482
2483         [BZ #17585]
2484         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2485         (memmem): Rename to __memmem and define as weak alias of
2486         __memmem.  Use libc_hidden_weak.
2487         (__memmem): Use libc_hidden_def.
2488         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2489         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2490         memmem.
2491
2492         [BZ #17582]
2493         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2494         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2495         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2496         and define as weak alias of __fgets_unlocked.  Use
2497         libc_hidden_weak.
2498         (__fgets_unlocked): Use libc_hidden_def.
2499         * include/stdio.h (__fgets_unlocked): Declare.  Use
2500         libc_hidden_proto.
2501         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2502         __fgets_unlocked instead of fgets_unlocked.
2503         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2504         (GET_NPROCS_CONF_PARSER): Likewise.
2505         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2506         (GET_NPROCS_CONF_PARSER): Likewise.
2507
2508         [BZ #17574]
2509         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2510         weak alias of __wmemset.  Use libc_hidden_weak.
2511         (__wmemset): Use libc_hidden_def.
2512         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2513         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2514         of wmemset.
2515
2516         [BZ #17573]
2517         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2518         with asm name __mempcpy.
2519         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2520
2521         [BZ #17572]
2522         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2523         and define as weak alias of __rawmemchr.
2524         (__rawmemchr): Do not define as strong alias of rawmemchr.
2525
2526         [BZ #17571]
2527         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2528         alias of __qsort_r.
2529         (qsort): Call __qsort_r instead of qsort_r.
2530         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2531         (__qsort_r): Declare.  Call libc_hidden_proto.
2532         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2533         instead of qsort_r.
2534         * nscd/gai.c (__qsort_r): Define to qsort_r.
2535         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2536         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2537         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2538
2539         [BZ #17570]
2540         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2541         define as weak alias of __malloc_info.
2542
2543         [BZ #17584]
2544         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2545         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2546         (__rewinddir): Use libc_hidden_def.
2547         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2548         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2549         (__rewinddir): Use libc_hidden_def.
2550         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2551         weak alias of __rewinddir.  Don't use libc_hidden_def.
2552         (__rewinddir): Use libc_hidden_def.
2553         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2554         (__rewinddir): Use libc_hidden_proto.
2555         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2556         rewinddir.
2557         (__getcwd): Use __rewinddir instead of rewinddir.
2558
2559         [BZ #17583]
2560         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2561         alias of __fileno.  Use libc_hidden_weak.
2562         (__fileno): Use libc_hidden_def.
2563         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2564         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2565         alias of __ftello.
2566         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2567         __ftello.
2568         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2569         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2570         libc_hidden_def.
2571         (fread_unlocked): Don't use libc_hidden_ver.
2572         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2573         and define as weak alias of __fread_unlocked.  Don't use
2574         libc_hidden_def.
2575         (__fread_unlocked): Use libc_hidden_def.
2576         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2577         (ftello): Don't use libc_hidden_proto.
2578         (__ftello): Declare.  Use libc_hidden_proto.
2579         (fread_unlocked): Don't use libc_hidden_proto.
2580         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2581         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2582         and __ftello instead of fileno, fread_unlocked and ftello.
2583
2584 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2585
2586         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2587         GOT12.
2588         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2589         Likewise.
2590         (_dl_start_user): Likewise.
2591         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2592
2593 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2594             Siddhesh Poyarekar  <siddhesh@redhat.com>
2595
2596         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2597         Move argv and envp down instead of moving argc up.
2598         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2599
2600 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2601
2602         [BZ #17506]
2603         * test-skeleton.c (main): Return successful if one of
2604         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2605         * string/tst-strcoll-overflow.c: Define expected status.
2606
2607 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2608
2609         [BZ #17475]
2610         * locale/iso-639.def: Define Bhili and Tulu language codes.
2611
2612 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2613
2614         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2615
2616 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2617
2618         [BZ #17555]
2619         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2620
2621 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2622
2623         * configure.ac: Updated check of minimal required version to
2624         2.22.
2625         * manual/install.texi (Tools for Compilation): Updated version
2626         number.
2627         * configure: Regenerated.
2628         * INSTALL: Likewise.
2629
2630 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2631
2632         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2633         __tls_get_addr.
2634
2635 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2636
2637         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2638         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2639         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2640         libc_hidden_weak.
2641         (waitpid): Define as alias of __waitpid.
2642         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2643         __waitpid.
2644         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2645         libc_hidden_weak.
2646         (waitpid): Define as alias of __waitpid.
2647         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2648         __libc_waitpid alias.
2649         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2650         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2651         Likewise.
2652         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2653         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2654         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2655         alias.
2656         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2657         __waitpid.
2658         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2659         libc_hidden_weak.
2660         (waitpid): Define as alias of __waitpid.
2661
2662 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2663
2664         * manual/llio.texi: Add comment that write safety has been
2665         fixed in Linux.
2666
2667         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2668         (localplt-build-dso): Add elf/ld.so.
2669         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2670         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2671         and free for ld.so.
2672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2673         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2675         Likewise.
2676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2677         Likewise.
2678         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2679         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2680         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2681         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2682         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2683         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2684         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2685         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2686         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2687         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2688         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2689
2690 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2691
2692         [BZ #14132]
2693         * include/libc-symbols.h (INTUSE): Remove macro.
2694         (INTDEF): Likewise.
2695         (INTVARDEF): Likewise.
2696         (_INTVARDEF): Likewise.
2697         (INTDEF2): Likewise.
2698         (INTVARDEF2): Likewise.
2699         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2700         rtld_hidden_def instead of INTVARDEF.
2701         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2702         (_dl_starting_up_internal): Remove declaration.
2703         (_dl_starting_up): Use rtld_hidden_proto.
2704         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2705         declaration.
2706         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2707         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2708         _dl_starting_up.
2709         * elf/dl-writev.h (_dl_writev): Likewise.
2710         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2711         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2712         _dl_starting_up_internal.
2713
2714 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2715
2716         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2717         test-skeleton.c.
2718
2719 2014-11-05  Will Newton  <will.newton@linaro.org>
2720
2721         * benchtests/Makefile: (bench-malloc): Add malloc thread
2722         scalability benchmark.
2723         * benchtests/bench-malloc-threads.c: New file.
2724
2725 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2726
2727         * sysdeps/aarch64/strchrnul.S: New file.
2728
2729 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2730
2731         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2732         definition.
2733         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2734         Likwise.
2735         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2736         Likewise.
2737         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2738         Likewise.
2739         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2740         Likewise.
2741         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2742         Likewise.
2743
2744 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2745
2746         * catgets/test-gencat.c: Use test-skeleton.c.
2747         * catgets/tst-catgets.c: Likewise.
2748         * csu/tst-empty.c: Likewise.
2749         * elf/tst-audit2.c: Likewise.
2750         * elf/tst-global1.c: Likewise.
2751         * elf/tst-pathopt.c: Likewise.
2752         * elf/tst-piemod1.c: Likewise.
2753         * elf/tst-tls10.c: Likewise.
2754         * elf/tst-tls11.c: Likewise.
2755         * elf/tst-tls12.c: Likewise.
2756         * gnulib/tst-gcc.c: Likewise.
2757         * iconvdata/tst-e2big.c: Likewise.
2758         * iconvdata/tst-loading.c: Likewise.
2759         * iconv/tst-iconv1.c: Likewise.
2760         * iconv/tst-iconv2.c: Likewise.
2761         * inet/test-inet6_opt.c: Likewise.
2762         * inet/tst-gethnm.c: Likewise.
2763         * inet/tst-network.c: Likewise.
2764         * inet/tst-ntoa.c: Likewise.
2765         * intl/tst-codeset.c: Likewise.
2766         * intl/tst-gettext2.c: Likewise.
2767         * intl/tst-gettext3.c: Likewise.
2768         * intl/tst-ngettext.c: Likewise.
2769         * intl/tst-translit.c: Likewise.
2770         * io/test-stat.c: Likewise.
2771         * libio/test-fmemopen.c: Likewise.
2772         * libio/tst-freopen.c: Likewise.
2773         * libio/tst-sscanf.c: Likewise.
2774         * libio/tst-ungetwc1.c: Likewise.
2775         * libio/tst-ungetwc2.c: Likewise.
2776         * libio/tst-widetext.c: Likewise.
2777         * localedata/tst-ctype.c: Likewise.
2778         * localedata/tst-digits.c: Likewise.
2779         * localedata/tst-leaks.c: Likewise.
2780         * localedata/tst-mbswcs1.c: Likewise.
2781         * localedata/tst-mbswcs2.c: Likewise.
2782         * localedata/tst-mbswcs3.c: Likewise.
2783         * localedata/tst-mbswcs4.c: Likewise.
2784         * localedata/tst-mbswcs5.c: Likewise.
2785         * localedata/tst-setlocale.c: Likewise.
2786         * localedata/tst-trans.c: Likewise.
2787         * localedata/tst-wctype.c: Likewise.
2788         * localedata/tst-xlocale1.c: Likewise.
2789         * login/tst-grantpt.c: Likewise.
2790         * malloc/tst-calloc.c: Likewise.
2791         * malloc/tst-malloc.c: Likewise.
2792         * malloc/tst-mallocstate.c: Likewise.
2793         * malloc/tst-mcheck.c: Likewise.
2794         * malloc/tst-mtrace.c: Likewise.
2795         * malloc/tst-obstack.c: Likewise.
2796         * math/atest-exp2.c: Likewise.
2797         * math/atest-exp.c: Likewise.
2798         * math/atest-sincos.c: Likewise.
2799         * math/test-matherr.c: Likewise.
2800         * math/test-misc.c: Likewise.
2801         * math/test-powl.c: Likewise.
2802         * math/tst-definitions.c: Likewise.
2803         * misc/tst-dirname.c: Likewise.
2804         * misc/tst-efgcvt.c: Likewise.
2805         * misc/tst-fdset.c: Likewise.
2806         * misc/tst-hsearch.c: Likewise.
2807         * misc/tst-mntent2.c: Likewise.
2808         * nptl/tst-sem7.c: Likewise.
2809         * nptl/tst-sem8.c: Likewise.
2810         * nptl/tst-sem9.c: Likewise.
2811         * nss/test-netdb.c: Likewise.
2812         * posix/tst-fnmatch.c: Likewise.
2813         * posix/tst-getlogin.c: Likewise.
2814         * posix/tst-gnuglob.c: Likewise.
2815         * posix/tst-mmap.c: Likewise.
2816         * pwd/tst-getpw.c: Likewise.
2817         * resolv/tst-inet_ntop.c: Likewise.
2818         * rt/tst-timer.c: Likewise.
2819         * stdio-common/test-fseek.c: Likewise.
2820         * stdio-common/test-popen.c: Likewise.
2821         * stdio-common/test-vfprintf.c: Likewise.
2822         * stdio-common/tst-cookie.c: Likewise.
2823         * stdio-common/tst-fileno.c: Likewise.
2824         * stdio-common/tst-gets.c: Likewise.
2825         * stdio-common/tst-obprintf.c: Likewise.
2826         * stdio-common/tst-perror.c: Likewise.
2827         * stdio-common/tst-sprintf2.c: Likewise.
2828         * stdio-common/tst-sprintf3.c: Likewise.
2829         * stdio-common/tst-sprintf.c: Likewise.
2830         * stdio-common/tst-swprintf.c: Likewise.
2831         * stdio-common/tst-tmpnam.c: Likewise.
2832         * stdio-common/tst-unbputc.c: Likewise.
2833         * stdio-common/tst-wc-printf.c: Likewise.
2834         * stdlib/tst-environ.c: Likewise.
2835         * stdlib/tst-fmtmsg.c: Likewise.
2836         * stdlib/tst-limits.c: Likewise.
2837         * stdlib/tst-rand48-2.c: Likewise.
2838         * stdlib/tst-rand48.c: Likewise.
2839         * stdlib/tst-random2.c: Likewise.
2840         * stdlib/tst-random.c: Likewise.
2841         * stdlib/tst-strtol.c: Likewise.
2842         * stdlib/tst-strtoll.c: Likewise.
2843         * stdlib/tst-tls-atexit.c: Likewise.
2844         * stdlib/tst-xpg-basename.c: Likewise.
2845         * string/test-ffs.c: Likewise.
2846         * string/tst-bswap.c: Likewise.
2847         * string/tst-inlcall.c: Likewise.
2848         * string/tst-strtok.c: Likewise.
2849         * string/tst-strxfrm.c: Likewise.
2850         * sysdeps/x86_64/tst-audit10.c: Likewise.
2851         * sysdeps/x86_64/tst-audit3.c: Likewise.
2852         * sysdeps/x86_64/tst-audit4.c: Likewise.
2853         * sysdeps/x86_64/tst-audit5.c: Likewise.
2854         * time/tst-ftime_l.c: Likewise.
2855         * time/tst-getdate.c: Likewise.
2856         * time/tst-mktime3.c: Likewise.
2857         * time/tst-mktime.c: Likewise.
2858         * time/tst-posixtz.c: Likewise.
2859         * time/tst-strptime2.c: Likewise.
2860         * time/tst-strptime3.c: Likewise.
2861         * wcsmbs/tst-btowc.c: Likewise.
2862         * wcsmbs/tst-mbrtowc.c: Likewise.
2863         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2864         * wcsmbs/tst-wchar-h.c: Likewise.
2865         * wcsmbs/tst-wcpncpy.c: Likewise.
2866         * wcsmbs/tst-wcrtomb.c: Likewise.
2867         * wcsmbs/tst-wcsnlen.c: Likewise.
2868         * wcsmbs/tst-wcstof.c: Likewise.
2869
2870 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
2871
2872         [BZ #14132]
2873         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2874         INTDEF.
2875         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2876         declaration.
2877         (_dl_mcount): Use rtld_hidden_proto.
2878         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2879         _dl_mcount.
2880         * elf/rtld.c (_rtld_global_ro): Likewise.
2881
2882         [BZ #14132]
2883         * elf/dl-init.c (_dl_init): Don't use INTDEF.
2884         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2885         of _dl_init_internal.
2886         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2887         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2888         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2889         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2890         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2891         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2892         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2893         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2894         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2895         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2896         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2897         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2898         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2899         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2900         * sysdeps/tile/dl-start.S (_start): Likewise.
2901         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2902         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2903
2904         [BZ #14132]
2905         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2906         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2907         (rtld_progname): Make macro definition unconditional.
2908         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2909         INTDEF.
2910         (dlmopen_doit): Do not use INTUSE with _dl_argv.
2911         (dl_main): Likewise.
2912         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2913         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2914         instead of _dl_argv_internal.
2915         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2916         __GI__dl_argv instead of INTUSE(_dl_argv).
2917         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2918         __GI__dl_argv instead of _dl_argv_internal.
2919
2920         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2921         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2922         macro.
2923         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2924         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2925         New macro.
2926         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2927         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2928         macro.
2929         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2930         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2931
2932 2014-11-04  Andreas Schwab  <schwab@suse.de>
2933
2934         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2935
2936 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2937
2938         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2939         mtvsrd instruction in binary form.
2940
2941 2014-11-03  Andreas Schwab  <schwab@suse.de>
2942
2943         [BZ #17522]
2944         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2945         for less than MB_LEN_MAX use a local buffer of that size.
2946         * libio/tst-fputws.c: New file.
2947         * libio/Makefile (tests): Add tst-fputws.
2948
2949 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
2950
2951         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2952         the size of the fpu_fr.fpu_dregs[] array.
2953
2954 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
2955
2956         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2957         (__nanosleep): Do not define as alias.
2958         (nanosleep): Define as alias of __nanosleep.
2959         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2960         __libc_nanosleep name.
2961
2962 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2963
2964         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2965         install.texi in comment.
2966
2967 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2968
2969         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2970         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2971         ... add here and use lwsync or sync ...
2972         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2973         ... and add here using lwsync.
2974
2975 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2976
2977         * elf/dl-machine-reject-phdr.h: New file.
2978         * elf/dl-load.c: #include that.
2979         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2980         if that returned true.
2981
2982 2014-10-31  Roland McGrath  <roland@hack.frob.com>
2983
2984         [BZ #17496]
2985         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2986         gen-as-const-headers chunk.  Add a big scare comment after the last
2987         safe place to touch before-compile.
2988
2989 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2990
2991         * manual/install.texi (Tools for Compilation): Update autoconf
2992         version requirements.
2993         * INSTALL: Regenerated.
2994
2995         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2996         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2997         (__libc_pselect): Likewise.
2998
2999         [BZ #14138]
3000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3004
3005 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3006
3007         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3008         correct barrier instruction.
3009         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3010         Likewise.
3011         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3012         Likewise.
3013
3014 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3015
3016         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3017         after defining inlines.  Instead, just use parens to defeat macro
3018         expansion of __isctype in its declaration.
3019
3020 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3021
3022         * include/sys/uio.h (__libc_readv): Remove declaration.
3023         (__libc_writev): Likewise.
3024         * misc/readv.c (__libc_readv): Rename to __readv.
3025         (__readv): Do not define as alias.
3026         (readv): Define as alias of __readv.
3027         * misc/writev.c (__libc_writev): Rename to __writev.
3028         (__writev): Do not define as alias.
3029         (writev): Define as alias of __writev.
3030         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3031         (__readv): Do not define as alias.
3032         (readv): Define unconditionally as alias of __readv.
3033         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3034         (__writev): Do not define as alias.
3035         (writev): Define unconditionally as alias of __writev.
3036         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3037         name.
3038         (writev): Do not define __libc_writev name.
3039
3040 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3041
3042         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3043         (convert_charseq): New function, broken out of ...
3044         (use_from_charmap): ... here.  Call it.
3045         (use_to_charmap): Use convert_charseq and free instead of duplicating
3046         its code with a variable-length stack struct.
3047
3048 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3049
3050         * include/fcntl.h (__libc_creat): Remove declaration.
3051         * io/creat.c (__libc_creat): Rename to creat.
3052         (creat): Do not define as alias.
3053         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3054         of creat instead of __libc_creat.
3055         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3056         to creat.
3057         (creat): Do not define as alias.
3058         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3059         __libc_creat.
3060         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3061         __libc_creat name.
3062         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3063         Likewise.
3064
3065 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3066
3067         * manual/llio.texi: Add comments discussing why write() may be
3068         considered MT-unsafe on Linux.
3069
3070 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3071
3072         * dl-load.c (local_strdup): Remove.
3073         (expand_dynamic_string_token): Use __strdup.
3074         (decompose_rpath): Likewise.
3075         (_dl_map_object): Likewise.
3076
3077 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3078
3079         [BZ #14132]
3080         * sysdeps/generic/unwind-dw2-fde.c
3081         (__register_frame_info_bases_internal): Do not declare.
3082         (__register_frame_info_table_bases_internal): Likewise.
3083         (__deregister_frame_info_bases_internal): Likewise.
3084         (__register_frame_info_bases): Declare and use hidden_proto before
3085         definition.  Use hidden_def instead of INTDEF.
3086         (__register_frame_info_table_bases): Likewise.
3087         (__deregister_frame_info_bases): Likewise.
3088         (__register_frame_info): Do not use INTUSE.
3089         (__register_frame): Likewise.
3090         (__register_frame_info_table): Likewise.
3091         (__register_frame_table): Likewise.
3092         (__deregister_frame_info): Likewise.
3093         (__deregister_frame): Likewise.
3094
3095 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3096
3097         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3098         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3099         not undefine.
3100         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3101         Likewise.
3102         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3103         Likewise.
3104
3105 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3106
3107         [BZ #14138]
3108         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3109         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3110         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3111         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3112         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3113         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3114         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3115         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3116         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3117         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3118         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3119         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3120         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3121         syscall.
3122         (setfsuid): Likewise.
3123         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3124         (setfsuid): Likewise.
3125         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3126         (setfsuid): Likewise.
3127         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3128         Likewise.
3129         (setfsuid): Likewise.
3130         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3131         (setfsuid): Likewise.
3132         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3133         Likewise.
3134         (setfsuid): Likewise.
3135
3136 2014-10-27  Andreas Schwab  <schwab@suse.de>
3137
3138         [BZ #17501]
3139         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3140         check for Slow_SSE4_2 feature bit.
3141         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3142         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3143         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3144         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3145
3146 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3147
3148         * configure.ac: Validate compiler version with a empirical test of
3149         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3150         $CC -v output.
3151         * configure: Regenerated.
3152
3153         * inet/htons.c (htons): Prototypify.
3154         * inet/htonl.c (htonl): Likewise.
3155
3156 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3157
3158         * string/strncat.c (strncat): Improve performance by using strlen.
3159
3160 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3161
3162         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3163
3164 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3165
3166         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3167         Call libc_fetestexcept_aarch64.
3168
3169 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3170
3171         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3172         Call libc_feholdexcept_aarch64.
3173
3174 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3175
3176         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3177         Call get_rounding_mode.
3178
3179 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3180
3181         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3182         Simplify logic.
3183
3184 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3185
3186         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3187         Simplify logic.
3188
3189 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3190
3191         [BZ #14138]
3192         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3193         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3194         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3195         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3196         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3197         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3198         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3199         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3200         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3201         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3202         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3203         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3204         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3205         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3206         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3207         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3208         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3209         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3210         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3211         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3212         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3213         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3214         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3215         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3216         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3217         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3218         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3219         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3220         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3221         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3222         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3223         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3224         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3225         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3226         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3227         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3228         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3229         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3230         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3231         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3232         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3233         syscall.
3234         (geteuid): Likewise.
3235         (getgid): Likewise.
3236         (getuid): Likewise.
3237         (getresgid): Likewise.
3238         (getresuid): Likewise.
3239         (getgroups): Likewise.
3240         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3241         (geteuid): Likewise.
3242         (getgid): Likewise.
3243         (getuid): Likewise.
3244         (getresgid): Likewise.
3245         (getresuid): Likewise.
3246         (getgroups): Likewise.
3247         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3248         (geteuid): Likewise.
3249         (getgid): Likewise.
3250         (getuid): Likewise.
3251         (getresgid): Likewise.
3252         (getresuid): Likewise.
3253         (getgroups): Likewise.
3254         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3255         Likewise.
3256         (geteuid): Likewise.
3257         (getgid): Likewise.
3258         (getuid): Likewise.
3259         (getresgid): Likewise.
3260         (getresuid): Likewise.
3261         (getgroups): Likewise.
3262         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3263         (geteuid): Likewise.
3264         (getgid): Likewise.
3265         (getuid): Likewise.
3266         (getresgid): Likewise.
3267         (getresuid): Likewise.
3268         (getgroups): Likewise.
3269         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3270         Likewise.
3271         (geteuid): Likewise.
3272         (getgid): Likewise.
3273         (getuid): Likewise.
3274         (getgroups): Likewise.
3275
3276         [BZ #14138]
3277         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3278         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3279         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3280         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3281         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3282         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3283         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3284         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3285         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3286         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3287         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3288         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3289         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3290         __chown.
3291         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3292         (lchown): Likewise.
3293         (fchown): Likewise.
3294         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3295         Likewise.
3296         (lchown): Likewise.
3297         (fchown): Likewise.
3298         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3299         (lchown): Likewise.
3300         (fchown): Likewise.
3301         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3302         Likewise.
3303         (lchown): Likewise.
3304         (fchown): Likewise.
3305
3306 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3307
3308         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3309         Simplify logic.
3310
3311 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3312
3313         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3314         Cleanup logic.
3315
3316 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3317
3318         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3319         Remove unused include.
3320
3321 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3322
3323         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3324         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3325         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3326         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3327
3328 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3329             Helge Deller <deller@gmx.de>
3330
3331         [BZ #17508]
3332         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3333         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3334         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3335
3336 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3337
3338         [BZ #14132]
3339         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3340         Remove macro definition.
3341         (__ashrdi3_v_glibc20): Likewise.
3342         (__lshrdi3_v_glibc20): Likewise.
3343         (__cmpdi2_v_glibc20): Likewise.
3344         (__ucmpdi2_v_glibc20): Likewise.
3345         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3346         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3347         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3348         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3349         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3350         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3351
3352 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3353
3354         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3355         old GNU extension [0] syntax.
3356         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3357         alloca rather than an array member with variable length.
3358         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3359         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3360         (parse_opt): ... here.  Likewise use alloca there.
3361         Validate the -i argument before checking for rootness.
3362         (send_shutdown): New function, broken out of ...
3363         (parse_opt): ... here.
3364
3365 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3366
3367         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3368         macro to get at the _rt_local_ro field.
3369         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3370         ([PIC] case) or _dl_hwcap ([!PIC] case).
3371         * sysdeps/arm/setjmp.S: Likewise.
3372
3373         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3374         * sysdeps/arm/configure.ac: New check to define it.
3375         * sysdeps/arm/configure: Regenerated.
3376         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3377         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3378         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3379         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3380         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3381         Use move/movt pair instead of a load.
3382         (LDST_GLOBAL): Macro removed.
3383         (LDR_GLOBAL): New macro replaces it.
3384         (LDR_HIDDEN): New macro.
3385         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3386         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3387
3388         * setjmp/tst-setjmp-static.c: New file.
3389         * setjmp/Makefile (tests): Add it.
3390         (tests-static): New variable.
3391
3392 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3393
3394         [BZ #17485]
3395         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3396
3397 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3398
3399         [BZ #14132]
3400         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3401
3402 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3403
3404         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3405
3406 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3407
3408         * io/fts.c (dirent_not_directory): New function.
3409         (fts_build): Call it.
3410
3411 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3412
3413         * nptl/version.c (__nptl_main): Use normal __write rather than
3414         INTERNAL_SYSCALL.
3415         (banner): Update copyright years.
3416
3417         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3418         gettimeofday.
3419         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3420         * nptl/pthread_cond_timedwait.c: Likewise.
3421         * nptl/pthread_mutex_timedlock.c: Likewise.
3422         * nptl/sem_timedwait.c: Likewise.
3423
3424         * sysdeps/nptl/bits/libc-lock.h
3425         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3426         (__libc_lock_init_recursive): Return void, not 0.
3427         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3428         (__libc_rwlock_init): Likewise.
3429         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3430
3431 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3432
3433         [BZ #15215]
3434         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3435         (__pthread_once_slow): ... here.
3436         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3437         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3438
3439 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3440
3441         [BZ #15215]
3442         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3443         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3444         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3445         * nptl/pthread_once.c (__pthread_once): Likewise.
3446         Update comments.
3447
3448 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3449
3450         [BZ #14138]
3451         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3452         name.
3453         (writev): Use __libc_writev as strong name.
3454         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3455         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3456
3457 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3458
3459         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3460
3461         * sysdeps/i386/nptl/tls.h
3462         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3463         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3464         New macros.
3465         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3466         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3467         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3468         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3469         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3470         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3471
3472         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3473         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3474         on [__NR_futex].
3475         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3476         broken out of ...
3477         (__pthread_mutex_init): ... here.  Call it.
3478         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3479         Conditionalize PI cases on [__NR_futex].
3480         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3481         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3482         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3483
3484         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3485         conditional on [SIGSETXID].
3486         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3487         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3488         is defined.  Likewise for SIGSETXID.
3489         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3490         Conditionalize definitions on [SIGSETXID].
3491         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3492         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3493         unblocking on [SIGCANCEL].
3494
3495         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3496         [__NR_set_robust_list].
3497
3498 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3499
3500         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3501         (do_compare): Likewise.
3502
3503 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3504
3505         [BZ #15884]
3506         * string/strcoll_l.c: Don't include stdio.h.
3507         (coll_seq): Remove members idxarr and rulearr.
3508         (get_next_seq_cached): Remove function.
3509         (get_next_seq): Likewise.
3510         (get_next_seq_nocache): Rename to get_next_seq.
3511         (do_compare): Remove function.
3512         (do_compare_nocache): Rename to do_compare.
3513         (STRCOLL): Remove weight and rules cache.
3514
3515 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3516
3517         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3518         * sysdeps/arm/sfp-machine.h: ... to here.
3519         * sysdeps/arm/Implies: Remove arm/soft-fp.
3520
3521 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3522
3523         * conform/data/sys/utsname.h-data (*_t): Allow.
3524         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3525         [POSIX] (WEXITED): Do not expect constant.
3526         [POSIX] (WSTOPPED): Likewise.
3527         [POSIX] (WNOHANG): Likewise.
3528         [POSIX] (WNOWAIT): Likewise.
3529         [POSIX] (siginfo_t): Do not expect type or elements.
3530         [POSIX] (pid_t): Do not expect type.
3531         [POSIX] (signal.h): Do not allow header.
3532         [POSIX] (sys/resource.h): Likewise.
3533         [POSIX] (si_*): Do not allow pattern.
3534         [POSIX] (W*): Likewise.
3535         [POSIX] (P_*): Likewise.
3536         [POSIX] (BUS_*): Likewise.
3537         [POSIX] (CLD_*): Likewise.
3538         [POSIX] (FPE_*): Likewise.
3539         [POSIX] (ILL_*): Likewise.
3540         [POSIX] (POLL_*): Likewise.
3541         [POSIX] (SEGV_*): Likewise.
3542         [POSIX] (SI_*): Likewise.
3543         [POSIX] (TRAP_*): Likewise.
3544         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3545         variable.
3546
3547 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3548
3549         [BZ #12926]
3550         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3551         infinite loop when __recvmsg returns 0.
3552
3553 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3554
3555         * CANCEL-FCT-WAIVE: Remove file.
3556         * CANCEL-FILE-WAIVE: Likewise.
3557
3558         [BZ #14132]
3559         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3560         instead of INTVARDEF.
3561         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3562         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3563         rtld_hidden_data_def instead of INTVARDEF.
3564         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3565         * elf/dl-deps.c (expand_dst): Likewise.
3566         * elf/dl-load.c (_dl_dst_count): Likewise.
3567         (_dl_dst_substitute): Likewise.
3568         (decompose_rpath): Likewise.
3569         (_dl_init_paths): Likewise.
3570         (open_path): Likewise.
3571         (_dl_map_object): Likewise.
3572         * elf/rtld.c (dl_main): Likewise.
3573         (process_dl_audit): Likewise.
3574         (process_envvars): Likewise.
3575         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3576         Remove declaration.
3577         (__libc_enable_secure): Use rtld_hidden_proto.
3578
3579 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3580
3581         * elf/dl-load.c
3582         (add_path): New function broken out of _dl_rtld_di_serinfo.
3583         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3584
3585 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3586
3587         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3588         parentheses around macro arguments.
3589         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3590         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3591         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3592         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3593         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3594         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3595         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3596         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3597         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3598         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3599         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3600         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3601         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3602         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3603         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3604         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3605         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3606         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3607         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3608         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3609         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3610         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3611         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3612         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3613         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3614         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3615         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3616         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3617         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3618         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3619         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3620         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3621         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3622         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3623         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3624         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3625         Likewise.
3626         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3627         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3628         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3629         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3630         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3631         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3632         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3633         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3634         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3635         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3636         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3637         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3638         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3639         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3640         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3641         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3642         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3643         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3644         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3645         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3646         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3647         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3648         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3649         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3650         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3651         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3652         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3653         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3654         (_FP_FRAC_SRS_1): Likewise.
3655         (_FP_FRAC_CLZ_1): Likewise.
3656         (_FP_MUL_MEAT_1_imm): Likewise.
3657         (_FP_MUL_MEAT_1_wide): Likewise.
3658         (_FP_MUL_MEAT_1_hard): Likewise.
3659         (_FP_SQRT_MEAT_1): Likewise.
3660         (_FP_FRAC_ASSEMBLE_1): Likewise.
3661         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3662         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3663         (__FP_CLZ_2): Likewise.
3664         (_FP_MUL_MEAT_2_wide): Likewise.
3665         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3666         (_FP_MUL_MEAT_2_gmp): Likewise.
3667         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3668         (_FP_SQRT_MEAT_2): Likewise.
3669         (_FP_FRAC_ASSEMBLE_2): Likewise.
3670         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3671         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3672         (_FP_FRAC_CLZ_4): Likewise.
3673         (_FP_MUL_MEAT_4_wide): Likewise.
3674         (_FP_MUL_MEAT_4_gmp): Likewise.
3675         (_FP_SQRT_MEAT_4): Likewise.
3676         (_FP_FRAC_ASSEMBLE_4): Likewise.
3677         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3678         * soft-fp/op-common.h (_FP_CMP): Likewise.
3679         (_FP_CMP_EQ): Likewise.
3680         (_FP_CMP_UNORD): Likewise.
3681         (_FP_TO_INT): Likewise.
3682         (_FP_FROM_INT): Likewise.
3683         [!__FP_CLZ] (__FP_CLZ): Likewise.
3684         (_FP_DIV_HELP_imm): Likewise.
3685         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3686         Likewise.
3687         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3688         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3689         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3690         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3691         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3692         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3693         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3694         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3695         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3696         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3697         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3698         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3699         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3700         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3701         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3702         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3703         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3704         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3705         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3706         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3707         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3708         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3709         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3710         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3711         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3712         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3713         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3714         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3715         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3716         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3717         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3718         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3719         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3720         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3721         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3722         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3723         (FP_UNPACK_RAW_SP): Likewise.
3724         (FP_PACK_RAW_S): Likewise.
3725         (FP_PACK_RAW_SP): Likewise.
3726         (FP_UNPACK_S): Likewise.
3727         (FP_UNPACK_SP): Likewise.
3728         (FP_UNPACK_SEMIRAW_S): Likewise.
3729         (FP_UNPACK_SEMIRAW_SP): Likewise.
3730         (FP_PACK_S): Likewise.
3731         (FP_PACK_SP): Likewise.
3732         (FP_PACK_SEMIRAW_S): Likewise.
3733         (FP_PACK_SEMIRAW_SP): Likewise.
3734         (_FP_SQRT_MEAT_S): Likewise.
3735         (FP_CMP_S): Likewise.
3736         (FP_CMP_EQ_S): Likewise.
3737         (FP_CMP_UNORD_S): Likewise.
3738         (FP_TO_INT_S): Likewise.
3739         (FP_FROM_INT_S): Likewise.
3740
3741         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3742
3743         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3744         (FP_EX_INVALID_IMZ): Likewise.
3745         (FP_EX_INVALID_IMZ_FMA): Likewise.
3746         (FP_EX_INVALID_ISI): Likewise.
3747         (FP_EX_INVALID_ZDZ): Likewise.
3748         (FP_EX_INVALID_IDI): Likewise.
3749         (FP_EX_INVALID_SQRT): Likewise.
3750         (FP_EX_INVALID_CVI): Likewise.
3751         (FP_EX_INVALID_VC): Likewise.
3752         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3753         "invalid" exceptions.
3754         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3755         (_FP_ADD_INTERNAL): Likewise.
3756         (_FP_MUL): Likewise.
3757         (_FP_FMA): Likewise.
3758         (_FP_DIV): Likewise.
3759         (_FP_CMP_CHECK_NAN): Likewise.
3760         (_FP_SQRT): Likewise.
3761         (_FP_TO_INT): Likewise.
3762         (FP_EXTEND): Likewise.
3763
3764 2014-10-09  Allan McRae  <allan@archlinux.org>
3765
3766         * po/fr.po: Update French translation from translation project.
3767
3768 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3769
3770         [BZ #14132]
3771         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3772         of INTDEF.
3773         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3774         (__cxa_atexit): Use libc_hidden_proto.
3775         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3776
3777         [BZ #14132]
3778         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3779         declaration.
3780         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3781         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3782         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3783         [!_ISOMAC] (__iswctype_internal): Likewise.
3784         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3785         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3786         alias.
3787         (fcntl): Remove __fcntl_internal alias.
3788         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3789         __connect_internal alias.
3790         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3791         Likewise.
3792
3793         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3794         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3795         FP_DENORM_ZERO.
3796         (_FP_CHECK_FLUSH_ZERO): New macro.
3797         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3798         (_FP_CMP): Likewise.
3799         (_FP_CMP_EQ): Likewise.
3800         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3801         FP_DENORM_ZERO.
3802         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3803         (FP_TRUNC): Likewise.
3804
3805         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3806         treated as invalid conversion, not as normal exponent.
3807
3808         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3809         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3810         (_FP_CMP_EQ): Likewise.
3811         (_FP_CMP_UNORD): Likewise.
3812         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3813         (FP_CMP_EQ_D): Likewise.
3814         (FP_CMP_UNORD_D): Likewise.
3815         * soft-fp/extended.h (FP_CMP_E): Likewise.
3816         (FP_CMP_EQ_E): Likewise.
3817         (FP_CMP_UNORD_E): Likewise.
3818         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3819         (FP_CMP_EQ_Q): Likewise.
3820         (FP_CMP_UNORD_Q): Likewise.
3821         * soft-fp/single.h (FP_CMP_S): Likewise.
3822         (FP_CMP_EQ_S): Likewise.
3823         (FP_CMP_UNORD_S): Likewise.
3824         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3825         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3826         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3827         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3828         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3829         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3830         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3831         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3832         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3833         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3834         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3835         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3836         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3837         to FP_CMP_Q.
3838         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3839         FP_CMP_Q.
3840         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3841         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3842         FP_CMP_EQ_Q.
3843         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3844         FP_CMP_Q.
3845         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3846         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3847         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3848         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3849         FP_CMP_EQ_Q.
3850         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3851         FP_CMP_Q.
3852         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3853         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3854         FP_CMP_EQ_Q.
3855         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3856         FP_CMP_Q.
3857         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3858         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3859         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3860         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3861         FP_CMP_EQ_Q.
3862
3863         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3864         a subnormal result, set the underflow exception if trapping on
3865         underflow is enabled.
3866         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3867         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3868         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3869         redefine to 0.
3870         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3871         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3872         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3873         * soft-fp/extendxftf2.c (__extendxftf2): Use
3874         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3875
3876         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3877         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3878         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3879         FP_HANDLE_EXCEPTIONS.
3880         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3881         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3882         FP_HANDLE_EXCEPTIONS.
3883         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3884         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3885         FP_HANDLE_EXCEPTIONS.
3886         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3887         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3888         FP_HANDLE_EXCEPTIONS.
3889
3890 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
3891
3892         [BZ #14132]
3893         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3894         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3895         use INTUSE.
3896         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3897         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3898         Remove alias.
3899         (__adjtimex): Define using libc_hidden_ver.
3900         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3901         Remove declaration.
3902         (ntp_gettime): Call __adjtimex directly.
3903         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3904         Remove declaration.
3905         (ntp_gettimex): Call __adjtimex directly.
3906         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3907         __adjtimex_internal alias.
3908
3909 2014-10-08  Roland McGrath  <roland@hack.frob.com>
3910
3911         [BZ #17460]
3912         * nscd/nscd.c (more_help): Rewrite list of tables collection
3913         using xstrdup and asprintf.
3914
3915         * nscd/nscd_conf.c: Remove local xstrdup declaration.
3916
3917 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3918             Roland McGrath  <roland@hack.frob.com>
3919
3920         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3921         (do_lookup_unique): ... local function 'enter' here; update callers.
3922
3923 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
3924
3925         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3926         compat_symbol calls on [SHARED].
3927         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3928         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3929         Remove.
3930         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3931         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3932         (oldsetrlimit): Remove.
3933         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3935         (lchown): New syscall entry.
3936         (oldsetrlimit): Remove.
3937         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3938         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3939         (oldsetrlimit): Remove.
3940         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3941
3942         [BZ #14138]
3943         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3944         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3945         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3946         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3947         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3948         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3949         (fchown): Likewise.
3950         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3951         (fchown): Likewise.
3952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3953         Likewise.
3954
3955 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3956
3957         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3958         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3959         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3960         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3961         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3962         Likewise.
3963         (__old_sem_post): Likewise.
3964
3965 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
3966
3967         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3968         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3969         HAVE_CLOCK_GETTIME_VSYSCALL macros.
3970         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3971         Use INLINE_VSYSCALL macro.
3972         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3973         __vdso_clock_gettime.
3974         * sysdeps/unix/sysv/linux/tile/init-first.c
3975         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3976         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3977         __vdso_clock_gettime.
3978
3979         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3980         to set up frame more cleanly.
3981
3982         * sysdeps/tile/memcmp.c: New file.
3983
3984         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3985
3986         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3987         * sysdeps/tile/tilegx/strcasestr.c: New file.
3988         * sysdeps/tile/tilegx/strnlen.c: New file.
3989         * sysdeps/tile/tilegx/strstr.c: New file.
3990
3991         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3992
3993 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
3994
3995         * nptl/tst-setuid3.c: Write errors to stdout.
3996
3997 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3998
3999         * elf/dl-deps.c
4000         (preload): New functions broken out of _dl_map_object_deps.
4001         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4002
4003 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4004
4005         [BZ #14138]
4006         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4007         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4008
4009 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4010
4011         * sysdeps/mips/strcmp.S: New.
4012
4013 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4014
4015         [BZ #14138]
4016         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4017         (linkat): Likewise.
4018         (mkdirat): Likewise.
4019         (readlinkat): Likewise.
4020         (renameat): Likewise.
4021         (symlinkat): Likewise.
4022         (unlinkat): Likewise.
4023         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4024         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4025         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4026         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4027         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4028         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4029         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4030
4031 2014-09-30  Will Newton  <will.newton@linaro.org>
4032
4033         * math/math.h: Define long double math functions if
4034         _LIBC_TEST is defined.
4035         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4036
4037         * localedata/Makefile: Move assignment to tests-special
4038         into an ifdef testing run-built-tests.
4039         * timezone/Makefile: Likewise.
4040
4041 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4042
4043         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4044         with $(BASH) not $(SHELL).
4045
4046 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4047             Matthew LeGendre  <legendre1@llnl.gov>
4048
4049         [BZ #17411]
4050         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4051         l_reloc_result.
4052
4053 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4054
4055         * stdio-common/printf_fp.c
4056         (hack_digit): New function, broken out of ...
4057         (__printf_fp): ... local function here.  Update call sites.
4058         hack_digit now takes an additional parameter that is a pointer
4059         to a struct of the referenced locals.  Those locals moved inside
4060         the struct and references updated.
4061
4062 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4063
4064         * aclocal.m4: Require autoconf 2.69.
4065         * configure: Regenerated.
4066         * sysdeps/aarch64/configure: Likewise.
4067         * sysdeps/alpha/configure: Likewise.
4068         * sysdeps/arm/armv7/configure: Likewise.
4069         * sysdeps/arm/configure: Likewise.
4070         * sysdeps/ia64/configure: Likewise.
4071         * sysdeps/mach/configure: Likewise.
4072         * sysdeps/mips/configure: Likewise.
4073         * sysdeps/s390/configure: Likewise.
4074         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4076
4077         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4078         file.
4079         * sysdeps/ia64/configure.ac: Likewise.
4080
4081 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4082
4083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4084         specify symbol version for ld.so.  Do not include entry for
4085         libpthread.
4086         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4087         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4088         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4089
4090         [BZ #14171]
4091         * Makeconfig [$(build-shared) = yes]
4092         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4093         makefiles.
4094         [$(build-shared) = yes && $(soversions.mk-done) = t]
4095         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4096         [$(build-shared) = yes && $(soversions.mk-done) = t]
4097         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4098         to Makerules.
4099         [$(build-shared) = yes && $(soversions.mk-done) = t]
4100         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4101         here.
4102         [$(build-shared) = yes && $(soversions.mk-done) = t]
4103         (common-generated): Don't append gnu/lib-names.h and
4104         gnu/lib-names.stmp here.
4105         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4106         (lib-names-h-abi): New variable.
4107         [$(build-shared) = yes && $(soversions.mk-done) = t]
4108         (lib-names-stmp-abi): Likewise.
4109         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4110         abi-variants] (before-compile): Append
4111         $(common-objpfx)$(lib-names-h-abi).
4112         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4113         abi-variants] (common-generated): Append gnu/lib-names.h.
4114         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4115         abi-variants] (install-others-nosubdir): Depend on
4116         $(inst_includedir)/$(lib-names-h-abi).
4117         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4118         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4119         [$(build-shared) = yes && $(soversions.mk-done) = t]
4120         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4121         [$(build-shared) = yes && $(soversions.mk-done) = t]
4122         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4123         [$(build-shared) = yes && $(soversions.mk-done) = t]
4124         (common-generated): Append $(lib-names-h-abi) and
4125         $(lib-names-stmp-abi).
4126         * scripts/lib-names.awk: Do not handle multi being set.
4127         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4128         Remove variable.
4129         (abi-lp64_be-ld-soname): Likewise.
4130         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4131         Likewise.
4132         (abi-hard-ld-soname): Likewise.
4133         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4134         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4135         Remove variable.
4136         (abi-o32_hard-ld-soname): Likewise.
4137         (abi-o32_soft_2008-ld-soname): Likewise.
4138         (abi-o32_hard_2008-ld-soname): Likewise.
4139         (abi-n32_soft-ld-soname): Likewise.
4140         (abi-n32_hard-ld-soname): Likewise.
4141         (abi-n32_soft_2008-ld-soname): Likewise.
4142         (abi-n32_hard_2008-ld-soname): Likewise.
4143         (abi-n64_soft-ld-soname): Likewise.
4144         (abi-n64_hard-ld-soname): Likewise.
4145         (abi-n64_soft_2008-ld-soname): Likewise.
4146         (abi-n64_hard_2008-ld-soname): Likewise.
4147         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4148         Likewise.
4149         (abi-64-v2-ld-soname): Likewise.
4150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4151         ld.so entries.
4152         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4153         variable.
4154         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4155         entry.
4156         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4157         variable.
4158         (abi-64-ld-soname): Likewise.
4159         (abi-x32-ld-soname): Likewise.
4160         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4161         entry.
4162         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4163
4164 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4165
4166         [BZ #14138]
4167         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4168         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4169         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4170         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4171         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4172         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4173         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4174         syscall entry for GLIBC_2.2 symbol version.
4175         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4176         Likewise.
4177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4178         (setrlimit): Likewise.
4179         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4180         Likewise.
4181
4182 2014-09-23  Will Newton  <will.newton@linaro.org>
4183
4184         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4185         _LINUX_ARM_SYSDEP_H include guard too.
4186         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4187         define.
4188
4189 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4190
4191         * sysdeps/unix/sysv/linux/eventfd.c:
4192         Make first argument unsigned.
4193         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4194         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4195
4196 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4197
4198         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4199         * socket/sys/socket.h: Likewise
4200         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4201
4202 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4203
4204         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4205
4206 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4207
4208         * time/tst-ftime.c: New test.
4209         * time/Makefile (tests): Add tst-ftime.
4210
4211 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4212
4213         * soft-fp/extended.h: Fix comment formatting.
4214         * soft-fp/op-1.h: Likewise.
4215         * soft-fp/op-2.h: Likewise.
4216         * soft-fp/op-4.h: Likewise.
4217         * soft-fp/op-8.h: Likewise.
4218         * soft-fp/op-common.h: Likewise.
4219         * soft-fp/soft-fp.h: Likewise.
4220
4221         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4222
4223 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4224
4225         [BZ #6652]
4226         * Makeconfig (soversions-default-setname): Remove variable.
4227         ($(common-objpfx)soversions.i): Don't pass default_setname to
4228         soversions.awk.
4229         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4230         oldest_abi to abi-versions.awk.
4231         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4232         * config.make.in (oldest-abi): Remove variable.
4233         * configure.ac (--enable-oldest-abi): Remove configure option.
4234         * configure: Regenerated.
4235         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4236         text.
4237         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4238         * scripts/soversions.awk: Do not handle default_setname variable.
4239         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4240         variable.
4241         * sysdeps/mach/hurd/configure: Regenerated.
4242         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4243         variable.
4244         * sysdeps/unix/sysv/linux/configure: Regenerated.
4245
4246 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4247
4248         * elf/Makefile (CFLAGS-interp.c): Remove.
4249         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4250         path string.
4251         * elf/interp.c: Include generated runtime-linker.h
4252
4253         * Makerules (lib%.so): Don't include $(+interp) in
4254         prerequisites.
4255         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4256         * dlfcn/eval.c: Remove file.
4257
4258         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4259         macros.
4260
4261         [BZ #17266]
4262         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4263         4.2 and newer.
4264
4265         [BZ #17370]
4266         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4267
4268 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4269             Jakub Jelinek  <jakub@redhat.com>
4270
4271         [BZ #17266]
4272         * libio/stdio.h: Check definition of __fortify_function
4273         instead of __extern_always_inline to include bits/stdio2.h.
4274         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4275         check if __extern_always_inline is defined.
4276         [__USE_MISC || __USE_XOPEN]: Likewise.
4277         [__USE_ISOC99] Likewise.
4278         * misc/sys/cdefs.h (__fortify_function): Define only if
4279         __extern_always_inline is defined.
4280         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4281         __extern_always_inline and __extern_inline only for g++-4.3
4282         and newer or a compatible gcc.
4283
4284 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4285
4286         [BZ #17371]
4287         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4288         last change to handle zero prefix length.
4289
4290 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4291
4292         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4293         _SC_REGEX_VERSION.
4294
4295         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4296         _POSIX_RAW_SOCKETS.
4297
4298 2014-09-13  Allan McRae  <allan@archlinux.org>
4299
4300         * po/ru.po: Update Russian translation from translation project.
4301
4302 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4303
4304         * locale/programs/locale.c (show_locale_vars): Inline local function
4305         into its sole call site.  Clean up some style nits.
4306         (print_item): New function, broken out of ...
4307         (show_info): ... local function here.  Clean up style nits.
4308
4309         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4310         out of ...
4311         (set_class_defaults): ... local function set_default here.
4312         Define set_default as a macro locally to pass constant parameters.
4313         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4314         rather than a shared local.
4315
4316         * stdlib/rpmatch.c (try): New function, broken out of ...
4317         (rpmatch): ... local function here.  Also, prototypify definition.
4318
4319 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4320
4321         * scripts/soversions.awk: Do not handle configuration names.
4322         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4323         vendor and os variables to soversions.awk.
4324         * configure.ac: Do not modify gnu-* host_os.
4325         * configure: Regenerated
4326         * shlib-versions: Remove first column with configuration names.
4327         * nptl/shlib-versions: Likewise.
4328         * nptl_db/shlib-versions: Likewise.
4329         * sysdeps/hppa/shlib-versions: Likewise.
4330         * sysdeps/m68k/shlib-versions: Likewise.
4331         * sysdeps/mach/hurd/shlib-versions: Likewise.
4332         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4333         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4334         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4335         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4336         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4337         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4338         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4339         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4341         Likewise.
4342         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4343         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4344         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4345         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4346         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4347         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4348         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4349         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4350
4351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4352         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4354         Regenerated.
4355         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4357         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4358
4359         * shlib-versions: Remove OS-specific entries.  Moved to files in
4360         sysdeps.
4361         * sysdeps/mach/hurd/shlib-versions: New file.
4362         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4363
4364         * nptl/shlib-versions: Remove architecture-specific entries.
4365         Moved to files in sysdeps.
4366         * shlib-versions: Likewise.
4367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4368         file.
4369         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4370         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4371         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4372         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4373
4374         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4375         (UDP_NO_CHECK6_RX): Likewise.
4376
4377 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4378
4379         * sysdeps/posix/sysconf.c (__sysconf): Spell
4380         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4381
4382 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4383
4384         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4385         loading.
4386         * iconv/Versions (__gconv_transliterate): Export for use from
4387         gconv modules.
4388         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4389         (struct __gconv_trans_data, __gconv_trans_fct,
4390         __gconv_trans_context_fct, __gconv_trans_query_fct,
4391         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4392         definitions.
4393         (struct __gconv_step_data): Remove __trans member.
4394         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4395         longer hidden.  Remove unused trans_data argument.
4396         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4397         (__gconv_translit_find): Remove declaration.
4398         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4399         prototype.
4400         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4401         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4402         trans_data argument.  Add hidden definition.
4403         (__gconv_translit_find): Remove.
4404         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4405         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4406         * iconv/skeleton.c: Remove transliteration initialization.
4407         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4408         __gconv_step_data initialization.
4409         * libio/iofwide.c (__libio_translit_): Remove.
4410         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4411         * wcsmbs/btowc.c (__btowc): Likewise.
4412         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4413         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4414         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4415         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4416         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4417         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4418         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4419         * wcsmbs/wctob.c (wctob): Likewise.
4420
4421 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4422
4423         [BZ #16194]
4424         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4425         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4426         register usage.
4427         * sysdeps/x86/Makefile: Adjust.
4428
4429 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4430             Roland McGrath  <roland@hack.frob.com>
4431
4432         * locale/weight.h: Add include guard.
4433         (findidx): Make static rather than auto; take new parameters
4434         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4435         * locale/weightwc.h: Likewise.
4436         * posix/fnmatch_loop.c
4437         (FCT): Change type of EXTRA from int32_t to wint_t.
4438         Don't include either header inside the function.
4439         Call FINDIDX rather than findidx, and pass new arguments.
4440         #undef FINDIDX at the end of the file.
4441         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4442         FINDIDX before including fnmatch_loop.c for the non-wide version.
4443         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4444         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4445         for the wide version.
4446         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4447         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4448         Pass new arguments to findidx.
4449         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4450         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4451         Don't #include it inside the function.  Pass new arguments to findidx.
4452         * posix/regex_internal.h
4453         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4454         (re_string_elem_size_at): Don't #include it inside the function.
4455         Pass new arguments to findidx.
4456         * string/strcoll_l.c: #include WEIGHT_H at top level.
4457         (get_next_seq): Don't #include it inside the function.
4458         Pass new arguments to findidx.
4459         (get_next_seq_nocache): Likewise.
4460         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4461         (STRXFRM): Don't #include it inside the function.
4462         Pass new arguments to findidx.
4463
4464 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4465
4466         [BZ #17344]
4467         * malloc/malloc.c (unlink): Turn asserts into a call to
4468         malloc_printerr.
4469
4470 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4471
4472         [BZ #17370]
4473         * libio/wfileops (do_ftell_wide): Free OUT.
4474
4475 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4476
4477         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4478
4479 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4480
4481         [BZ #17363]
4482         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4483         group if the current group is empty.
4484
4485 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4486
4487         * benchtests/bench-memset.c (test_main): Add more test from size
4488         from 32 to 512 bytes.
4489         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4490         Add POWER8 memset object.
4491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4492         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4493         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4494         implementation.
4495         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4496         Likewise.
4497         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4498         multiarch POWER8 memset optimization.
4499         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4500         POWER8 memset optimization.
4501
4502         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4503         Remove bzero multiarch objects.
4504         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4505         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4506         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4507         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4508         Remove define.
4509         [__bzero]: Redefine to specific name.
4510         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4511         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4512         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4513         define.
4514         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4515         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4516
4517 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4518
4519         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4520         warnings into errors.
4521
4522         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4523         __cxa_thread_atexit_impl prototype.
4524
4525 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4526
4527         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4528         Fix capitalization of error message.
4529
4530 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4531
4532         * sysdeps/mips/preconfigure: Modify ABI tests.
4533
4534 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4535
4536         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4537
4538 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4539             Carlos O'Donell  <carlos@systemhalted.org>
4540
4541         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4542         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4543         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4544         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4545         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4546         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4547         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4548         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4549         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4550         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4551         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4552         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4553         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4554         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4555         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4556         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4557         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4558         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4559         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4560         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4561         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4562         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4563         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4564         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4565         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4566         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4567         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4568         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4569         Deconditionalize the code that was previously under [RESET_PID].
4570         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4571         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4572         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4573         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4574         include sysdep.h.
4575
4576 2014-09-08  Allan McRae  <allan@archlinux.org>
4577
4578         * version.h (RELEASE): Set to "development".
4579         (VERSION): Set to "2.20.90"
4580
4581 2014-09-07  Allan McRae  <allan@archlinux.org
4582
4583         * version.h (RELEASE): Set to "stable".
4584         (VERSION): Set to "2.20"
4585         * include/features.h (__GLIBC_MINOR__): Set to 20.
4586
4587         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4588         Liebler.
4589
4590         * po/ko.po: Update Korean translation from translation project.
4591
4592 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4593
4594         [BZ #17354]
4595         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4596         macro for handling signed relocations.
4597
4598 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4599
4600         [BZ #17325]
4601         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4602         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4603         assert.
4604         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4605         * iconvdata/ibm935.c (BODY): Likewise.
4606         * iconvdata/ibm937.c (BODY): Likewise.
4607         * iconvdata/ibm939.c (BODY): Likewise.
4608         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4609         assert.
4610         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4611         script.
4612         * iconvdata/run-iconv-test.sh: New test loop for checking for
4613         decoder crashers.
4614
4615 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4616
4617         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4618         libm_hidden_ver.
4619
4620 2014-09-01  Allan McRae  <allan@archlinux.org>
4621
4622         * po/eo.po: Update Esperanto translation from translation project.
4623
4624         * po/ca.po: Update Catalan translation from translation project.
4625
4626 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4627
4628         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4629         __proc_dostop call.
4630
4631 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4632
4633         [BZ #17319]
4634         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4635         to call set_thread_area instead of hand written asm.
4636         (__NR_set_thread_area): Removed define.
4637         (TLS_FLAG_WRITABLE): Likewise.
4638         (__ASSUME_SET_THREAD_AREA): Remove check.
4639         (TLS_EBX_ARG): Remove define.
4640         (TLS_LOAD_EBX): Likewise.
4641
4642 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4643
4644         Simplify atomicity of socket creation in bind.
4645
4646         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4647         looking up the name after linking the file.
4648
4649 2014-08-27  Allan McRae  <allan@archlinux.org>
4650
4651         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4652
4653 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4654
4655         [BZ #17187]
4656         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4657         trans_compare, open_translit, __gconv_translit_find):
4658         Remove module loading code.
4659
4660 2014-08-26  Allan McRae  <allan@archlinux.org>
4661
4662         * po/vi.po: Update Vietnamese translation from translation project.
4663
4664         * po/uk.po: Update Ukrainian translation from translation project.
4665
4666         * po/fr.po: Update French translation from translation project.
4667
4668         * po/ru.po: Update Russian translation from translation project.
4669
4670         * po/pl.po: Update Polish translation from translation project.
4671
4672         * po/cs.po: Update Czech translation from translation project.
4673
4674         * po/de.po: Update German translation from translation project.
4675
4676         * po/bg.po: Update Bulgarian translation from translation project.
4677
4678         * po/sv.po: Update Sweedish translation from translation project.
4679
4680         * po/nl.po: Update Dutch translation from translation project.
4681
4682         * po/es.po: Update Spanish translation from translation project.
4683
4684 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4685
4686         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4687
4688         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4689         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4690         (CPPFLAGS-iconvconfig): Likewise.
4691         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4692
4693         * include/libc-symbols.h: Remove unnecessary check for
4694         NOT_IN_libc.
4695         * nptl/pthreadP.h: Likewise.
4696         * sysdeps/aarch64/setjmp.S: Likewise.
4697         * sysdeps/alpha/setjmp.S: Likewise.
4698         * sysdeps/arm/sysdep.h: Likewise.
4699         * sysdeps/i386/setjmp.S: Likewise.
4700         * sysdeps/m68k/setjmp.c: Likewise.
4701         * sysdeps/posix/getcwd.c: Likewise.
4702         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4703         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4704         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4705         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4706         * sysdeps/sh/sh3/setjmp.S: Likewise.
4707         * sysdeps/sh/sh4/setjmp.S: Likewise.
4708         * sysdeps/unix/alpha/sysdep.h: Likewise.
4709         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4710         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4711         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4712         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4715         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4716         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4717         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4718         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4719         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4720         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4721         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4722         * sysdeps/x86_64/setjmp.S: Likewise.
4723
4724 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4725
4726         [BZ #17263]
4727         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4728         <stdint.h>.
4729         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4730         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4731
4732 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4733
4734         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4735
4736         [BZ #17262]
4737         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4738         and __x86_64__ when disabling x87 inline functions.
4739
4740 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4741
4742         [BZ #17259]
4743         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4744         asm statement with __cpuid_count.
4745
4746 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4747
4748         * configure.ac: Change __ehdr_start code to dereference the struct.
4749         Run readelf on the output to look for relocations.
4750         * configure: Regenerated.
4751
4752 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4753
4754         [BZ #17261]
4755         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4756         value to 0.
4757         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4758
4759 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4760
4761         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4762
4763 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4764
4765         [BZ #16892]
4766         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4767         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4768
4769 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4770
4771         * malloc/malloc.c: Fix typo in comment.
4772
4773 2014-08-09  Allan McRae  <allan@archlinux.org>
4774
4775         * Regenerate libc.po.
4776
4777 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4778
4779         * intl/tst-gettext2.sh: Check every lang file for creation.
4780
4781 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4782
4783         * sysdeps/aarch64/fpu/math_private.h
4784         (libc_feholdsetround_noex_aarch64_ctx): New function.
4785
4786 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4787
4788         * sysdeps/arm/armv6/strcpy.S (strcpy):
4789         Fix performance issue in misaligned cases.
4790
4791 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4792
4793         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4794         Move definition from termios.h.
4795         (struct termio): Likewise.
4796         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4797         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4798         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4799         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4800         Likewise.
4801         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4802         Move definition to ioctl-types.h
4803         (struct termio): Likewise.
4804         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4805         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4806         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4807         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4808         Likewise.
4809
4810 2014-08-05  Richard Henderson  <rth@redhat.com>
4811
4812         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4813         exceptions.
4814         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4815         Add fraiseexcpt.
4816         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4817         Use __feraiseexcept.
4818         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4819         Protect libm symbols with IS_IN_libm.
4820
4821         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4822
4823 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4824
4825         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4826
4827 2014-08-04  Will Newton  <will.newton@linaro.org>
4828
4829         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4830         file.
4831
4832 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4833
4834         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4835         variants for each function.
4836
4837 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4838
4839         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4840         appended ...
4841         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4842         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4843         appended ...
4844         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4845         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4846         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4847         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4848         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4849         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4850         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4851         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4852         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4853         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4854         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4855         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4856         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4857         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4858         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4859         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4860         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4861         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4862         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4863         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4864         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4865         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4866         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4867         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4868         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4869         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4870         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4871         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4872         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4873         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4874         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4875         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4876         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4877         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4878         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4879         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4880         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4881         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4882         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4883         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4884         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4885         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4886         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4887         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4888         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4889         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4890         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4891         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4892         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4893         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4894         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4895         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4896         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4897         Update #include.
4898         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4899         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4900
4901 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4902
4903         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4904         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4905         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4906         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4907         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4908         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4909
4910 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4911
4912         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4913         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4914         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4915         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4916
4917 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4918
4919         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4920         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4921         (__libc_vfork): Define function under this name.
4922         (__vfork): Define as an alias.
4923         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4924         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4925
4926 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4927
4928         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4929         that was previously under [RESET_PID].
4930         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4931
4932 2014-08-04  Andreas Schwab  <schwab@suse.de>
4933
4934         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4935
4936 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
4937
4938         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4939         (main): Likewise.
4940
4941 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4942
4943         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4944
4945 2014-08-01  Richard Henderon  <rth@redhat.com>
4946
4947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4948         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4949         typo in exact zero test.
4950         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4951         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4952         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4953
4954 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4955
4956         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4957         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4958         * sysdeps/arm/sysdep.h: ... here.
4959         [!__ASSEMBLER__]: Include <stdint.h>.
4960
4961 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4962
4963         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4964         (HAVE_WCTYPE_H): Likewise.
4965         (HAVE_ISWCTYPE): Likewise.
4966         (ENABLE_NLS): Likewise.
4967         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4968         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4969
4970         * posix/regex_internal.c: Check if DEBUG is defined and is
4971         set.
4972
4973         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4974         (HAVE_MBSRTOWCS): Likewise.
4975         * posix/fnmatch.c: Include string.h unconditionally.
4976
4977 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4978
4979         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4980         reversal.
4981
4982 2014-07-31  Roland McGrath  <roland@hack.frob.com>
4983
4984         * sysdeps/generic/safe-fatal.h: New file.
4985         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4986         * nptl/forward.c: Include it.
4987         (__pthread_unwind): Use __safe_fatal as default action, rather
4988         than a bogus use of INTERNAL_SYSCALL that could never work.
4989
4990         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4991         * configure.ac (libc_cv_builtin_trap): New test.
4992         * configure: Regenerated.
4993         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4994         (ABORT_INSTRUCTION): Define using __builtin_trap.
4995
4996         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4997         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4998         * sysdeps/nptl/nptl-signals.h: New file.
4999         * nptl/pthreadP.h: Include <nptl-signals.h>.
5000
5001 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5002
5003         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5004         (ONE_DIRECTION): Define.
5005         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5006         (ONE_DIRECTION): Define.
5007         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5008         (ONE_DIRECTION): Define.
5009
5010 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5011
5012         * sysdeps/s390/Makefile: Delete file.
5013         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5014         * sysdeps/s390/__longjmp.c: Delete file.
5015         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5016         Remove fields __flags and __reserved.
5017         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5018         and add versioning.
5019         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5020         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5021         * sysdeps/s390/rtld-setjmp.S: Likewise.
5022         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5023         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5024         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5025         * sysdeps/s390/s390-32/setjmp.S: ... here.
5026         Add versioning.
5027         (__sigsetjmp): Remove setting __flags field.
5028         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5029         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5030         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5031         * sysdeps/s390/s390-64/setjmp.S: ... here.
5032         Add versioning.
5033         (__sigsetjmp): Remove setting __flags field.
5034         * sysdeps/s390/setjmp.S: Delete file.
5035         * sysdeps/s390/sigjmp.c: Likewise.
5036         * sysdeps/s390/v1-longjmp.c: Likewise.
5037         * sysdeps/s390/v1-setjmp.h: Likewise.
5038         * sysdeps/s390/v1-sigjmp.c: Likewise.
5039         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5040         Remove v1-longjmp_chk.
5041         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5042         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5043         Include debug/longjmp_chk.c and add versioning.
5044         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5045         Include nptl/pt-longjmp.c and add versioning.
5046         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5047         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5048         Include __longjmp.c.
5049         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5050         Move to ...
5051         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5052         (__getcontext): Remove setting __flags field.
5053         Add versioning.
5054         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5055         Don't restore upper high grps.
5056         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5057         Likewise.
5058         (__swapcontext): Remove setting uc_flags field.
5059         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5060         Delete file.
5061         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5062         Include __longjmp.c.
5063         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5064         Move to ...
5065         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5066         (__getcontext): Remove setting __flags field.
5067         Add versioning.
5068         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5069         (__swapcontext): Remove setting uc_flags field.
5070         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5071         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5072         Remove fields uc_high_gprs and __reserved.
5073         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5074         New file with reverted content.
5075         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5076         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5077         Regenerated.
5078         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5079         Regenerated.
5080
5081 2014-07-31  Andreas Schwab  <schwab@suse.de>
5082
5083         * config.h.in (HAVE_IFUNC): Define to 0.
5084         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5085         definedness.
5086
5087 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5088
5089         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5090         memmove-avx-unaligned, memcpy-avx-unaligned and
5091         mempcpy-avx-unaligned.
5092         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5093         Add tests for AVX memcpy functions.
5094         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5095         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5096         memcpy_chk.
5097         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5098         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5099         memmove_chk.
5100         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5101         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5102         mempcpy_chk.
5103         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5104         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5105         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5106
5107 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5108
5109         [BZ #17213]
5110         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5111         powerpc64le.
5112
5113 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5114
5115         [BZ #16839]
5116         * manual/llio.texi: Add section about open file description locks.
5117         * manual/examples/ofdlocks.c: Example of open file description
5118         lock usage.
5119         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5120         F_OFD_SETLK, and F_OFD_SETLKW.
5121
5122 2014-07-23  Allan McRae  <allan@archlinux.org>
5123
5124         * po/es.po: Update Spanish translation from translation project.
5125
5126 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5127
5128         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5129
5130 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5131
5132         [BZ #17078]
5133         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5134         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5135         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5136
5137 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5138
5139         [BZ #17088]
5140         * math/fesetenv.c (__fesetenv)
5141         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5142         * math/feupdateenv.c (__feupdateenv)
5143         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5144
5145         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5146         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5147         (__ASSUME_SOCKETCALL): Do not define.
5148
5149         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5150         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5151         (__ASSUME_SOCKETCALL): Do not define.
5152         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5153         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5154         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5155         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5156         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5157         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5158         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5159         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5160
5161         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5162         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5163         (__ASSUME_SOCKETCALL): Do not define.
5164         (__ASSUME_IPC64): Define unconditionally.
5165         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5166         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5167         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5168         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5169         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5170         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5171         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5172         Likewise.
5173
5174         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5175         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5176         (__ASSUME_SOCKETCALL): Do not define.
5177         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5178         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5179         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5180         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5181         (__ASSUME_REQUEUE_PI): Define unconditionally.
5182         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5183         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5184         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5185         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5186         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5187         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5188
5189         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5190         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5191         (__ASSUME_SOCKETCALL): Do not define.
5192         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5193         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5194         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5195         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5196         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5197         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5198
5199         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5200         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5201         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5202         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5203         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5204         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5205         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5206         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5207         (__ASSUME_GETCPU_SYSCALL): Likewise.
5208
5209         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5210         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5211         cases for individual architectures.
5212         * sysdeps/gnu/configure: Regenerated.
5213         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5214         LIBC_SLIBDIR_RTLDDIR.
5215         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5216         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5217         LIBC_SLIBDIR_RTLDDIR.
5218         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5220         LIBC_SLIBDIR_RTLDDIR.
5221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5222         Regenerated.
5223         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5224         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5225         file.
5226         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5227         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5228         file.
5229         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5230         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5231         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5232         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5233
5234         * sysdeps/aarch64/shlib-versions: Move to ...
5235         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5236         * sysdeps/alpha/shlib-versions: Move to ...
5237         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5238         * sysdeps/arm/shlib-versions: Move to ...
5239         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5240         * sysdeps/hppa/shlib-versions: Move all contents except for
5241         libgcc_s entry to ...
5242         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5243         entry from ...
5244         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5245         * sysdeps/ia64/shlib-versions: Move to ...
5246         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5247         entry from ...
5248         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5249         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5250         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5251         * sysdeps/microblaze/shlib-versions: Move to ...
5252         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5253         * sysdeps/mips/shlib-versions: Move to ...
5254         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5255         entry from ...
5256         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5257         * sysdeps/tile/shlib-versions: Move to ...
5258         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5259         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5260         from ...
5261         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5262         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5263         entry from ...
5264         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5265
5266 2014-07-17  Will Newton  <will.newton@linaro.org>
5267
5268         * sysdeps/arm/bits/atomic.h
5269         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5270         (__arch_compare_and_exchange_bool_16_int): Likewise.
5271         (__arch_compare_and_exchange_bool_64_int): Likewise.
5272
5273         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5274         into an #else block.
5275
5276 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5277
5278         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5279         just Linux configurations.  Test empirically that the compiler sets
5280         __ARM_EABI__, rather than using the tuple to decide.
5281         * sysdeps/arm/preconfigure: Regenerated.
5282         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5283         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5284         contents appended ...
5285         * sysdeps/arm/configure.ac: ... here.
5286         * sysdeps/arm/configure: Regenerated.
5287
5288 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5289
5290         * nptl/pthread_kill.c: New file.
5291         * nptl/pthread_sigmask.c: New file.
5292         * nptl/pthread_sigqueue.c: New file.
5293
5294         * sysdeps/nptl/lowlevellock.h: New file.
5295         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5296         * sysdeps/nptl/lowlevellock-futex.h: New file.
5297
5298         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5299         Remove dead declarations.
5300
5301 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5302
5303         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5304         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5305         config-cflags-avx2.
5306         * sysdeps/x86_64/configure.ac: Likewise.
5307         * sysdeps/i386/configure: Regenerated.
5308         * sysdeps/x86_64/configure: Likewise.
5309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5310         memset-avx2 only if config-cflags-avx2 is yes.
5311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5312         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5313         defined.
5314         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5315         only if HAVE_AVX2_SUPPORT is defined.
5316         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5317
5318 2014-07-14  Alan Modra  <amodra@gmail.com>
5319
5320         [BZ #17153]
5321         * elf/elf.h (DT_PPC64_NUM): Correct value.
5322         * NEWS: Add to fixed bug list.
5323
5324 2014-07-13  Jim Meyering  <meyering@fb.com>
5325
5326         [BZ 17150]
5327         regex: don't deref NULL upon heap allocation failure
5328         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5329         failure in one more place.
5330         To trigger the segfault, configure grep -with-included-regex,
5331         build it, and run these commands:
5332         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5333
5334 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5335
5336         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5337
5338 2014-07-11  Richard Henderson  <rth@redhat.com>
5339
5340         * sysdeps/aarch64/libm-test-ulps: Update.
5341
5342 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5343
5344         [BZ #17135]
5345         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5346         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5347         (__nptl_setxid): Initialize error member.  Call
5348         __nptl_setxid_error.
5349         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5350         * nptl/descr.h (struct xid_command): Add error member.
5351         * nptl/tst-setuid3.c: New file.
5352         * nptl/Makefile (tests): Add it.
5353
5354 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5355
5356         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5357         New define.
5358         (__lll_trylock): Use __lll_base_trylock.
5359         (__lll_cond_trylock): Likewise.
5360
5361 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5362
5363         * nptl/pthread_create.c (start_thread): Use atomic_or and
5364         lll_futex_wake directly rather than lll_robust_dead.
5365         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5366         (lll_robust_dead): Macro removed.
5367         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5368         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5369         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5370         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5371         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5372         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5373         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5374         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5375         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5376         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5377         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5378         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5379         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5380         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5381         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5382
5383         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5384         Use atomic_compare_and_exchange_val_acq directly rather than
5385         lll_robust_trylock.
5386         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5387         (__lll_robust_trylock, lll_robust_trylock): Removed.
5388         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5389         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5390         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5391         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5392         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5393         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5394         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5395         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5396         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5397         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5398         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5399         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5400         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5401         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5402
5403 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5404
5405         * manual/locale.texi (Locale Names): New section documenting
5406         locale name syntax.  Adjust menu and node chaining accordingly.
5407         (Choosing Locale): Reference Locale Names, Locale Categories.
5408         Mention setting LC_ALL=C.  Reflect that name syntax is now
5409         documented.
5410         (Locale Categories): New section title.  Reference Locale Names.
5411         LC_ALL is an environment variable, but not a category.
5412         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5413         description, now in Locale Name.  Reference that section.  Locale
5414         name syntax is now documented.
5415
5416 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5417
5418         [BZ #17137]
5419         * locale/findlocale.c (name_present, valid_locale_name): New
5420         functions.
5421         (_nl_find_locale): Use the loc_name variable to store name
5422         candidates.  Call name_present and valid_locale_name to check and
5423         validate locale names.  Return an error if the locale is invalid.
5424
5425 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5426
5427         * locale/setlocale.c (setlocale): Use strdup for allocating
5428         composite name copy.
5429
5430 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5431
5432         Sync up with gnulib.
5433         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5434         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5435         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5436         and _GL_ARG_NONNULL.
5437         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5438         [!_LIBC]: Include code for Windows and Cygwin.
5439         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5440         Include prototype for int strerror_r.
5441         [!_LIBC] (is_open): New function.
5442         (flush_stdout): New function.
5443         (print_errno_message): Use it.
5444         (error): Likewise.
5445         (error_at_line): Likewise.
5446         (error_tail) Add function attribute macros.  Use
5447         __builtin_expect.
5448
5449         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5450
5451         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5452
5453         * io/ftw.c: Include sys/param.h unconditionally.
5454
5455         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5456
5457         [BZ #17125]
5458         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5459         libc_freeres_ptr.
5460         (freecache): New function to free CACHE on exit.
5461
5462         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5463         initialization.
5464
5465 2014-07-09  David S. Miller  <davem@davemloft.net>
5466
5467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5468
5469         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5470         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5471         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5472         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5473         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5474         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5475         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5476         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5477         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5478         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5479         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5480         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5481         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5482
5483 2014-07-09  Andreas Schwab  <schwab@suse.de>
5484
5485         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5486         output.
5487         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5488         (do_test): Likewise.
5489
5490         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5491
5492 2014-07-09  Will Newton  <will.newton@linaro.org>
5493
5494         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5495         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5496         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5497         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5498         * sysdeps/hppa/start.S (_start): Likewise.
5499
5500 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5501
5502         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5503
5504         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5505         defined.
5506
5507 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5508
5509         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5510         after checking that it is non-NULL.
5511
5512         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5513
5514 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5515
5516         * sysdeps/powerpc/memmove.c: Remove file.
5517         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5518         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5519         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5520         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5521         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5522         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5523         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5524         string memmove instead of removed powerpc one.
5525
5526         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5527         [weak_alias]: Fix compiler warning due trailing data.
5528         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5529         [weak_alias]: Likewise.
5530         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5531         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5532
5533         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5534         (__libc_ifunc_impl_list): Add memmove functions.
5535
5536 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5537
5538         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5539         Remove code.
5540         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5541         Likewise
5542         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5543         Likewise
5544         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5545         Likewise
5546         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5547         Likewise
5548         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5549         Likewise
5550         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5551         Likewise
5552         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5553         Likewise
5554         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5555         Likewise
5556         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5557         Likewise
5558         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5559         Likewise
5560         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5561         Likewise
5562         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5563         Likewise
5564         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5565         Likewise
5566         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5567         Likewise
5568         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5569         Likewise
5570         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5571         Likewise
5572
5573 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5574
5575         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5576         to avoid alignment traps in non-cacheable memory.
5577         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5578
5579         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5580         multiarch objects.
5581         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5582         file: multiarch power7 memmove.
5583         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5584         multiarch default memmove.
5585         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5586         multiarch memove for powerpc32/power4.
5587
5588         * string/bcopy.c: Use full path to include memmove.c.
5589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5590         multiarch objects.
5591         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5592         bcopy for powerpc64.
5593         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5594         bcopy for powerpc64.
5595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5596         and memmove implementations.
5597         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5598         optimized multiarch memmove for POWER7/powerpc64.
5599         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5600         default multiarch memmove for powerpc64.
5601         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5602         multiarch for powerpc64.
5603         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5604         for POWER7/powerpc64.
5605         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5606         memmove for POWER7/powerpc64.
5607
5608         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5609         glibc default one.
5610
5611         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5612         __ELF_NATIVE_CLASS equal to 64.
5613
5614 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5615
5616         * sysdeps/nptl/lowlevellock.h: File removed.
5617
5618         * NEWS: NPTL is no longer an add-on!
5619         * nptl/internaltypes.h: Moved ...
5620         * sysdeps/nptl/internaltypes.h: ... here.
5621         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5622         * sysdeps/nptl/fork.c: Likewise.
5623         * sysdeps/nptl/gai_misc.h: Likewise.
5624         * sysdeps/nptl/librt-cancellation.c: Likewise.
5625         * sysdeps/nptl/jmp-unwind.c: Likewise.
5626         * sysdeps/nptl/setxid.h: Likewise.
5627         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5628         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5629         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5630         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5631         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5632         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5633         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5634         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5635         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5636         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5637         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5638         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5639         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5640         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5641         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5642         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5643         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5644         * nptl/Makeconfig: Moved ...
5645         * sysdeps/nptl/Makeconfig: ... here.
5646         * nptl/configure: File removed.
5647         * nptl/ANNOUNCE: File removed.
5648         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5649         * sysdeps/unix/sysv/linux/configure: Regenerated.
5650
5651         * nptl/Makefile (routines): Add libc_pthread_init,
5652         libc_multiple_threads, register-atfork and unregister-atfork.
5653         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5654         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5655         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5656         pthread-pi-defines.sym, structsem.sym.
5657         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5658         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5659         [$(subdir) = nptl] (tests): Add tst-setgetname.
5660         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5661         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5662         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5663         [!LIBC_SIGACTION]: Remove aliases.
5664         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5665         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5666         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5667         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5668         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5669         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5670         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5671         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5672         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5673         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5674         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5675         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5676         __libc_allocate_rtsig_private.
5677         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5678         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5679         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5680         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5681         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5682         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5683         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5684         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5685         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5686         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5687         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5688         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5689         * nptl/internaltypes.h: ... here.
5690         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5691         * sysdeps/nptl/jmp-unwind.c: ... here.
5692         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5693         * nptl/libc-lowlevellock.c: ... here.
5694         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5695         * nptl/libc_multiple_threads.c: ... here.
5696         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5697         * nptl/libc_pthread_init.c: ... here.
5698         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5699         * nptl/lowlevelbarrier.sym: ... here.
5700         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5701         * nptl/lowlevelcond.sym: ... here.
5702         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5703         * nptl/lowlevellock.c: ... here.
5704         * nptl/lowlevellock.h: Moved ...
5705         * sysdeps/nptl/lowlevellock.h: ... here.
5706         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5707         * nptl/lowlevelrobustlock.c: ... here.
5708         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5709         * nptl/lowlevelrobustlock.sym: ... here.
5710         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5711         * nptl/lowlevelrwlock.sym: ... here.
5712         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5713         * nptl/pt-fork.c: ... here.
5714         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5715         * nptl/pthread-pi-defines.sym: ... here.
5716         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5717         * nptl/pthread_attr_getaffinity.c: ... here.
5718         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5719         * nptl/pthread_attr_setaffinity.c: ... here.
5720         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5721         * nptl/pthread_mutex_cond_lock.c: ... here.
5722         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5723         Update #include.
5724         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5725         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5726         * nptl/pthread_once.c: ... here, replacing old file.
5727         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5728         * nptl/pthread_yield.c: ... here.
5729         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5730         * nptl/register-atfork.c: ... here.
5731         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5732         * nptl/sem_post.c: ... here.
5733         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5734         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5735         * nptl/sem_timedwait.c: ... here.
5736         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5737         * nptl/sem_trywait.c: ... here.
5738         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5739         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5740         * nptl/sem_wait.c: ... here.
5741         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5742         * nptl/structsem.sym: ... here.
5743         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5744         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5745         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5746         * nptl/unregister-atfork.c: ... here.
5747         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5748         * nptl/unwindbuf.sym: ... here.
5749         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5750         * sysdeps/nptl/fork.c: ... here.
5751         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5752         * sysdeps/nptl/fork.h: ... here.
5753         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5754         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5755         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5756         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5757         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5758         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5759         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5760         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5761         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5762         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5763         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5764         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5765         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5766         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5767         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5768         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5769         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5770         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5771         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5772         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5773         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5774         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5775         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5776         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5777         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5778         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5779         * sysdeps/unix/sysv/linux/raise.c: ... here.
5780         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5781         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5782         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5783         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5784         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5785         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5786         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5787         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5788         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5789         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5790         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5791         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5792         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5793         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5794         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5795
5796 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5797
5798         * sysdeps/generic/memcopy.h: Add comment for
5799         MEMCPY_OK_FOR_FWD_MEMMOVE.
5800
5801 2014-07-04  Will Newton  <will.newton@linaro.org>
5802
5803         * string/memchr.c: Merge from gnulib.
5804         [_LIBC]: Remove conditionals.
5805         (__ptr_t): Remove define.
5806         (LONG_MAX_32_BITS): Likewise.
5807         (LONG_MAX): Likewise.
5808         (MEMCHR): Use ANSI prototype and optimize algorithm.
5809
5810         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5811
5812 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5813
5814         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5815         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5816
5817         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5818         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5819         in a bare environment with no <stdlib.h> installed.
5820         * sysdeps/nptl/configure: Regenerated.
5821
5822         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5823
5824         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5825         AC_EGREP_CPP for kernel header checks, so they only succeed if
5826         including <linux/version.h> actually works right.
5827         * sysdeps/unix/sysv/linux/configure: Regenerated.
5828
5829         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5830         value so it's not diagnosed as unused.
5831
5832         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5833         thing) with "ifeq ($(subdir),rt)".
5834
5835 2014-07-03  Richard Henderson  <rth@redhat.com>
5836
5837         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5838         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5839         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5840
5841         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5842         (math_force_eval): New.
5843
5844         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5845         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5846
5847         * sysdeps/alpha/fpu/s_round.c: Remove file.
5848         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5849
5850         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5851         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5852         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5853         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5854         (_dl_start, print_statistics): Likewise.
5855         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5856         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5857
5858         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5859         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5860         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5861         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5862         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5863         (HP_SMALL_TIMING_AVAIL): Define.
5864         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5865         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5866         (HP_SMALL_TIMING_AVAIL): Define.
5867         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5868         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5869
5870         * sysdeps/aarch64/hp-timing.h: New file.
5871
5872         * sysdeps/generic/hp-timing.h: Remove dead comment.
5873         * sysdeps/generic/hp-timing-common.h: New file.
5874         * sysdeps/alpha/hp-timing.h: Include it.
5875         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5876         * sysdeps/i386/i686/hp-timing.h: Likewise.
5877         * sysdeps/ia64/hp-timing.h: Likewise.
5878         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5879         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5880         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5881         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5882         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5883         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5884         (hp_timing_t): New.
5885
5886         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5887         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5888         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5889         * elf/rtld.c (_dl_start_final): Likewise.
5890         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5891         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5892         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5893         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5894         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5895         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5896         (HP_TIMING_DIFF_INIT): Remove.
5897         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5898         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5899         (HP_TIMING_DIFF_INIT): Remove.
5900         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5901         * sysdeps/i386/i686/hp-timing.c: Remove file.
5902         * sysdeps/x86_64/hp-timing.c: Remove file.
5903         * sysdeps/ia64/hp-timing.c: Remove file.
5904         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5905         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5906         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5907         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5908
5909         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5910         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5911         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5912         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5913         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5914         (HP_TIMING_ACCUM): Remove.
5915         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5916         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5917         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5918
5919         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5920         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5921         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5922         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5923         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5924         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5925         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5926         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5927
5928         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5929
5930 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
5931
5932         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5933
5934 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5935
5936         Sync up with gettext.
5937         * intl/loadmsgcat.c: Define O_BINARY if not defined.
5938         [_MSC_VER]: Include malloc.h
5939         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5940         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5941         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
5942         TEMP_FAILURE_RETRY.  Cast return of alloca.
5943         [!_LIBC] Call gl_rwlock_init.
5944         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5945
5946 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5947
5948         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5949         before checking its value.
5950
5951 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5952
5953         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5954
5955         * debug/memcpy_chk.c: Don't include pagecopy.h.
5956         * debug/mempcpy_chk.c: Likewise.
5957         * string/memcpy.c: Likewise.
5958         * string/memmove.c: Likewise.
5959         * sysdeps/powerpc/memmove.c: Likewise.
5960         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
5961         definition of PAGE_COPY_FWD_MAYBE here...
5962         * sysdeps/generic/pagecopy.h: ... from here.
5963         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5964
5965 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5966             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5967
5968         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5970         optimizations.
5971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5972         (__libc_ifunc_impl_list): Likewise.
5973         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5974         multiarch strcat for PPC64.
5975         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5976         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5977
5978 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5979
5980         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5981
5982 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5983
5984         * intl/loadmsgcat.c: Remove declaration of
5985         get_sysdep_segment_value.
5986         (get_sysdep_segment_value): Use ISO C style.
5987         (_nl_load_domain): Use ISO C style.  Get rid of redundant
5988         semicolon.  Fix typo and formatting in comment.
5989         (_nl_unload_domain): Use ISO C style.
5990
5991         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5992
5993 2014-07-02  Will Newton  <will.newton@linaro.org>
5994
5995         * malloc/obstack.c: Merge from gnulib master.
5996         [HAVE_CONFIG_H]: Remove conditional code.
5997         [!_LIBC]: Include config.h.
5998         [!ELIDE_CODE]: Don't include inttypes.h, include
5999         stdint.h unconditionally.
6000         (print_and_abort): Mark as _Noreturn.
6001         (_obstack_allocated_p): Mark as __attribute_pure__.
6002         (obstack_free): Rename to __obstack_free.
6003         [!__attribute__]: Remove conditional code.
6004         * malloc/obstack.h: Merge from gnulib master.
6005         [__cplusplus]: Move conditional down.
6006         [!__attribute_pure__]: Define __attribute_pure__ here
6007         if it is not already defined.
6008         (_obstack_memory_used): Mark as __attribute_pure__.
6009         [!__obstack_free]: Define as obstack_free.
6010         [__GNUC__]: Remove check for ancient NeXT gcc.
6011
6012 2014-07-02  Will Newton  <will.newton@linaro.org>
6013             Paul Eggert  <eggert@cs.ucla.edu>
6014
6015         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6016
6017 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6018
6019         * resolv/gethnamaddr.c: Add comment warning that the file is
6020         not maintained.
6021
6022 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6023
6024         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6025         entries.
6026
6027         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6028         entry for aio_cancel and aio_cancel64.
6029         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6030         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6031         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6032         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6033         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6034         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6035         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6036         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6037         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6038         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6039         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6040         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6041         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6042
6043 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6044
6045         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6046         * nptl/pthread_mutex_lock.c: Likewise.
6047         * nptl/pthread_mutex_timedlock.c: Likewise.
6048         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6049
6050 2014-07-01  Richard henderson  <rth@redhat.com>
6051
6052         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6053         (__isnan, __isnanl): Remove.
6054         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6055
6056         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6057
6058 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6059
6060         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6061
6062 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6063
6064         * resolv/nss_dns/dns-host.c (getanswer_r)
6065         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6066
6067 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6068
6069         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6070         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6071         undefine.
6072         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6073         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6074
6075 2014-07-01  Roland McGrath <roland@hack.frob.com>
6076
6077         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6078         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6079
6080         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6081         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6082
6083         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6084         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6085         ... here.
6086         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6087         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6088
6089         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6090         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6091         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6092         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6093
6094         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6095         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6096         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6097         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6098         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6099         Moved ...
6100         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6101         ... here.
6102         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6103         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6104         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6105         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6106         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6107         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6108         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6109         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6110         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6111         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6112         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6113         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6114         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6115         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6116         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6117         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6118         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6119         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6120         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6121         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6122         ... here.
6123         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6124         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6125         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6126         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6127         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6128         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6129         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6130         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6131
6132 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6133
6134         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6135         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6136         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6137         Add sysdep.
6138
6139 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6140
6141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6142
6143 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6144
6145         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6146         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6147
6148         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6149
6150         * sysdeps/arm/libm-test-ulps: Regenerated.
6151
6152 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6153             Roland McGrath <roland@hack.frob.com>
6154
6155         * test-skeleton.c (signal_handler): Kill the whole process group
6156         before killing the child individually.
6157         (main): Report any failure on `setpgid'.
6158
6159 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6160
6161         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6162         from _TLS_H to _ARM_NPTL_TLS_H.
6163         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6164         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6165
6166 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6167
6168         [BZ #16539]
6169         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6170         (__expm1l): Return argument unchanged when small but not
6171         subnormal.
6172
6173         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6174         include macro name.
6175         (_FP_UNPACK_RAW_1_P): Likewise.
6176         (_FP_PACK_RAW_1): Likewise.
6177         (_FP_PACK_RAW_1_P): Likewise.
6178         (_FP_MUL_MEAT_1_wide): Likewise.
6179         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6180         (_FP_MUL_MEAT_1_hard): Likewise.
6181         (_FP_DIV_MEAT_1_imm): Likewise.
6182         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6183         (_FP_DIV_MEAT_1_udiv): Likewise.
6184         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6185         (_FP_UNPACK_RAW_2): Likewise.
6186         (_FP_UNPACK_RAW_2_P): Likewise.
6187         (_FP_PACK_RAW_2): Likewise.
6188         (_FP_PACK_RAW_2_P): Likewise.
6189         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6190         (_FP_MUL_MEAT_2_wide): Likewise.
6191         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6192         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6193         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6194         (_FP_MUL_MEAT_2_gmp): Likewise.
6195         (_FP_DIV_MEAT_2_udiv): Likewise.
6196         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6197         (_FP_FRAC_SRL_4): Likewise.
6198         (_FP_FRAC_SRST_4): Likewise.
6199         (_FP_FRAC_SRS_4): Likewise.
6200         (_FP_UNPACK_RAW_4): Likewise.
6201         (_FP_UNPACK_RAW_4_P): Likewise.
6202         (_FP_PACK_RAW_4): Likewise.
6203         (_FP_PACK_RAW_4_P): Likewise.
6204         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6205         (_FP_MUL_MEAT_4_wide): Likewise.
6206         (_FP_MUL_MEAT_4_gmp): Likewise.
6207         (umul_ppppmnnn): Likewise.
6208         (_FP_DIV_MEAT_4_udiv): Likewise.
6209         (__FP_FRAC_ADD_4): Likewise.
6210         (__FP_FRAC_SUB_3): Likewise.
6211         (__FP_FRAC_SUB_4): Likewise.
6212         (__FP_FRAC_DEC_3): Likewise.
6213         (__FP_FRAC_DEC_4): Likewise.
6214         (__FP_FRAC_ADDI_4): Likewise.
6215         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6216         (_FP_FRAC_SRL_8): Likewise.
6217         (_FP_FRAC_SRS_8): Likewise.
6218
6219         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6220         include macro name.
6221         (FP_UNPACK_RAW_EP): Likewise.
6222         (FP_PACK_RAW_E): Likewise.
6223         (FP_PACK_RAW_EP): Likewise.
6224         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6225         (_FP_ISSIGNAN): Likewise.
6226         (_FP_ADD_INTERNAL): Likewise.
6227         (_FP_FMA): Likewise.
6228         (_FP_CMP): Likewise.
6229         (_FP_SQRT): Likewise.
6230         (_FP_TO_INT): Likewise.
6231         (_FP_FROM_INT): Likewise.
6232         (FP_EXTEND): Likewise.
6233         (_FP_DIV_MEAT_N_loop): Likewise.
6234
6235 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6236
6237         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6238         throughout.
6239
6240 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6241
6242         [BZ #17097]
6243         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6244         result with correct sign in case of exponents that produce
6245         overflow except for X very close to 1.
6246
6247 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6248
6249         mktime: merge #if/#ifdef usage from glibc
6250         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6251         as that works with both Glibc's and Gnulib's style.
6252         See thread starting at Siddhesh Poyarekar's bug report at:
6253         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6254
6255 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6256
6257         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6258         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6259         * sysdeps/tile/tilegx/memmove.c: Remove file.
6260
6261 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6262
6263         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6264         abi-name definition.
6265         * scripts/soversions.awk: Do not handle or generate ABI lines.
6266         * shlib-versions: Remove ABI entries.
6267         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6268         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6269
6270 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6271
6272         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6273         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6274         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6275         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6276         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6277         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6278         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6279         Moved ...
6280         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6281         ... here.
6282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6283         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6285         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6287         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6289         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6291         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6292         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6293         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6295         Moved ...
6296         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6298         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6300         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6301         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6302         Moved ...
6303         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6305         Moved ...
6306         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6307         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6308         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6309         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6310         Moved ...
6311         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6313         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6315         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6316         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6317         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6318         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6319         Moved ...
6320         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6321         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6322         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6323         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6324         Moved ...
6325         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6326         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6327         Moved ...
6328         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6330         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6331         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6332         Moved ...
6333         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6334         ... here.
6335         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6336         Identical file removed.
6337         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6338         Moved ...
6339         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6340         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6341         Identical file removed.
6342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6343         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6345         Moved ...
6346         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6348         Identical file removed.
6349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6350         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6351         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6352         Identical file removed.
6353         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6354         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6355         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6356         Identical file removed.
6357         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6358         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6359         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6360         Identical file removed.
6361         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6362         Moved ...
6363         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6364         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6365         Identical file removed.
6366         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6367         Moved ...
6368         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6369         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6370         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6371         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6372         Identical file removed.
6373         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6374         Moved ...
6375         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6376         ... here.
6377         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6378         Identical file removed.
6379         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6380         Moved ...
6381         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6382         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6383         Identical file removed.
6384         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6385         Moved ...
6386         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6387         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6388         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6389         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6390         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6391         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6392         Moved ...
6393         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6394         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6395         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6396
6397         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6398         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6399         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6400         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6401         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6402
6403 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6404
6405         [BZ #17092]
6406         * nscd/nscd.c (monitor_child): Return exit status of child
6407         instead of return value from wait syscall.
6408
6409 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6410
6411         * configure.ac (libc_commonpagesize): Remove variable.
6412         (libc_relro_required): Likewise.
6413         (libc_cv_z_relro): Remove configure test.
6414         * configure: Regenerated.
6415         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6416         variable.
6417         (libc_relro_required): Likewise.
6418         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6419         (libc_relro_required): Likewise.
6420         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6421         (libc_relro_required): Likewise.
6422         * sysdeps/arm/preconfigure: Regenerated.
6423         * sysdeps/ia64/preconfigure: Remove file.
6424         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6425         variable.
6426         (libc_relro_required): Likewise.
6427
6428         [BZ #16561]
6429         [BZ #16562]
6430         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6431         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6432         recompute overflowing results in original rounding mode.
6433         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6434         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6435         recompute overflowing results in original rounding mode.
6436         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6437         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6438         recompute overflowing results in original rounding mode.
6439         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6440         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6441         recompute overflowing results in original rounding mode.
6442         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6443         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6444         recompute overflowing results in original rounding mode.
6445         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6446         (libc_feholdsetround_ctx): New macro.
6447         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6448         * sysdeps/i386/fpu/libm-test-ulps: Update.
6449         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6450
6451 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6452
6453         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6454         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6455         corresponding .cpsetup call.
6456
6457 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6458
6459         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6460         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6461         * sysdeps/arm/Makefile [$(subdir) = csu]
6462         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6463         (static-only-routines): Add aeabi_read_tp here.
6464         (shared-only-routines): Add libc-aeabi_read_tp here.
6465         (CFLAGS-libc-start.c): Add -fexceptions here.
6466         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6467         (sysdep_routines, static-only-routines, shared-only-routines):
6468         Don't add to these here.
6469         (CFLAGS-libc-start.c): Likewise.
6470
6471         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6472         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6473         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6474         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6475         * sysdeps/arm/Makefile [$(subdir) = rt]
6476         (librt-sysdep_routines, librt-shared-only-routines):
6477         Append rt-aeabi_unwind_cpp_pr1 here.
6478         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6479         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6480         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6481         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6482         Append nptl-aeabi_unwind_cpp_pr1 here.
6483         (tests): Filter out tst-cleanupx4 here.
6484         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6485         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6486         Don't do those here.
6487
6488 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6489
6490         * scripts/list-sources.sh: Do not handle ports specially.
6491
6492 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6493
6494         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6495         * sysdeps/arm/feupdateenv.c: Likewise.
6496
6497         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6498
6499 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6500
6501         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6502         trailing whitespace removed.
6503         * scripts/config.guess: Update to version 2014-03-23.
6504         * scripts/config.sub: Update to version 2014-05-01
6505         * scripts/install-sh: Update to version 2013-12-25.23.
6506         * scripts/move-if-change: Update from gnulib.
6507
6508 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6509
6510         * debug/memmove_chk.c: Remove pagecopy.h include.
6511
6512 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6513
6514         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6515         identical to gnulib mktime.
6516
6517 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6518
6519         * configure.ac: Do not test for machine being rs6000.  Do not test
6520         for powerpc*-*soft.
6521         * configure: Regenerated.
6522
6523         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6524         test.
6525         * configure: Regenerated.
6526         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6527         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6528         Remove configure test.
6529         * sysdeps/arm/configure: Regenerated.
6530         * sysdeps/nptl/configure.ac: Do not check
6531         libc_cv_asm_cfi_directives.
6532         * sysdeps/nptl/configure: Regenerated.
6533         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6534         * sysdeps/x86_64/nptl/configure: Remove generated file.
6535         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6536         unconditional.
6537         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6538
6539 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6540
6541         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6542         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6543         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6544         it is defined.
6545
6546         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6547         instead of whether it is defined.
6548         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6549         * sysdeps/hppa/dl-machine.h: Likewise.
6550         * sysdeps/ia64/dl-machine.h: Likewise.
6551         * sysdeps/m68k/dl-machine.h: Likewise.
6552         * sysdeps/microblaze/dl-machine.h: Likewise.
6553         * sysdeps/mips/dl-machine.: Likewise.
6554         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6555         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6556         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6557         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6558         * sysdeps/sh/dl-machine.h: Likewise.
6559         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6560         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6561         * sysdeps/tile/dl-machine.h: Likewise.
6562         * sysdeps/x86_64/dl-machine.h: Likewise.
6563
6564         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6565         code.
6566         (verify_persistent_db): Likewise.
6567
6568 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6569
6570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6571         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6573         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6575         Moved ...
6576         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6577         ... here.
6578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6579         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6581         Identical file removed.
6582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6583         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6585         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6587         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6589         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6591         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6593         Moved ...
6594         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6596         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6598         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6600         Moved ...
6601         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6603         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6605         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6607         Identical file removed.
6608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6609         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6611         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6613         Moved ...
6614         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6615         ... here.
6616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6617         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6619         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6621         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6623         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6625         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6627         Moved ...
6628         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6630         Moved ...
6631         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6633         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6635         Moved ...
6636         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6638         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6639
6640         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6641         folded into ...
6642         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6643         * sysdeps/unix/sysv/linux/s390/Versions
6644         (libpthread: GLIBC_2.19): New version set.
6645         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6646         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6647         (librt: GLIBC_2.3.3): New version set.
6648         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6649         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6650         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6651         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6652         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6653         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6654         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6655         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6656         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6657         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6658         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6659         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6660         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6661         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6662         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6663         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6664         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6665         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6666         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6667         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6668         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6669         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6670         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6671         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6672         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6673         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6674         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6675         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6676         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6677         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6678         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6679         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6680         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6681         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6682         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6683         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6684         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6686         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6687         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6688         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6689         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6690         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6691         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6692         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6693
6694         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6695         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6696         (__libc_vfork): Define the function under this name.
6697         [!NOT_IN_libc] (__vfork): Make this an alias.
6698         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6699         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6700         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6701         (__libc_vfork): Define the function under this name.
6702         [!NOT_IN_libc] (__vfork): Make this an alias.
6703         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6704         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6705         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6706         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6707         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6708         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6709
6710         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6711         code that was previously under [RESET_PID].
6712         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6713         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6714         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6715
6716         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6717         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6718         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6719         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6720         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6721         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6722         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6723         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6724         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6725         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6726         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6727         Moved ...
6728         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6729         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6730         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6731         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6732         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6733         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6734         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6735         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6736         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6737         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6738         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6739         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6740         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6741         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6742         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6743         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6744         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6745         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6746         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6747         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6748         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6749         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6750         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6751         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6752         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6753         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6754         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6755         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6756         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6757
6758 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6759
6760         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6761         that was previously under [RESET_PID].
6762         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6763
6764 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6765
6766         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6767         not undefine and redefine.
6768         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6769         [O_CLOEXEC]: Make code unconditional.
6770         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6771         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6772         <kernel-features.h>.
6773         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6774         conditional variable definition.
6775         (shm_open) [O_CLOEXEC]: Make code unconditional.
6776         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6777         code.
6778
6779         * configure.ac (USE_REGPARMS): Don't define here.
6780         * configure: Regenerated.
6781         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6782         * sysdeps/i386/configure: Regenerated.
6783
6784         * nptl/createthread.c: Don't include kernel-features.h.
6785         * nptl/pthread_cancel.c: Likewise.
6786         * nptl/pthread_condattr_setclock.c: Likewise.
6787         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6788         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6789         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6790         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6791         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6792         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6793         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6794         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6795         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6796         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6797         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6798         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6799         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6800         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6801         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6802         * nscd/gai.c: Likewise.
6803         * nss/nss_db/db-open.c: Likewise.
6804         * sysdeps/generic/ldsodefs.h: Likewise.
6805         * sysdeps/sh/nptl/tls.h: Likewise.
6806         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6807         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6808         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6809         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6810         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6811         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6812         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6813         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6814         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6815         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6816         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6817         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6818         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6819         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6820         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6821         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6822         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6823         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6824         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6825         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6826         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6827         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6828         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6829         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6830         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6831         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6832         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6833         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6834         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6835         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6836         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6837         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6838         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6839         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6840         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6841         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6842         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6843         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6844         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6845         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6846         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6847         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6848         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6849         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6850         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6851         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6852         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6853         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6854         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6855         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6856         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6857         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6858         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6859         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6860         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6861         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6862         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6863         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6886         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6887         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6888         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6889         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6890         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6891         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6892         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6893         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6894         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6895         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6896         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6897         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6898         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6899         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6900         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6901         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6902         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6903         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6904         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6905         * sysdeps/unix/sysv/linux/system.c: Likewise.
6906         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6907         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6908         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6909         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6910         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6911         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6912         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6913
6914         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6915         * configure: Regenerated.
6916         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6917
6918         * configure.ac (base_machine): Do not set specially for particular
6919         machines here.
6920         * configure: Regenerated.
6921         * sysdeps/powerpc/preconfigure: Move machine and base_machine
6922         settings from configure.ac.
6923         * sysdeps/i386/preconfigure: New file.
6924         * sysdeps/s390/preconfigure: Likewise.
6925         * sysdeps/sh/preconfigure: Likewise.
6926         * sysdeps/sparc/preconfigure: Likewise.
6927
6928 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6929
6930         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6931         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6932         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6933         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6934         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6935         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6936         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6937         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6938         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6939         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6940         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6941         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6942         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6943         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6944         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6945         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6946         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6947         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6948         * sysdeps/sparc/sparc64/Makefile: ... appended here.
6949
6950         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6951         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6952         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6953         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6954         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6955         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6956         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6957         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6958         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6959         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6960         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6961         * sysdeps/sparc/sparc32/sem_post.c: ... here.
6962         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6963         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6964         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6965         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6966         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6967         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6968         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6969         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6970         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6971         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6972         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6973         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6974         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6975         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6976         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6977         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6978         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6979         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6980         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6981         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6982         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6983         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6984         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6985         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6986         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6987         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6988
6989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6990         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6992         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6994         Moved ...
6995         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6996         ... here.
6997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6998         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7000         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7002         Moved ...
7003         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7005         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7007         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7009         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7011         Moved ...
7012         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7014         Moved ...
7015         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7017         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7019         Moved ...
7020         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7022         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7024         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7026         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7028         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7030         Moved ...
7031         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7032         ... here.
7033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7034         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7036         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7038         Moved ...
7039         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7041         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7043         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7045         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7047         Moved ...
7048         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7050         Moved ...
7051         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7053         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7055         Moved ...
7056         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7058         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7060         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7061
7062 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7063
7064         * timezone/checktab.awk: Update from tzcode 2014e.
7065         * timezone/private.h: Likewise.
7066         * timezone/tzfile.h: Likewise.
7067         * timezone/zdump.c: Likewise.
7068         * timezone/zic.c: Likewise.
7069
7070         * sysdeps/unix/sysv/linux/kernel-features.h
7071         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7072         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7073         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7074         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7075         Remove conditional code.
7076
7077 2014-06-25  Will Newton  <will.newton@linaro.org>
7078
7079         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7080         (_dl_arm_cap_flags): Add HWCAP2 values.
7081         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7082         (_DL_HWCAP_COUNT): Increase to 37.
7083         (_DL_HWCAP_LAST): New define.
7084         (_DL_HWCAP2_LAST): New define.
7085         (_dl_procinfo): Add support for printing
7086         AT_HWCAP2 entries.
7087         (_dl_string_hwcap): Use _dl_hwcap_string.
7088
7089 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7090
7091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7092
7093 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7094
7095         * README: Do not mention ports directory.
7096
7097         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7098         Remove macro.
7099         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7100         <kernel-features.h>.
7101         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7102         conditional variable definition.
7103         (__futimes): Update comment.
7104         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7105         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7106
7107         [BZ #16560]
7108         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7109         arguments close to 0.
7110         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7111         Likewise.
7112         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7113         Likewise.
7114         * math/auto-libm-test-in: Add more tests of exp10.
7115         * math/auto-libm-test-out: Regenerated.
7116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7117
7118         * sysdeps/unix/sysv/linux/kernel-features.h
7119         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7120         * sysdeps/unix/sysv/linux/readv.c: Do not include
7121         <kernel-features.h>.
7122         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7123         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7124         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7125         unconditional.
7126         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7127         conditional code.
7128         * sysdeps/unix/sysv/linux/writev.c: Do not include
7129         <kernel-features.h>.
7130         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7131         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7132         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7133         unconditional.
7134         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7135         conditional code.
7136
7137 2014-06-25  Will Newton  <will.newton@linaro.org>
7138
7139         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7140         comment changes throughout the file.  Remove checks
7141         for HAVE_*_H definitions that are not required.
7142         (__gen_tempname): Call abort if an unknown kind value is
7143         passed.
7144
7145 2014-06-25  Andreas Schwab  <schwab@suse.de>
7146
7147         [BZ #17086]
7148         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7149         scalbln, scalblnf, scalblnl in libc.
7150
7151 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7152
7153         [BZ #17086]
7154         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7155         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7156         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7157
7158 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7159
7160         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7161         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7162         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7163         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7164         Update #include.
7165         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7166         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7167         Update #include.
7168         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7169         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7170         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7171         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7172         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7173         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7174         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7175         * sysdeps/x86/bits/semaphore.h: ... here.
7176         * sysdeps/x86/nptl/elide.h: Moved ...
7177         * sysdeps/x86/elide.h: ... here.
7178         * sysdeps/x86_64/nptl/Implies: File removed.
7179         * sysdeps/i386/nptl/Implies: File removed.
7180
7181 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7182
7183         [BZ #16539]
7184         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7185         return the argument for normal arguments with exponent below -64.
7186         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7187         Likewise.
7188         * math/auto-libm-test-in: Add another test of expm1.
7189         * math/auto-libm-test-out: Regenerated.
7190
7191         [BZ #16287]
7192         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7193         calling __erfcl for arguments at least 16.
7194         * math/auto-libm-test-in: Add more tests of erf.
7195         * math/auto-libm-test-out: Regenerated.
7196
7197         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7198         individual architectures.
7199         * sysdeps/unix/sysv/linux/configure: Regenerated.
7200         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7201         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7202         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7203         (ldd_rewrite_script): Define variable.
7204         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7206         file.
7207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7208         generated file.
7209         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7210         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7211         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7212         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7213         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7214         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7215         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7216         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7217
7218 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7219
7220         [BZ #17084]
7221         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7222         Rename member __data.d to __data.__elision_data.
7223
7224 2014-06-24  Wilco  <wdijkstr@arm.com>
7225
7226         * NEWS: Add 16918 to fixed bug list.
7227
7228 2014-06-24  Wilco  <wdijkstr@arm.com>
7229
7230         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7231
7232 2014-06-24  Wilco  <wdijkstr@arm.com>
7233
7234         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7235         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7236         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7237         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7238         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7239         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7240         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7241         Use _FPU_MASK_RM.
7242
7243 2014-06-24  Wilco  <wdijkstr@arm.com>
7244
7245         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7246
7247 2014-06-24  Wilco  <wdijkstr@arm.com>
7248
7249         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7250         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7251         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7252         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7253
7254 2014-06-24  Wilco  <wdijkstr@arm.com>
7255
7256         [BZ #16918]
7257         * sysdeps/arm/feupdateenv.c (feupdateenv):
7258         Rewrite to reduce FPSCR accesses and fix return value.
7259
7260 2014-06-24  Wilco  <wdijkstr@arm.com>
7261
7262         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7263         Optimize to avoid unnecessary FPSCR writes.
7264         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7265         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7266         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7267         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7268
7269 2014-06-24  Wilco  <wdijkstr@arm.com>
7270
7271         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7272         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7273         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7274         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7275         Call libc_fetestexcept_vfp.
7276         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7277         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7278         __SOFTFP__ ifdef so that they can be built for softfp.
7279
7280 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7281
7282         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7283         argument type signed char.
7284
7285         * Makerules (check-abi): Dump diff of symlist if the test
7286         fails.
7287
7288 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7289
7290         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7291         using abort.
7292
7293         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7294         Remove unused variable ST.
7295
7296 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7297
7298         [BZ #16354]
7299         [BZ #17061]
7300         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7301         small arguments before calling __expm1.
7302         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7303         small arguments before calling __expm1f.
7304         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7305         small arguments before calling __expm1l.
7306         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7307         Likewise.
7308         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7309         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7310         spurious underflow for some cosh tests.
7311         * math/auto-libm-test-out: Regenerated.
7312         * sysdeps/i386/fpu/libm-test-ulps: Update.
7313
7314         [BZ #17050]
7315         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7316         (__ieee754_y1): Set errno if return value overflows.
7317         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7318         (__ieee754_y1f): Set errno if return value overflows.
7319         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7320         (__ieee754_y1l): Set errno if return value overflows.
7321         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7322         (__ieee754_y1l): Set errno if return value overflows.
7323         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7324         * math/auto-libm-test-out: Regenerated.
7325
7326         * math/gen-auto-libm-tests.c: Document use of
7327         ignore-zero-inf-sign.
7328         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7329         (input_flags): Add ignore-zero-inf-sign.
7330         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7331         * math/gen-libm-test.pl (generate_testfile): Handle
7332         ignore-zero-inf-sign.
7333         * math/auto-libm-test-in: Mark some cpow tests with
7334         ignore-zero-inf-sign and some with xfail-rounding.
7335         * math/auto-libm-test-out: Regenerated.
7336         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7337         * sysdeps/i386/fpu/libm-test-ulps: Update.
7338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7339
7340         [BZ #16315]
7341         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7342         overflowing or underflowing operations take place with sign of
7343         result.
7344         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7345         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7346         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7347         (__ieee754_pow): Recompute overflowing and underflowing results in
7348         original rounding mode.
7349         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7350         (__powl_helper): Allow negative argument X and scale negated value
7351         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7352         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7353         overflowing or underflowing operations take place with sign of
7354         result.
7355         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7356         Include <math.h>.
7357         * math/auto-libm-test-in: Add more tests of pow.
7358         * math/auto-libm-test-out: Regenerated.
7359         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7360         (pow_tonearest_test_data): Remove.
7361         (pow_test_tonearest): Likewise.
7362         (pow_towardzero_test_data): Likewise.
7363         (pow_test_towardzero): Likewise.
7364         (pow_downward_test_data): Likewise.
7365         (pow_test_downward): Likewise.
7366         (pow_upward_test_data): Likewise.
7367         (pow_test_upward): Likewise.
7368         (main): Don't call removed functions.
7369         * sysdeps/i386/fpu/libm-test-ulps: Update.
7370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7371
7372 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7373
7374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7375         Moved ...
7376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7378         Moved ...
7379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7381         Moved ...
7382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7384         Moved ...
7385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7387         File removed.
7388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7389         File removed.
7390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7391         File removed.
7392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7393         File removed.
7394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7395         File removed.
7396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7397         File removed.
7398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7399         File removed.
7400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7401         File removed.
7402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7403         File removed.
7404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7405         File removed.
7406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7407         File removed.
7408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7409         File removed.
7410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7411         Moved ...
7412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7414         Moved ...
7415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7416         ... here.
7417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7418         Moved ...
7419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7421         Moved ...
7422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7424         Moved ...
7425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7427         Moved ...
7428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7430         Moved ...
7431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7433         Moved ...
7434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7436         Moved ...
7437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7440         ... here.
7441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7442         Moved ...
7443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7445         Moved ...
7446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7447         ... here.
7448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7449         Moved ...
7450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7451         ... here.
7452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7453         Moved ...
7454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7455         ... here.
7456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7457         Moved ...
7458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7460         Moved ...
7461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7465         Moved ...
7466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7467         ... here.
7468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7469         Moved ...
7470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7471         ... here.
7472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7473         Moved ...
7474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7476         Moved ...
7477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7479         Moved ...
7480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7482         Moved ...
7483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7485         Moved ...
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7487         ... here.
7488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7489         Moved ...
7490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7492         Moved ...
7493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7495         Moved ...
7496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7498         Moved ...
7499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7503         Moved ...
7504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7506         Moved ...
7507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7509         Moved ...
7510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7511         ... here.
7512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7513         Moved ...
7514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7515         ... here.
7516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7517         Moved ...
7518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7519         ... here.
7520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7521         Moved ...
7522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7524         Moved ...
7525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7527         Moved ...
7528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7530         Moved ...
7531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7532         ... here.
7533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7534         Moved ...
7535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7536         ... here.
7537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7538         Moved ...
7539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7540         ... here.
7541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7542         Moved ...
7543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7545         Moved ...
7546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7547
7548 2014-06-23  Will Newton  <will.newton@linaro.org>
7549             Wilco  <wdijkstr@arm.com>
7550
7551         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7552         implementation.  Include get-rounding-mode.h.
7553         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7554         [!libc_feholdsetround_noex_ctx]: Define
7555         libc_feholdsetround_noex_ctx.
7556         [!libc_feholdsetround_noexf_ctx]: Define
7557         libc_feholdsetround_noexf_ctx.
7558         [!libc_feholdsetround_noexl_ctx]: Define
7559         libc_feholdsetround_noexl_ctx.
7560         (libc_feholdsetround_ctx): New function.
7561         (libc_feresetround_ctx): New function.
7562         (libc_feholdsetround_noex_ctx): New function.
7563         (libc_feresetround_noex_ctx): New function.
7564
7565 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7566
7567         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7568         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7569         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7570         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7571         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7572         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7573
7574         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7575         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7576         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7577         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7578         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7579         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7580         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7581         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7582         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7583         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7584         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7585         Moved ...
7586         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7587         ... here.
7588         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7589         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7590         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7591         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7592         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7593         Moved ...
7594         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7595         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7596         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7597         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7598         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7600         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7602         Moved ...
7603         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7604         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7605         Moved ...
7606         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7607         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7608         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7609         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7610         Moved ...
7611         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7612         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7613         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7614         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7615         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7616         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7617         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7618         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7619         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7620         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7621         Moved ...
7622         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7623         ... here.
7624         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7625         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7626         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7627         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7628         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7629         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7630         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7631         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7632         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7633         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7634         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7635         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7636         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7637         Moved ...
7638         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7639         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7640         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7641         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7642         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7644         Moved ...
7645         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7646         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7647         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7648         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7649         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7650
7651         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7652         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7653         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7654         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7655         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7656         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7657         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7658         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7659         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7660         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7661         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7662         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7663         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7664         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7665         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7666         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7667         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7668         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7669         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7670         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7671         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7672         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7673         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7674         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7675         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7676         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7677         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7678         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7679
7680 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7681
7682         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7683         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7684         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7685         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7686         (IPV6_PMTUDISC_INTERFACE): Likewise.
7687         (IPV6_PMTUDISC_OMIT): Likewise.
7688
7689 2014-06-23  Andreas Schwab  <schwab@suse.de>
7690
7691         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7692         Remove unused errout label.
7693
7694 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7695
7696         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7697         macro: hardware supports Vector Crypto instructions.
7698
7699 2014-06-23  Will Newton  <will.newton@linaro.org>
7700
7701         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7702         rather than __builtin_expect.
7703
7704         * elf/dl-lookup.c (undefined_msg): Remove variable.
7705         (_dl_lookup_symbol_x): Replace undefined_msg with string
7706         literal.
7707
7708         * elf/dl-lookup.c (do_lookup_unique): New function.
7709         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7710         to a separate function.
7711
7712 2014-06-23  Andreas Schwab  <schwab@suse.de>
7713
7714         [BZ #17079]
7715         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7716         before reading the next line.
7717
7718 2014-06-23  Will Newton  <will.newton@linaro.org>
7719
7720         * test-skeleton.c (signal_handler): Use printf and %m
7721         rather than perror.  Use printf rather than fprintf to
7722         stderr.  Use puts rather than fputs to stderr.
7723         (main): Likewise.
7724
7725 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7726
7727         * nscd/nscd.c (thread_info_t): Remove typedef.
7728         (thread_info): Remove variable.
7729
7730 2014-06-21  Allan McRae  <allan@archlinux.org>
7731
7732         * NEWS: Mention CVE-2014-4043.
7733
7734 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7735
7736         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7737         * nptl/smp.h: ... here.
7738
7739         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7740
7741         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7742         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7743         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7744         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7745
7746         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7747         * nptl/stack-aliasing.h: New file.
7748         * sysdeps/i386/i686/stack-aliasing.h: New file.
7749         * sysdeps/i386/i686/nptl/Makefile: File removed.
7750         * sysdeps/x86_64/stack-aliasing.h: New file.
7751         * sysdeps/x86_64/nptl/Makefile
7752         (CFLAGS-pthread_create.c): Variable removed.
7753
7754         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7755         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7756         old file.
7757         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7758         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7759         old file.
7760
7761 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7762
7763         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7764         (__ASSUME_SIGFRAME_V2): Remove macro.
7765         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7766         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7767         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7768         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7769         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7770         Declare as function.  Remove conditional macro definitions.
7771         (__default_rt_sa_restorer): Likewise.
7772         (__default_sa_restorer_v1): Remove declaration.
7773         (__default_sa_restorer_v2): Likewise.
7774         (__default_rt_sa_restorer_v1): Likewise.
7775         (__default_rt_sa_restorer_v2): Likewise.
7776         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7777         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7778         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7779
7780 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7781
7782         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7783         (libpthread-routines): Add sysdep.
7784         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7785         * sysdeps/unix/sysv/linux/sparc/Versions
7786         (libpthread: GLIBC_2.3.3): New version set.
7787         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7788         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7789         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7790         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7791         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7792         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7793         Moved ...
7794         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7795         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7796         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7797         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7798         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7799         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7800         * sysdeps/sparc/nptl/sem_init.c: ... here.
7801         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7802         * sysdeps/sparc/nptl/sem_post.c: ... here.
7803         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7804         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7805         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7806         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7807         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7808         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7809         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7810         (libpthread-routines): Add cpu_relax.
7811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7812         File removed.
7813         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7814         (librt: GLIBC_2.3.3): New version set.
7815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7816         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7817         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7818         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7821         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7823         Moved ...
7824         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7826         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7828         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7830         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7832         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7834         Moved ...
7835         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7836         Update #include.
7837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7838         Moved ...
7839         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7840         Update #include.
7841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7842         Moved ...
7843         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7844         Update #include.
7845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7846         Moved ...
7847         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7848         Update #include.
7849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7850         Moved ...
7851         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7852         Update #include.
7853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7854         Moved ...
7855         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7856         Update #include.
7857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7858         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7860         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7862         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7864         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7866         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7868         Moved ...
7869         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7871         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7873         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7874
7875 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7876
7877         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7878         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7879         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7880         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7881         * nscd/nscd.c: Likewise.
7882         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7883         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7884         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7885         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7886
7887         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7888         <kernel-features.h>.
7889         (init_mq_netlink): Remove conditional have_sock_cloexec
7890         definitions.  Remove code conditional on have_sock_cloexec < 0.
7891         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7892         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7893         * sysdeps/unix/sysv/linux/opensock.c: Do not include
7894         <kernel-features.h>.
7895         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7896         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7897
7898 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7899
7900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7901         Add tests for memset_chk and memset.
7902
7903         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7904         with AVX2_Usable.
7905
7906 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7907
7908         [BZ #16046]
7909         * elf/tst-dl-iter-static.c: New file.
7910         * elf/Makefile (tests-static): Add tst-dl-iter-static.
7911
7912         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7913         error.
7914
7915 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7916
7917         * sysdeps/unix/sysv/linux/kernel-features.h
7918         (__ASSUME_F_GETOWN_EX): Remove macro.
7919         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7920         <kernel-features.h>.
7921         (miss_F_GETOWN_EX): Remove variable or macro.
7922         (do_fcntl): Do not check miss_F_GETOWN_EX.
7923         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7924
7925         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7926         Remove macro.
7927         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7928         [!__ASSUME_AT_RANDOM]: Remove conditional code.
7929         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7930
7931         * sysdeps/unix/sysv/linux/kernel-features.h
7932         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7933         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7934         [ADJ_OFFSET_SS_READ]: Make code unconditional.
7935         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7936
7937 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7938
7939         [BZ #17075]
7940         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7941         Fix calculation of the symbol's value.
7942         * sysdeps/arm/tst-armtlsdescloc.c: New file.
7943         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7944         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7945         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7946         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7947         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7948         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7949         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7950         (modules-names): Add `tst-armtlsdescmod',
7951         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7952         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7953         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7954         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7955         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7956         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7957         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7958         ($(objpfx)tst-armtlsdescloc): New dependency.
7959         ($(objpfx)tst-armtlsdescextnow): Likewise.
7960         ($(objpfx)tst-armtlsdescextlazy): Likewise.
7961         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7962         TLS scheme support.
7963         * sysdeps/arm/configure: Regenerate.
7964
7965 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7966
7967         * include/fcntl.h (__atfct_seterrno): Remove prototype.
7968         (__atfct_seterrno_2): Likewise.
7969         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7970         <kernel-features.h>.
7971         (__ASSUME_ATFCTS): Do not undefine and redefine.
7972         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7973         (__have_atfcts): Remove conditional definition.
7974         (__fxstatat([__NR_fstatat64]: Make code unconditional.
7975         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7976         unreachable if [__ASSUME_ATFCTS].
7977         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7978         not undefine and redefine.
7979         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7980         <kernel-features.h>.
7981         (faccessat) [__NR_faccessat]: Make code unconditional.
7982         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7983         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7984         <kernel-features.h>.
7985         (fchmodat) [__NR_fchmodat]: Make code unconditional.
7986         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7987         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7988         <kernel-features.h>.
7989         (fchownat) [__NR_fchownat]: Make code unconditional.
7990         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7991         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7992         <kernel-features.h>.
7993         (futimesat) [__NR_futimesat]: Make code unconditional.
7994         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7995         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7996         <kernel-features.h>.
7997         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7998         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7999         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8000         <kernel-features.h>.
8001         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8002         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8003         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8004         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8005         <kernel-features.h>.
8006         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8007         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8008         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8009         <kernel-features.h>.
8010         (linkat) [__NR_linkat]: Make code unconditional.
8011         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8012         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8013         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8014         <kernel-features.h>.
8015         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8016         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8017         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8018         <kernel-features.h>.
8019         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8020         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8021         * sysdeps/unix/sysv/linux/openat.c: Do not include
8022         <kernel-features.h>.
8023         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8024         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8025         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8026         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8027         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8028         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8029         <kernel-features.h>.
8030         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8031         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8032         result of INLINE_SYSCALL directly, not via int variable.
8033         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8034         <kernel-features.h>.
8035         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8036         (renameat) [__NR_renameat]: Make code unconditional.
8037         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8038         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8039         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8040         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8041         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8042         (__ASSUME_ATFCTS): Do not undefine and redefine.
8043         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8044         <kernel-features.h>.
8045         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8046         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8047         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8048         <kernel-features.h>.
8049         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8050         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8051         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8052         (__ASSUME_ATFCTS): Do not undefine and redefine.
8053         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8054         <kernel-features.h>.
8055         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8056         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8057         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8058         <kernel-features.h>.
8059         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8060         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8061
8062 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8063
8064         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8065
8066 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8067
8068         [BZ #17069]
8069         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8070         constructed tree before returning error.
8071         * posix/bug-regexp36.c: Expand test case.
8072
8073 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8074
8075         [BZ #6803]
8076         * math/libm-test.inc (scalbln_test_date):
8077         Add errno expectations.
8078         * math/w_scalblnf.c: New File.
8079         Add wrapper which checks for setting errno to ERANGE.
8080         Add weak_alias for corresponding scalbln function.
8081         * math/w_scalbln.c: Likewise.
8082         * math/w_scalblnl.c: Likewise.
8083         * math/Makefile (libm-calls): Add w_scalbln.
8084         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8085         Remove weak_alias for corresponding scalbln function.
8086         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8087         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8088         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8089         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8090         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8091         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8092         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8093         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8094         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8095         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8096         Remove long_double_symbol for scalblnl function in libm, libc.
8097         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8098         Add wrapper which checks for setting errno to ERANGE.
8099         Add long_double_symbol for scalblnl function in libm, libc.
8100         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8101         Remove long_double_symbol for scalblnl in libm.
8102         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8103         Add wrapper which checks for setting errno to ERANGE.
8104         Add long_double_symbol for scalblnl function in libm.
8105         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8106         Do not use wrapper because of own implementation.
8107
8108 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8109
8110         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8111         3 bytes for __pad1 for x32.
8112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8113
8114 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8115             H.J. Lu  <hongjiu.lu@intel.com>
8116
8117         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8118         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8119         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8120         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8121         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8122
8123 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8124
8125         [BZ #17069]
8126         * posix/regcomp.c (parse_expression): Deallocate partially
8127         constructed tree before returning error.
8128         * posix/Makefile.c (tests): Add bug-regex36.
8129         (generated): Add bug-regex36.mtrace.
8130         (tests-special): Add $(objpfx)bug-regex36-mem.out
8131         (bug-regex36-ENV): New variable.
8132         ($(objpfx)bug-regex36-mem.out): New rule.
8133         * posix/bug-regex36.c: New file.
8134
8135 2014-06-19  Will Newton  <will.newton@linaro.org>
8136
8137         * malloc/malloc.c (systrim): If extra is zero then return
8138         early.
8139
8140 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8141
8142         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8143
8144 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8145
8146         * sysdeps/aarch64/strchr.S: New file.
8147
8148 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8149
8150         [BZ #17022]
8151         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8152         from arguments -2 or below.
8153         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8154         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8155
8156 2014-06-18  Andreas Schwab  <schwab@suse.de>
8157
8158         [BZ #17062]
8159         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8160         of a bracket expr not to run off the end of the string.
8161         * posix/Makefile (tests): Add tst-fnmatch3.
8162         * posix/tst-fnmatch3.c: New file.
8163
8164 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8165
8166         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8167         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8168         [$(cross-compiling) = no]: Likewise.
8169         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8170         [$(cross-compiling) = no]: Likewise.
8171
8172 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8173
8174         [BZ #17031]
8175         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8176         double, adjusted for any remainder from the high double.
8177         * math/libm-test.inc (nearbyint): Add tests.
8178         (rint): Likewise.
8179
8180 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8181
8182         * nptl/sysdeps/powerpc/Makefile: Moved ...
8183         * sysdeps/powerpc/nptl/Makefile: ... here.
8184         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8185         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8186         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8187         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8188         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8189         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8190         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8191         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8192         * nptl/sysdeps/powerpc/tls.h: Moved ...
8193         * sysdeps/powerpc/nptl/tls.h: ... here.
8194
8195 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8196
8197         [BZ #16681]
8198         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8199         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8200         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8201         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8202         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8203         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8204         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8205         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8206         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8207
8208 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8209
8210         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8211
8212 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8213
8214         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8215         defined operator.
8216
8217         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8218         $TIMEOUTFACTOR.
8219
8220 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8221
8222         [BZ #17058]
8223         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8224         non-executed part of the test.
8225
8226 2014-06-16  Andreas Schwab  <schwab@suse.de>
8227
8228         * string/bits/string2.h (strdup, strndup): Update feature guard.
8229
8230 2014-06-14  David S. Miller  <davem@davemloft.net>
8231
8232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8233
8234 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8235
8236         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8237         that was previously under [RESET_PID].
8238         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8239
8240         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8241         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8242         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8243         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8244         (__libc_vfork): New strong alias.
8245         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8246
8247 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8248
8249         * sysdeps/generic/elide.h: New file.
8250
8251 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8252
8253         * Makefile (installed-headers): Adjust path of pthread.h header.
8254
8255 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8256
8257         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8258         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8259         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8260         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8261
8262         * nptl/sysdeps/s390/Makefile: Moved ...
8263         * sysdeps/s390/nptl/Makefile: ... here.
8264         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8265         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8266         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8267         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8268         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8269         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8270         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8271         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8272         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8273         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8274         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8275         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8276         * nptl/sysdeps/s390/tls.h: Moved ...
8277         * sysdeps/s390/nptl/tls.h: ... here.
8278
8279         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8280         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8281
8282 2014-06-13  David S. Miller  <davem@davemloft.net>
8283
8284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8285         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8287         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8289         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8291         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8292         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8293         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8294         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8295         Remove RESET_PID cpp guards.
8296         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8297         Remove RESET_PID cpp guards.
8298         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8299
8300 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8301
8302         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8303         __sp to uintptr_t.
8304
8305 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8306
8307         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8308         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8309         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8310         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8311         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8312         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8313         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8314         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8315         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8316         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8317         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8318         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8319         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8320         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8321         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8322         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8323         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8324         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8325         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8326         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8327
8328         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8329         (pthread_rwlock_rdlock): Add elision.
8330         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8331         (pthread_rwlock_wrlock): Add elision.
8332         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8333         (pthread_rwlock_trywrlock): Add elision.
8334         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8335         (pthread_rwlock_tryrdlock): Add elision.
8336         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8337         (pthread_rwlock_tryrdlock): Add elision unlock.
8338         * nptl/sysdeps/pthread/pthread.h:
8339         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8340         (PTHREAD_RWLOCK_INITIALIZER,
8341         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8342         Handle new elision field.
8343         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8344         * sysdeps/arm/nptl/bits/pthreadtypes.h
8345         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8346         * sysdeps/sh/nptl/bits/pthreadtypes.h
8347         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8348         * sysdeps/tile/nptl/bits/pthreadtypes.h
8349         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8350         * sysdeps/a/nptl/bits/pthreadtypes.h
8351         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8352         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8353         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8354         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8355         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8356         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8357         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8358         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8359         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8360         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8361         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8362         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8363         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8364         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8365         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8366         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8367         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8368         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8369         (elision_init): Set try_xbegin to zero when no RTM.
8370         * sysdeps/x86/nptl/bits/pthreadtypes.h
8371         (pthread_rwlock_t): Change __pad1 to __rwelision.
8372         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8373
8374 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8375
8376         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8377         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8378         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8379         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8380
8381 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8382
8383         [BZ #16996]
8384         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8385         that the cached result has been set before returning it.
8386
8387 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8388
8389         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8390         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8391         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8392         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8393         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8394         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8395
8396         * nptl/sysdeps/sparc/Makefile: Moved ...
8397         * sysdeps/sparc/nptl/Makefile: ... here.
8398         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8399         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8400         * nptl/sysdeps/sparc/tls.h: Moved ...
8401         * sysdeps/sparc/nptl/tls.h: ... here.
8402         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8403         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8404         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8405         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8406         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8407         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8408         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8409         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8410         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8411         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8412         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8413         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8414         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8415         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8416         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8417         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8418         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8419         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8420         Update #include.
8421         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8422         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8423         Update #include.
8424         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8425         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8426         Update #include.
8427         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8428         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8429         Update #include.
8430
8431         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8432
8433         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8434         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8435
8436         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8437         (struct list_links): Type removed.
8438         (struct thread_node, struct timer_node): Replace struct list_links
8439         with struct list_head.
8440         (list_unlink_ip): Likewise.
8441         * sysdeps/pthread/timer_routines.c
8442         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8443         (list_append, list_insbefore): Likewise.
8444         (list_init): Function removed.
8445         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8446         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8447         * sysdeps/pthread/Makefile: ... here, new file.
8448
8449         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8450         * sysdeps/nptl/Implies: ... here.
8451         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8452         * nptl/sysdeps/pthread/list.h: Moved ...
8453         * include/list.h: ... here.
8454         * nptl/sysdeps/pthread/createthread.c: Moved ...
8455         * nptl/createthread.c: ... here.
8456         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8457         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8458         * nptl/pt-longjmp.c: ... here.
8459         * nptl/sysdeps/pthread/Makefile: Moved ...
8460         * sysdeps/nptl/Makefile: ... here.
8461         * nptl/sysdeps/pthread/Subdirs: Moved ...
8462         * sysdeps/nptl/Subdirs: ... here.
8463         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8464         * sysdeps/nptl/aio_misc.h: ... here.
8465         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8466         * sysdeps/nptl/bits/libc-lock.h: ... here.
8467         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8468         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8469         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8470         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8471         * nptl/sysdeps/pthread/configure: Moved ...
8472         * sysdeps/nptl/configure: ... here.
8473         * nptl/sysdeps/pthread/configure.ac: Moved ...
8474         * sysdeps/nptl/configure.ac: ... here.
8475         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8476         * sysdeps/nptl/gai_misc.h: ... here.
8477         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8478         * sysdeps/nptl/librt-cancellation.c: ... here.
8479         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8480         * sysdeps/nptl/malloc-machine.h: ... here.
8481         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8482         * sysdeps/nptl/pthread-functions.h: ... here.
8483         * nptl/sysdeps/pthread/pthread.h: Moved ...
8484         * sysdeps/nptl/pthread.h: ... here.
8485         * nptl/sysdeps/pthread/setxid.h: Moved ...
8486         * sysdeps/nptl/setxid.h: ... here.
8487         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8488         * sysdeps/nptl/sigfillset.c: ... here.
8489         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8490         * sysdeps/nptl/tcb-offsets.h: ... here.
8491         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8492         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8493         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8494         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8495         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8496         * sysdeps/pthread/allocalim.h: ... here.
8497         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8498         * sysdeps/pthread/bits/sigthread.h: ... here.
8499         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8500         * sysdeps/pthread/flockfile.c: ... here.
8501         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8502         * sysdeps/pthread/ftrylockfile.c: ... here.
8503         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8504         * sysdeps/pthread/funlockfile.c: ... here.
8505         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8506         * sysdeps/pthread/posix-timer.h: ... here.
8507         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8508         * sysdeps/pthread/timer_create.c: ... here.
8509         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8510         * sysdeps/pthread/timer_delete.c: ... here.
8511         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8512         * sysdeps/pthread/timer_getoverr.c: ... here.
8513         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8514         * sysdeps/pthread/timer_gettime.c: ... here.
8515         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8516         * sysdeps/pthread/timer_routines.c: ... here.
8517         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8518         * sysdeps/pthread/timer_settime.c: ... here.
8519         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8520         * sysdeps/pthread/tst-timer.c: ... here.
8521         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8522         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8523
8524         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8525         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8526
8527         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8528         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8529         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8530         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8531         Update #include target.
8532         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8533         * sysdeps/i386/i686/nptl/Makefile: ... here.
8534         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8535         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8536         Update #include target.
8537         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8538         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8539         * nptl/sysdeps/i386/Makefile: Moved ...
8540         * sysdeps/i386/nptl/Makefile: ... here.
8541         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8542         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8543         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8544         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8545         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8546         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8547         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8548         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8549         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8550         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8551         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8552         * nptl/sysdeps/i386/tls.h: Moved ...
8553         * sysdeps/i386/nptl/tls.h: ... here.
8554
8555         * sysdeps/sh/Makefile [$(subdir) = csu]
8556         (gen-as-const-headers): Add tcb-offsets.sym.
8557         * nptl/sysdeps/sh/Makefile: File removed.
8558         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8559         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8560         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8561         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8562         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8563         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8564         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8565         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8566         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8567         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8568         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8569         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8570         * nptl/sysdeps/sh/tls.h: Moved ...
8571         * sysdeps/sh/nptl/tls.h: ... here.
8572         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8573         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8574         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8575         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8576         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8577         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8578         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8579         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8580         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8581         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8582         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8583         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8584         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8585         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8586         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8587         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8588         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8589         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8590         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8591         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8592         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8593         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8594         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8595         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8596         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8597         Moved ...
8598         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8599         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8600         Moved ...
8601         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8602         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8603         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8604         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8605         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8606         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8607         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8608         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8609         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8610         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8611         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8612         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8613         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8614         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8615         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8616         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8617         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8618         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8619         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8620
8621 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8622
8623         * posix/spawn_faction_addopen.c: Include string.h.
8624
8625 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8626
8627         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8628         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8629         * nptl/sysdeps/x86_64/Makefile: Moved ...
8630         * sysdeps/x86_64/nptl/Makefile: ... here.
8631         * nptl/sysdeps/x86_64/configure: Moved ...
8632         * sysdeps/x86_64/nptl/configure: ... here.
8633         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8634         * sysdeps/x86_64/nptl/configure.ac: ... here.
8635         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8636         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8637         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8638         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8639         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8640         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8641         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8642         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8643         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8644         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8645         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8646         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8647         * nptl/sysdeps/x86_64/tls.h: Moved ...
8648         * sysdeps/x86_64/nptl/tls.h: ... here.
8649         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8650         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8651         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8652         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8653
8654         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8655
8656 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8657
8658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8659
8660 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8661
8662         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8663         type.
8664         [POSIX] (off_t): Likewise.
8665         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8666         [POSIX] (S_ISBLK): Require macro.
8667         [POSIX] (S_ISCHR): Likewise.
8668         [POSIX] (S_ISDIR): Likewise.
8669         [POSIX] (S_ISFIFO): Likewise.
8670         [POSIX] (S_ISREG): Likewise.
8671         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8672         optional-macro.
8673         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8674         type.
8675         [POSIX] (time_t): Likewise.
8676         [POSIX] (timer_t): Likewise.
8677
8678 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8679
8680         [BZ #17048]
8681         * posix/spawn_int.h (struct __spawn_action): Make the path string
8682         non-const to support deallocation.
8683         * posix/spawn_faction_addopen.c
8684         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8685         * posix/spawn_faction_destroy.c
8686         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8687         path in all spawn_do_open actions.
8688         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8689         posix_spawn_file_actions_addopen.
8690
8691 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8692
8693         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8694         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8695         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8696         conditional code always true.
8697         (__libc_vfork): New alias.
8698
8699 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8700
8701         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8702         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8703
8704         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8705
8706         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8707         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8708
8709         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8710         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8711
8712         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8713         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8714
8715 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8716
8717         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8718         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8719         multiarch strcmp for PPC64.
8720         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8721         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8722         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8723         multiarch optimizations.
8724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8725         (__libc_ifunc_impl_list): Likewise.
8726
8727 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8728
8729         * benchtests/scripts/validate_benchout.py: New script.
8730         * benchtests/Makefile (bench-func): Call it.
8731         * benchtests/scripts/benchout.schema.json: New file.
8732
8733 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8734
8735         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8736         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8737         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8738         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8739         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8740         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8741         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8742         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8743         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8744         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8745         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8746         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8747         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8748         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8749         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8750         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8752         Moved ...
8753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8754         ... here.
8755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8756         Moved ...
8757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8759         Moved ...
8760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8761         ... here.
8762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8763         Moved ...
8764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8765         ... here.
8766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8767         Moved ...
8768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8770         Moved ...
8771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8772         ... here.
8773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8774         Moved ...
8775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8776         ... here.
8777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8778         Moved ...
8779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8781         Moved ...
8782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8783         ... here.
8784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8785         Moved ...
8786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8787         ... here.
8788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8789         Moved ...
8790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8791         ... here.
8792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8793         Moved ...
8794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8796         Moved ...
8797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8798         ... here.
8799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8800         Moved ...
8801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8802         ... here.
8803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8804         Moved ...
8805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8806         ... here.
8807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8808         Moved ...
8809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8811         Moved ...
8812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8813         ... here.
8814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8815         Moved ...
8816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8817         ... here.
8818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8819         Moved ...
8820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8822         Moved ...
8823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8824         ... here.
8825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8826         Moved ...
8827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8829         Moved ...
8830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8832         Moved ...
8833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8834         ... here.
8835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8836         Moved ...
8837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8838         ... here.
8839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8840         Moved ...
8841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8842         ... here.
8843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8844         Moved ...
8845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8847         Moved ...
8848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8849         ... here.
8850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8851         Moved ...
8852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8853         ... here.
8854         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8855         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8857         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8858         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8859         Moved ...
8860         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8861         ... here.
8862         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8863         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8864         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8865         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8866         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8867         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8868         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8869         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8870         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8871         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8872         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8873         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8874         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8875         Moved ...
8876         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8877         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8878         Moved ...
8879         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8880         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8881         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8882         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8883         Moved ...
8884         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8886         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8887         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8888         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8889         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8890         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8891
8892 2014-06-10  Wilco  <wdijkstr@arm.com>
8893
8894         * math/test-fenv-return.c: New file.
8895         * math/Makefile: Add new test test-fenv-return.
8896
8897 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
8898
8899         [BZ #17042]
8900         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8901         when x - 1 is zero.
8902         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8903         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8904         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8905         0.0L for an argument of 1.0L.
8906         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8907         Likewise.
8908         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8909         value when x - 1 is zero.
8910         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8911         * sysdeps/i386/fpu/libm-test-ulps: Update.
8912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8913
8914 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
8915
8916         [BZ #15119]
8917         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8918
8919 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8920
8921         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8922         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8923
8924 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8925
8926         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8927         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8928
8929         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8930         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8931
8932         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8933         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8934
8935         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8936         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8937
8938         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8939         if not already defined.
8940         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8941         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8942         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8943         (TLS_INIT_TP): Use it.
8944         (TLS_DEFINE_INIT_TP): New macro.
8945         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8946
8947 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
8948
8949         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8950         constant.
8951         [POSIX] (IXANY): Likewise.
8952         [POSIX] (OLCUC): Likewise.
8953         [POSIX || POSIX2008] (CBAUD): Do not allow.
8954         [POSIX || POSIX2008] (DEFECHO): Likewise.
8955         [POSIX || POSIX2008] (ECHOCTL): Likewise.
8956         [POSIX || POSIX2008] (ECHOKE): Likewise.
8957         [POSIX || POSIX2008] (ECHOPRT): Likewise.
8958         [POSIX || POSIX2008] (EXTA): Likewise.
8959         [POSIX || POSIX2008] (EXTB): Likewise.
8960         [POSIX || POSIX2008] (FLUSHO): Likewise.
8961         [POSIX || POSIX2008] (LOBLK): Likewise.
8962         [POSIX || POSIX2008] (PENDIN): Likewise.
8963         [POSIX || POSIX2008] (SWTCH): Likewise.
8964         [POSIX || POSIX2008] (VDISCARD): Likewise.
8965         [POSIX || POSIX2008] (VDSUSP): Likewise.
8966         [POSIX || POSIX2008] (VLNEXT): Likewise.
8967         [POSIX || POSIX2008] (VREPRINT): Likewise.
8968         [POSIX || POSIX2008] (VSTATUS): Likewise.
8969         [POSIX || POSIX2008] (VWERASE): Likewise.
8970         (B*): Change to B[0123456789]*.
8971         * conform/data/time.h-data [POSIX || UNIX98]
8972         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8973         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8974         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8975         [POSIX] (tm_*): Do not allow.
8976
8977 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
8978
8979         * Makefile (install): Don't set LANGUAGE.
8980         * Makefile.in (install): Likewise.
8981         * assert/Makefile (test-assert-ENV): Remove variable.
8982         (test-assert-perr-ENV): Likewise.
8983         * elf/Makefile (neededtest4-ENV): Likewise.
8984         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8985         [$(cross-compiling) = no]: Don't set LANGUAGE.
8986         * io/ftwtest-sh (LANG): Remove variable.
8987         * libio/Makefile (tst-widetext-ENV): Likewise.
8988         * manual/install.texi (Running make install): Don't refer to
8989         environment settings for make install.
8990         * INSTALL: Regenerated.
8991         * nptl/tst-tls6.sh: Don't set LANG.
8992         * posix/globtest.sh (LANG): Remove variable.
8993         * string/Makefile (tester-ENV): Likewise.
8994         (inl-tester-ENV): Likewise.
8995         (noinl-tester-ENV): Likewise.
8996         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8997         [$(cross-compiling) = no]: Don't set LANGUAGE.
8998         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8999         without explicit environment settings.
9000
9001 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9002
9003         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9004         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9005         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9006         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9007
9008 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9009
9010         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9011         other files in the crypt directory.
9012         * crypt/crypt.c: Remove duplicate includes.
9013         * crypt/crypt-entry.c: Likewise.
9014         * crypt/crypt_util.c: Likewise.
9015
9016 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9017
9018         * Makeconfig (run-program-env): New variable.
9019         (run-program-prefix-before-env): Likewise.
9020         (run-program-prefix-after-env): Likewise.
9021         (run-program-prefix): Define in terms of new variables.
9022         (built-program-cmd-before-env): New variable.
9023         (built-program-cmd-after-env): Likewise.
9024         (built-program-cmd): Define in terms of new variables.
9025         (test-program-prefix-before-env): New variable.
9026         (test-program-prefix-after-env): Likewise.
9027         (test-program-prefix): Define in terms of new variables.
9028         (test-program-cmd-before-env): New variable.
9029         (test-program-cmd-after-env): Likewise.
9030         (test-program-cmd): Define in terms of new variables.
9031         * Rules (make-test-out): Use $(run-program-env).
9032         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9033         (help): Do not mention environment variables.  Mention
9034         --timeoutfactor option.
9035         (timeoutfactor): New variable.
9036         (blacklist_exports): Remove function.
9037         (exports): Remove variable.
9038         (command): Do not include ${exports}.
9039         * manual/install.texi (Configuring and compiling): Do not mention
9040         test wrappers preserving environment variables.  Mention that last
9041         assignment to a variable must take precedence.
9042         * INSTALL: Regenerated.
9043         * benchtests/Makefile (run-bench): Use $(run-program-env).
9044         * catgets/Makefile ($(objpfx)test1.cat): Use
9045         $(built-program-cmd-before-env), $(run-program-env) and
9046         $(built-program-cmd-after-env).
9047         ($(objpfx)test2.cat): Do not specify environment variables
9048         explicitly.
9049         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9050         $(run-program-env) and $(built-program-cmd-after-env).
9051         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9052         $(run-program-env) and $(test-program-cmd-after-env).
9053         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9054         explicitly.
9055         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9056         run_program_env and test_program_cmd_after_env arguments.
9057         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9058         * elf/tst-pathopt.sh: Use run_program_env argument.
9059         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9060         $(test-wrapper-env) and $(run-program-env).
9061         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9062         run_program_env arguments.
9063         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9064         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9065         $(test-program-prefix-before-env), $(run-program-env) and
9066         $(test-program-prefix-after-env).
9067         ($(objpfx)tst-gettext2.out): Likewise.
9068         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9069         run_program_env and test_program_prefix_after_env arguments.
9070         * intl/tst-gettext2.sh: Likewise.
9071         * intl/tst-gettext4.sh: Do not set environment variables
9072         explicitly.
9073         * intl/tst-gettext6.sh: Likewise.
9074         * intl/tst-translit.sh: Likewise.
9075         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9076         $(test-program-prefix-before-env), $(run-program-env) and
9077         $(test-program-prefix-after-env).
9078         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9079         run_program_env and test_program_prefix_after_env arguments.
9080         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9081         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9082         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9083         explicitly with each use of ${test_wrapper_env}.
9084         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9085         $(test-program-prefix-before-env), $(run-program-env) and
9086         $(test-program-prefix-after-env).
9087         * posix/tst-getconf.sh: Do not set environment variables
9088         explicitly.
9089         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9090         run_program_env and test_program_prefix_after_env arguments.
9091         * stdio-common/tst-printf.sh: Do not set environment variables
9092         explicitly.
9093         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9094         $(test-program-prefix-before-env), $(run-program-env) and
9095         $(test-program-prefix-after-env).
9096         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9097         run_program_env and test_program_prefix_after_env arguments.
9098         Split $test calls into $test_pre and $test.
9099         * timezone/Makefile (build-testdata): Use
9100         $(built-program-cmd-before-env), $(run-program-env) and
9101         $(built-program-cmd-after-env).
9102
9103 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9104
9105         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9106         strlen for non SHARED builds.
9107
9108 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9109
9110         * nptl/allocatestack.c (check_list): Inlined function...
9111         (__reclaim_stacks): ... here.
9112
9113 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9114
9115         [BZ #15698]
9116         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9117         memory overrun.
9118
9119 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9120
9121         * Rules (make-test-out): Include
9122         LOCPATH=$(common-objpfx)localedata in default environment.
9123         * debug/Makefile (tst-chk1-ENV): Remove variable.
9124         (tst-chk2-ENV): Likewise.
9125         (tst-chk3-ENV): Likewise.
9126         (tst-chk4-ENV): Likewise.
9127         (tst-chk5-ENV): Likewise.
9128         (tst-chk6-ENV): Likewise.
9129         (tst-lfschk1-ENV): Likewise.
9130         (tst-lfschk2-ENV): Likewise.
9131         (tst-lfschk3-ENV): Likewise.
9132         (tst-lfschk4-ENV): Likewise.
9133         (tst-lfschk5-ENV): Likewise.
9134         (tst-lfschk6-ENV): Likewise.
9135         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9136         (tst-iconv7-ENV): Likewise.
9137         * intl/Makefile (LOCPATH-ENV): Likewise.
9138         (tst-codeset-ENV): Likewise.
9139         (tst-gettext3-ENV): Likewise.
9140         (tst-gettext5-ENV): Likewise.
9141         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9142         (tst-fopenloc-ENV): Likewise.
9143         (tst-fgetws-ENV): Remove variable.
9144         (tst-ungetwc1-ENV): Likewise.
9145         (tst-ungetwc2-ENV): Likewise.
9146         (bug-ungetwc2-ENV): Likewise.
9147         (tst-swscanf-ENV): Likewise.
9148         (bug-ftell-ENV): Likewise.
9149         (tst-fgetwc-ENV): Likewise.
9150         (tst-fseek-ENV): Likewise.
9151         (tst-ftell-partial-wide-ENV): Likewise.
9152         (tst-ftell-active-handler-ENV): Likewise.
9153         (tst-ftell-append-ENV): Likewise.
9154         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9155         (tst-regexloc-ENV): Likewise.
9156         (bug-regex1-ENV): Likewise.
9157         (tst-regex-ENV): Likewise.
9158         (tst-regex2-ENV): Likewise.
9159         (bug-regex5-ENV): Likewise.
9160         (bug-regex6-ENV): Likewise.
9161         (bug-regex17-ENV): Likewise.
9162         (bug-regex18-ENV): Likewise.
9163         (bug-regex19-ENV): Likewise.
9164         (bug-regex20-ENV): Likewise.
9165         (bug-regex22-ENV): Likewise.
9166         (bug-regex23-ENV): Likewise.
9167         (bug-regex25-ENV): Likewise.
9168         (bug-regex26-ENV): Likewise.
9169         (bug-regex30-ENV): Likewise.
9170         (bug-regex32-ENV): Likewise.
9171         (bug-regex33-ENV): Likewise.
9172         (bug-regex34-ENV): Likewise.
9173         (bug-regex35-ENV): Likewise.
9174         (tst-rxspencer-ENV): Likewise.
9175         (tst-rxspencer-no-utf8-ENV): Likewise.
9176         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9177         (tst-sscanf-ENV): Likewise.
9178         (tst-swprintf-ENV): Likewise.
9179         (tst-swscanf-ENV): Likewise.
9180         (test-vfprintf-ENV): Likewise.
9181         (scanf13-ENV): Likewise.
9182         (bug14-ENV): Likewise.
9183         (tst-grouping-ENV): Likewise.
9184         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9185         (tst-strtod3-ENV): Likewise.
9186         (tst-strtod4-ENV): Likewise.
9187         (tst-strtod5-ENV): Likewise.
9188         (testmb2-ENV): Likewise./
9189         * string/Makefile (tst-strxfrm-ENV): Likewise.
9190         (tst-strxfrm2-ENV): Likewise.
9191         (bug-strcoll1-ENV): Likewise.
9192         (test-strcasecmp-ENV): Likewise.
9193         (test-strncasecmp-ENV): Likewise.
9194         * time/Makefile (tst-strptime-ENV): Likewise.
9195         (tst-ftime_l-ENV): Likewise.
9196         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9197         (tst-mbrtowc-ENV): Likewise.
9198         (tst-wcrtomb-ENV): Likewise.
9199         (tst-mbrtowc2-ENV): Likewise.
9200         (tst-c16c32-1-ENV): Likewise.
9201         (tst-mbsnrtowcs-ENV): Likewise.
9202
9203 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9204
9205         * manual/resource.texi (How to get information about the memory
9206         subsystem?): Fix typo.
9207         Reported by Peon de la Parra Ivan <peon@keba.com>
9208
9209 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9210
9211         [BZ #16882]
9212         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9213         (pthread_spin_lock): Branch out of spin loop to proper location.
9214         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9215         (pthread_spin_lock): Likewise.
9216
9217         * nptl/tst-spin4.c: New test.
9218         * nptl/Makefile (tests): Add tst-spin4.
9219
9220 2014-06-03  Andreas Schwab  <schwab@suse.de>
9221
9222         [BZ #15946]
9223         * resolv/res_send.c (send_dg): Reload file descriptor after
9224         calling reopen.
9225
9226 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9227
9228         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9229
9230 2014-06-03  Richard Henderson  <rth@redhat.com>
9231
9232         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9233         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9234         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9235         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9236         in the SAVE_PID block.
9237         (__libc_vfork): New alias.
9238         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9239
9240         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9241         child in registers, not on the stack.  Remove RESET_PID conditionals.
9242         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9243
9244 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9245
9246         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9247
9248 2014-06-03  Wilco  <wdijkstr@arm.com>
9249
9250         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9251         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9252         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9253         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9254         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9255         Likewise.
9256
9257 2014-06-03  Wilco  <wdijkstr@arm.com>
9258
9259         * sysdeps/aarch64/fpu/math_private.h
9260         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9261         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9262         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9263         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9264         Fix declarations.
9265
9266 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9267
9268         * crypt/crypt-private.h: Include ufc-crypt.h.
9269         (__b64_from_24bit): Declare extern.
9270         * crypt/crypt_util.c(__b64_from_24bit): New function.
9271         (b64t): New static const variable.
9272         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9273         (b64t): Remove variable.
9274         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9275         * crypt/sha256-crypt.c: Include crypt-private.h.
9276         (b64t): Remove variable.
9277         (__sha256_crypt_r): Remove b64_from_24bit and replace
9278         with __b64_from_24bit.
9279         * crypt/sha512-crypt.c: Likewise.
9280
9281 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9282
9283         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9284         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9285         Label the code __libc_vfork rather than __vfork.
9286         [!NOT_IN_libc] (vfork): Define as weak alias.
9287         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9288         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9289         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9290
9291 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9292
9293         * malloc/malloc.c (malloc_info): Fix format specifier for
9294         n_mmaps.
9295
9296 2014-06-02  Wilco  <wdijkstr@arm.com>
9297
9298         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9299         FPCR write.
9300
9301 2014-06-02  Wilco  <wdijkstr@arm.com>
9302
9303         [BZ #17009]
9304         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9305         Rewrite to reduce FPCR/FPSR accesses.
9306
9307 2014-06-01  David S. Miller  <davem@davemloft.net>
9308
9309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9310
9311 2014-05-31  David S. Miller  <davem@davemloft.net>
9312
9313         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9314         to occur in round to nearest mode when |x| >= 2.0
9315
9316 2014-05-30  Richard Henderson  <rth@twiddle.net>
9317
9318         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9319         (PSEUDO_RET_NOERRNO): Remove.
9320         (ret): Don't redefine.
9321         (ret_NOERRNO): Define in terms of ret.
9322         (ret_ERRVAL): Likewise.
9323
9324         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9325         use of PSEUDO_RET; perform the error check directly.
9326
9327 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9328
9329         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9330         with __int128_t.
9331
9332 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9333
9334         * malloc/malloc (malloc_info): Fix formatting.
9335
9336 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9337             Roland McGrath  <roland@hack.frob.com>
9338
9339         * malloc/malloc (malloc_info): Also print mmapped statistics.
9340
9341 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9342
9343         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9344         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9345
9346 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9347
9348         * malloc/malloc.c (malloc_info): Inline mi_arena.
9349
9350 2014-05-29  Richard Henderson  <rth@twiddle.net>
9351
9352         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9353         Remove comma before expanding ASM_ARGS_##nr.
9354         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9355         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9356         of ASM_ARGS_##nr.
9357         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9358         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9359         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9360         (ASM_ARGS_1): Add leading comma.
9361
9362         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9363         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9364         to __errno_location.
9365         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9366         Remove the expected plt for __errno_location.
9367
9368         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9369         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9370         call to __read_tp.
9371
9372         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9373         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9374         it and break it down.
9375         (DOCARGS_0, DOCARGS_1): Do nothing.
9376         (DOCARGS_2): Update to store into the new stack frame.
9377         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9378         (UNDOCARGS_1): Update to restore from the new stack frame.
9379         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9380         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9381
9382         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9383         (SINGLE_THREAD_P): New parameter for result regno.
9384         (PSEUDO): Update to match; use cbz instead of beq.
9385
9386         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9387         Use ENTRY to define the _nocancel entry point.  Share the syscall
9388         and syscall error check paths with the cancel path.
9389         (PSEUDO_END): New.
9390
9391         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9392         whitespace; tabs before and after asm mnemonics.
9393
9394 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9395
9396         [BZ #15132]
9397         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9398         Call fstat64 or stat64 internally, depending on arguments passed.
9399         Replace stat buffer argument with file descriptor argument.
9400         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9401         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9402         Pass fd to __internal_statvfs instead of calling fstat64.
9403         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9404         Pass fd to __internal_statvfs64 instead of calling fstat64.
9405         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9406         Pass -1 to __internal_statvfs instead of calling stat64.
9407         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9408         Pass -1 to __internal_statvfs64 instead of calling stat64.
9409
9410 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9411
9412         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9413         that was previously under [RESET_PID].
9414         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9415
9416         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9417         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9418
9419 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9420
9421         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9422
9423         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9424         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9425
9426 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9427
9428         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9429
9430 2014-05-27  Andreas Schwab  <schwab@suse.de>
9431
9432         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9433         TLS_INIT_TP macro.
9434         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9435         * elf/rtld.c (init_tls, dl_main): Likewise.
9436         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9437         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9438         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9439         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9440         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9441         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9442         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9443         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9444         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9445         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9446         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9447         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9448         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9449         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9450         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9451         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9452         * sysdeps/generic/tls.h: Update description.
9453
9454 2014-05-27  Will Newton  <will.newton@linaro.org>
9455
9456         [BZ #16990]
9457         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9458         and restore r2 rather than just restoring.
9459
9460 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9461
9462         [BZ #16724]
9463         * libio/tst-ftell-append.c: New test case.
9464         * libio/Makefile (tests): Add test case.
9465         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9466         append mode.
9467         * libio/wfileops.c (do_ftell_wide): Likewise.
9468
9469 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9470
9471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9472
9473         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9474         ...
9475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9477         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9478         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9479         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9480         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9481         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9482         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9484         Moved ...
9485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9486         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9487         Moved ...
9488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9489         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9490         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9491         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9492         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9493         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9494         ...
9495         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9496         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9497         Moved ...
9498         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9499         here.
9500         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9501         ...
9502         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9503         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9504         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9505
9506         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9507         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9508         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9509         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9510
9511         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9512         merge into ...
9513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9514         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9515         ...
9516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9517         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9518         ...
9519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9520         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9521         Moved ...
9522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9523         here.
9524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9525         Moved ...
9526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9528         Moved ...
9529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9530
9531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9532         conditional [RESET_PID].
9533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9534         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9535         removed.
9536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9537         removed.
9538
9539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9540         <tcb-offsets.h>.
9541         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9542         (__libc_vfork): New strong alias.
9543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9544         removed.
9545         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9546         Removed.
9547
9548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9549         <tcb-offsets.h>.
9550         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9551         (__libc_vfork): New strong alias.
9552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9553         removed.
9554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9555         removed.
9556
9557 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9558
9559         * malloc/malloc.c (mi_arena): New function.
9560         (malloc_info): Remove nested function mi_arena. Call non-nosted
9561         function mi_arena.
9562
9563 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9564
9565         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9566         by insrwi.
9567         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9568         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9569         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9570         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9571         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9572         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9573         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9574
9575 2014-05-26  Andreas Schwab  <schwab@suse.de>
9576
9577         [BZ #16984]
9578         * locale/programs/repertoire.c (repertoire_read): Add slash
9579         between I18NPATH element and file name.
9580         * locale/programs/locfile.c (locfile_read): Likewise.
9581
9582 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9583
9584         * nptl/pthread_mutexattr_settype.c
9585         (__pthread_mutexattr_settype):
9586         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9587
9588 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9589
9590         * nptl/tst-mutex5 (do_test):
9591         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9592
9593 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9594
9595         * benchtests/README: Document 'init' directive.
9596         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9597         BENCH_INIT.
9598         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9599         (parse_file): Recognize 'init' directive.
9600
9601 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9602
9603         [BZ #16796]
9604         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9605         alignment of struct pthread.
9606
9607 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9608
9609         [BZ #16878]
9610         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9611         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9612         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9613         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9614
9615 2014-05-25  Richard Henderson  <rth@twiddle.net>
9616
9617         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9618         (SINGLE_THREAD_P_PIC): Remove.
9619         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9620         (SINGLE_THREAD_P_PIC): Remove.
9621
9622         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9623         branch to syscall error ...
9624         (PSEUDO): ... here.
9625         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9626         from __local_syscall_error to .Lsyscall_error.
9627         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9628         (SYSCALL_ERROR): Update label name.
9629
9630         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9631         Do not use DOARGS/UNDOARGS.
9632         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9633         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9634         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9635         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9636         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9637
9638         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9639         block comment.
9640
9641         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9642         define if !NOT_IN_libc.
9643         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9644         define with non-default symbol versions.
9645
9646 2014-05-23  Richard Henderson  <rth@twiddle.net>
9647
9648         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9649         (vfork, __vfork): Define via compat_symbol.
9650
9651         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9652         [!HAVE_IFUNC] (vfork_compat): Remove.
9653         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9654
9655 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9656
9657         [BZ #16978]
9658         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9659         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9660         variable.
9661
9662 2014-05-23  Richard Henderson  <rth@twiddle.net>
9663
9664         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9665         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9666         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9667         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9668
9669         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9670         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9671         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9672         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9673         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9674         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9675         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9676         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9677         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9678         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9679         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9680         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9681         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9682         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9683         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9684         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9685         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9686         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9687         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9688         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9689         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9690         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9691         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9692         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9693         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9694         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9695         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9696         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9697         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9698         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9699         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9700         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9701         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9702         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9703         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9704         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9705         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9706         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9707         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9708         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9709         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9710         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9711         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9712         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9713         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9714         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9715         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9716         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9717         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9718         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9719         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9720         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9721         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9722         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9723         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9724         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9725
9726         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9727         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9728         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9729         before exiting on error.
9730         (__libc_vfork): New strong alias.
9731         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9732         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9733
9734         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9735         that was previously under [RESET_PID].
9736         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9737
9738         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9739
9740 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9741
9742         [BZ #16977]
9743         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9744         value when x - 1 is zero.
9745         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9746         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9747         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9748         0.0L for an argument of 1.0L.
9749         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9750         Likewise.
9751         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9752         value when x - 1 is zero.
9753         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9754         * sysdeps/i386/fpu/libm-test-ulps: Update.
9755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9756
9757 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9758
9759         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9760         alphasort and versionsort.
9761
9762 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9763
9764         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9765         macro.
9766         [copysignf]: Likewise.
9767
9768 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9769
9770         * crypt/md5-crypt.c: Fix formatting.
9771
9772 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9773
9774         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9775         (b64_from_24bit): New function.
9776
9777 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9778
9779         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9780         libc_hidden_builtin_def to ifunc.
9781         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9782         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9783
9784 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9785
9786         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9787         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9788
9789 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9790
9791         * nscd/Depend (linuxthreads): Remove.
9792         (nptl): Add.
9793         * resolv/Depend (linuxthreads): Remove.
9794         * rt/Depend (linuxthreads): Remove.
9795
9796         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9797         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9798         $(common-objpfx)elf/.
9799         (link-libc-before-gnulib): Likewise.
9800         (elfobjdir): Remove variable.
9801         * Makefile (install): Use $(elf-objpfx) instead of
9802         $(common-objpfx)elf/.
9803         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9804         $(elfobjdir)/.
9805         (link-libc-deps): Likewise.
9806         ($(common-objpfx)libc.so): Likewise.
9807         ($(common-objpfx)linkobj/libc.so): Likewise.
9808         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9809         instead of $(common-objpfx)elf/.
9810         (symbolic-link-list): Likewise.
9811         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9812         [$(cross-compiling) = no]: Likewise.
9813         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9814         $(elfobjdir)/.
9815         (static-gnulib-arch): Likewise.
9816         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9817         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9818         $(common-objpfx)elf/.
9819
9820 2014-05-21  Richard Henderson  <rth@redhat.com>
9821
9822         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9823         (SINGLE_THREAD_P): Use the correct width load.  Fold
9824         into the ldr offset.
9825
9826         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9827         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9828
9829 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9830
9831         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9832         (libgcc_s_resume): Use __attribute_used__.
9833         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9834         Likewise.
9835
9836 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9837
9838         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9839         optimization when used with float constants.
9840
9841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9842
9843 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9844
9845         [BZ #16915]
9846         * locale/nl_langinfo_l.c: Make direct reference to every
9847         _nl_current_CATEGORY symbol.
9848         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9849         (tests-static): Add tst-langinfo-static.
9850         (tests-special): Add tst-langinfo-static.out.
9851         ($(objpfx)tst-langinfo.out): Redirect output.
9852         ($(objpfx)tst-langinfo-static.out): New.
9853         * localedata/tst-langinfo.sh: Send output to stdout.
9854         * localedata/tst-langinfo-static.c: New file.
9855
9856         [BZ #16965]
9857         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9858         when the shift amount is modulo the limb size.
9859
9860 2014-05-20  Richard Henderson  <rth@redhat.com>
9861
9862         [BZ #16967]
9863         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9864         Change type of sa_flags from unsigned int to int.
9865
9866         [BZ #16966]
9867         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9868
9869         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9870
9871 2014-05-20  Will Newton  <will.newton@linaro.org>
9872
9873         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9874         Test the return value of the system call in the nocancel case.
9875
9876 2014-05-20  Will Newton  <will.newton@linaro.org>
9877             Yvan Roux  <yvan.roux@linaro.org>
9878
9879         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9880         #include of asm/ptrace.h.
9881         (PTRACE_GET_THREAD_AREA): Remove #undef.
9882         (PTRACE_GETHBPREGS): Likewise.
9883         (PTRACE_SETHBPREGS): Likewise.
9884         (struct user_regs_struct): New structure.
9885         (struct user_fpsimd_struct): New structure.
9886         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9887         #include of asm/ptrace.h and second #include of sys/user.h.
9888         (PTRACE_GET_THREAD_AREA): Remove #undef.
9889         (PTRACE_GETHBPREGS): Likewise.
9890         (PTRACE_SETHBPREGS): Likewise.
9891         (ELF_NGREG): Use new struct user_regs_struct.
9892         (elf_fpregset_t): Use new struct user_fpsimd_struct.
9893
9894 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9895
9896         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9897         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9898
9899 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9900
9901         [BZ #16958]
9902         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9903         membar to avoid block loads/stores to overlap previous stores.
9904
9905 2014-05-17  Richard Henderson  <rth@redhat.com>
9906
9907         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9908         Create the __##syscall_name##_nocancel entry point.
9909         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9910         Remove; let the sysdep-cancel.h code create it.
9911
9912 2014-05-17  David S. Miller  <davem@davemloft.net>
9913
9914         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9915         Protect with __USE_GNU.
9916         (TIOCSET_TEMPT): Likewise.
9917         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9918         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9919         these are already provided in bits/ioctl-types.h
9920
9921 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9922
9923         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9924         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9925
9926         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9927         Use wait4 regardless of [__NR_waitpid].
9928
9929 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9930
9931         PR libgcc/60166
9932         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9933         (_FP_NANSIGN_Q): Set the quiet bit.
9934
9935 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
9936
9937         * benchtests/Makefile
9938         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9939         not $(common-objpfx)math/libm.so.
9940         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9941         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9942         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9943         $(common-objpfx)dlfcn/libdl.so.
9944         ($(objpfx)tst-audit8): Depend on $(libm), not
9945         $(common-objpfx)math/libm.so.
9946         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9947         not $(common-objpfx)dlfcn/libdl.so.
9948         * math/Makefile
9949         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9950         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
9951         [$(build-shared) = yes].
9952         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9953         $(common-objpfx)nptl/libpthread.so.
9954         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9955         $(common-objpfx)math/libm.so$(libm.so-version) or
9956         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9957         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9958         $(common-objpfx)dlfcn/libdl.so.
9959         * setjmp/Makefile (link-libm): Remove variable.
9960         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9961         * stdio-common/Makefile (link-libm): Remove variable.
9962         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9963         * stdlib/Makefile (link-libm): Remove variable.
9964         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9965         ($(objpfx)tst-strtod-round): Likewise.
9966         ($(objpfx)tst-tininess): Likewise.
9967         ($(objpfx)tst-strtod-underflow): Likewise.
9968         ($(objpfx)tst-strtod6): Likewise.
9969         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9970         $(libdl), not $(common-objpfx)nptl/libpthread.so and
9971         $(common-objpfx)dlfcn/libdl.so.
9972
9973 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9974
9975         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9976         BSD terminal modes definitions.
9977
9978 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9979
9980         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9981         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9982
9983         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9984         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9985         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9986         Don't do #include_next.
9987         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9988         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9989         Don't do #include_next.
9990         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9991         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9992         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9993         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9994
9995 2014-05-16  Allan McRae  <allan@archlinux.org>
9996
9997         * po/sv.po: Update Swedish translation from translation project.
9998
9999         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10000         in sed expression.
10001
10002 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10003
10004         [BZ #16917]
10005         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10006         errno if the TIOCGPTN ioctl fails with an error different than
10007         EINVAL.
10008         * login/tst-ptsname.c: New file.
10009         * login/Makefile (tests): Add tst-ptsname.
10010
10011         [BZ #16943]
10012         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10013         and prlimit64.
10014
10015 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10016
10017         [BZ #16849]
10018         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10019         herrno to return EAI_AGAIN.
10020
10021 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10022
10023         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10024         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10025         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10026         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10027         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10028         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10029         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10030         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10031         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10032         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10033         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10034         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10035         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10036         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10037         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10038         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10039         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10040         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10041         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10042         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10043         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10044         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10045         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10046         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10047         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10048         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10049         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10050         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10051         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10052         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10054         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10056         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10058         Moved ...
10059         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10061         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10063         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10065         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10067         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10069         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10071         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10073         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10075         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10077         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10079         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10081         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10083         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10085         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10087         Moved ...
10088         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10090         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10092         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10094         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10096         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10098         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10100         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10102         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10104         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10106         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10108         Moved ...
10109         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10111         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10112
10113         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10114         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10115         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10116         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10117         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10118         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10119         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10120         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10121         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10122         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10123         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10124         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10125         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10126         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10127         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10128         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10129         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10130         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10131         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10132         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10133         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10134         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10135         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10136         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10137         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10138         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10139         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10140         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10141         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10142         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10143         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10144
10145         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10146         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10147
10148         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10149         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10150         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10151         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10152         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10153         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10154         Moved ...
10155         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10156         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10157         Moved ...
10158         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10159         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10160         Moved ...
10161         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10162         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10163         Moved ...
10164         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10165         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10166         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10167         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10168         Moved ...
10169         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10170         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10171         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10172         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10173         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10174         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10175         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10176         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10177         Moved ...
10178         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10179         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10180         Moved ...
10181         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10182         ... here.
10183         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10184         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10185         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10186         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10187         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10188         Moved ...
10189         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10190         ... here.
10191         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10192         Moved ...
10193         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10194         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10195         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10196         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10197         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10198         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10199         Moved ...
10200         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10201         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10202         Moved ...
10203         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10204         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10205         Moved ...
10206         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10207         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10208         Moved ...
10209         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10210         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10211         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10212         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10213         Moved ...
10214         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10215         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10216         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10217         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10218         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10219         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10220         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10221         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10222         Moved ...
10223         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10224         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10225         Moved ...
10226         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10227         ... here.
10228         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10229         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10230         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10231         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10232         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10233         Moved ...
10234         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10235         ... here.
10236         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10237         Moved ...
10238         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10239         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10240         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10241         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10242         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10243         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10244         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10245         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10246         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10247         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10248         Moved ...
10249         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10250         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10251         Moved ...
10252         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10253         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10254         Moved ...
10255         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10256         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10257         Moved ...
10258         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10259         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10260         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10261         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10262         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10263         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10264         Moved ...
10265         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10266         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10267         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10268         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10269         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10270         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10271         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10272         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10273         Moved ...
10274         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10275         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10276         Moved ...
10277         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10278         ... here.
10279         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10280         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10281         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10282         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10283         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10284         Moved ...
10285         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10286         ... here.
10287         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10288         Moved ...
10289         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10290         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10291         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10292         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10293         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10294         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10295         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10296         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10297         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10298         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10299         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10300
10301         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10302         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10303
10304         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10305         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10306
10307         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10308         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10309         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10310         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10311         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10312         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10313         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10314         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10315         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10316         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10317         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10318         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10319         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10320         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10321         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10322         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10323         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10324         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10325         Moved ...
10326         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10327         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10328         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10329         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10330         Moved ...
10331         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10332         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10333         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10334         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10335         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10339         Moved ...
10340         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10342         Moved ...
10343         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10344         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10345         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10346         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10347         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10349         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10350         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10351         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10352         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10353         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10354         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10355         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10356         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10357         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10358         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10359         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10360
10361         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10362         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10363         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10364         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10365         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10366
10367         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10368         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10369         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10370         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10371         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10372         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10373         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10374         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10375         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10376         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10377
10378         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10379         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10380
10381         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10382         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10383         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10384         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10385         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10386         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10387         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10388         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10389         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10390         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10391         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10392         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10393         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10394         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10395         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10396         Update #include.
10397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10398         Likewise.
10399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10400         Likewise.
10401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10402         Likewise.
10403         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10404         Likewise.
10405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10406         Likewise.
10407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10408         Likewise.
10409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10410         Likewise.
10411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10412         Likewise.
10413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10414         Likewise.
10415         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10416         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10417         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10418         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10419         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10420         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10421         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10422         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10423         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10424         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10425         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10426         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10427         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10428         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10429         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10430
10431         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10432         that was previously under [RESET_PID].
10433         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10434         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10435         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10436
10437         * sysdeps/i386/nptl/Implies: New file.
10438         * sysdeps/x86_64/nptl/Implies: New file.
10439         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10440         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10441         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10442         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10443
10444         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10445         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10446         (__libc_vfork): New strong alias.
10447         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10448         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10449
10450         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10451         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10452         (__libc_vfork): New strong alias.
10453         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10454         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10455
10456         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10457         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10458         (__libc_vfork): New strong alias.
10459         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10460         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10461         * nptl/pt-vfork.c: New file.
10462         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10463         (libpthread: GLIBC_2.20): New version set (empty).
10464
10465 2014-05-14  Will Newton  <will.newton@linaro.org>
10466
10467         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10468         rather than #if.
10469
10470 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10471
10472         [BZ #16564]
10473         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10474         arguments with exponent 65 or above.
10475         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10476         arguments 0x1p113L or above.
10477         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10478         to arguments 0x1p107L or above.
10479         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10480         positive arguments with exponent 65 or above.
10481         * math/auto-libm-test-in: Add more tests of log1p.
10482         * math/auto-libm-test-out: Regenerated.
10483
10484         [BZ #16928]
10485         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10486         non-finite arguments is +0.
10487         * math/s_cacosf.c (__cacosf): Likewise.
10488         * math/s_cacosl.c (__cacosl): Likewise.
10489         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10490         * sysdeps/i386/fpu/libm-test-ulps: Update.
10491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10492
10493         [BZ #16927]
10494         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10495         value.
10496         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10497         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10498         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10499         for explicit high bit of mantissa when testing for argument equal
10500         to 1.
10501         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10502         * sysdeps/i386/fpu/libm-test-ulps: Update.
10503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10504
10505         [BZ #16516]
10506         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10507         (__erf): Scale by 16 instead of 8 in potentially underflowing
10508         case.  Ensure exception if result actually underflows.
10509         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10510         (__erff): Scale by 16 instead of 8 in potentially underflowing
10511         case.  Ensure exception if result actually underflows.
10512         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10513         (efx8): Remove variable.
10514         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10515         case.  Ensure exception if result actually underflows.
10516         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10517         (efx8): Remove variable.
10518         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10519         case.  Ensure exception if result actually underflows.
10520         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10521         (efx8): Remove variable.
10522         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10523         case.  Ensure exception if result actually underflows.
10524         * math/auto-libm-test-in: Add more tests of erf.
10525         * math/auto-libm-test-out: Regenerated.
10526
10527 2014-05-14  Andreas Schwab  <schwab@suse.de>
10528
10529         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10530         Remove code conditionalized on USE___THREAD.
10531
10532         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10533         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10534         not definedness.
10535
10536 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10537
10538         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10539         Define unconditionally.
10540         (__ASSUME_O_CLOEXEC): Likewise.
10541         (__ASSUME_SOCK_CLOEXEC): Likewise.
10542         (__ASSUME_IN_NONBLOCK): Likewise.
10543         (__ASSUME_PIPE2): Likewise.
10544         (__ASSUME_EVENTFD2): Likewise.
10545         (__ASSUME_SIGNALFD4): Likewise.
10546         (__ASSUME_DUP3): Likewise.
10547         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10548         (__ASSUME_DUP3): Do not define.
10549         (__ASSUME_EVENTFD2): Likewise.
10550         (__ASSUME_IN_NONBLOCK): Likewise.
10551         (__ASSUME_O_CLOEXEC): Likewise.
10552         (__ASSUME_PIPE2): Likewise.
10553         (__ASSUME_SIGNALFD4): Likewise.
10554         (__ASSUME_SOCK_CLOEXEC): Likewise.
10555         (__ASSUME_UTIMES): Undefine.
10556         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10557         (__ASSUME_UTIMES): Do not define.
10558         (__ASSUME_O_CLOEXEC): Likewise.
10559         (__ASSUME_SOCK_CLOEXEC): Likewise.
10560         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10561         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10562         0x020621].
10563         (__ASSUME_PIPE2): Likewise.
10564         (__ASSUME_EVENTFD2): Likewise.
10565         (__ASSUME_SIGNALFD4): Likewise.
10566         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10567         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10568         Do not define.
10569         (__ASSUME_EVENTFD2): Likewise.
10570         (__ASSUME_SIGNALFD4): Likewise.
10571         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10572         (__ASSUME_32BITUIDS): Likewise.
10573         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10574         (__ASSUME_IPC64): Likewise.
10575         (__ASSUME_ST_INO_64_BIT): Likewise.
10576         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10577         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10578         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10579         (__ASSUME_UTIMES): Do not define.
10580         (__ASSUME_PSELECT): Likewise.
10581         (__ASSUME_PPOLL): Likewise.
10582         (__ASSUME_O_CLOEXEC): Likewise.
10583         (__ASSUME_SOCK_CLOEXEC): Likewise.
10584         (__ASSUME_IN_NONBLOCK): Likewise.
10585         (__ASSUME_PIPE2): Likewise.
10586         (__ASSUME_EVENTFD2): Likewise.
10587         (__ASSUME_SIGNALFD4): Likewise.
10588         (__ASSUME_DUP3): Likewise.
10589         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10590         (__ASSUME_UTIMES): Likewise.
10591         (__ASSUME_O_CLOEXEC): Likewise.
10592         (__ASSUME_SOCK_CLOEXEC): Likewise.
10593         (__ASSUME_IN_NONBLOCK): Likewise.
10594         (__ASSUME_PIPE2): Likewise.
10595         (__ASSUME_EVENTFD2): Likewise.
10596         (__ASSUME_SIGNALFD4): Likewise.
10597         (__ASSUME_DUP3): Likewise.
10598         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10599         (__ASSUME_UTIMES): Likewise.
10600         (__ASSUME_O_CLOEXEC): Likewise.
10601         (__ASSUME_SOCK_CLOEXEC): Likewise.
10602         (__ASSUME_IN_NONBLOCK): Likewise.
10603         (__ASSUME_PIPE2): Likewise.
10604         (__ASSUME_EVENTFD2): Likewise.
10605         (__ASSUME_SIGNALFD4): Likewise.
10606         (__ASSUME_DUP3): Likewise.
10607         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10608         Likewise.
10609         (__ASSUME_UTIMES): Likewise.
10610         (__ASSUME_EVENTFD2): Likewise.
10611         (__ASSUME_SIGNALFD4): Likewise.
10612         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10613         (__ASSUME_O_CLOEXEC): Likewise.
10614         (__ASSUME_SOCK_CLOEXEC): Likewise.
10615         (__ASSUME_IN_NONBLOCK): Likewise.
10616         (__ASSUME_PIPE2): Likewise.
10617         (__ASSUME_EVENTFD2): Likewise.
10618         (__ASSUME_SIGNALFD4): Likewise.
10619         (__ASSUME_DUP3): Likewise.
10620         (__ASSUME_UTIMES): Undefine.
10621
10622         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10623         feclearexcept.  Remove symbol versioning code.
10624         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10625         symbol versioning code.
10626         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10627         symbol versioning code.
10628         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10629         feupdateenv.  Remove symbol versioning code.
10630         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10631         fegetexceptflag.  Remove symbol versioning code.
10632         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10633         fesetexceptflag.  Remove symbol versioning code.
10634         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10635         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10636         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10637         (__posix_fadvise64_l32): Remove prototype.
10638         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10639         code.
10640
10641 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10642
10643         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10644         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10645         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10646         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10647
10648 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10649
10650         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10651         current working directory
10652
10653 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10654
10655         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10656         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10657         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10658         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10659         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10660         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10661         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10662         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10663         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10664         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10665         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10666         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10667         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10668         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10669         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10670         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10671         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10672         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10673         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10674         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10675         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10676         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10677         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10678         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10679         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10680         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10681         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10682         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10683         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10684         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10685         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10686         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10687         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10688         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10689         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10690         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10691         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10692         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10693         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10694         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10695         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10696         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10697
10698         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10699         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10700
10701         * sysdeps/unix/sysv/linux/arm/Makefile
10702         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10703         Add rt-aeabi_unwind_cpp_pr1.
10704         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10705         Add nptl-aeabi_unwind_cpp_pr1.
10706         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10707         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10708         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10709         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10710         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10711         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10712
10713         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10714         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10715         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10716         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10717
10718         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10719         Deconditionalize the code that was previously under [RESET_PID].
10720         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10721
10722         * sysdeps/generic/exit-thread.h: New file.
10723         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10724         * include/unistd.h (__exit_thread): Remove declaration.
10725         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10726         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10727         * csu/libc-start.c: Include <exit-thread.h>.
10728         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10729         * nptl/pthread_create.c: Include <exit-thread.h>.
10730         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10731         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10732         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10733         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10734         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10735         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10736         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10737         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10738         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10739         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10740         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10741         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10742         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10743         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10744         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10745         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10746         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10747
10748 2014-05-13  Andreas Schwab  <schwab@suse.de>
10749
10750         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10751
10752 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10753
10754         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10755         (__ASSUME_UTIMES): Do not condition on kernel version.
10756         (__ASSUME_PSELECT): Define unconditionally.
10757         (__ASSUME_PPOLL): Likewise.
10758         (__ASSUME_ATFCTS): Likewise.
10759         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10760         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10761         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10762         (__ASSUME_UTIMENSAT): Define unconditionally.
10763         (__ASSUME_PRIVATE_FUTEX): Likewise.
10764         (__ASSUME_FALLOCATE): Likewise.
10765         (__ASSUME_O_CLOEXEC): Likewise.
10766         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10767         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10768         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10769         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10770         (__ASSUME_IN_NONBLOCK): Likewise.
10771         (__ASSUME_PIPE2): Likewise.
10772         (__ASSUME_EVENTFD2): Likewise.
10773         (__ASSUME_SIGNALFD4): Likewise.
10774         (__ASSUME_DUP3): Likewise.
10775         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10776         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10777         (__ASSUME_AT_RANDOM): Likewise.
10778         (__ASSUME_PREADV): Likewise.
10779         (__ASSUME_PWRITEV): Likewise.
10780         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10781         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10782         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10783         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10784         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10785         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10786         (__ASSUME_O_CLOEXEC): Define unconditionally.
10787         (__ASSUME_PSELECT): Do not undefine conditionally.
10788         (__ASSUME_PPOLL): Likewise.
10789         (__ASSUME_ATFCTS): Likewise.
10790         (__ASSUME_SET_ROBUST_LIST): Likewise.
10791         (__ASSUME_UTIMENSAT): Likewise.
10792         (__ASSUME_FDATASYNC): Define unconditionally.
10793         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10794         (__ASSUME_SIGFRAME_V2): Likewise.
10795         )__ASSUME_EVENTFD2): Likewise.
10796         (__ASSUME_SIGNALFD4): Likewise.
10797         (__ASSUME_PSELECT): Do not undefine conditionally.
10798         (__ASSUME_PPOLL): Likewise.
10799         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10800         (__ASSUME_PSELECT): Define unconditionally.
10801         (__ASSUME_PPOLL): Likewise.
10802         (__ASSUME_O_CLOEXEC): Likewise.
10803         (__ASSUME_SOCK_CLOEXEC): Likewise.
10804         (__ASSUME_IN_NONBLOCK): Likewise.
10805         (__ASSUME_PIPE2): Likewise.
10806         (__ASSUME_EVENTFD2): Likewise.
10807         (__ASSUME_SIGNALFD4): Likewise.
10808         (__ASSUME_DUP3): Likewise.
10809         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10810         (__ASSUME_O_CLOEXEC): Likewise.
10811         (__ASSUME_SOCK_CLOEXEC): Likewise.
10812         (__ASSUME_IN_NONBLOCK): Likewise.
10813         (__ASSUME_PIPE2): Likewise.
10814         (__ASSUME_EVENTFD2): Likewise.
10815         (__ASSUME_SIGNALFD4): Likewise.
10816         (__ASSUME_DUP3): Likewise.
10817         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10818         (__ASSUME_EVENTFD2): Likewise.
10819         (__ASSUME_SIGNALFD4): Likewise.
10820         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10821
10822 2014-05-12  Andreas Schwab  <schwab@suse.de>
10823
10824         [BZ #16932]
10825         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10826         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10827         than maximum RPC packet size.
10828         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10829         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10830         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10831         (_nss_nis_getservbyport_r): Likewise.
10832
10833 2014-05-12  Will Newton  <will.newton@linaro.org>
10834
10835         * malloc/Makefile (tests): Add tst-mallopt.
10836         * malloc/tst-mallopt.c: New file.
10837
10838 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10839
10840         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10841         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10842
10843 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10844
10845         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10846         (tst-tlsmod6.so): Likewise.
10847
10848 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10849
10850         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10851
10852 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10853
10854         [BZ #16064]
10855         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10856         and <dl-procinfo.h>.
10857         (__fegetenv): Save SSE state in envp->__eip if supported.
10858         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10859         envp->__eip if supported.
10860         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10861         and <dl-procinfo.h>.
10862         (__fesetenv): Always set __eip, __cs_selector, __opcode,
10863         __data_offset and __data_selector in environment to 0.  Set SSE
10864         state if supported.
10865         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10866         test-fenv-sse.
10867         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10868         -mfpmath=sse.
10869         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10870
10871 2014-05-09  Will Newton  <will.newton@linaro.org>
10872
10873         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10874         and libc_relro_required for ARM.
10875         * sysdeps/arm/preconfigure: Regenerate.
10876
10877 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
10878             Stefan Liebler  <stli@linux.vnet.ibm.com>
10879
10880         * config.make.in (enable-lock-elision): New Makefile variable.
10881         * configure.ac: Likewise.
10882         * configure: Regenerate.
10883         * sysdeps/s390/configure.ac:
10884         Add check for gcc transactions support.
10885         * sysdeps/s390/configure: Regenerate.
10886         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10887         Build elision files if enabled.
10888         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10889         Add lock elision support for s390.
10890         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10891         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10892         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10893         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10894         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10895         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10896         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10897         Likewise.
10898         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10899         Likewise.
10900         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10901         Likewise.
10902         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10903         Likewise.
10904         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10905         (__lll_timedlock_elision, __lll_lock_elision)
10906         (__lll_unlock_elision, __lll_trylock_elision)
10907         (lll_timedlock_elision, lll_lock_elision)
10908         (lll_unlock_elision, lll_trylock_elision): Add.
10909         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10910         (pthread_mutex_t): Add lock elision support for s390.
10911
10912 2014-05-14  Wilco  <wdijkstr@arm.com>
10913
10914         * sysdeps/arm/fclrexcpt.c: Cleanup.
10915         * sysdeps/arm/fedisblxcpt.c: Cleanup.
10916         * sysdeps/arm/feenablxcpt.c: Cleanup.
10917         * sysdeps/arm/fegetenv.c: Cleanup.
10918         * sysdeps/arm/fegetexcept.c: Cleanup.
10919         * sysdeps/arm/fegetround.c: Cleanup.
10920         * sysdeps/arm/feholdexcpt.c: Cleanup.
10921         * sysdeps/arm/fesetenv.c: Cleanup.
10922         * sysdeps/arm/fesetround.c: Cleanup.
10923         * sysdeps/arm/feupdateenv.c: Cleanup.
10924         * sysdeps/arm/fgetexcptflg.c: Cleanup.
10925         * sysdeps/arm/fraiseexcpt.c: Cleanup.
10926         * sysdeps/arm/fsetexcptflg.c: Cleanup.
10927         * sysdeps/arm/ftestexcept.c: Cleanup.
10928         * sysdeps/arm/get-rounding-mode.h: Cleanup.
10929         * sysdeps/arm/setfpucw.c: Cleanup.
10930
10931 2014-05-09  Will Newton  <will.newton@linaro.org>
10932
10933         * sysdeps/arm/armv7/strcmp.S: New file.
10934         * NEWS: Mention addition of ARMv7 optimized strcmp.
10935
10936 2014-05-08  Roland McGrath  <roland@hack.frob.com>
10937
10938         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10939         look for %.ac rather than %.in.
10940
10941         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10942         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10943         * sysdeps/mach/hurd/configure: Regenerated.
10944         * sysdeps/unix/sysv/linux/configure: Regenerated.
10945
10946         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10947
10948 2014-05-07  Steve Ellcey  <sellcey@mips.com>
10949
10950         [BZ# 16922]
10951         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10952         (LONG_SUB): Ditto.
10953         (PTR_SUB): Ditto.
10954
10955 2014-05-07  Andreas Schwab  <schwab@suse.de>
10956
10957         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10958         when skipping over non-matching result from nscd.
10959
10960 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
10961
10962         [BZ #16876]
10963         * nptl/sockperf.c (client): Check socket return value.
10964
10965         [BZ #16877]
10966         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10967         nscd security class.
10968
10969 2014-05-06  Roland McGrath  <roland@hack.frob.com>
10970
10971         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10972         * sysdeps/arm/unwind.h: ... here.
10973
10974 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
10975
10976         [BZ# 16916]
10977         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10978         Define.
10979
10980 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10981
10982         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10983         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10984         multiarch strncpy for PPC64.
10985         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10986         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10988         multiarch optimizations.
10989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10990         (__libc_ifunc_impl_list): Likewise.
10991         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10992         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10993         multiarch stpncpy for PPC64.
10994         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10995         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10996
10997 2014-05-06  Andreas Schwab  <schwab@suse.de>
10998
10999         [BZ #16912]
11000         * gmon/mcount.c (_MCOUNT_DECL): Use
11001         atomic_compare_and_exchange_bool_acq instead of
11002         catomic_compare_and_exchange_bool_acq.
11003
11004 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11005
11006         * elf/Makefile (others, install-bin): Remove pldd.
11007         (pldd-modules): Variable removed.
11008         ($(objpfx)pldd): Target removed.
11009         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11010         (others, install-bin): Append pldd here.
11011         ($(objpfx)pldd): New target.
11012
11013         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11014         to 0, so the first #if test emitted later doesn't see it undefined.
11015         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11016         * sysdeps/gnu/errlist.c: Regenerated.
11017
11018 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11019
11020         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11021         [libc_hidden_builtin_def]: Define to empty value.
11022         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11023         [libc_hidden_builtin_def]: Likewise.
11024         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11025         [libc_hidden_builtin_def]: Likewise.
11026         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11027         [libc_hidden_builtin_def]: Likewise.
11028         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11029         __redirect_memcpy and define ifunc as default hidden symbol.
11030         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11031         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11032
11033 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11034
11035         * locale/iso-4217.def: Reintroduce XDR currency.
11036
11037 2014-05-04  Allan McRae  <allan@archlinux.org>
11038
11039         * po/eo.po: Update Esperanto translation from translation project.
11040
11041 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11042
11043         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11044         and FEATURE_INDEX_MAX to 1.
11045         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11046
11047 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11048
11049         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11050         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11051         * iconvdata/big5.c (ONE_DIRECTION): Define.
11052         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11053         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11054         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11055         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11056         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11057         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11058         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11059         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11060         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11061         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11062         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11063         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11064         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11065         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11066         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11067         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11068         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11069         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11070         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11071         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11072         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11073         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11074         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11075         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11076         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11077         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11078         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11079         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11080         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11081         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11082         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11083         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11084         * iconvdata/johab.c (ONE_DIRECTION): Define.
11085         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11086         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11087         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11088         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11089         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11090         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11091         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11092         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11093         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11094         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11095
11096 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11097
11098         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11099         (_IO_JUMPS_OFFSET): Define to 0.
11100
11101         * nptl/sysdeps/pthread/bits/libc-lock.h
11102         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11103         (__libc_lock_define_initialized_recursive): Always define using
11104         initializer.  Modern compilers treat uninitialized (implicit zero) and
11105         explicit zero initializers the same (i.e. put the datum in bss).
11106
11107 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11108
11109         * nscd/nscd-client.h: Include <string.h>.
11110
11111 2014-05-01  David S. Miller  <davem@davemloft.net>
11112
11113         [BZ #16885]
11114         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11115         multiple zero bytes exist at the end of a string.
11116         Reported by Aurelien Jarno <aurelien@aurel32.net>
11117
11118         * string/test-strcmp.c (check): Add explicit test for situations where
11119         there are multiple zero bytes after the first.
11120
11121 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11122
11123         [BZ #16890]
11124         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11125         when compiling wprintf.
11126         * stdio-common/tstdiomisc.c (t3): New function.
11127         (main): Call it.
11128
11129 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11130
11131         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11132         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11133         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11134         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11135
11136 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11137
11138         * stdlib/longlong.h: Updated from GCC.
11139
11140 2014-05-01  Will Newton  <will.newton@linaro.org>
11141             Bernard Ogden  <bernie.ogden@linaro.org>
11142
11143         * NEWS: Update fixed bug list.
11144
11145         [BZ #15119]
11146         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11147
11148 2014-04-30  David S. Miller  <davem@davemloft.net>
11149
11150         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11151         (libc_feholdexcept_setround_sparc_ctx): New function.
11152         (libc_fesetenv_sparc_ctx): Likewise.
11153         (libc_feupdateenv_sparc_ctx): Likewise.
11154         (libc_feholdsetround_sparc_ctx): Likewise.
11155         (libc_feholdexcept_setround_ctx): Define.
11156         (libc_feholdexcept_setroundf_ctx): Likewise.
11157         (libc_feholdexcept_setroundl_ctx): Likewise.
11158         (libc_fesetenv_ctx): Likewise.
11159         (libc_fesetenvf_ctx): Likewise.
11160         (libc_fesetenvl_ctx): Likewise.
11161         (libc_feupdateenv_ctx): Likewise.
11162         (libc_feupdateenvf_ctx): Likewise.
11163         (libc_feupdateenvl_ctx): Likewise.
11164         (libc_feresetround_ctx): Likewise.
11165         (libc_feresetroundf_ctx): Likewise.
11166         (libc_feresetroundl_ctx): Likewise.
11167         (libc_feholdsetround_ctx): Likewise.
11168         (libc_feholdsetroundf_ctx): Likewise.
11169         (libc_feholdsetroundl_ctx): Likewise.
11170
11171         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11172         with __USE_GNU instead of XOPEN cpp guards.
11173
11174         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11175         0.
11176
11177         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11178         with XOPEN cpp guards.
11179
11180 2014-04-30  Julian Brown  <julian@codesourcery.com>
11181
11182         [BZ #16888]
11183         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11184         handling.
11185
11186 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11187
11188         [BZ #9894]
11189         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11190         Change to 2.6.32.
11191         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11192         * sysdeps/unix/sysv/linux/configure: Regenerated.
11193         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11194         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11195         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11196         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11197         * README: Update reference to required Linux kernel version.
11198         * manual/install.texi (Linux): Update reference to required Linux
11199         kernel headers version.
11200         * INSTALL: Regenerated.
11201
11202         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11203         header inclusion.
11204         [POSIX] (limits.h): Likewise.
11205         [POSIX] (math.h): Likewise.
11206         [POSIX] (sys/wait.h): Likewise.
11207         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11208         function.
11209         [POSIX] (stddef.h): Do not allow header inclusion.
11210
11211 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11212
11213         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11214
11215 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11216
11217         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11218         Return immediately after lll_futex_wake.
11219
11220 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11221
11222         [BZ #16791]
11223         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11224         structure.
11225         (datahead_init_pos): Call datahead_init_common early.
11226         (datahead_init_neg): Likewise.
11227
11228         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11229         datahead_init_neg): New functions.
11230         * nscd/aicache.c (addhstaiX): Use them.
11231         * nscd/grpcache.c (cache_addgr): Likewise.
11232         * nscd/hstcache.c (cache_addhst): Likewise.
11233         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11234         * nscd/netgroupcache.c (do_notfound): Likewise.
11235         (addgetnetgrentX): Likewise.
11236         (addinnetgrX): Likewise.
11237         * nscd/pwdcache.c (cache_addpw): Likewise.
11238         * nscd/servicescache.c (cache_addserv): Likewise.
11239
11240 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11241             Atsushi Onoe  <atsushi@onoe.org>
11242
11243         [BZ #14308]
11244         [BZ #12994]
11245         [BZ #13651]
11246         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11247         one response is valid.
11248         * resolv/res_send.c (send_dg): Check for validity of other
11249         response if the current response is a referral.
11250
11251 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11252
11253         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11254
11255 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11256
11257         [BZ #16823]
11258         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11259         Always divide by positive zero when computing -Inf result.
11260         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11261         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11262
11263 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11264
11265         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11266         FPSCR if value do not change.
11267         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11268         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11269         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11270         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11271         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11272         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11273         function.
11274
11275 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11276
11277         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11278         * sysdeps/unix/sysv/linux/hppa: Move directory from
11279         ports/systeps/unix/sysv/linux/hppa.
11280         * README: Update listing for hppa-*-linux-gnu.
11281
11282 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11283
11284         [BZ #16754]
11285         * manual/stdio.texi (Hook functions): Fix types of stream hook
11286         functions.
11287         [BZ #16854]
11288         * socket/sys/socket.h: Fix typo in comment.
11289
11290 2014-04-28  Wilco  <wdijkstr@arm.com>
11291
11292         * sysdeps/arm/fenv_private.h: New file.
11293         * sysdeps/arm/math_private.h: New file.
11294         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11295
11296 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11297
11298         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11299         with __int128_t.
11300         (La_x86_64_retval): Likewise.
11301
11302 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11303
11304         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11305         fpsr if value didn't change.
11306         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11307         to fpcr if value didn't change.
11308         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11309         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11310         fpsr or fpcr if value didn't change.
11311         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11312         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11313         fpcr if value didn't change.
11314         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11315         to fpsr if value didn't change.
11316
11317 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11318
11319         * nptl/tst-sem3.c: Use test-skeleton.c
11320         (main): Rename to do_test.  Use return instead of
11321         exit.
11322         * nptl/tst-sem4.c: Use test-skeleton.c
11323         (main): Rename to do_test.
11324
11325 2014-04-22  David S. Miller  <davem@davemloft.net>
11326
11327         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11328         (struct sigaction): New struct member __glibc_reserved0, change
11329         type of sa_flags to int.
11330
11331 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11332
11333         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11334         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11335
11336 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11337
11338         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11339         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11340
11341 2014-04-22  Will Newton  <will.newton@linaro.org>
11342             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11343
11344         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11345         (__longjmp): Add longjmp and longjmp_target SystemTap
11346         probes.
11347         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11348         (__sigsetjmp): Add setjmp SystemTap probe.
11349
11350 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11351
11352         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11353         match manual order.
11354
11355 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11356
11357         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11358
11359         * sysdeps/powerpc/fpu/fenv_private.h
11360         (libc_feholdexcept_setroundl_ctx): Define to
11361         libc_feholdexcept_setround_ppc_ctx.
11362         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11363         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11364         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11365         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11366
11367 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11368
11369         * sysdeps/aarch64/math-tests.h: New file.
11370
11371 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11372
11373         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11374         New.
11375         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11376         Check and set bit_AVX2_Usable.
11377         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11378         macro.
11379         (bit_AVX2): Likewise.
11380         (index_AVX2_Usable): Likewise.
11381         (CPUID_AVX2): Likewise.
11382         (HAS_AVX2): Likewise.
11383
11384 2014-04-17  Will Newton  <will.newton@linaro.org>
11385
11386         * manual/setjmp.texi (System V contexts): Add note that
11387         calling setcontext on a context created by a call to a
11388         signal handler is undefined.  Update text to note that
11389         setcontext from a signal handler is possible but not
11390         recommended.
11391
11392         [BZ #16629]
11393         * stdlib/tst-setcontext.c: Include signal.h.
11394         (main): Check that the signal stack before and
11395         after swapcontext is the same.
11396
11397         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11398         Re-implement to restore registers in user code and avoid
11399         rt_sigreturn system call.
11400
11401 2014-04-17  Wilco  <wdijkstr@arm.com>
11402
11403         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11404         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11405         * math/test-fenv.c: Skip exception trap tests on targets which only
11406         support non-stop mode.
11407
11408 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11409             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11410
11411         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11412         (libc_feholdsetround_aarch64_ctx)
11413         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11414         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11415         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11416         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11417         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11418         (libc_feresetround_noexl_ctx): Define.
11419
11420 2014-04-16  Richard Henderson  <rth@redhat.com>
11421
11422         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11423
11424         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11425         unwind tables.
11426
11427         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11428         const from the non-libc, non-ldso copy.
11429
11430         * sysdeps/alpha/libm-test-ulps: Regenerate.
11431
11432 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11433             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11434
11435         * sysdeps/aarch64/fpu/math_private.h: New file.
11436
11437 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11438
11439         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11440
11441 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11442
11443         [BZ #16275]
11444         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11445         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11446         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11447         Intel MPX bound registers before _dl_profile_fixup.
11448         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11449         registers after _dl_profile_fixup.  Save and restore bound
11450         registers bnd0/bnd1 when calling _dl_call_pltexit.
11451         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11452         (LR_BND_OFFSET): Likewise.
11453         (LRV_BND0_OFFSET): Likewise.
11454         (LRV_BND1_OFFSET): Likewise.
11455
11456 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11457
11458         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11459         to...
11460         * sysdeps/mach/hurd/i386/tls.h: ... here.
11461         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11462         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11463         fields.
11464
11465 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11466
11467         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11468
11469 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11470
11471         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11472
11473 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11474
11475         [BZ #14770]
11476         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11477         * sysdeps/s390/configure: Regenerate.
11478
11479         [BZ #16824]
11480         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11481         Set round-to-nearest internally to reduce error accumulation.
11482
11483 2014-04-16  Alan Modra  <amodra@gmail.com>
11484
11485         [BZ #16740]
11486         [BZ #16619]
11487         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11488         * math/libm-test.inc (frexp_test_data): Add tests.
11489         * NEWS: Update fixed bug list.
11490
11491 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11492
11493         * benchtests/Makefile: Depend on libraries in build directory.
11494         (bench-math): Separate out math tests.
11495         (bench-pthread): Separate out pthread tests.
11496         (bench): Include math and pthread tests.
11497
11498 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11499
11500         [BZ #16831]
11501         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11502         _dl_debug_initialize.
11503
11504         * configure.ac: Remove SELinux header check.
11505         * configure: Regenerate.
11506         * nscd/selinux.c (perms): Array of const char* to permission names.
11507         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11508         default policy. Call string_to_security_class and string_to_av_perm to
11509         translate strings. Enforce default policy and call avs_has_perm with
11510         results of translated strings.
11511
11512 2014-04-13  David S. Miller  <davem@davemloft.net>
11513
11514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11515
11516 2014-04-12  Allan McRae  <allan@archlinux.org>
11517
11518         [BZ #16838]
11519         * manual/string.texi (Collation Functions): Fix qsort argument
11520         order in example.
11521         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11522
11523 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11524
11525         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11526         Make the test a no-op if there are no exceptions defined.
11527
11528 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11529
11530         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11531         enable-hardcoded-path-in-tests
11532
11533 2014-04-11  Will Newton  <will.newton@linaro.org>
11534
11535         * benchtests/Makefile (extra-objs): Add json-lib.o.
11536         (bench-func): Tidy up JSON output.
11537         * benchtests/bench-skeleton.c: Include json-lib.h.
11538         (main): Use JSON library functions to do output of
11539         benchmark results.
11540         * benchtests/bench-timing-type.c (main): Output the
11541         timing type simply, leaving formatting to the user.
11542         * benchtests/json-lib.c: New file.
11543         * benchtests/json-lib.h: Likewise.
11544
11545 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11546
11547         [BZ #15215]
11548         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11549         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11550         memory barriers.  Add comments.
11551         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11552         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11553         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11554         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11555         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11556         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11557
11558 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11559
11560         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11561         * sysdeps/s390/s390-64/configure.ac: ... this ...
11562         * sysdeps/s390/configure.ac: ... to here.
11563         * sysdeps/s390/s390-32/configure: Delete file.
11564         * sysdeps/s390/s390-64/configure: Delete file.
11565         * sysdeps/s390/configure: Regenerate.
11566
11567 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11568
11569         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11570
11571 2014-04-11  Will Newton  <will.newton@linaro.org>
11572
11573         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11574         to zero if it is not defined elsewhere.  (mtrim): Test
11575         the value of MALLOC_DEBUG with #if rather than #ifdef.
11576
11577 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11578
11579         * benchtests/pthread_once-inputs: New file.
11580         * benchtests/pthread_once-source.c: New file.
11581         * benchtests/README: Update documentation.
11582
11583 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11584             H.J. Lu  <hongjiu.lu@intel.com>
11585
11586         [BZ #16275]
11587         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11588         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11589         * sysdeps/x86_64/configure: Regenerated.
11590         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11591         macro.
11592         (REGISTER_SAVE_RAX): Likewise.
11593         (REGISTER_SAVE_RCX): Likewise.
11594         (REGISTER_SAVE_RDX): Likewise.
11595         (REGISTER_SAVE_RSI): Likewise.
11596         (REGISTER_SAVE_RDI): Likewise.
11597         (REGISTER_SAVE_R8): Likewise.
11598         (REGISTER_SAVE_R9): Likewise.
11599         (REGISTER_SAVE_BND0): Likewise.
11600         (REGISTER_SAVE_BND1): Likewise.
11601         (REGISTER_SAVE_BND2): Likewise.
11602         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11603         bound registers when calling _dl_fixup.
11604
11605 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11606
11607         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11608         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11609         of its definition.
11610         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11611         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11612         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11613         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11614         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11615         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11616         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11617
11618 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11619
11620         [BZ #15514]
11621         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11622         pathconf(_PC_NAME_MAX).
11623
11624 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11625
11626         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11627         Remove macro usage.
11628         (__PTHREAD_SPINS): Move definition to ...
11629         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11630         (__PTHREAD_SPINS): ... here.
11631         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11632         (__PTHREAD_SPIN): Likewise.
11633         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11634         (__PTHREAD_SPIN): Likewise.
11635         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11636         (__PTHREAD_SPIN): Likewise.
11637         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11638         (__PTHREAD_SPIN): Likewise.
11639         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11640         (__PTHREAD_SPIN): Likewise.
11641         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11642         (__PTHREAD_SPIN): Likewise.
11643         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11644         (__PTHREAD_SPIN): Likewise.
11645         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11646         (__PTHREAD_SPIN): Likewise.
11647         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11648         (__PTHREAD_SPIN): Likewise.
11649         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11650         (__PTHREAD_SPIN): Likewise.
11651         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11652         (__PTHREAD_SPIN): Likewise.
11653         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11654         (__PTHREAD_SPIN): Likewise.
11655
11656         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11657         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11658         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11659         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11660         imply folder.
11661         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11662         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11663         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11664         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11665         correct imply path.
11666         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11667         strlen symbol for non multi-arch builds.
11668         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11669         missing hidden_def and weak_alias.
11670
11671 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11672
11673         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11674
11675 2014-04-07  Will Newton  <will.newton@linaro.org>
11676
11677         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11678         and contents.  [!_LIBC] Remove #ifndef and contents.
11679         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11680         * string/memccpy.c (__memccpy): Use ANSI prototype.
11681         * string/memfrob.c (memfrob): Likewise.
11682         * string/strcoll.c (STRCOLL): Likewise.
11683         * string/strlen.c (strlen): Likewise.
11684         * string/strtok.c (STRTOK): Likewise.
11685         * string/strcat.c: Remove unused #include of memcopy.h.
11686         (strcat): Use ANSI prototype.
11687         * string/strchr.c: Remove unused #include of memcopy.h.
11688         (strchr): Use ANSI prototype.
11689         * string/strcmp.c: Remove unused #include of memcopy.h.
11690         (strcmp): Use ANSI prototype.
11691         * string/strcpy.c: Remove unused #include of memcopy.h.
11692         (strcpy): Use ANSI prototype.
11693
11694 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11695
11696         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11697         * config.make.in (config-extra-cppflags): Set it from
11698         libc_extra_cppflags.
11699         * configure.ac (libc_extra_cflags): Make it accumulate over
11700         configure fragments.
11701         (libc_extra_cppflags): New flag.
11702         * configure. Regenerate.
11703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11704         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11705         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11707
11708         [BZ #16815]
11709         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11710         result for FE_DOWNWARD rounding mode.
11711         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11712         Likewise.
11713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11714
11715 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11716
11717         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11718         in function argument name.
11719
11720 2014-04-03  David Svoboda  <svoboda@cert.org>
11721
11722         [BZ #5666]
11723         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11724         explicitly.
11725
11726 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11727
11728         * elf/dl-unmap-segments.h: New file.
11729         * sysdeps/generic/ldsodefs.h
11730         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11731         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11732         * elf/dl-fptr.c: Likewise.
11733         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11734         * sysdeps/aarch64/tlsdesc.c: Likewise.
11735         * sysdeps/arm/tlsdesc.c: Likewise.
11736         * sysdeps/i386/tlsdesc.c: Likewise.
11737         * sysdeps/tile/dl-runtime.c: Likewise.
11738         * sysdeps/x86_64/tlsdesc.c: Likewise.
11739         * elf/dl-load.h: New file.
11740         * elf/dl-load.c: Include it.
11741         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11742         Macros moved to dl-load.h.
11743         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11744         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11745         Use _dl_unmap_segments in place of __munmap.
11746         Break out segment-mapping loop into ...
11747         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11748
11749 2014-04-03  Will Newton  <will.newton@linaro.org>
11750
11751         * elf/dl-lookup.c (do_lookup_x): Remove comment
11752         referring to nested function and move variable
11753         declarations down to before first use.
11754
11755 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11756
11757         [BZ #16799]
11758         [BZ #16800]
11759         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11760         with 0 numerator.
11761         * math/s_catanf.c (__catanf): Likewise.
11762         * math/s_catanh.c (__catanh): Likewise.
11763         * math/s_catanhf.c (__catanhf): Likewise.
11764         * math/s_catanhl.c (__catanhl): Likewise.
11765         * math/s_catanl.c (__catanl): Likewise.
11766         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11767         by positive zero when computing -Inf result.
11768         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11769         (catanh_test): Likewise.
11770         * sysdeps/i386/fpu/libm-test-ulps: Update.
11771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11772
11773         [BZ #16789]
11774         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11775         instead of using underflowing value in computing result.
11776         * math/s_clog10.c (__clog10): Likewise.
11777         * math/s_clog10f.c (__clog10f): Likewise.
11778         * math/s_clog10l.c (__clog10l): Likewise.
11779         * math/s_clogf.c (__clogf): Likewise.
11780         * math/s_clogl.c (__clogl): Likewise.
11781         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11782         (clog10_test): Likewise.
11783         * sysdeps/i386/fpu/libm-test-ulps: Update.
11784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11785
11786 2014-04-02  Alan Modra  <amodra@gmail.com>
11787
11788         [BZ #16739]
11789         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11790         output when value is near a power of two.  Use int64_t for lx and
11791         remove casts.  Use decimal rather than hex exponent constants.
11792         Don't use long double multiplication when double will suffice.
11793         * math/libm-test.inc (nextafter_test_data): Add tests.
11794         * NEWS: Add 16739 and 16786 to bug list.
11795
11796         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11797
11798         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11799
11800 2014-04-01  Will Newton  <will.newton@linaro.org>
11801
11802         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11803         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11804
11805 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11806
11807         [BZ #13347]
11808         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11809         * nptl/tst-setuid2.c: New file.
11810         * nptl/Makefile (xtests): Add tst-setuid2.
11811
11812 2014-04-01  Alan Modra  <amodra@gmail.com>
11813
11814         [BZ #16786]
11815         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11816
11817 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11818
11819         [BZ #6803]
11820         [BZ #6804]
11821         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11822         set errno as appropriate.
11823         * math/w_scalbf.c (__scalbf): Likewise.
11824         * math/w_scalbl.c (__scalbl): Likewise.
11825         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11826         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11827         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11828         Add more NaN tests.
11829
11830         [BZ #16349]
11831         * math/w_atan2.c: Include <errno.h>.
11832         (__atan2): Set errno for result underflowing to zero.
11833         * math/w_atan2f.c: Include <errno.h>.
11834         (__atan2f): Set errno for result underflowing to zero.
11835         * math/w_atan2l.c: Include <errno.h>.
11836         (__atan2l): Set errno for result underflowing to zero.
11837         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11838         tests.
11839         * math/auto-libm-test-out: Regenerated.
11840
11841 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11842
11843         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11844         Encode instruction correctly in little endian.
11845         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11846         Likewise.
11847         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11848         Likewise.
11849         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11850         Likewise.
11851         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11852         Likewise.
11853
11854 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11855
11856         [BZ #9894]
11857         * sysdeps/unix/sysv/linux/kernel-features.h
11858         [__sparc__ && !__arch64__ && !__sparc_v9__]
11859         (__ASSUME_SET_ROBUST_LIST): Do not define.
11860         [__sparc__ && !__arch64__ && !__sparc_v9__]
11861         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11862         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11863         Likewise.
11864         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11865         (__ASSUME_FUTEX_LOCK_PI): Undefine.
11866         (__ASSUME_REQUEUE_PI): Likewise.
11867         (__ASSUME_SET_ROBUST_LIST): Likewise.
11868         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11869         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11870         Undefine.
11871         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11872         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11873         Likewise.
11874         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11875         Likewise.
11876         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11877         Likewise.
11878         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11879         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11880         Undefine.
11881         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11882         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11883         Likewise.
11884
11885         [BZ #16648]
11886         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11887         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11888         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11889
11890 2014-03-31  Will Newton  <will.newton@linaro.org>
11891
11892         * benchtests/Makefile (bench): Add ffs and ffsll to list
11893         of tests.
11894         * benchtests/ffs-inputs: New file.
11895         * benchtests/ffsll-inputs: Likewise.
11896
11897 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
11898
11899         [BZ #16770]
11900         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11901         too large before casting to int.
11902         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11903         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11904         * math/libm-test.inc (scalb_test_data): Add more tests.
11905
11906 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11907
11908         * benchtests/Makefile (DETAILED_OPT): New make option.
11909         (bench-func): Run benchmark program with -d if DETAILED_OPT is
11910         set.
11911         * benchtests/bench-skeleton.c: Include stdbool.h.
11912         (main): Store and print timings per input.
11913         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11914         member to each argument value.
11915         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11916         (_print_arg_data): Initialize per-input timing to 0.
11917
11918         * benchtests/Makefile (timing-type): New binary.
11919         (bench-clean): Also remove bench-timing-type.
11920         (bench): New target for timing-type.
11921         (bench-func): Print output in JSON format.
11922         * benchtests/bench-skeleton.c (main): Print output in JSON
11923         format.
11924         * benchtests/bench-timing-type.c: New file.
11925         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11926         (TIMING_PRINT_STATS): Remove.
11927         * benchtests/scripts/bench.py (_print_arg_data): Store variant
11928         name separately.
11929
11930         * benchtests/bench-modf.c: Remove.
11931         * benchtests/modf-inputs: New inputs file.
11932
11933 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
11934
11935         [BZ #16362]
11936         * math/s_clog10.c (M_PI_LOG10E): New macro.
11937         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11938         imaginary parts are 0.
11939         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11940         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11941         imaginary parts are 0.
11942         * math/s_clog10l.c (M_PI_LOG10El): New macro.
11943         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11944         imaginary parts are 0.
11945         * math/libm-test.inc (clog10_test_data): Update expected results
11946         for when real and imaginary parts are 0.
11947
11948 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
11949
11950         * elf/dl-load.c: Finish conversion of __builtin_expect into
11951         __glibc_{un}likely.
11952
11953 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
11954
11955         [BZ #16348]
11956         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11957         1+x for argument with exponent below -67.
11958         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11959         Likewise.
11960         * math/auto-libm-test-in: Add more tests of exp.
11961         * math/auto-libm-test-out: Regenerated.
11962
11963 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11964
11965         [BZ #16759]
11966         * inet/getnetgrent_r.c (get_nonempty_val): New function.
11967         (nscd_getnetgrent): Use it.
11968
11969         [BZ #16760]
11970         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11971         of stpcpy.
11972
11973 2014-03-27  Andi Kleen  <ak@linux.intel.com>
11974
11975         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11976         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11977         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11978         (lll_robust_unlock): Remove out of line section. Use cfi
11979         intrinsics.
11980         (LLL_STUB_UNWIND_INFO*): Remove.
11981         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11982         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11983         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11984         (lll_robust_unlock): Remove out of line section. Use cfi
11985         intrinsics.
11986         (LLL_STUB_UNWIND_INFO*): Remove.
11987
11988 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11989
11990         [BZ #16758]
11991         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11992         blank values.
11993
11994 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11995
11996         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11997
11998 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
11999
12000         [BZ #16198]
12001         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12002         fnstenv.
12003         * math/test-fenv-preserve.c: New file.
12004         * math/Makefile (tests): Add test-fenv-preserve.
12005
12006 2014-03-26  Will Newton <will.newton@linaro.org>
12007
12008         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12009
12010 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12011
12012         * scripts/versionlist.awk: Partition the version sets and emit all
12013         GLIBC_* (sorted) before all others (sorted).
12014
12015 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12016
12017         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12018         GLIBC_2.2.5 version.
12019
12020 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12021
12022         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12023         calls.
12024
12025         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12026         previous change.
12027
12028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12029
12030 2014-03-25  Andreas Schwab  <schwab@suse.de>
12031
12032         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12033         label to be used after in6ailist is initialized.
12034
12035 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12036
12037         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12038         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12039
12040 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12041
12042         [BZ #16357]
12043         [BZ #16599]
12044         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12045         min_plus_half.
12046         (fp_formats): Update initializers.
12047         (init_fp_formats): Initialize new field.
12048         (output_for_one_input_case): Allow underflow for results up to
12049         min_plus_half.
12050         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12051         * math/auto-libm-test-in: Don't mark some underflows from asin and
12052         atanh as spurious.
12053         * math/auto-libm-test-out: Regenerated.
12054         * sysdeps/i386/fpu/libm-test-ulps: Update.
12055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12056
12057 2014-03-25  Andreas Schwab  <schwab@suse.de>
12058
12059         * libio/Makefile (tst-ftell-partial-wide-ENV)
12060         (tst-ftell-active-handler-ENV): Define.
12061
12062 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12063
12064         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12065
12066 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12067
12068         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12069
12070 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12071
12072         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12073         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12074         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12075
12076 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12077
12078         [BZ #16634]
12079         * elf/dl-load.c (open_verify): Add mode parameter.
12080         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12081         (open_path): Change from boolean 'secure' to complete flag 'mode'
12082         (_dl_map_object): Adjust.
12083         * elf/Makefile (tests): Add tst-dlopen-aout.
12084         * elf/tst-dlopen-aout.c: New test.
12085
12086 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12087
12088         [BZ #16714]
12089         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12090         (struct stat): Rename member pad0 to __glibc_reserved0.
12091
12092         [BZ #16712]
12093         * sysdeps/s390/s390-32/bits/wordsize.h
12094         (__WORDSIZE32_SIZE_ULONG): New define.
12095         * sysdeps/s390/s390-64/bits/wordsize.h
12096         (__WORDSIZE32_SIZE_ULONG): Likewise.
12097         * sysdeps/generic/stdint.h (SIZE_MAX):
12098         Define as UL if __WORDSIZE32_SIZE_ULONG.
12099
12100         [BZ #16713]
12101         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12102         (__glibc_reserved0): New variable.
12103         (sa_flags): Change type to int.
12104
12105         * posix/Makefile (before-compile): Use += before-compile instead
12106         of a :=.
12107
12108         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12109         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12110
12111 2014-03-20  Andreas Schwab  <schwab@suse.de>
12112
12113         [BZ #16743]
12114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12115         non-matching result from nscd.
12116
12117 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12118
12119         * scripts/bench.py: Moved to ...
12120         * benchtests/scripts/bench.py: ... here.
12121         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12122
12123 2014-03-24  Andreas Schwab  <schwab@suse.de>
12124
12125         [BZ #16002]
12126         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12127         alloca_account and account alloca use for struct in6ailist.
12128
12129 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12130
12131         [BZ #16284]
12132         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12133         rounding mode to recompute results that overflow to infinity or
12134         underflow to zero.
12135         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12136         bug 16284.
12137         * math/auto-libm-test-out: Regenerated.
12138         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12139         (ccosh_test): Likewise.
12140         (csin_test_data): Use plus_oflow.
12141         (csin_test): Use ALL_RM_TEST.
12142         (csinh_test_data): Use plus_oflow.
12143         (csinh_test): Use ALL_RM_TEST.
12144         * sysdeps/i386/fpu/libm-test-ulps: Update.
12145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12146
12147 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12148
12149         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12150         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12151         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12152
12153         [BZ #16731]
12154         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12155         when x - 1 is zero.
12156         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12157         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12158         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12159         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12160         argument is 1.
12161         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12162         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12163         zero.
12164         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12165         * sysdeps/i386/fpu/libm-test-ulps: Update.
12166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12167
12168 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12169
12170         * scripts/bench.pl: Remove file.
12171         * scripts/bench.py: New benchmark script.
12172         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12173         * benchtests/README: Mention python dependency.
12174         * scripts/pylintrc: New file.
12175         * scripts/pylint: New file.
12176
12177         * bits/mathdef.h: Use #ifdef instead of #if.
12178         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12179         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12180         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12181         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12182         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12183         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12184
12185 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12186             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12187
12188         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12190         and strpbrk-ppc64 objects.
12191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12192         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12193         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12194         multiarch strpbrk for POWER7.
12195         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12196         multiarch strpbrk for PPC64.
12197         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12198         ifunc selector.
12199         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12200         strpbrk for POWER7.
12201
12202 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12203
12204         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12205         (atan_test): Likewise.
12206         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12207         (atanh_test): Use ALL_RM_TEST.
12208         (atan2_test_data): Likewise.
12209         (cabs_test): Likewise.
12210         (cacosh_test): Likewise.
12211         (carg_test): Likewise.
12212         (casin_test): Likewise.
12213         (casinh_test): Likewise.
12214         (cbrt_test): Likewise.
12215         (csqrt_test): Likewise.
12216         (erf_test): Likewise.
12217         (erfc_test): Likewise.
12218         (pow10_test): Likewise.
12219         (exp2_test): Likewise.
12220         (hypot_test): Likewise.
12221         (j0_test): Likewise.
12222         (j1_test): Likewise.
12223         (lgamma_test): Likewise.
12224         (gamma_test): Likewise.
12225         (sincos_test): Likewise.
12226         (tanh_test): Likewise.
12227         (y0_test): Likewise.
12228         (y1_test): Likewise.
12229         * sysdeps/i386/fpu/libm-test-ulps: Update.
12230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12231
12232 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12233
12234         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12236         and strcspn-ppc64 objects.
12237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12238         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12239         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12240         multiarch strcspn for POWER7.
12241         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12242         multiarch strcspn for PPC64.
12243         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12244         ifunc selector.
12245         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12246         strcspn for POWER7.
12247
12248 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12249
12250         * math/gen-libm-test.pl (generate_testfile): Expect only function
12251         name as argument to AUTO_TESTS_* and pass results for all rounding
12252         modes to parse_args.
12253         (parse_auto_input): Separate inputs of automatic tests from
12254         outputs before storing in %auto_tests.
12255         * math/libm-test.inc (acos_test_data): Update call to
12256         AUTO_TESTS_f_f.
12257         (acos_test): Use ALL_RM_TEST.
12258         (acos_tonearest_test_data): Remove.
12259         (acos_test_tonearest): Likewise.
12260         (acos_towardzero_test_data): Likewise.
12261         (acos_test_towardzero): Likewise.
12262         (acos_downward_test_data): Likewise.
12263         (acos_test_downward): Likewise.
12264         (acos_upward_test_data): Likewise.
12265         (acos_test_upward): Likewise.
12266         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12267         (asin_test_data): Likewise.
12268         (asin_test): Use ALL_RM_TEST.
12269         (asin_tonearest_test_data): Remove.
12270         (asin_test_tonearest): Likewise.
12271         (asin_towardzero_test_data): Likewise.
12272         (asin_test_towardzero): Likewise.
12273         (asin_downward_test_data): Likewise.
12274         (asin_test_downward): Likewise.
12275         (asin_upward_test_data): Likewise.
12276         (asin_test_upward): Likewise.
12277         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12278         (atan_test_data): Likewise.
12279         (atanh_test_data): Likewise.
12280         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12281         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12282         (carg_test_data): Likewise.
12283         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12284         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12285         (ccosh_test_data): Likewise.
12286         (cexp_test_data): Likewise.
12287         (clog_test_data): Likewise.
12288         (clog10_test_data): Likewise.
12289         (cos_test_data): Update call to AUTO_TESTS_f_f.
12290         (cos_test): Use ALL_RM_TEST.
12291         (cos_tonearest_test_data): Remove.
12292         (cos_test_tonearest): Likewise.
12293         (cos_towardzero_test_data): Likewise.
12294         (cos_test_towardzero): Likewise.
12295         (cos_downward_test_data): Likewise.
12296         (cos_test_downward): Likewise.
12297         (cos_upward_test_data): Likewise.
12298         (cos_test_upward): Likewise.
12299         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12300         (cosh_test): Use ALL_RM_TEST.
12301         (cosh_tonearest_test_data): Remove.
12302         (cosh_test_tonearest): Likewise.
12303         (cosh_towardzero_test_data): Likewise.
12304         (cosh_test_towardzero): Likewise.
12305         (cosh_downward_test_data): Likewise.
12306         (cosh_test_downward): Likewise.
12307         (cosh_upward_test_data): Likewise.
12308         (cosh_test_upward): Likewise.
12309         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12310         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12311         (ctan_test_data): Likewise.
12312         (ctan_test): Use ALL_RM_TEST.
12313         (ctan_tonearest_test_data): Remove.
12314         (ctan_test_tonearest): Likewise.
12315         (ctan_towardzero_test_data): Likewise.
12316         (ctan_test_towardzero): Likewise.
12317         (ctan_downward_test_data): Likewise.
12318         (ctan_test_downward): Likewise.
12319         (ctan_upward_test_data): Likewise.
12320         (ctan_test_upward): Likewise.
12321         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12322         (ctanh_test): Use ALL_RM_TEST.
12323         (ctanh_tonearest_test_data): Remove.
12324         (ctanh_test_tonearest): Likewise.
12325         (ctanh_towardzero_test_data): Likewise.
12326         (ctanh_test_towardzero): Likewise.
12327         (ctanh_downward_test_data): Likewise.
12328         (ctanh_test_downward): Likewise.
12329         (ctanh_upward_test_data): Likewise.
12330         (ctanh_test_upward): Likewise.
12331         (erf_test_data): Update call to AUTO_TESTS_f_f.
12332         (erfc_test_data): Likewise.
12333         (exp_test_data): Likewise.
12334         (exp_test): Use ALL_RM_TEST.
12335         (exp_tonearest_test_data): Remove.
12336         (exp_test_tonearest): Likewise.
12337         (exp_towardzero_test_data): Likewise.
12338         (exp_test_towardzero): Likewise.
12339         (exp_downward_test_data): Likewise.
12340         (exp_test_downward): Likewise.
12341         (exp_upward_test_data): Likewise.
12342         (exp_test_upward): Likewise.
12343         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12344         (exp10_test): Use ALL_RM_TEST.
12345         (exp10_tonearest_test_data): Remove.
12346         (exp10_test_tonearest): Likewise.
12347         (exp10_towardzero_test_data): Likewise.
12348         (exp10_test_towardzero): Likewise.
12349         (exp10_downward_test_data): Likewise.
12350         (exp10_test_downward): Likewise.
12351         (exp10_upward_test_data): Likewise.
12352         (exp10_test_upward): Likewise.
12353         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12354         (expm1_test_data): Likewise.
12355         (expm1_test): Use ALL_RM_TEST.
12356         (expm1_tonearest_test_data): Remove.
12357         (expm1_test_tonearest): Likewise.
12358         (expm1_towardzero_test_data): Likewise.
12359         (expm1_test_towardzero): Likewise.
12360         (expm1_downward_test_data): Likewise.
12361         (expm1_test_downward): Likewise.
12362         (expm1_upward_test_data): Likewise.
12363         (expm1_test_upward): Likewise.
12364         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12365         (fma_test): Use ALL_RM_TEST.
12366         (fma_towardzero_test_data): Remove.
12367         (fma_test_towardzero): Likewise.
12368         (fma_downward_test_data): Likewise.
12369         (fma_test_downward): Likewise.
12370         (fma_upward_test_data): Likewise.
12371         (fma_test_upward): Likewise.
12372         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12373         (j0_test_data): Update call to AUTO_TESTS_f_f.
12374         (j1_test_data): Likewise.
12375         (jn_test_data): Update call to AUTO_TESTS_if_f.
12376         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12377         (log_test_data): Update call to AUTO_TESTS_f_f.
12378         (log10_test_data): Likewise.
12379         (log1p_test_data): Likewise.
12380         (log2_test_data): Likewise.
12381         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12382         (pow_tonearest_test_data): Likewise.
12383         (sin_test_data): Update call to AUTO_TESTS_f_f.
12384         (sin_test): Use ALL_RM_TEST.
12385         (sin_tonearest_test_data): Remove.
12386         (sin_test_tonearest): Likewise.
12387         (sin_towardzero_test_data): Likewise.
12388         (sin_test_towardzero): Likewise.
12389         (sin_downward_test_data): Likewise.
12390         (sin_test_downward): Likewise.
12391         (sin_upward_test_data): Likewise.
12392         (sin_test_upward): Likewise.
12393         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12394         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12395         (sinh_test): Use ALL_RM_TEST.
12396         (sinh_tonearest_test_data): Remove.
12397         (sinh_test_tonearest): Likewise.
12398         (sinh_towardzero_test_data): Likewise.
12399         (sinh_test_towardzero): Likewise.
12400         (sinh_downward_test_data): Likewise.
12401         (sinh_test_downward): Likewise.
12402         (sinh_upward_test_data): Likewise.
12403         (sinh_test_upward): Likewise.
12404         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12405         (sqrt_test): Use ALL_RM_TEST.
12406         (sqrt_tonearest_test_data): Remove.
12407         (sqrt_test_tonearest): Likewise.
12408         (sqrt_towardzero_test_data): Likewise.
12409         (sqrt_test_towardzero): Likewise.
12410         (sqrt_downward_test_data): Likewise.
12411         (sqrt_test_downward): Likewise.
12412         (sqrt_upward_test_data): Likewise.
12413         (sqrt_test_upward): Likewise.
12414         (tan_test_data): Update call to AUTO_TESTS_f_f.
12415         (tan_test): Use ALL_RM_TEST.
12416         (tan_tonearest_test_data): Remove.
12417         (tan_test_tonearest): Likewise.
12418         (tan_towardzero_test_data): Likewise.
12419         (tan_test_towardzero): Likewise.
12420         (tan_downward_test_data): Likewise.
12421         (tan_test_downward): Likewise.
12422         (tan_upward_test_data): Likewise.
12423         (tan_test_upward): Likewise.
12424         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12425         (tgamma_test_data): Likewise.
12426         (y0_test_data): Likewise.
12427         (y1_test_data): Likewise.
12428         (yn_test_data): Update call to AUTO_TESTS_if_f.
12429         (main): Do not call removed functions.
12430
12431 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12432
12433         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12434         (ldexp_test_data): Remove.
12435         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12436         scalbn_test_data.
12437         (scalb_test): Use ALL_RM_TEST.
12438
12439 2014-03-19  Andreas Schwab  <schwab@suse.de>
12440
12441         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12442
12443 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12444
12445         [BZ #16649]
12446         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12447         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12448         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12449         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12450         (__ASSUME_PREADV): Undefine.
12451         (__ASSUME_PWRITEV): Likewise.
12452
12453 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12454
12455         * bits/mman-linux.h: Add comment about non-Linux use.
12456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12457         bits/mman-linux.h resting place.
12458
12459         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12460         * bits/mman-linux.h: ... here.
12461
12462 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12463
12464         * conform/conformtest.pl: Add standard definition when calling C
12465         preprocessor on data files.
12466         (checknamespace): Remove unused variable.
12467
12468 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12469
12470         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12471         minus_oflow, plus_uflow and minus_uflow in expected results.
12472         * math/libm-test.inc (scalbn_test_data): Add more tests of
12473         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12474         minus_uflow.
12475         (scalbn_test): Use ALL_RM_TEST.
12476         (scalbln_test_data): Add more tests of negative arguments.  Use
12477         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12478         (scalbln_test): Use ALL_RM_TEST.
12479
12480 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12481
12482         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12483
12484 2014-03-18  Will Newton  <will.newton@linaro.org>
12485
12486         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12487         inaccurate comment.
12488
12489 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12490
12491         * Makerules [!subdir] (check-abi): Exit with error status if a
12492         test failed.
12493
12494 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12495
12496         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12497         for rint.  Include results for all rounding modes.
12498         (nearbyint_test): Use ALL_RM_TEST.
12499         (rint_test_data): Include all tests used for nearbyint.
12500
12501 2014-03-17  Will Newton  <will.newton@linaro.org>
12502
12503         * nptl/sysdeps/pthread/pthread.h: Revert previous
12504         change.
12505
12506         * sysdeps/generic/ldsodefs.h: Revert previous
12507         change.
12508
12509         * libio/genops.c: Revert previous change.
12510         * libio/libioP.h: Likewise.
12511         * stdio-common/vfprintf.c: Likewise.
12512
12513         * sysdeps/generic/math_private.h: Revert previous
12514         change.
12515
12516         * sysdeps/generic/math_private.h: Check whether
12517         HAVE_RM_CTX is defined with #ifdef rather
12518         than #if.
12519
12520         * argp/argp-fmtstream.h: Check whether
12521         __STRICT_ANSI__ is defined with #ifdef rather
12522         than #if.
12523         * argp/argp.h: Likewise.
12524
12525         * libio/genops.c: Check whether
12526         _IO_JUMPS_OFFSET is defined with #ifdef rather
12527         than #if.
12528         * libio/libioP.h: Likewise.
12529         * stdio-common/vfprintf.c: Likewise.
12530
12531         * sysdeps/generic/ldsodefs.h: Check whether
12532         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12533         than #if.
12534
12535         * nptl/sysdeps/pthread/pthread.h: Check
12536         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12537         its value.
12538
12539 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12540
12541         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12542         setting O_APPEND.
12543         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12544         test case.
12545
12546         [BZ #16680]
12547         * libio/fileops.c (_IO_file_open): Seek to end of file but
12548         don't cache the offset.
12549         (get_file_offset): Remove function.
12550         (do_ftell): Use cached offset when available.
12551         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12552         don't cache the offset.
12553         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12554         case.
12555         (do_one_test): Call it.
12556         (do_ftell_test): Fix up expected old offset for a+ mode.
12557         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12558         available.
12559
12560         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12561         up test status with function return status.
12562         (do_write_test): Likewise.
12563         (do_append_test): Likewise.
12564
12565         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12566         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12567         Remove.
12568
12569 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12570
12571         * math/gen-libm-test.pl (parse_args): Handle results specified for
12572         each rounding mode separately.
12573         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12574         tests and results from lrint_tonearest_test_data,
12575         lrint_towardzero_test_data, lrint_downward_test_data and
12576         lrint_upward_test_data.
12577         (lrint_test): Use ALL_RM_TEST.
12578         (lrint_tonearest_test_data): Remove.
12579         (lrint_test_tonearest): Likewise.
12580         (lrint_towardzero_test_data): Likewise.
12581         (lrint_test_towardzero): Likewise.
12582         (lrint_downward_test_data): Likewise.
12583         (lrint_test_downward): Likewise.
12584         (lrint_upward_test_data): Likewise.
12585         (lrint_test_upward): Likewise.
12586         (llrint_test_data): Merge in per-rounding-mode tests and results
12587         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12588         llrint_downward_test_data and llrint_upward_test_data.
12589         (llrint_test): Use ALL_RM_TEST.
12590         (llrint_tonearest_test_data): Remove.
12591         (llrint_test_tonearest): Likewise.
12592         (llrint_towardzero_test_data): Likewise.
12593         (llrint_test_towardzero): Likewise.
12594         (llrint_downward_test_data): Likewise.
12595         (llrint_test_downward): Likewise.
12596         (llrint_upward_test_data): Likewise.
12597         (llrint_test_upward): Likewise.
12598         (rint_test_data): Merge in per-rounding-mode tests and results
12599         from rint_tonearest_test_data, rint_towardzero_test_data,
12600         rint_downward_test_data and rint_upward_test_data.  Add
12601         per-rounding-mode results for tests not in those arrays.
12602         (rint_test): Use ALL_RM_TEST.
12603         (rint_tonearest_test_data): Remove.
12604         (rint_test_tonearest): Likewise.
12605         (rint_towardzero_test_data): Likewise.
12606         (rint_test_towardzero): Likewise.
12607         (rint_downward_test_data): Likewise.
12608         (rint_test_downward): Likewise.
12609         (rint_upward_test_data): Likewise.
12610         (rint_test_upward): Likewise.
12611         (main): Don't call removed functions.
12612
12613 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12614
12615         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12616         "Compiled on ..." crapola.  It is anti-useful.
12617
12618 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12619
12620         * scripts/evaluate-test.sh: Handle fourth argument to determine
12621         whether test run should stop on failure.
12622         * Makeconfig (stop-on-test-failure): New variable.
12623         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12624         $(stop-on-test-failure).
12625         * Makefile (tests): Give a summary of results from testing and
12626         exit with failure status if they include an ERROR or FAIL.
12627         (xtests): Likewise.
12628         * manual/install.texi (Configuring and compiling): Mention
12629         stop-on-test-failure=y.
12630         * INSTALL: Regenerated.
12631
12632 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12633
12634         * scripts/versionlist.awk: New file.
12635         * Makerules [$(build-shared) = yes]
12636         (postclean-generated): Add Versions.def, not Versions.def.v and
12637         Versions.def.v.i.
12638         ($(common-objpfx)Versions.def.v.i): Target removed.
12639         ($(common-objpfx)Versions.def): New target.
12640         ($(common-objpfx)Versions.all): Depend on that rather that
12641         $(common-objpfx)Versions.def.v.
12642         * Versions.def: File removed.
12643
12644         * Makeconfig (+gccwarn): Add -Wundef.
12645         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12646         a dl-sysdep.h breaking its contract.
12647         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12648         * include/stackinfo.h: New file.
12649         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12650         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12651         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12652         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12653         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12654         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12655         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12656         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12657         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12658         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12659         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12660         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12661         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12662         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12663         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12664
12665 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12666
12667         [BZ #16707]
12668         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12669         implementation.
12670         * math/libm-test.inc (round_test_data): Add more tests.
12671
12672         [BZ #16706]
12673         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12674         implementation.
12675         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12676
12677         [BZ #16701]
12678         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12679         implementation.
12680         * math/libm-test.inc (ceil_test_data): Add more tests.
12681
12682         * math/libm-test.inc (trunc_test_data): Add more tests related to
12683         BZ#16414.
12684
12685 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12686
12687         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12688         with #if rather than #ifdef.
12689         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12690
12691 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12692
12693         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12694         first.  Disable AVX-512 GCC support if assembler doesn't support
12695         it.
12696         * sysdeps/x86_64/configure: Regenerated.
12697
12698 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12699
12700         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12701         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12702         (__old_pthread_attr_setstack): Likewise.
12703         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12704         [!_STACK_GROWS_DOWN]: Likewise.
12705
12706 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12707
12708         * config.make.in (have-bash2): Delete.
12709         * configure.ac (libc_cv_have_bash2): Delete.
12710         * configure: Regenerate.
12711         * elf/Makefile (common-ldd-rewrite): Rename to ...
12712         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12713         (sh-ldd-rewrite): Delete.
12714         (bash-ldd-rewrite): Delete.
12715         (have-bash2): Delete checks.
12716         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12717         ldd-rewrite.
12718
12719         * config.make.in (have-ksh): Delete.
12720         (KSH): Delete.
12721         * configure.ac (libc_cv_have_ksh): Delete.
12722         * configure: Regenerate.
12723
12724         * elf/Makefile: Delete $(have-ksh) check.
12725         ($(objpfx)sotruss): Change KSH to BASH.
12726         * elf/sotruss.ksh: Rename to ...
12727         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12728         function style to match POSIX.  Drop ksh vim mode setting.
12729
12730         * manual/time.texi (Specifying the Time Zone with TZ): Change
12731         Tuesday to Thursday.
12732
12733         * debug/tst-longjmp_chk2.c: Update header comment.
12734         (stackoverflow_handler): Add comment.  Call assert on pass value.
12735
12736 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12737
12738         [BZ #16194]
12739         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12740         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12741         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12742         (La_x86_64_vector): Add zmm.
12743         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12744         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12745         ($(objpfx)tst-audit10): New target.
12746         ($(objpfx)tst-audit10.out): Likewise.
12747         (tst-audit10-ENV): New.
12748         (AVX512-CFLAGS): Likewise.
12749         (CFLAGS-tst-audit10.c): Likewise.
12750         (CFLAGS-tst-auditmod10a.c): Likewise.
12751         (CFLAGS-tst-auditmod10b.c): Likewise.
12752         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12753         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12754         * sysdeps/x86_64/configure: Regenerated.
12755         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12756         AVX-512 zmm register support.
12757         (_dl_x86_64_save_sse): Likewise.
12758         (_dl_x86_64_restore_sse): Likewise.
12759         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12760         size vector registers.
12761         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12762         (ZMM_SIZE): Likewise.
12763         * sysdeps/x86_64/tst-audit10.c: New file.
12764         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12765         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12766
12767 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12768
12769         * configure.ac (HAVE_EHDR_START): New check.
12770         * configure: Regenerated.
12771         * config.h.in (HAVE_EHDR_START): New #undef.
12772         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12773         assuming the lowest-addressed segment maps the start of the file.
12774
12775 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12776
12777         * INSTALL: Regenerated.
12778
12779 2014-03-13  Will Newton  <will.newton@linaro.org>
12780
12781         * manual/setjmp.texi (System V contexts): Improve
12782         clarity and grammar of documentation.
12783
12784 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12785
12786         [BZ #16381]
12787         * elf/Makefile (tests): Add tst-pie2.
12788         (tests-pie): Add tst-pie2.
12789         * elf/tst-pie2.c: New file.
12790         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12791         for ET_EXEC.
12792         * elf/rtld.c (map_doit): Load executable as lt_executable.
12793         (dl_main): Likewise.
12794
12795 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12796
12797         [BZ #16642]
12798         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12799         (__ASSUME_PSELECT): Undefine.
12800
12801 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12802
12803         [BZ #16689]
12804         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12805         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12806         static build.
12807         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12808         selector for static builds.
12809
12810 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12811
12812         [BZ #16695]
12813         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12814         key in the buffer.
12815
12816 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12817
12818         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12819         IFUNC selector for static builds.
12820
12821 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12822
12823         * sysdeps/mips/math_private.h [__mips_hard_float]
12824         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12825         libc_feresetround_mips_ctx.
12826         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12827         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12828         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12829
12830         [BZ #16677]
12831         * math/s_nextafter.c (__nextafter): Do not return value from
12832         overflowing computation.
12833         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12834         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12835         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12836         Likewise.
12837         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12838         Likewise.
12839         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12840         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12841
12842 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12843
12844         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12845         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12846         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12847         the new mov targetting sp.
12848
12849 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12850
12851         [BZ #16683]
12852         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12853         Define it for static builds as well.
12854         (NO_BZERO_IMPL): Likewise.
12855
12856 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12857
12858         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12859         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12860         multiarch strspn for PPC64.
12861         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12862         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12864         (__libc_ifunc_impl_list): Likewise.
12865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12866         multiarch optimizations
12867         * string/strspn.c (strspn): Using macro to redefine symbol name.
12868
12869 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12870             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12871
12872         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12873         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12874         multiarch strncat for PPC64.
12875         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12876         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12878         (__libc_ifunc_impl_list): Likewise.
12879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12880         multiarch optimizations
12881
12882 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12883
12884         [BZ #16639]
12885         * nscd/nscd.service: Make service type forking.
12886
12887 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12888
12889         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12890         sign in non default rounding modes.
12891         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12892
12893 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
12894
12895         * math/libm-test.inc (ALL_RM_TEST): New macro.
12896         (ceil_test): Use ALL_RM_TEST.
12897         (cimag_test): Likewise.
12898         (conj_test): Likewise.
12899         (copysign_test): Likewise.
12900         (cproj_test): Likewise.
12901         (creal_test): Likewise.
12902         (fabs_test): Likewise.
12903         (floor_test): Likewise.
12904         (fmax_test): Likewise.
12905         (fmin_test): Likewise.
12906         (fmod_test): Likewise.
12907         (fpclassify_test): Likewise.
12908         (frexp_test): Likewise.
12909         (ilogb_test): Likewise.
12910         (isfinite_test): Likewise.
12911         (finite_test): Likewise.
12912         (isgreater_test): Likewise.
12913         (isgreaterequal_test): Likewise.
12914         (isinf_test): Likewise.
12915         (isless_test): Likewise.
12916         (islessequal_test): Likewise.
12917         (islessgreater_test): Likewise.
12918         (isnan_test): Likewise.
12919         (isnormal_test): Likewise.
12920         (issignaling_test): Likewise.
12921         (isunordered_test): Likewise.
12922         (logb_test): Likewise.
12923         (logb_downward_test_data): Remove.
12924         (logb_test_downward): Likewise.
12925         (lround_test): Use ALL_RM_TEST.
12926         (llround_test): Likewise.
12927         (modf_test): Likewise.
12928         (nexttoward_test): Likewise.
12929         (remainder_test): Likewise.
12930         (drem_test): Likewise.
12931         (remainder_tonearest_test_data): Likewise.
12932         (remainder_test_tonearest): Likewise.
12933         (drem_test_tonearest): Likewise.
12934         (remainder_towardzero_test_data): Likewise.
12935         (remainder_test_towardzero): Likewise.
12936         (drem_test_towardzero): Likewise.
12937         (remainder_downward_test_data): Likewise.
12938         (remainder_test_downward): Likewise.
12939         (drem_test_downward): Likewise.
12940         (remainder_upward_test_data): Likewise.
12941         (remainder_test_upward): Likewise.
12942         (drem_test_upward): Likewise.
12943         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
12944         (round_test): Use ALL_RM_TEST.
12945         (signbit_test): Likewise.
12946         (trunc_test): Likewise.
12947         (significand_test): Likewise.
12948         (main): Don't call removed functions.
12949
12950 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12951
12952         [BZ #16674]
12953         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12954         || __USE_XOPEN2K8].
12955         (ILL_ILLOPN): Likewise.
12956         (ILL_ILLADR): Likewise.
12957         (ILL_ILLTRP): Likewise.
12958         (ILL_PRVOPC): Likewise.
12959         (ILL_PRVREG): Likewise.
12960         (ILL_COPROC): Likewise.
12961         (ILL_BADSTK): Likewise.
12962         (FPE_INTDIV): Likewise.
12963         (FPE_INTOVF): Likewise.
12964         (FPE_FLTDIV): Likewise.
12965         (FPE_FLTOVF): Likewise.
12966         (FPE_FLTUND): Likewise.
12967         (FPE_FLTRES): Likewise.
12968         (FPE_FLTINV): Likewise.
12969         (FPE_FLTSUB): Likewise.
12970         (SEGV_MAPERR): Likewise.
12971         (SEGV_ACCERR): Likewise.
12972         (BUS_ADRALN): Likewise.
12973         (BUS_ADRERR): Likewise.
12974         (BUS_OBJERR): Likewise.
12975         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12976         (TRAP_TRACE): Likewise.
12977         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12978         __USE_XOPEN2K8].
12979         (CLD_KILLED): Likewise.
12980         (CLD_DUMPED): Likewise.
12981         (CLD_TRAPPED): Likewise.
12982         (CLD_STOPPED): Likewise.
12983         (CLD_CONTINUED): Likewise.
12984         (POLL_IN): Likewise.
12985         (POLL_OUT): Likewise.
12986         (POLL_MSG): Likewise.
12987         (POLL_ERR): Likewise.
12988         (POLL_PRI): Likewise.
12989         (POLL_HUP): Likewise.
12990         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12991         Likewise.
12992         (ILL_ILLOPN): Likewise.
12993         (ILL_ILLADR): Likewise.
12994         (ILL_ILLTRP): Likewise.
12995         (ILL_PRVOPC): Likewise.
12996         (ILL_PRVREG): Likewise.
12997         (ILL_COPROC): Likewise.
12998         (ILL_BADSTK): Likewise.
12999         (FPE_INTDIV): Likewise.
13000         (FPE_INTOVF): Likewise.
13001         (FPE_FLTDIV): Likewise.
13002         (FPE_FLTOVF): Likewise.
13003         (FPE_FLTUND): Likewise.
13004         (FPE_FLTRES): Likewise.
13005         (FPE_FLTINV): Likewise.
13006         (FPE_FLTSUB): Likewise.
13007         (SEGV_MAPERR): Likewise.
13008         (SEGV_ACCERR): Likewise.
13009         (BUS_ADRALN): Likewise.
13010         (BUS_ADRERR): Likewise.
13011         (BUS_OBJERR): Likewise.
13012         (BUS_MCEERR_AR): Likewise.
13013         (BUS_MCEERR_AO): Likewise.
13014         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13015         (TRAP_TRACE): Likewise.
13016         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13017         __USE_XOPEN2K8].
13018         (CLD_KILLED): Likewise.
13019         (CLD_DUMPED): Likewise.
13020         (CLD_TRAPPED): Likewise.
13021         (CLD_STOPPED): Likewise.
13022         (CLD_CONTINUED): Likewise.
13023         (POLL_IN): Likewise.
13024         (POLL_OUT): Likewise.
13025         (POLL_MSG): Likewise.
13026         (POLL_ERR): Likewise.
13027         (POLL_PRI): Likewise.
13028         (POLL_HUP): Likewise.
13029         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13030         (ILL_ILLOPN): Likewise.
13031         (ILL_ILLADR): Likewise.
13032         (ILL_ILLTRP): Likewise.
13033         (ILL_PRVOPC): Likewise.
13034         (ILL_PRVREG): Likewise.
13035         (ILL_COPROC): Likewise.
13036         (ILL_BADSTK): Likewise.
13037         (FPE_INTDIV): Likewise.
13038         (FPE_INTOVF): Likewise.
13039         (FPE_FLTDIV): Likewise.
13040         (FPE_FLTOVF): Likewise.
13041         (FPE_FLTUND): Likewise.
13042         (FPE_FLTRES): Likewise.
13043         (FPE_FLTINV): Likewise.
13044         (FPE_FLTSUB): Likewise.
13045         (SEGV_MAPERR): Likewise.
13046         (SEGV_ACCERR): Likewise.
13047         (BUS_ADRALN): Likewise.
13048         (BUS_ADRERR): Likewise.
13049         (BUS_OBJERR): Likewise.
13050         (BUS_MCEERR_AR): Likewise.
13051         (BUS_MCEERR_AO): Likewise.
13052         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13053         (TRAP_TRACE): Likewise.
13054         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13055         __USE_XOPEN2K8].
13056         (CLD_KILLED): Likewise.
13057         (CLD_DUMPED): Likewise.
13058         (CLD_TRAPPED): Likewise.
13059         (CLD_STOPPED): Likewise.
13060         (CLD_CONTINUED): Likewise.
13061         (POLL_IN): Likewise.
13062         (POLL_OUT): Likewise.
13063         (POLL_MSG): Likewise.
13064         (POLL_ERR): Likewise.
13065         (POLL_PRI): Likewise.
13066         (POLL_HUP): Likewise.
13067         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13068         Likewise.
13069         (ILL_ILLOPN): Likewise.
13070         (ILL_ILLADR): Likewise.
13071         (ILL_ILLTRP): Likewise.
13072         (ILL_PRVOPC): Likewise.
13073         (ILL_PRVREG): Likewise.
13074         (ILL_COPROC): Likewise.
13075         (ILL_BADSTK): Likewise.
13076         (ILL_BADIADDR): Likewise.
13077         (ILL_BREAK): Likewise.
13078         (FPE_INTDIV): Likewise.
13079         (FPE_INTOVF): Likewise.
13080         (FPE_FLTDIV): Likewise.
13081         (FPE_FLTOVF): Likewise.
13082         (FPE_FLTUND): Likewise.
13083         (FPE_FLTRES): Likewise.
13084         (FPE_FLTINV): Likewise.
13085         (FPE_FLTSUB): Likewise.
13086         (FPE_DECOVF): Likewise.
13087         (FPE_DECDIV): Likewise.
13088         (FPE_DECERR): Likewise.
13089         (FPE_INVASC): Likewise.
13090         (FPE_INVDEC): Likewise.
13091         (SEGV_MAPERR): Likewise.
13092         (SEGV_ACCERR): Likewise.
13093         (SEGV_PSTKOVF): Likewise.
13094         (BUS_ADRALN): Likewise.
13095         (BUS_ADRERR): Likewise.
13096         (BUS_OBJERR): Likewise.
13097         (BUS_MCEERR_AR): Likewise.
13098         (BUS_MCEERR_AO): Likewise.
13099         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13100         (TRAP_TRACE): Likewise.
13101         (TRAP_BRANCH): Likewise.
13102         (TRAP_HWBKPT): Likewise.
13103         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13104         __USE_XOPEN2K8].
13105         (CLD_KILLED): Likewise.
13106         (CLD_DUMPED): Likewise.
13107         (CLD_TRAPPED): Likewise.
13108         (CLD_STOPPED): Likewise.
13109         (CLD_CONTINUED): Likewise.
13110         (POLL_IN): Likewise.
13111         (POLL_OUT): Likewise.
13112         (POLL_MSG): Likewise.
13113         (POLL_ERR): Likewise.
13114         (POLL_PRI): Likewise.
13115         (POLL_HUP): Likewise.
13116         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13117         (ILL_ILLOPN): Likewise.
13118         (ILL_ILLADR): Likewise.
13119         (ILL_ILLTRP): Likewise.
13120         (ILL_PRVOPC): Likewise.
13121         (ILL_PRVREG): Likewise.
13122         (ILL_COPROC): Likewise.
13123         (ILL_BADSTK): Likewise.
13124         (FPE_INTDIV): Likewise.
13125         (FPE_INTOVF): Likewise.
13126         (FPE_FLTDIV): Likewise.
13127         (FPE_FLTOVF): Likewise.
13128         (FPE_FLTUND): Likewise.
13129         (FPE_FLTRES): Likewise.
13130         (FPE_FLTINV): Likewise.
13131         (FPE_FLTSUB): Likewise.
13132         (SEGV_MAPERR): Likewise.
13133         (SEGV_ACCERR): Likewise.
13134         (BUS_ADRALN): Likewise.
13135         (BUS_ADRERR): Likewise.
13136         (BUS_OBJERR): Likewise.
13137         (BUS_MCEERR_AR): Likewise.
13138         (BUS_MCEERR_AO): Likewise.
13139         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13140         (TRAP_TRACE): Likewise.
13141         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13142         __USE_XOPEN2K8].
13143         (CLD_KILLED): Likewise.
13144         (CLD_DUMPED): Likewise.
13145         (CLD_TRAPPED): Likewise.
13146         (CLD_STOPPED): Likewise.
13147         (CLD_CONTINUED): Likewise.
13148         (POLL_IN): Likewise.
13149         (POLL_OUT): Likewise.
13150         (POLL_MSG): Likewise.
13151         (POLL_ERR): Likewise.
13152         (POLL_PRI): Likewise.
13153         (POLL_HUP): Likewise.
13154         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13155         (ILL_ILLOPN): Likewise.
13156         (ILL_ILLADR): Likewise.
13157         (ILL_ILLTRP): Likewise.
13158         (ILL_PRVOPC): Likewise.
13159         (ILL_PRVREG): Likewise.
13160         (ILL_COPROC): Likewise.
13161         (ILL_BADSTK): Likewise.
13162         (FPE_INTDIV): Likewise.
13163         (FPE_INTOVF): Likewise.
13164         (FPE_FLTDIV): Likewise.
13165         (FPE_FLTOVF): Likewise.
13166         (FPE_FLTUND): Likewise.
13167         (FPE_FLTRES): Likewise.
13168         (FPE_FLTINV): Likewise.
13169         (FPE_FLTSUB): Likewise.
13170         (SEGV_MAPERR): Likewise.
13171         (SEGV_ACCERR): Likewise.
13172         (BUS_ADRALN): Likewise.
13173         (BUS_ADRERR): Likewise.
13174         (BUS_OBJERR): Likewise.
13175         (BUS_MCEERR_AR): Likewise.
13176         (BUS_MCEERR_AO): Likewise.
13177         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13178         (TRAP_TRACE): Likewise.
13179         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13180         __USE_XOPEN2K8].
13181         (CLD_KILLED): Likewise.
13182         (CLD_DUMPED): Likewise.
13183         (CLD_TRAPPED): Likewise.
13184         (CLD_STOPPED): Likewise.
13185         (CLD_CONTINUED): Likewise.
13186         (POLL_IN): Likewise.
13187         (POLL_OUT): Likewise.
13188         (POLL_MSG): Likewise.
13189         (POLL_ERR): Likewise.
13190         (POLL_PRI): Likewise.
13191         (POLL_HUP): Likewise.
13192         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13193         (ILL_ILLOPN): Likewise.
13194         (ILL_ILLADR): Likewise.
13195         (ILL_ILLTRP): Likewise.
13196         (ILL_PRVOPC): Likewise.
13197         (ILL_PRVREG): Likewise.
13198         (ILL_COPROC): Likewise.
13199         (ILL_BADSTK): Likewise.
13200         (FPE_INTDIV): Likewise.
13201         (FPE_INTOVF): Likewise.
13202         (FPE_FLTDIV): Likewise.
13203         (FPE_FLTOVF): Likewise.
13204         (FPE_FLTUND): Likewise.
13205         (FPE_FLTRES): Likewise.
13206         (FPE_FLTINV): Likewise.
13207         (FPE_FLTSUB): Likewise.
13208         (SEGV_MAPERR): Likewise.
13209         (SEGV_ACCERR): Likewise.
13210         (BUS_ADRALN): Likewise.
13211         (BUS_ADRERR): Likewise.
13212         (BUS_OBJERR): Likewise.
13213         (BUS_MCEERR_AR): Likewise.
13214         (BUS_MCEERR_AO): Likewise.
13215         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13216         (TRAP_TRACE): Likewise.
13217         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13218         __USE_XOPEN2K8].
13219         (CLD_KILLED): Likewise.
13220         (CLD_DUMPED): Likewise.
13221         (CLD_TRAPPED): Likewise.
13222         (CLD_STOPPED): Likewise.
13223         (CLD_CONTINUED): Likewise.
13224         (POLL_IN): Likewise.
13225         (POLL_OUT): Likewise.
13226         (POLL_MSG): Likewise.
13227         (POLL_ERR): Likewise.
13228         (POLL_PRI): Likewise.
13229         (POLL_HUP): Likewise.
13230         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13231         (ILL_ILLOPN): Likewise.
13232         (ILL_ILLADR): Likewise.
13233         (ILL_ILLTRP): Likewise.
13234         (ILL_PRVOPC): Likewise.
13235         (ILL_PRVREG): Likewise.
13236         (ILL_COPROC): Likewise.
13237         (ILL_BADSTK): Likewise.
13238         (ILL_DBLFLT): Likewise.
13239         (ILL_HARDWALL): Likewise.
13240         (FPE_INTDIV): Likewise.
13241         (FPE_INTOVF): Likewise.
13242         (FPE_FLTDIV): Likewise.
13243         (FPE_FLTOVF): Likewise.
13244         (FPE_FLTUND): Likewise.
13245         (FPE_FLTRES): Likewise.
13246         (FPE_FLTINV): Likewise.
13247         (FPE_FLTSUB): Likewise.
13248         (SEGV_MAPERR): Likewise.
13249         (SEGV_ACCERR): Likewise.
13250         (BUS_ADRALN): Likewise.
13251         (BUS_ADRERR): Likewise.
13252         (BUS_OBJERR): Likewise.
13253         (BUS_MCEERR_AR): Likewise.
13254         (BUS_MCEERR_AO): Likewise.
13255         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13256         (TRAP_TRACE): Likewise.
13257         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13258         __USE_XOPEN2K8].
13259         (CLD_KILLED): Likewise.
13260         (CLD_DUMPED): Likewise.
13261         (CLD_TRAPPED): Likewise.
13262         (CLD_STOPPED): Likewise.
13263         (CLD_CONTINUED): Likewise.
13264         (POLL_IN): Likewise.
13265         (POLL_OUT): Likewise.
13266         (POLL_MSG): Likewise.
13267         (POLL_ERR): Likewise.
13268         (POLL_PRI): Likewise.
13269         (POLL_HUP): Likewise.
13270         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13271         (ILL_ILLOPN): Likewise.
13272         (ILL_ILLADR): Likewise.
13273         (ILL_ILLTRP): Likewise.
13274         (ILL_PRVOPC): Likewise.
13275         (ILL_PRVREG): Likewise.
13276         (ILL_COPROC): Likewise.
13277         (ILL_BADSTK): Likewise.
13278         (FPE_INTDIV): Likewise.
13279         (FPE_INTOVF): Likewise.
13280         (FPE_FLTDIV): Likewise.
13281         (FPE_FLTOVF): Likewise.
13282         (FPE_FLTUND): Likewise.
13283         (FPE_FLTRES): Likewise.
13284         (FPE_FLTINV): Likewise.
13285         (FPE_FLTSUB): Likewise.
13286         (SEGV_MAPERR): Likewise.
13287         (SEGV_ACCERR): Likewise.
13288         (BUS_ADRALN): Likewise.
13289         (BUS_ADRERR): Likewise.
13290         (BUS_OBJERR): Likewise.
13291         (BUS_MCEERR_AR): Likewise.
13292         (BUS_MCEERR_AO): Likewise.
13293         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13294         (TRAP_TRACE): Likewise.
13295         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13296         __USE_XOPEN2K8].
13297         (CLD_KILLED): Likewise.
13298         (CLD_DUMPED): Likewise.
13299         (CLD_TRAPPED): Likewise.
13300         (CLD_STOPPED): Likewise.
13301         (CLD_CONTINUED): Likewise.
13302         (POLL_IN): Likewise.
13303         (POLL_OUT): Likewise.
13304         (POLL_MSG): Likewise.
13305         (POLL_ERR): Likewise.
13306         (POLL_PRI): Likewise.
13307         (POLL_HUP): Likewise.
13308         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13309         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13310
13311         [BZ #16670]
13312         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13313         before #include of <time.h>.
13314         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13315         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13316         (test-xfail-UNIX98/sched.h/conform): Likewise.
13317
13318 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13319
13320         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13321         error absence of trapping exception support.
13322         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13323
13324 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13325
13326         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13327         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13328         * timezone/Makefile (testdata): Move definition above include of
13329         Rules.
13330         (test-zones): New variable.
13331         (tests-special): Add zone files.
13332         (build-testdata): Use $(evaluate-test).
13333
13334         * elf/Makefile (tests-special): Rename tests to end with .out.
13335         ($(objpfx)noload-mem): Likewise.
13336         ($(objpfx)tst-leaks1-mem): Likewise.
13337         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13338         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13339         $(objpfx)test-iconvconfig.out.
13340         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13341         set -e inside subshell and redirect output to file.
13342         * iconvdata/Makefile (generated): Rename tests to end with .out.
13343         Correct type.
13344         (tests-special): Rename tests to end with .out.
13345         ($(objpfx)mtrace-tst-loading): Likewise.
13346         * intl/Makefile (generated): Likewise.
13347         (tests-special): Likewise.
13348         ($(objpfx)mtrace-tst-gettext): Likewise.
13349         * misc/Makefile (generated): Likewise.
13350         (tests-special): Likewise.
13351         ($(objpfx)tst-error1-mem): Likewise.
13352         * nptl/Makefile (tests-special): Likewise.
13353         ($(objpfx)tst-stack3-mem): Likewise.
13354         (generated): Likewise.
13355         * posix/Makefile (generated): Likewise.
13356         (tests-special): Likewise.
13357         (xtests-special): Likewise.
13358         ($(objpfx)tst-fnmatch-mem): Likewise.
13359         ($(objpfx)bug-regex2-mem): Likewise.
13360         ($(objpfx)bug-regex14-mem): Likewise.
13361         ($(objpfx)bug-regex21-mem): Likewise.
13362         ($(objpfx)bug-regex31-mem): Likewise.
13363         ($(objpfx)tst-vfork3-mem): Likewise.
13364         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13365         ($(objpfx)tst-pcre-mem): Likewise.
13366         ($(objpfx)tst-boost-mem): Likewise.
13367         ($(objpfx)bug-ga2-mem): Likewise.
13368         ($(objpfx)bug-glob2-mem): Likewise.
13369         * resolv/Makefile (generate): Likewise.
13370         (tests-special): Likewise.
13371         (xtests-special): Likewise.
13372         (generated): Likewise.
13373         ($(objpfx)mtrace-tst-leaks): Likewise.
13374         ($(objpfx)mtrace-tst-leaks2): Likewise.
13375
13376         * scripts/merge-test-results.sh: New file.
13377         * Makefile (tests-special-notdir): New variable.
13378         (tests): Run merge-test-results.sh.
13379         (xtests): Likewise.
13380         * Rules (tests-special-notdir): New variable.
13381         (xtests-special-notdir): Likewise.
13382         (tests): Run merge-test-results.sh
13383         (xtests): Likewise.
13384
13385         * Makeconfig (test-xfail-name): New variable.
13386         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13387         compute variable name for expected failures.
13388         * conform/Makefile (conformtest-headers-data): New variable.
13389         (conformtest-standards): Likewise.
13390         (conformtest-headers-ISO): Likewise.
13391         (conformtest-headers-ISO99): Likewise.
13392         (conformtest-headers-ISO11): Likewise.
13393         (conformtest-headers-POSIX): Likewise.
13394         (conformtest-headers-XPG3): Likewise.
13395         (conformtest-headers-XPG4): Likewise.
13396         (conformtest-headers-UNIX98): Likewise.
13397         (conformtest-headers-XOPEN2K): Likewise.
13398         (conformtest-headers-POSIX2008): Likewise.
13399         (conformtest-headers-XOPEN2K8): Likewise.
13400         (conformtest-header-list-base): Likewise.
13401         (conformtest-header-list-tests): Likewise.
13402         (conformtest-header-base): Likewise.
13403         (conformtest-header-tests): Likewise.
13404         (tests-special): Add $(conformtest-header-list-tests).  If
13405         [$(fast-check) && !$(cross-compiling)], add
13406         $(conformtest-header-tests) instead of
13407         $(objpfx)run-conformtest.out.
13408         (generated): Add $(conformtest-header-list-base).  If
13409         [$(fast-check) && !$(cross-compiling)], add
13410         $(conformtest-header-base).  Remove previous setting.
13411         ($(conformtest-header-list-tests)): New target.
13412         (test-xfail-run-conformtest): Remove variable.
13413         ($(objpfx)run-conformtest.out): Remove target.
13414         (test-xfail-ISO11/complex.h/conform): New variable.
13415         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13416         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13417         (test-xfail-XPG3/varargs.h/conform): Likewise.
13418         (test-xfail-XPG4/varargs.h/conform): Likewise.
13419         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13420         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13421         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13422         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13423         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13424         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13425         (test-xfail-XPG3/ftw.h/conform): Likewise.
13426         (test-xfail-XPG3/grp.h/conform): Likewise.
13427         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13428         (test-xfail-XPG3/limits.h/conform): Likewise.
13429         (test-xfail-XPG3/pwd.h/conform): Likewise.
13430         (test-xfail-XPG3/search.h/conform): Likewise.
13431         (test-xfail-XPG3/signal.h/conform): Likewise.
13432         (test-xfail-XPG3/stdio.h/conform): Likewise.
13433         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13434         (test-xfail-XPG3/string.h/conform): Likewise.
13435         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13436         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13437         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13438         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13439         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13440         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13441         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13442         (test-xfail-XPG3/termios.h/conform): Likewise.
13443         (test-xfail-XPG3/time.h/conform): Likewise.
13444         (test-xfail-XPG3/unistd.h/conform): Likewise.
13445         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13446         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13447         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13448         (test-xfail-XPG4/netdb.h/conform): Likewise.
13449         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13450         (test-xfail-XPG4/signal.h/conform): Likewise.
13451         (test-xfail-XPG4/stdio.h/conform): Likewise.
13452         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13453         (test-xfail-XPG4/stropts.h/conform): Likewise.
13454         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13455         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13456         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13457         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13458         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13459         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13460         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13461         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13462         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13463         (test-xfail-XPG4/termios.h/conform): Likewise.
13464         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13465         (test-xfail-XPG4/unistd.h/conform): Likewise.
13466         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13467         (test-xfail-POSIX/sched.h/conform): Likewise.
13468         (test-xfail-POSIX/signal.h/conform): Likewise.
13469         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13470         (test-xfail-POSIX/tar.h/conform): Likewise.
13471         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13472         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13473         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13474         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13475         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13476         (test-xfail-UNIX98/sched.h/conform): Likewise.
13477         (test-xfail-UNIX98/signal.h/conform): Likewise.
13478         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13479         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13480         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13481         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13482         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13483         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13484         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13485         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13486         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13487         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13488         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13489         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13490         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13491         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13492         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13493         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13494         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13495         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13496         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13497         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13498         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13499         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13500         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13501         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13502         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13503         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13504         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13505         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13506         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13507         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13508         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13509         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13510         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13511         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13512         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13513         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13514         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13515         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13516         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13517         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13518         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13519         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13520         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13521         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13522         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13523         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13524         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13525         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13526         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13527         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13528         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13529         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13530         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13531         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13532         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13533         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13534         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13535         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13536         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13537         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13538         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13539         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13540         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13541         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13542         (conformtest-cc-flags): Likewise.
13543         ($(conformtest-header-tests): New target.
13544         * conform/check-header-lists.sh: New file.
13545         * conform/run-conformtest.sh: Remove.
13546
13547         * conform/conformtest.pl: Allow ' and \ in values given for
13548         constants.
13549         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13550         inclusion.
13551         [POSIX] (sys/types.h): Likewise.
13552         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13553         inclusion.
13554         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13555         inclusion.
13556         * conform/data/signal.h-data (SIGIO): Remove expectation.
13557         [XPG3] (SIGBUS): Do not expect.
13558         [POSIX || XPG3] (SIGPOLL): Likewise.
13559         [POSIX || XPG3] (SIGPROF): Likewise.
13560         [POSIX || XPG3] (SIGSYS): Likewise.
13561         [XPG3] (SIGTRAP): Likewise.
13562         [POSIX || XPG3] (SIGURG): Likewise.
13563         [POSIX || XPG3] (SIGVTALRM): Likewise.
13564         [POSIX || XPG3] (SIGXCPU): Likewise.
13565         [POSIX || XPG3] (SIGXFSZ): Likewise.
13566         [POSIX] (SA_SIGINFO): Expect.
13567         [XPG3] (siginfo_t): Do not expect type or contents.
13568         [POSIX] (si_pid): Do not expect element.
13569         [POSIX] (si_uid): Likewise.
13570         [POSIX] (si_addr): Likewise.
13571         [POSIX] (si_status): Likewise.
13572         [POSIX] (si_band): Likewise.
13573         [XPG4] (si_value): Likewise.
13574         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13575         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13576         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13577         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13578         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13579         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13580         [POSIX || XPG3] (ILL_COPROC): Likewise.
13581         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13582         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13583         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13584         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13585         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13586         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13587         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13588         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13589         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13590         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13591         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13592         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13593         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13594         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13595         [POSIX || XPG3] (CLD_EXITED): Likewise.
13596         [POSIX || XPG3] (CLD_KILLED): Likewise.
13597         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13598         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13599         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13600         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13601         [POSIX || XPG3] (POLL_IN): Likewise.
13602         [POSIX || XPG3] (POLL_OUT): Likewise.
13603         [POSIX || XPG3] (POLL_MSG): Likewise.
13604         [POSIX || XPG3] (POLL_ERR): Likewise.
13605         [POSIX || XPG3] (POLL_PRI): Likewise.
13606         [POSIX || XPG3] (POLL_HUP): Likewise.
13607         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13608         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13609         (SIG*): Do not allow.
13610         [XPG3] (si_*): Likewise.
13611         [XPG3] (SI_*): Likewise.
13612         [XPG3 || XPG4] (sigev_*): Likewise.
13613         [XPG3 || XPG4] (SIGEV_*): Likewise.
13614         [XPG3 || XPG4] (sival_*): Likewise.
13615         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13616         [POSIX || XPG3] (BUS_*): Likewise.
13617         [POSIX || XPG3] (CLD_*): Likewise.
13618         [POSIX || XPG3] (FPE_*): Likewise.
13619         [POSIX || XPG3] (ILL_*): Likewise.
13620         [POSIX || XPG3] (POLL_*): Likewise.
13621         [POSIX || XPG3] (SEGV_*): Likewise.
13622         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13623         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13624         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13625         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13626         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13627         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13628         Specify type and value.
13629         (TVERSLEN): Likewise.
13630         (REGTYPE): Likewise.
13631         (AREGTYPE): Likewise.
13632         (LNKTYPE): Likewise.
13633         (SYMTYPE): Likewise.
13634         (CHRTYPE): Likewise.
13635         (BLKTYPE): Likewise.
13636         (DIRTYPE): Likewise.
13637         (FIFOTYPE): Likewise.
13638         (CONTTYPE): Likewise.
13639         (TSUID): Likewise.
13640         (TSGID): Likewise.
13641         (TSVTX): Likewise.
13642         (TUREAD): Likewise.
13643         (TUWRITE): Likewise.
13644         (TUEXEC): Likewise.
13645         (TGREAD): Likewise.
13646         (TGWRITE): Likewise.
13647         (TGEXEC): Likewise.
13648         (TOREAD): Likewise.
13649         (TOWRITE): Likewise.
13650         (TOEXEC): Likewise.
13651         [POSIX] (TSVTX): Expect constant.
13652
13653 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13654
13655         * Makefile (tests): Change dependencies to ....
13656         (tests-special): ... additions to this variable.
13657         (tests): Depend on $(tests-special).
13658         * Makerules (check-abi-list): New variable.
13659         (check-abi): Depend on $(check-abi-list).
13660         [$(subdir) = elf] (tests-special): Add
13661         $(objpfx)check-abi-libc.out.
13662         [$(build-shared) = yes && subdir] (tests-special): Add
13663         $(check-abi-list).
13664         [$(build-shared) = yes && subdir] (tests): Do not depend on
13665         check-abi.
13666         * Rules (tests): Depend on $(tests-special).
13667         (xtests): Depend on $(xtests-special).
13668         * catgets/Makefile (tests): Change dependencies to ....
13669         (tests-special): ... additions to this variable.
13670         * conform/Makefile (tests): Change dependencies to ....
13671         (tests-special): ... additions to this variable.
13672         * elf/Makefile (tests): Change dependencies to ....
13673         (tests-special): ... additions to this variable.
13674         * grp/Makefile (tests): Change dependencies to ....
13675         (tests-special): ... additions to this variable.
13676         * iconv/Makefile (xtests): Change dependencies to ....
13677         (xtests-special): ... additions to this variable.
13678         * iconvdata/Makefile (tests): Change dependencies to ....
13679         (tests-special): ... additions to this variable.
13680         * intl/Makefile (tests): Change dependencies to ....
13681         (tests-special): ... additions to this variable.  Also add
13682         $(objpfx)tst-gettext.out.
13683         * io/Makefile (tests): Change dependencies to ....
13684         (tests-special): ... additions to this variable.
13685         * libio/Makefile (tests): Change dependencies to ....
13686         (tests-special): ... additions to this variable.
13687         * malloc/Makefile (tests): Change dependencies to ....
13688         (tests-special): ... additions to this variable.
13689         * misc/Makefile (tests): Change dependencies to ....
13690         (tests-special): ... additions to this variable.
13691         * nptl/Makefile (tests): Change dependencies to ....
13692         (tests-special): ... additions to this variable.
13693         * nptl_db/Makefile (tests): Change dependencies to ....
13694         (tests-special): ... additions to this variable.
13695         * posix/Makefile (tests): Change dependencies to ....
13696         (tests-special): ... additions to this variable.
13697         (xtests): Change dependencies to ....
13698         (xtests-special): ... additions to this variable.
13699         * resolv/Makefile (tests): Change dependencies to ....
13700         (tests-special): ... additions to this variable.
13701         (xtests): Change dependencies to ....
13702         (xtests-special): ... additions to this variable.
13703         * stdio-common/Makefile (tests): Change dependencies to ....
13704         (tests-special): ... additions to this variable.
13705         (do-tst-unbputc): Remove target.
13706         (do-tst-printf): Likewise.
13707         * stdlib/Makefile (tests): Change dependencies to ....
13708         (tests-special): ... additions to this variable.
13709         * string/Makefile (tests): Change dependencies to ....
13710         (tests-special): ... additions to this variable.
13711         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13712         (tests-special): ... additions to this variable.
13713
13714         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13715         whole file.
13716         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13717         whole file.
13718         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13719         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13720
13721         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13722         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13723         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13724         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13725         * conform/data/libgen.h-data [XPG3]: Likewise.
13726         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13727         * conform/data/ndbm.h-data [XPG3]: Likewise.
13728         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13729         * conform/data/netdb.h-data [XPG3]: Likewise.
13730         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13731         * conform/data/poll.h-data [XPG3]: Likewise.
13732         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13733         * conform/data/strings.h-data [XPG3]: Likewise.
13734         * conform/data/stropts.h-data [XPG3]: Likewise.
13735         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13736         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13737         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13738         Likewise.
13739         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13740         * conform/data/sys/time.h-data [XPG3]: Likewise.
13741         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13742         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13743         * conform/data/sys/un.h-data [XPG3]: Likewise.
13744         * conform/data/syslog.h-data [XPG3]: Likewise.
13745         * conform/data/ucontext.h-data [XPG3]: Likewise.
13746         * conform/data/utmpx.h-data [XPG3]: Likewise.
13747         * conform/data/varargs.h-data [UNIX98]: Enable file.
13748
13749         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13750
13751         * math/libm-test.inc (struct test_f_f_data): Move expected results
13752         into structure for each rounding mode.
13753         (struct test_ff_f_data): Likewise.
13754         (struct test_ff_f_data_nexttoward): Likewise.
13755         (struct test_fi_f_data): Likewise.
13756         (struct test_fl_f_data): Likewise.
13757         (struct test_if_f_data): Likewise.
13758         (struct test_fff_f_data): Likewise.
13759         (struct test_c_f_data): Likewise.
13760         (struct test_f_f1_data): Likewise.
13761         (struct test_fF_f1_data): Likewise.
13762         (struct test_ffI_f1_data): Likewise.
13763         (struct test_c_c_data): Likewise.
13764         (struct test_cc_c_data): Likewise.
13765         (struct test_f_i_data): Likewise.
13766         (struct test_ff_i_data): Likewise.
13767         (struct test_f_l_data): Likewise.
13768         (struct test_f_L_data): Likewise.
13769         (struct test_fFF_11_data): Likewise.
13770         (RM_): New macro.
13771         (RM_FE_DOWNWARD): Likewise.
13772         (RM_FE_TONEAREST): Likewise.
13773         (RM_FE_TOWARDZERO): Likewise.
13774         (RM_FE_UPWARD): Likewise.
13775         (RUN_TEST_LOOP_f_f): Update references to expected results.
13776         (RUN_TEST_LOOP_2_f): Likewise.
13777         (RUN_TEST_LOOP_fff_f): Likewise.
13778         (RUN_TEST_LOOP_c_f): Likewise.
13779         (RUN_TEST_LOOP_f_f1): Likewise.
13780         (RUN_TEST_LOOP_fF_f1): Likewise.
13781         (RUN_TEST_LOOP_fI_f1): Likewise.
13782         (RUN_TEST_LOOP_ffI_f1): Likewise.
13783         (RUN_TEST_LOOP_c_c): Likewise.
13784         (RUN_TEST_LOOP_cc_c): Likewise.
13785         (RUN_TEST_LOOP_f_i): Likewise.
13786         (RUN_TEST_LOOP_f_i_tg): Likewise.
13787         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13788         (RUN_TEST_LOOP_f_b): Likewise.
13789         (RUN_TEST_LOOP_f_b_tg): Likewise.
13790         (RUN_TEST_LOOP_f_l): Likewise.
13791         (RUN_TEST_LOOP_f_L): Likewise.
13792         (RUN_TEST_LOOP_fFF_11): Likewise.
13793         * math/gen-libm-test.pl (parse_args): Output four copies of
13794         expected results for each test.
13795
13796         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13797         (__ASSUME_UTIMES): Remove.
13798         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13799         (__ASSUME_UTIMES): Likewise.
13800
13801         * math/gen-auto-libm-tests.c: Update comment on output format.
13802         (output_for_one_input_case): Generate before-rounding and
13803         after-rounding information as conditions on output flags not
13804         floating-point format.
13805         * math/auto-libm-test-out: Regenerated.
13806         * math/gen-libm-test.pl (cond_value): New function.
13807         (or_cond_value): Use cond_value.
13808         (generate_testfile): Handle conditional exceptions.
13809
13810 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13811
13812         * math/libm-test.inc (max_valid_error): New variable.
13813         (init_max_error): Take new argument specifying whether function
13814         results are exactly determined.  Set max_valid_error and bound
13815         other variables for errors based on this argument.
13816         (set_max_error): Do not record results above max_valid_error.
13817         (check_float_internal): Only accept errors of up to 0.5ulps if
13818         also at most max_valid_error.
13819         (START): Take new argument EXACT and pass it to init_max_error.
13820         (acos_test): Update call to START.
13821         (acos_test_tonearest): Likewise.
13822         (acos_test_towardzero): Likewise.
13823         (acos_test_downward): Likewise.
13824         (acos_test_upward): Likewise.
13825         (acosh_test): Likewise.
13826         (asin_test): Likewise.
13827         (asin_test_tonearest): Likewise.
13828         (asin_test_towardzero): Likewise.
13829         (asin_test_downward): Likewise.
13830         (asin_test_upward): Likewise.
13831         (asinh_test): Likewise.
13832         (atan_test): Likewise.
13833         (atanh_test): Likewise.
13834         (atan2_test): Likewise.
13835         (cabs_test): Likewise.
13836         (cacos_test): Likewise.
13837         (cacosh_test): Likewise.
13838         (carg_test): Likewise.
13839         (casin_test): Likewise.
13840         (casinh_test): Likewise.
13841         (catan_test): Likewise.
13842         (catanh_test): Likewise.
13843         (cbrt_test): Likewise.
13844         (ccos_test): Likewise.
13845         (ccosh_test): Likewise.
13846         (ceil_test): Likewise.
13847         (cexp_test): Likewise.
13848         (cimag_test): Likewise.
13849         (clog_test): Likewise.
13850         (clog10_test): Likewise.
13851         (conj_test): Likewise.
13852         (copysign_test): Likewise.
13853         (cos_test): Likewise.
13854         (cos_test_tonearest): Likewise.
13855         (cos_test_towardzero): Likewise.
13856         (cos_test_downward): Likewise.
13857         (cos_test_upward): Likewise.
13858         (cosh_test): Likewise.
13859         (cosh_test_tonearest): Likewise.
13860         (cosh_test_towardzero): Likewise.
13861         (cosh_test_downward): Likewise.
13862         (cosh_test_upward): Likewise.
13863         (cpow_test): Likewise.
13864         (cproj_test): Likewise.
13865         (creal_test): Likewise.
13866         (csin_test): Likewise.
13867         (csinh_test): Likewise.
13868         (csqrt_test): Likewise.
13869         (ctan_test): Likewise.
13870         (ctan_test_tonearest): Likewise.
13871         (ctan_test_towardzero): Likewise.
13872         (ctan_test_downward): Likewise.
13873         (ctan_test_upward): Likewise.
13874         (ctanh_test): Likewise.
13875         (ctanh_test_tonearest): Likewise.
13876         (ctanh_test_towardzero): Likewise.
13877         (ctanh_test_downward): Likewise.
13878         (ctanh_test_upward): Likewise.
13879         (erf_test): Likewise.
13880         (erfc_test): Likewise.
13881         (exp_test): Likewise.
13882         (exp_test_tonearest): Likewise.
13883         (exp_test_towardzero): Likewise.
13884         (exp_test_downward): Likewise.
13885         (exp_test_upward): Likewise.
13886         (exp10_test): Likewise.
13887         (exp10_test_tonearest): Likewise.
13888         (exp10_test_towardzero): Likewise.
13889         (exp10_test_downward): Likewise.
13890         (exp10_test_upward): Likewise.
13891         (pow10_test): Likewise.
13892         (exp2_test): Likewise.
13893         (expm1_test): Likewise.
13894         (expm1_test_tonearest): Likewise.
13895         (expm1_test_towardzero): Likewise.
13896         (expm1_test_downward): Likewise.
13897         (expm1_test_upward): Likewise.
13898         (fabs_test): Likewise.
13899         (fdim_test): Likewise.
13900         (floor_test): Likewise.
13901         (fma_test): Likewise.
13902         (fma_test_towardzero): Likewise.
13903         (fma_test_downward): Likewise.
13904         (fma_test_upward): Likewise.
13905         (fmax_test): Likewise.
13906         (fmin_test): Likewise.
13907         (fmod_test): Likewise.
13908         (fpclassify_test): Likewise.
13909         (frexp_test): Likewise.
13910         (hypot_test): Likewise.
13911         (ilogb_test): Likewise.
13912         (isfinite_test): Likewise.
13913         (finite_test): Likewise.
13914         (isgreater_test): Likewise.
13915         (isgreaterequal_test): Likewise.
13916         (isinf_test): Likewise.
13917         (isless_test): Likewise.
13918         (islessequal_test): Likewise.
13919         (islessgreater_test): Likewise.
13920         (isnan_test): Likewise.
13921         (isnormal_test): Likewise.
13922         (issignaling_test): Likewise.
13923         (isunordered_test): Likewise.
13924         (j0_test): Likewise.
13925         (j1_test): Likewise.
13926         (jn_test): Likewise.
13927         (ldexp_test): Likewise.
13928         (lgamma_test): Likewise.
13929         (gamma_test): Likewise.
13930         (lrint_test): Likewise.
13931         (lrint_test_tonearest): Likewise.
13932         (lrint_test_towardzero): Likewise.
13933         (lrint_test_downward): Likewise.
13934         (lrint_test_upward): Likewise.
13935         (llrint_test): Likewise.
13936         (llrint_test_tonearest): Likewise.
13937         (llrint_test_towardzero): Likewise.
13938         (llrint_test_downward): Likewise.
13939         (llrint_test_upward): Likewise.
13940         (log_test): Likewise.
13941         (log10_test): Likewise.
13942         (log1p_test): Likewise.
13943         (log2_test): Likewise.
13944         (logb_test): Likewise.
13945         (logb_test_downward): Likewise.
13946         (lround_test): Likewise.
13947         (llround_test): Likewise.
13948         (modf_test): Likewise.
13949         (nearbyint_test): Likewise.
13950         (nextafter_test): Likewise.
13951         (nexttoward_test): Likewise.
13952         (pow_test): Likewise.
13953         (pow_test_tonearest): Likewise.
13954         (pow_test_towardzero): Likewise.
13955         (pow_test_downward): Likewise.
13956         (pow_test_upward): Likewise.
13957         (remainder_test): Likewise.
13958         (drem_test): Likewise.
13959         (remainder_test_tonearest): Likewise.
13960         (drem_test_tonearest): Likewise.
13961         (remainder_test_towardzero): Likewise.
13962         (drem_test_towardzero): Likewise.
13963         (remainder_test_downward): Likewise.
13964         (drem_test_downward): Likewise.
13965         (remainder_test_upward): Likewise.
13966         (drem_test_upward): Likewise.
13967         (remquo_test): Likewise.
13968         (rint_test): Likewise.
13969         (rint_test_tonearest): Likewise.
13970         (rint_test_towardzero): Likewise.
13971         (rint_test_downward): Likewise.
13972         (rint_test_upward): Likewise.
13973         (round_test): Likewise.
13974         (scalb_test): Likewise.
13975         (scalbn_test): Likewise.
13976         (scalbln_test): Likewise.
13977         (signbit_test): Likewise.
13978         (sin_test): Likewise.
13979         (sin_test_tonearest): Likewise.
13980         (sin_test_towardzero): Likewise.
13981         (sin_test_downward): Likewise.
13982         (sin_test_upward): Likewise.
13983         (sincos_test): Likewise.
13984         (sinh_test): Likewise.
13985         (sinh_test_tonearest): Likewise.
13986         (sinh_test_towardzero): Likewise.
13987         (sinh_test_downward): Likewise.
13988         (sinh_test_upward): Likewise.
13989         (sqrt_test): Likewise.
13990         (sqrt_test_tonearest): Likewise.
13991         (sqrt_test_towardzero): Likewise.
13992         (sqrt_test_downward): Likewise.
13993         (sqrt_test_upward): Likewise.
13994         (tan_test): Likewise.
13995         (tan_test_tonearest): Likewise.
13996         (tan_test_towardzero): Likewise.
13997         (tan_test_downward): Likewise.
13998         (tan_test_upward): Likewise.
13999         (tanh_test): Likewise.
14000         (tgamma_test): Likewise.
14001         (trunc_test): Likewise.
14002         (y0_test): Likewise.
14003         (y1_test): Likewise.
14004         (yn_test): Likewise.
14005         (significand_test): Likewise.
14006
14007         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14008         individual tests in comment.
14009         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14010         (prev_max_error): New variable.
14011         (prev_real_max_error): Likewise.
14012         (prev_imag_max_error): Likewise.
14013         (compare_ulp_data): Don't refer to test names in comment.
14014         (find_test_ulps): Remove function.
14015         (find_function_ulps): Likewise.
14016         (find_complex_function_ulps): Likewise.
14017         (init_max_error): Take function name as argument.  Look up ulps
14018         for that function.
14019         (print_ulps): Remove function.
14020         (print_max_error): Use prev_max_error instead of calling
14021         find_function_ulps.
14022         (print_complex_max_error): Use prev_real_max_error and
14023         prev_imag_max_error instead of calling find_complex_function_ulps.
14024         (check_float_internal): Take max_ulp parameter instead of calling
14025         find_test_ulps.  Don't call print_ulps.
14026         (check_float): Update call to check_float_internal.
14027         (check_complex): Update calls to check_float_internal.
14028         (START): Pass argument to init_max_error.
14029         * math/gen-libm-test.pl (%results): Don't include "kind"
14030         information.
14031         (parse_ulps): Don't handle ulps of individual tests.
14032         (print_ulps_file): Likewise.
14033         (output_ulps): Likewise.
14034         * math/README.libm-test: Update.
14035         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14036         individual tests.
14037         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14038         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14039         * sysdeps/arm/libm-test-ulps: Likewise.
14040         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14041         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14042         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14043         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14044         * sysdeps/microblaze/libm-test-ulps: Likewise.
14045         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14046         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14047         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14048         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14049         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14050         * sysdeps/sh/libm-test-ulps: Likewise.
14051         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14052         * sysdeps/tile/libm-test-ulps: Likewise.
14053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14054
14055 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14056
14057         * math/libm-test.inc (print_complex_max_error): Check separately
14058         whether real and imaginary errors are within allowed range and
14059         pass 0 to print_complex_function_ulps instead of value within
14060         allowed range.
14061
14062 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14063
14064         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14065         formatting.
14066         (get_handles_fopen): Likewise.
14067         (do_write_test): Likewise.
14068
14069         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14070
14071         * libio/fileops.c (do_ftell): Use cached offset when
14072         available.
14073         * libio/iofwide.c (do_ftell_wide): Likewise.
14074         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14075         _IO_file_attach.
14076         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14077
14078         [BZ #16532]
14079         * libio/libioP.h (get_file_offset): New function.
14080         * libio/fileops.c (get_file_offset): Likewise.
14081         (do_ftell): Likewise.
14082         (_IO_new_file_seekoff): Split out ftell logic.
14083         * libio/wfileops.c (do_ftell_wide): Likewise.
14084         (_IO_wfile_seekoff): Split out ftell logic.
14085         * libio/tst-ftell-active-handler.c: New test case.
14086         * libio/Makefile (tests): Add it.
14087
14088 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14089
14090         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14091         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14092
14093 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14094
14095         [BZ #16639]
14096         * nscd/connections.c (nscd_init): Call do_exit.
14097         (start_threads): Call do_exit and notify_parent.
14098         (begin_drop_privileges): Call do_exit.
14099         (finish_drop_privileges): Likewise.
14100         * nscd/selinux.c (preserve_capabilities): Likewise.
14101         (install_real_capabilities): Likewise.
14102         (nscd_selinux_enabled): Likewise.
14103         (avc_create_thread): Likewise.
14104         (avc_alloc_lock): Likewise.
14105         (nscd_avc_init): Likewise.
14106         * nscd/nscd.c (parent_fd): New static variable.
14107         (main): Create a pipe between parent and child processes.
14108         Skip closing parent_fd.
14109         (monitor_child): New function.
14110         (do_exit): Likewise.
14111         (notify_parent): Likewise.
14112         * nscd/nscd.h (notify_parent): Likewise.
14113         (do_exit): Likewise.
14114
14115 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14116
14117         * malloc/malloc.c (__libc_calloc): Revert last change.
14118
14119 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14120
14121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14122
14123 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14124
14125         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14127         implementation.
14128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14129         (__libc_ifunc_impl_list): Likewise.
14130         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14131         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14132         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14133         * string/strrchr.c: Define STRRCHR.
14134
14135 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14136
14137         * benchtest/bench-strtok.c (simple_strtok): Delete.
14138         (strtok_string): Use as benchmark.
14139         * string/strtok (STRTOK): New macro.
14140
14141 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14142
14143         * manual/threads.texi: Add header and standard comments to all
14144         functions.
14145
14146         * elf/dl-lookup.c (check_match): New function.
14147         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14148         (do_lookup_x): Remove nested function check_match. Use non-nested
14149         function check_match.
14150
14151 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14152
14153         * csu/Makefile (generated, before-compile): Use += rather than =.
14154         * catgets/Makefile (generated, generated-dirs): Likewise.
14155         * debug/Makefile (generated): Likewise.
14156         * dlfcn/Makefile (generated): Likewise.
14157         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14158         * iconvdata/Makefile (before-compile, generated): Likewise.
14159         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14160         * libio/Makefile (generated): Likewise.
14161         * malloc/Makefile (generated): Likewise.
14162         * manual/Makefile (generated, generated-dirs): Likewise.
14163         * misc/Makefile (generated): Likewise.
14164         * posix/Makefile (generated): Likewise.
14165         * resolv/Makefile (generated): Likewise.
14166         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14167         * timezone/Makefile (generated, generated-dirs): Likewise.
14168
14169         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14170
14171 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14172
14173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14174         power8 implementation.
14175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14176         file: POWER8 llround ifunc implementation.
14177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14178         (__lllround): Add POWER8 implementation.
14179         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14180         POWER8 llround implementation.
14181
14182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14183         power8 implementation.
14184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14185         file: POWER8 llrint ifunc implementation.
14186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14187         Add POWER8 implementation.
14188         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14189         POWER8 llrint implementation.
14190
14191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14192         power8 implementation.
14193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14194         file: POWER8 finite ifunc implementation.
14195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14196         Add POWER8 implementation.
14197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14198         Likewise.
14199         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14200         POWER8 finite implementation.
14201         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14202
14203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14204         power8 implementation.
14205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14206         file: POWER8 isinf ifunc implementation.
14207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14208         POWER8 implementation.
14209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14210         Likewise.
14211         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14212         isinf implementation.
14213         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14214
14215         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14216         (INIT_ARCH): Add hwcap2 initialization.
14217         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14218         power8 implementation.
14219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14220         file: POWER8 isnan ifunc implementation.
14221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14222         POWER8 implementation.
14223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14224         Likewise.
14225         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14226         isnan implementation.
14227         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14228
14229 2014-02-27  Joey Ye  <joey.ye@arm.com>
14230
14231         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14232         (_FP_NANFRAC_Q): Set to zero.
14233
14234 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14235
14236         [BZ #16623]
14237         * math/auto-libm-test-in: New test inputs.
14238         * math/auto-libm-test-out: Regenerate.
14239         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14240         and DA.
14241         (__cos): Likewise.
14242         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14243
14244 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14245
14246         * scripts/evaluate-test.sh: Take new argument indicating whether
14247         failure is expected.
14248         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14249         indicating whether failure is expected.
14250         * conform/Makefile (test-xfail-run-conformtest): New variable.
14251         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14252         level.
14253         * posix/Makefile (test-xfail-annexc): New variable.
14254         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14255
14256 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14257
14258         * argp/Makefile: Include Makeconfig immediately after defining
14259         subdir.
14260         * assert/Makefile: Likewise.
14261         * benchtests/Makefile: Likewise.
14262         * catgets/Makefile: Likewise.
14263         * conform/Makefile: Likewise.
14264         * crypt/Makefile: Likewise.
14265         * csu/Makefile: Likewise.
14266         (all): Remove target.
14267         * ctype/Makefile: Include Makeconfig immediately after defining
14268         subdir.
14269         * debug/Makefile: Likewise.
14270         * dirent/Makefile: Likewise.
14271         * dlfcn/Makefile: Likewise.
14272         * gmon/Makefile: Likewise.
14273         * gnulib/Makefile: Likewise.
14274         * grp/Makefile: Likewise.
14275         * gshadow/Makefile: Likewise.
14276         * hesiod/Makefile: Likewise.
14277         * hurd/Makefile: Likewise.
14278         (all): Remove target.
14279         * iconvdata/Makefile: Include Makeconfig immediately after
14280         defining subdir.
14281         * inet/Makefile: Likewise.
14282         * intl/Makefile: Likewise.
14283         * io/Makefile: Likewise.
14284         * libio/Makefile: Likewise.
14285         (all): Remove target.
14286         * locale/Makefile: Include Makeconfig immediately after defining
14287         subdir.
14288         * login/Makefile: Likewise.
14289         * mach/Makefile: Likewise.
14290         (all): Remove target.
14291         * malloc/Makefile: Include Makeconfig immediately after defining
14292         subdir.
14293         (all): Remove target.
14294         * manual/Makefile: Include Makeconfig immediately after defining
14295         subdir.
14296         * math/Makefile: Likewise.
14297         * misc/Makefile: Likewise.
14298         * nis/Makefile: Likewise.
14299         * nss/Makefile: Likewise.
14300         * po/Makefile: Likewise.
14301         (all): Remove target.
14302         * posix/Makefile: Include Makeconfig immediately after defining
14303         subdir.
14304         * pwd/Makefile: Likewise.
14305         * resolv/Makefile: Likewise.
14306         * resource/Makefile: Likewise.
14307         * rt/Makefile: Likewise.
14308         * setjmp/Makefile: Likewise.
14309         * shadow/Makefile: Likewise.
14310         * signal/Makefile: Likewise.
14311         * socket/Makefile: Likewise.
14312         * soft-fp/Makefile: Likewise.
14313         * stdio-common/Makefile: Likewise.
14314         * stdlib/Makefile: Likewise.
14315         * streams/Makefile: Likewise.
14316         * string/Makefile: Likewise.
14317         * sunrpc/Makefile: Likewise.
14318         (all): Remove target.
14319         * sysvipc/Makefile: Include Makeconfig immediately after defining
14320         subdir.
14321         * termios/Makefile: Likewise.
14322         * time/Makefile: Likewise.
14323         * timezone/Makefile: Likewise.
14324         (all): Remove target.
14325         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14326         subdir.
14327         * wctype/Makefile: Likewise.
14328
14329 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14330
14331         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14332         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14333         (libc_feholdexcept_setround_mips): Ditto.
14334         (libc_feholdsetround): New.
14335         (libc_feholdsetroundf): New.
14336         (libc_feholdsetroundl): New.
14337         (libc_feupdateenv_test_mips): New.
14338         (libc_feupdateenv_test): New.
14339         (libc_feupdateenv_testf): New.
14340         (libc_feupdateenv_testl): New.
14341         (libc_feresetround): New.
14342         (libc_feresetroundf): New.
14343         (libc_feresetroundl): New.
14344         (libc_fetestexcept_mips): New.
14345         (libc_fetestexcept): New.
14346         (libc_fetestexceptf): New.
14347         (libc_fetestexceptl): New.
14348         (HAVE_RM_CTX): New.
14349         (libc_feholdexcept_setround_mips_ctx): New.
14350         (libc_feholdexcept_setround_ctx): New.
14351         (libc_feholdexcept_setroundf_ctx): New.
14352         (libc_feholdexcept_setroundl_ctx): New.
14353         (libc_fesetenv_mips_ctx): New.
14354         (libc_fesetenv_ctx): New.
14355         (libc_fesetenv_ctxf): New.
14356         (libc_fesetenv_ctxl): New.
14357         (libc_feupdateenv_mips_ctx): New.
14358         (libc_feupdateenv_ctx): New.
14359         (libc_feupdateenvf_ctx): New.
14360         (libc_feupdateenvl_ctx): New.
14361         (libc_feholdsetround_mips_ctx): New.
14362         (libc_feholdsetround_ctx): New.
14363         (libc_feholdsetroundf_ctx): New.
14364         (libc_feholdsetroundl_ctx): New.
14365         (libc_feresetround_mips_ctx): New.
14366         (libc_feresetround_ctx): New.
14367         (libc_feresetroundf_ctx): New.
14368         (libc_feresetroundl_ctx): New.
14369
14370 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14371
14372         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14373
14374         * manual/ipc.texi: New file.
14375         * manual/Makefile (chapters): Add ipc.
14376         * manual/job.texi: Add "Inter-Process Communication" to next.
14377         * manual/process.texi: Add "Inter-Process Communication" to prev.
14378
14379 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14380
14381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14382
14383 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14384
14385         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14386
14387         * manual/arith.texi: Fix spaces after sentences.
14388         * manual/charset.texi: Likewise.
14389         * manual/errno.texi: Likewise.
14390         * manual/install.texi: Likewise.
14391         * manual/llio.texi: Likewise.
14392         * manual/locale.texi: Likewise.
14393         * manual/maint.texi: Likewise.
14394         * manual/math.texi: Likewise.
14395         * manual/memory.texi: Likewise.
14396         * manual/message.texi: Likewise.
14397         * manual/probes.texi: Likewise.
14398         * manual/resource.texi: Likewise.
14399         * manual/signal.texi: Likewise.
14400         * manual/socket.texi: Likewise.
14401         * manual/stdio.texi: Likewise.
14402         * manual/string.texi: Likewise.
14403         * manual/time.texi: Likewise.
14404         * manual/users.texi: Likewise.
14405
14406 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14407
14408         [BZ #16632]
14409         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14410         _DEFAULT_SOURCE is defined.
14411
14412 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14413             Carlos O'Donell  <carlos@redhat.com>
14414
14415         [BZ #16613]
14416         * elf/dl-tls.c (_dl_count_modids): New function.
14417         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14418         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14419         audit library and increment generation counter.
14420         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14421         * elf/tst-audit9.c: New file.
14422         * elf/tst-auditmod9a.c: New file.
14423         * elf/tst-auditmod9b.c: New file.
14424         * elf/Makefile: Add rules to build and run tst-audit9.
14425
14426 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14427
14428         [BZ #15347]
14429         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14430
14431 2014-02-25  Will Newton  <will.newton@linaro.org>
14432
14433         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14434         (__longjmp): Restore sp and lr before restoring callee
14435         saved registers.  Add longjmp and longjmp_target
14436         SystemTap probe point.
14437         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14438         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14439         Define to zero to match jmpbuf layout.
14440         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14441         (__sigsetjmp): Save sp and lr before saving callee
14442         saved registers.  Add setjmp SystemTap probe point.
14443
14444 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14445
14446         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14447
14448 2014-02-24  Andreas Schwab  <schwab@suse.de>
14449
14450         [BZ #15804]
14451         * elf/pldd.c (wait_for_ptrace_stop): New function.
14452         (main): Call it after attaching.
14453
14454 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14455
14456         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14457         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14458         Versions files is now verboten.
14459         * hurd/Versions (libc: GLIBC_2.0):
14460         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14461         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14462         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14463         * mach/Versions: Likewise.
14464
14465         * csu/Versions: Remove unused %include.
14466         * resolv/Versions: Likewise.
14467
14468 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14469
14470         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14471         ($(objpfx)check-local-headers.out): Likewise.
14472         ($(objpfx)begin-end-check.out): Likewise.
14473         * Makerules (check-abi-%.out): Likewise.
14474         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14475         ($(objpfx)test2.cat): Likewise.
14476         ($(objpfx)de/libc.cat): Likewise.
14477         ($(objpfx)test-gencat.out): Likewise.
14478         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14479         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14480         ($(objpfx)noload-mem): Likewise.
14481         ($(objpfx)tst-pathopt.out): Likewise.
14482         ($(objpfx)tst-rtld-load-self.out): Likewise.
14483         ($(objpfx)tst-array1-cmp.out): Likewise.
14484         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14485         ($(objpfx)tst-array2-cmp.out): Likewise.
14486         ($(objpfx)tst-array3-cmp.out): Likewise.
14487         ($(objpfx)tst-array4-cmp.out): Likewise.
14488         ($(objpfx)tst-array5-cmp.out): Likewise.
14489         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14490         ($(objpfx)check-textrel.out): Likewise.
14491         ($(objpfx)check-execstack.out): Likewise.
14492         ($(objpfx)check-localplt.out): Likewise.
14493         ($(objpfx)order2-cmp.out): Likewise.
14494         ($(objpfx)tst-leaks1-mem): Likewise.
14495         ($(objpfx)tst-leaks1-static-mem): Likewise.
14496         ($(objpfx)tst-initorder-cmp.out): Likewise.
14497         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14498         ($(objpfx)tst-unused-dep.out): Likewise.
14499         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14500         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14501         * iconv/Makefile (test-iconvconfig): Likewise.
14502         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14503         ($(objpfx)iconv-test.out): Likewise.
14504         ($(objpfx)tst-tables.out): Likewise.
14505         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14506         ($(objpfx)tst-gettext.out): Likewise.
14507         ($(objpfx)tst-translit.out): Likewise.
14508         ($(objpfx)tst-gettext2.out): Likewise.
14509         ($(objpfx)tst-gettext4.out): Likewise.
14510         ($(objpfx)tst-gettext6.out): Likewise.
14511         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14512         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14513         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14514         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14515         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14516         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14517         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14518         ($(objpfx)wordexp-tst.out): Likewise.
14519         ($(objpfx)annexc.out): Likewise.
14520         ($(objpfx)tst-fnmatch-mem): Likewise.
14521         ($(objpfx)bug-regex2-mem): Likewise.
14522         ($(objpfx)bug-regex14-mem): Likewise.
14523         ($(objpfx)bug-regex21-mem): Likewise.
14524         ($(objpfx)bug-regex31-mem): Likewise.
14525         ($(objpfx)tst-vfork3-mem): Likewise.
14526         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14527         ($(objpfx)tst-pcre-mem): Likewise.
14528         ($(objpfx)tst-boost-mem): Likewise.
14529         ($(objpfx)tst-getconf.out): Likewise.
14530         ($(objpfx)bug-ga2-mem): Likewise.
14531         ($(objpfx)bug-glob2-mem): Likewise.
14532         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14533         ($(objpfx)mtrace-tst-leaks2): Likewise.
14534         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14535         ($(objpfx)tst-printf.out): Likewise.
14536         ($(objpfx)tst-setvbuf1.out): Likewise.
14537         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14538         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14539         ($(objpfx)tst-fmtmsg.out): Likewise.
14540         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14541         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14542
14543         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14544         * bits/sigaction.h [__USE_MISC]: Likewise.
14545         * bits/waitstatus.h: Update #endif comments.
14546         * ctype/ctype.h: Likewise.
14547         * dirent/dirent.h: Likewise.
14548         [__USE_MISC]: Remove redundant conditionals.
14549         * grp/grp.h: Update #endif comments.
14550         [__USE_GNU]: Remove redundant conditionals.
14551         [__USE_MISC]: Likewise.
14552         * inet/netinet/in.h [__USE_GNU]: Likewise.
14553         * io/sys/stat.h [__USE_MISC]: Likewise.
14554         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14555         * libio/bits/stdio.h: Update #endif comments.
14556         [__USE_MISC]: Remove redundant conditionals.
14557         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14558         * libio/stdio.h: Update #endif comments.
14559         [__USE_MISC]: Remove redundant conditionals.
14560         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14561         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14562         * math/math.h: Update #else and #endif comments.
14563         [__USE_MISC]: Remove redundant conditionals.
14564         * misc/sys/uio.h: Update #endif comments.
14565         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14566         * posix/glob.h [__USE_MISC]: Likewise.
14567         * posix/sys/types.h: Update #endif comments.
14568         [__USE_MISC]: Remove redundant conditionals.
14569         * posix/sys/wait.h: Update #endif comments.
14570         [__USE_MISC]: Remove redundant conditionals.
14571         * posix/unistd.h: Update #endif comments.
14572         [__USE_MISC]: Remove redundant conditionals.
14573         * pwd/pwd.h [__USE_GNU]: Likewise.
14574         [__USE_MISC]: Likewise.
14575         * resolv/netdb.h [__USE_GNU]: Likewise.
14576         * signal/signal.h: Update #endif comments.
14577         [__USE_MISC]: Remove redundant conditionals.
14578         * stdlib/stdlib.h: Update #else and #endif comments.
14579         [__USE_MISC]: Remove redundant conditionals.
14580         [__USE_GNU]: Likewise.
14581         * string/bits/string2.h [__USE_MISC]: Likewise.
14582         * string/string.h: Update #endif comments.
14583         [__USE_MISC]: Remove redundant conditionals.
14584         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14585         Likewise.
14586         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14587         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14588         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14589         Likewise.
14590         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14591         Likewise.
14592         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14593         comments.
14594         [__USE_MISC]: Remove redundant conditionals.
14595         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14596         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14597         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14598         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14599         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14600         Likewise.
14601         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14602         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14603         Likewise.
14604         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14605         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14606         Likewise.
14607         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14608         Likewise.
14609         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14610         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14611         Likewise.
14612         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14613         Likewise.
14614         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14615         * sysdeps/x86/bits/string.h: Update #endif comments.
14616         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14617         conditionals.
14618         * time/sys/time.h: Update #endif comments.
14619         * time/time.h: Likewise.
14620         [__USE_MISC]: Remove redundant conditionals.
14621
14622 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14623
14624         [BZ #16600]
14625         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14626
14627 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14628
14629         * Versions.def (librt): Add GLIBC_2.17.
14630
14631 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14632
14633         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14634         synonym for _SYS_AUXV_H to allow direct inclusion.
14635         * sysdeps/sparc/bits/hwcap.h: Likewise.
14636         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14637         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14638         * sysdeps/sparc/sysdep.h: Likewise.
14639
14640 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14641
14642         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14643
14644 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14645
14646         * benchtests/bench-strrchr.c: Print length instead of position.
14647
14648 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14649
14650         [BZ #16611]
14651         * sysdeps/unix/sysv/linux/kernel-features.h
14652         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14653         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14654         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14655         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14656         Likewise.
14657         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14658         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14659         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14660         (__ASSUME_SENDMMSG): Define instead of using previous
14661         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14662         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14663         (__ASSUME_SENDMMSG_SYSCALL): Define.
14664         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14665         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14666         Likewise.
14667         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14668         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14669         Likewise.
14670         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14671         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14672         Likewise.
14673         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14674         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14675         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14676         [__ASSUME_SENDMMSG]: Change conditionals to
14677         [__ASSUME_SENDMMSG_SOCKETCALL].
14678         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14679         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14680         Define.
14681         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14682         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14683         Likewise.
14684         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14685         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14686         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14687         [!__ASSUME_SENDMMSG]: Change conditional to
14688         [!__ASSUME_SENDMMSG_SOCKETCALL].
14689         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14690         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14691         Define.
14692
14693         [BZ #16610]
14694         * sysdeps/unix/sysv/linux/kernel-features.h
14695         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14696         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14697         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14698         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14699         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14700         [__i386__ || __sparc__]
14701         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14702         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14703         (__ASSUME_RECVMMSG): Define instead of using previous
14704         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14705         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14706         (__ASSUME_RECVMMSG_SYSCALL): Define.
14707         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14708         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14709         Likewise.
14710         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14711         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14712         Likewise.
14713         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14714         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14715         Likewise.
14716         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14717         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14718         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14719         [__ASSUME_RECVMMSG]: Change condition to
14720         [__ASSUME_RECVMMSG_SOCKETCALL].
14721         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14722         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14723         Define.
14724         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14725         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14726         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14727         Likewise.
14728         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14729         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14730         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14731         [!__ASSUME_RECVMMSG]: Change condition to
14732         [!__ASSUME_RECVMMSG_SOCKETCALL].
14733         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14734         (__ASSUME_RECVMMSG_SYSCALL): Define.
14735
14736         [BZ #16609]
14737         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14738         __powerpc__ || __s390__ || __sh__ || __sparc__]
14739         (__ASSUME_SOCKETCALL): Define.
14740         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14741         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14742         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14743         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14744         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14745         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14746         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14747         (__ASSUME_ACCEPT4): Define instead of using previous
14748         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14749         __powerpc__ || __sparc__ || __s390__)] condition.
14750         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14751         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14752         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14753         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14754         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14755         [!__ASSUME_ACCEPT4]: Change condition to
14756         [!__ASSUME_ACCEPT4_SOCKETCALL].
14757         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14758         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14759         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14760         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14761         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14762         __ASSUME_ACCEPT4_SYSCALL.
14763         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14764         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14765         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14766         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14767         __ASSUME_ACCEPT4_SYSCALL.
14768         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14769         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14770         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14771         [__ASSUME_ACCEPT4]: Change condition to
14772         [__ASSUME_ACCEPT4_SOCKETCALL].
14773         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14774         (__ASSUME_SOCKETCALL): Define.
14775         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14776         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14777         (__ASSUME_SOCKETCALL): Define.
14778         (__ASSUME_ACCEPT4): Remove.
14779         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14780         Define.
14781         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14782         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14783         Likewise.
14784         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14785         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14786
14787         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14788         macro.
14789         (HWCAP_ARM_LPAE): Likewise.
14790         (HWCAP_ARM_EVTSTRM): Likewise.
14791         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14792         Add vpfd32, lpae and evtstrm.
14793         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14794         Increase to 22.
14795
14796 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14797
14798         * math/auto-libm-test-in: Add tests of clog10.
14799         * math/auto-libm-test-out: Regenerated.
14800         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14801         * sysdeps/i386/fpu/libm-test-ulps: Update.
14802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14803
14804 2014-02-18  Andreas Schwab  <schwab@suse.de>
14805
14806         [BZ #16574]
14807         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14808         Store non-zero if the second buffer was newly allocated.
14809         (send_dg): Likewise.
14810         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14811         to send_vc and send_dg.
14812         (res_nsend): Pass NULL for ansp2_malloced.
14813         * resolv/res_query.c (__libc_res_nquery): Add parameter
14814         answerp2_malloced and pass it down to __libc_res_nsend.
14815         (res_nquery): Pass additional NULL to __libc_res_nquery.
14816         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14817         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14818         second answer buffer if answerp2_malloced was set.
14819         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14820         (__libc_res_nquerydomain): Add parameter
14821         answerp2_malloced and pass it down to __libc_res_nquery.
14822         (res_nquerydomain): Pass additional NULL to
14823         __libc_res_nquerydomain.
14824         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14825         additional NULL to __libc_res_nsend and __libc_res_nquery.
14826         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14827         additional NULL to __libc_res_nsearch.
14828         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14829         parameter of __libc_res_nsearch to check for separately allocated
14830         second buffer.
14831         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14832         __libc_res_nquery.
14833         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14834         additional NULL to __libc_res_nquery.
14835         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14836         __libc_res_nsearch.
14837         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14838         * include/resolv.h: Update prototypes of __libc_res_nquery,
14839         __libc_res_nsearch, __libc_res_nsend.
14840
14841 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14842
14843         * math/auto-libm-test-in: Add tests of fma.
14844         * math/auto-libm-test-out: Regenerated.
14845         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14846         (fma_towardzero_test_data): Likewise.
14847         (fma_downward_test_data): Likewise.
14848         (fma_upward_test_data): Likewise.
14849         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14850         mpc_mode.
14851         (rounding_modes): Add values for new field.
14852         (func_calc_method): Add value mpfr_fff_f.
14853         (func_calc_desc): Add mpfr_fff_f union field.
14854         (test_function): Add field exact_args.
14855         (FUNC): Add macro argument EXACT_ARGS.
14856         (FUNC_mpfr_f_f): Update call to FUNC.
14857         (FUNC_mpfr_f_f): Likewise.
14858         (FUNC_mpfr_ff_f): Likewise.
14859         (FUNC_mpfr_if_f): Likewise.
14860         (FUNC_mpc_c_f): Likewise.
14861         (FUNC_mpc_c_c): Likewise.
14862         (test_functions): Add fma.  Update calls to FUNC.
14863         (handle_input_arg): Add argument exact_args.
14864         (add_test): Update call to handle_input_arg.
14865         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
14866         (output_for_one_input_case): Update call to calc_generic_results.
14867         Recalculate exact zero results in each rounding mode.
14868
14869         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14870         non-negative before setting low bit.
14871         * math/auto-libm-test-in: Mark one asin test possibly having
14872         spurious underflow.
14873         * math/auto-libm-test-out: Regenerated.
14874         * sysdeps/i386/fpu/libm-test-ulps: Update.
14875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14876
14877 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
14878
14879         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14880         * sysdeps/unix/sysv/linux/microblaze: Move directory from
14881         ports/sysdeps/unix/sysv/linux/microblaze.
14882         * README: Add missing listing for microblaze*-*-linux-gnu.
14883
14884 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
14885
14886         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14887         duplicate code
14888
14889 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
14890
14891         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14892         * sysdeps/unix/sysv/linux/ia64: Move directory from
14893         ports/sysdeps/unix/sysv/linux/ia64.
14894         * README: Update listing for ia64-*-linux-gnu.
14895
14896 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
14897             Joseph Myers  <joseph@codesourcery.com>
14898
14899         * Makeconfig (test-name): New variable.
14900         (evaluate-test): Likewise.
14901         * Makerules (do-test-clean): Remove .test-result files.
14902         (common-mostlyclean): Likewise.
14903         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14904         * scripts/evaluate-test.sh: New file.
14905
14906 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
14907
14908         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14909         separate $(objpfx)tst-fopenloc-cmp.out and
14910         $(objpfx)tst-fopenloc-mem.out targets.
14911         (tests): Update dependencies.
14912         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14913         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14914         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14915         (tst-rxspencer-no-utf8-ARGS): New variable.
14916         (tst-rxspencer-no-utf8-ENV): Likewise.
14917         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14918         instead of $(objpfx)tst-rxspencer-mem.
14919         ($(objpfx)tst-rxspencer-mem): Change target to
14920         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
14921         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14922         * posix/tst-rxspencer-no-utf8.c: New file.
14923
14924         * elf/Makefile ($(objpfx)order.out): Remove rule.
14925         [$(run-built-tests) = yes] (tests): Depend on
14926         $(objpfx)order-cmp.out.
14927         ($(objpfx)order-cmp.out): New rule.
14928         [$(run-built-tests) = yes] (tests): Depend on
14929         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14930         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14931         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14932         $(objpfx)tst-array5-static-cmp.out.
14933         ($(objpfx)tst-array1.out): Remove rule.
14934         ($(objpfx)tst-array1-cmp.out): New rule.
14935         ($(objpfx)tst-array1-static.out): Remove rule.
14936         ($(objpfx)tst-array1-static-cmp.out): New rule.
14937         ($(objpfx)tst-array2.out): Remove rule.
14938         ($(objpfx)tst-array2-cmp.out): New rule.
14939         ($(objpfx)tst-array3.out): Remove rule.
14940         ($(objpfx)tst-array3-cmp.out): New rule.
14941         ($(objpfx)tst-array4.out): Remove rule.
14942         ($(objpfx)tst-array4-cmp.out): New rule.
14943         ($(objpfx)tst-array5.out): Remove rule.
14944         ($(objpfx)tst-array5-cmp.out): New rule.
14945         ($(objpfx)tst-array5-static.out): Remove rule.
14946         ($(objpfx)tst-array5-static-cmp.out): New rule.
14947         [$(run-built-tests) = yes] (tests): Depend on
14948         $(objpfx)order2-cmp.out.
14949         ($(objpfx)order2.out): Remove rule.
14950         ($(objpfx)order2-cmp.out): New rule.
14951         ($(objpfx)tst-initorder.out): Remove rule.
14952         [$(run-built-tests) = yes] (tests): Depend on
14953         $(objpfx)tst-initorder-cmp.out.
14954         ($(objpfx)tst-initorder-cmp.out): New rule.
14955         ($(objpfx)tst-initorder2.out): Remove rule.
14956         [$(run-built-tests) = yes] (tests): Depend on
14957         $(objpfx)tst-initorder2-cmp.out.
14958         ($(objpfx)tst-initorder2-cmp.out): New rule.
14959         [$(run-built-tests) = yes] (tests): Depend on
14960         $(objpfx)tst-unused-dep-cmp.out.
14961         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14962         ($(objpfx)tst-unused-dep-cmp.out): New rule.
14963         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14964         on $(objpfx)tst-setvbuf1-cmp.out.
14965         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14966         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14967         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14968         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14969         ($(objpfx)tst-svc.out): Remove rule.
14970         ($(objpfx)tst-svc-cmp.out): New rule.
14971
14972 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
14973
14974         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14975         * ctype/ctype.h [__USE_MISC]: Likewise.
14976         * dirent/dirent.h [__USE_MISC]: Likewise.
14977         * grp/grp.h [__USE_MISC]: Likewise.
14978         * io/fcntl.h [__USE_MISC]: Likewise.
14979         * io/sys/stat.h [__USE_MISC]: Likewise.
14980         * libio/stdio.h [__USE_MISC]: Likewise.
14981         * posix/unistd.h [__USE_MISC]: Likewise.
14982         * pwd/pwd.h [__USE_MISC]: Likewise.
14983         * stdlib.h [__USE_MISC]: Likewise.
14984         * string/bits/string2.h [__USE_MISC]: Likewise.
14985         * string/string.h [__USE_MISC]: Likewise.
14986         * time/time.h [__USE_MISC]: Likewise.
14987
14988 2014-02-13  Andreas Schwab  <schwab@suse.de>
14989
14990         [BZ #16574]
14991         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14992         second answer buffer if it was separately allocated.
14993
14994 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
14995
14996         * sysdeps/mips/math-tests.h: Include <features.h>.
14997         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14998         (ROUNDING_TESTS_long_double): Do not define.
14999         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15000         (EXCEPTION_TESTS_long_double): Likewise.
15001         * sysdeps/mips/mips64/libm-test-ulps: Update.
15002
15003         * include/features.h (__USE_BSD): Remove macro definitions.
15004         (__USE_SVID): Likewise.
15005         (_BSD_SOURCE): Likewise.
15006         (_SVID_SOURCE): Likewise.
15007         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15008         from definition of _DEFAULT_SOURCE.
15009         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15010         [_DEFAULT_SOURCE].
15011         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15012         * bits/mman.h [__USE_BSD]: Likewise.
15013         * bits/termios.h [__USE_BSD]: Likewise.
15014         * bits/waitstatus.h [__USE_BSD]: Likewise.
15015         * ctype/ctype.h [__USE_SVID]: Likewise.
15016         * dirent/dirent.h [__USE_BSD]: Likewise.
15017         * grp/grp.h [__USE_SVID]: Likewise.
15018         [__USE_BSD]: Likewise.
15019         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15020         * io/fcntl.h [__USE_BSD]: Likewise.
15021         * io/ftw.h [__USE_BSD]: Likewise.
15022         * io/sys/stat.h [__USE_BSD]: Likewise.
15023         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15024         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15025         * libio/stdio.h [__USE_SVID]: Likewise.
15026         [__USE_BSD]: Likewise.
15027         * math/math.h [__USE_SVID]: Likewise.
15028         [__USE_BSD]: Likewise.
15029         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15030         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15031         * misc/search.h [__USE_SVID]: Likewise.
15032         * misc/sys/mman.h [__USE_BSD]: Likewise.
15033         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15034         * misc/sys/uio.h [__USE_BSD]: Likewise.
15035         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15036         * posix/glob.h [__USE_BSD]: Likewise.
15037         * posix/regex.h [__USE_BSD]: Likewise.
15038         * posix/sys/types.h [__USE_BSD]: Likewise.
15039         [__USE_SVID]: Likewise.
15040         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15041         * posix/sys/wait.h [__USE_BSD]: Likewise.
15042         [__USE_SVID]: Likewise.
15043         * posix/unistd.h [__USE_BSD]: Likewise.
15044         [__USE_SVID]: Likewise.
15045         * pwd/pwd.h [__USE_SVID]: Likewise.
15046         * resolv/netdb.h [__USE_BSD]: Likewise.
15047         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15048         * signal/signal.h [__USE_BSD]: Likewise.
15049         [__USE_SVID]: Likewise.
15050         * socket/sys/socket.h [__USE_BSD]: Likewise.
15051         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15052         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15053         [__USE_SVID]: Likewise.
15054         * string/bits/string2.h [__USE_BSD]: Likewise.
15055         [__USE_SVID]: Likewise.
15056         * string/bits/string3.h [__USE_BSD]: Likewise.
15057         * string/endian.h [__USE_BSD]: Likewise.
15058         * string/string.h [__USE_SVID]: Likewise.
15059         [__USE_BSD]: Likewise.
15060         * string/strings.h [__USE_BSD]: Likewise.
15061         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15062         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15063         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15064         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15065         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15066         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15067         Likewise.
15068         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15069         Likewise.
15070         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15071         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15072         Likewise.
15073         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15074         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15075         Likewise.
15076         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15077         Likewise.
15078         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15079         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15080         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15081         Likewise.
15082         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15083         Likewise.
15084         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15085         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15086         * termios/termios.h [__USE_BSD]: Likewise.
15087         * time/sys/time.h [__USE_BSD]: Likewise.
15088         * time/time.h [__USE_BSD]: Likewise.
15089         [__USE_SVID]: Likewise.
15090
15091         * Makefile (subdir_targets): Remove subdir_lint.out.
15092
15093         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15094         (do-tst-printf): Likewise.
15095         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15096         $(objpfx)tst-printf.out.
15097
15098         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15099
15100         * Makerules (check-abi-%): Change target to
15101         $(objpfx)check-abi-%.out.
15102         (check-abi target): Update dependencies.
15103         (check-abi-pattern variable): Redirect output of diff to $@.
15104         (check-abi variable): Likewise.
15105         * elf/Makefile (check-abi): Update dependencies.
15106
15107         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15108         unused.
15109         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15110         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15111         subnormal range.
15112         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15113         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15114         value has largest subnormal exponent.
15115         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15116         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15117         * sysdeps/aarch64/soft-fp/sfp-machine.h
15118         (_FP_TININESS_AFTER_ROUNDING): New macro.
15119         * sysdeps/alpha/soft-fp/sfp-machine.h
15120         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15121         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15122         Likewise.
15123         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15124         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15125         * sysdeps/mips/soft-fp/sfp-machine.h
15126         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15127         * sysdeps/powerpc/soft-fp/sfp-machine.h
15128         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15129         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15130         Likewise.
15131         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15132         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15133         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15134         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15135         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15136         Likewise.
15137
15138 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15139
15140         [BZ #16545]
15141         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15142         model 1.
15143
15144 2014-02-12  Richard Henderson  <rth@redhat.com>
15145
15146         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15147         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15148         * sysdeps/unix/sysv/linux/alpha: Move directory from
15149         ports/sysdeps/unix/sysv/linux/alpha.
15150         * README: Update listing for alpha-*-linux-gnu.
15151
15152 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15153
15154         * include/features.h: Update comment documenting feature test
15155         macros.
15156         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15157         _DEFAULT_SOURCE.
15158         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15159         (_SVID_SOURCE): Likewise.
15160         (_DEFAULT_SOURCE): Update description of default features.
15161         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15162         with _GNU_SOURCE.
15163         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15164         (S_ISVTX): Likewise.
15165         * manual/math.texi (Mathematical Constants): Likewise.
15166         * manual/signal.texi (Interrupted Primitives): Likewise.
15167         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15168         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15169         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15170         Don't refer to _SVID_SOURCE in warning text.
15171
15172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15173
15174         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15175         already defined.
15176         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15177         * sysdeps/mips/dl-lookup.c: Remove.
15178         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15179
15180 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15181
15182         [BZ #16447]
15183         * math/auto-libm-test-in: Add testcase for expl.
15184         * math/auto-libm-test-out: Regenerate.
15185         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15186         calculation of unsafe.
15187         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15188
15189 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15190
15191         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15192         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15193         ports/sysdeps/unix/sysv/linux/aarch64.
15194         * README: Update listing for aarch64*-*-linux-gnu.
15195
15196 2014-02-11  Will Newton  <will.newton@linaro.org>
15197
15198         * manual/probes.texi (Mathematical Function Probes): Use
15199         "triggered" instead of "hit".
15200
15201         * manual/probes.texi (Internal Probes): Add documentation
15202         of setjmp, longjmp and longjmp_target probes.
15203
15204         * include/stap-probe.h: Add comment about probe argument
15205         format.
15206
15207         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15208         definition.  (tr_where, tr_freehook, tr_mallochook,
15209         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15210
15211 2014-02-11  David S. Miller  <davem@davemloft.net>
15212
15213         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15214         processing int_tests.
15215
15216 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15217
15218         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15219         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15220         * sysdeps/unix/sysv/linux/mips: Move directory from
15221         ports/sysdeps/unix/sysv/linux/mips.
15222         * README: Update listing for mips-*-linux-gnu and
15223         mips64-*-linux-gnu.
15224
15225 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15226
15227         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15228         * sysdeps/unix/sysv/linux/m68k: Move directory from
15229         ports/sysdeps/unix/sysv/linux/m68k.
15230         * README: Update listing for m68k-*-linux-gnu.
15231
15232 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15233
15234         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15235         * sysdeps/unix/sysv/linux/generic: Move directory from
15236         ports/sysdeps/unix/sysv/linux/generic.
15237         * sysdeps/unix/sysv/linux/tile: Move directory from
15238         ports/sysdeps/unix/sysv/linux/tile.
15239         * README: Update listing for tile*-*-linux-gnu.
15240
15241 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15242
15243         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15244         __builtin_expect.
15245         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15246         * catgets/open_catalog.c (__open_catalog): Likewise.
15247         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15248         * debug/confstr_chk.c: Likewise.
15249         * debug/fread_chk.c (__fread_chk): Likewise.
15250         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15251         * debug/getgroups_chk.c: Likewise.
15252         * debug/mbsnrtowcs_chk.c: Likewise.
15253         * debug/mbsrtowcs_chk.c: Likewise.
15254         * debug/mbstowcs_chk.c: Likewise.
15255         * debug/memcpy_chk.c: Likewise.
15256         * debug/memmove_chk.c: Likewise.
15257         * debug/mempcpy_chk.c: Likewise.
15258         * debug/memset_chk.c: Likewise.
15259         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15260         * debug/strcat_chk.c (__strcat_chk): Likewise.
15261         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15262         * debug/strncat_chk.c (__strncat_chk): Likewise.
15263         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15264         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15265         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15266         * debug/wcpncpy_chk.c: Likewise.
15267         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15268         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15269         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15270         * debug/wcsncpy_chk.c: Likewise.
15271         * debug/wcsnrtombs_chk.c: Likewise.
15272         * debug/wcsrtombs_chk.c: Likewise.
15273         * debug/wcstombs_chk.c: Likewise.
15274         * debug/wmemcpy_chk.c: Likewise.
15275         * debug/wmemmove_chk.c: Likewise.
15276         * debug/wmempcpy_chk.c: Likewise.
15277         * debug/wmemset_chk.c: Likewise.
15278         * dirent/scandirat.c (SCANDIRAT): Likewise.
15279         * dlfcn/dladdr1.c (dladdr1): Likewise.
15280         * dlfcn/dladdr.c (dladdr): Likewise.
15281         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15282         * dlfcn/dlerror.c (__dlerror): Likewise.
15283         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15284         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15285         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15286         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15287         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15288         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15289         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15290         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15291         Likewise.
15292         * elf/dl-conflict.c: Likewise.
15293         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15294         * elf/dl-dst.h: Likewise.
15295         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15296         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15297         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15298         * elf/dl-init.c (call_init, _dl_init): Likewise.
15299         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15300         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15301         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15302         Likewise.
15303         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15304         Likewise.
15305         * elf/dl-minimal.c (__libc_memalign): Likewise.
15306         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15307         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15308         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15309         * elf/dl-sym.c (do_sym): Likewise.
15310         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15311         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15312         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15313         * elf/dl-writev.h (_dl_writev): Likewise.
15314         * elf/ldconfig.c (search_dir): Likewise.
15315         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15316         (dl_main): Likewise.
15317         * elf/setup-vdso.h (setup_vdso): Likewise.
15318         * grp/compat-initgroups.c (compat_call): Likewise.
15319         * grp/fgetgrent.c (fgetgrent): Likewise.
15320         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15321         * grp/putgrent.c (putgrent): Likewise.
15322         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15323         Likewise.
15324         * hurd/hurdinit.c: Likewise.
15325         * iconvdata/8bit-gap.c (struct): Likewise.
15326         * iconvdata/ansi_x3.110.c : Likewise.
15327         * iconvdata/big5.c : Likewise.
15328         * iconvdata/big5hkscs.c : Likewise.
15329         * iconvdata/cp1255.c: Likewise.
15330         * iconvdata/cp1258.c : Likewise.
15331         * iconvdata/cp932.c : Likewise.
15332         * iconvdata/euc-cn.c: Likewise.
15333         * iconvdata/euc-jisx0213.c : Likewise.
15334         * iconvdata/euc-jp.c: Likewise.
15335         * iconvdata/euc-jp-ms.c : Likewise.
15336         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15337         * iconvdata/gb18030.c : Likewise.
15338         * iconvdata/gbbig5.c (const): Likewise.
15339         * iconvdata/gbgbk.c: Likewise.
15340         * iconvdata/gbk.c : Likewise.
15341         * iconvdata/ibm1364.c : Likewise.
15342         * iconvdata/ibm930.c : Likewise.
15343         * iconvdata/ibm932.c: Likewise.
15344         * iconvdata/ibm933.c : Likewise.
15345         * iconvdata/ibm935.c : Likewise.
15346         * iconvdata/ibm937.c : Likewise.
15347         * iconvdata/ibm939.c : Likewise.
15348         * iconvdata/ibm943.c: Likewise.
15349         * iconvdata/iso_11548-1.c: Likewise.
15350         * iconvdata/iso-2022-cn.c : Likewise.
15351         * iconvdata/iso-2022-cn-ext.c : Likewise.
15352         * iconvdata/iso-2022-jp-3.c: Likewise.
15353         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15354         * iconvdata/iso-2022-kr.c : Likewise.
15355         * iconvdata/iso646.c (gconv_end): Likewise.
15356         * iconvdata/iso_6937-2.c : Likewise.
15357         * iconvdata/iso_6937.c : Likewise.
15358         * iconvdata/iso8859-1.c: Likewise.
15359         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15360         * iconvdata/shift_jisx0213.c : Likewise.
15361         * iconvdata/sjis.c : Likewise.
15362         * iconvdata/t.61.c : Likewise.
15363         * iconvdata/tcvn5712-1.c : Likewise.
15364         * iconvdata/tscii.c: Likewise.
15365         * iconvdata/uhc.c : Likewise.
15366         * iconvdata/unicode.c (gconv_end): Likewise.
15367         * iconvdata/utf-16.c (gconv_end): Likewise.
15368         * iconvdata/utf-32.c (gconv_end): Likewise.
15369         * iconvdata/utf-7.c (base64): Likewise.
15370         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15371         * iconv/gconv_close.c (__gconv_close): Likewise.
15372         * iconv/gconv_open.c (__gconv_open): Likewise.
15373         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15374         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15375         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15376         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15377         (ucs4le_internal_loop_single): Likewise.
15378         * iconv/iconv.c (iconv): Likewise.
15379         * iconv/iconv_close.c: Likewise.
15380         * iconv/loop.c (SINGLE): Likewise.
15381         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15382         * include/atomic.h: Likewise.
15383         * inet/inet6_option.c (option_alloc): Likewise.
15384         * intl/bindtextdom.c (set_binding_values): Likewise.
15385         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15386         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15387         * intl/localealias.c (read_alias_file): Likewise.
15388         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15389         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15390         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15391         * libio/fmemopen.c (fmemopen): Likewise.
15392         * libio/iofgets.c (_IO_fgets): Likewise.
15393         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15394         * libio/iofgetws.c (fgetws): Likewise.
15395         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15396         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15397         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15398         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15399         * locale/findlocale.c (_nl_find_locale): Likewise.
15400         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15401         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15402         Likewise.
15403         * locale/setlocale.c (setlocale): Likewise.
15404         * login/programs/pt_chown.c (main): Likewise.
15405         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15406         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15407         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15408         (mmap, mmap64, mremap, munmap): Likewise.
15409         * math/e_exp2l.c: Likewise.
15410         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15411         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15412         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15413         * math/s_catan.c (__catan): Likewise.
15414         * math/s_catanf.c (__catanf): Likewise.
15415         * math/s_catanh.c (__catanh): Likewise.
15416         * math/s_catanhf.c (__catanhf): Likewise.
15417         * math/s_catanhl.c (__catanhl): Likewise.
15418         * math/s_catanl.c (__catanl): Likewise.
15419         * math/s_ccosh.c (__ccosh): Likewise.
15420         * math/s_ccoshf.c (__ccoshf): Likewise.
15421         * math/s_ccoshl.c (__ccoshl): Likewise.
15422         * math/s_cexp.c (__cexp): Likewise.
15423         * math/s_cexpf.c (__cexpf): Likewise.
15424         * math/s_cexpl.c (__cexpl): Likewise.
15425         * math/s_clog10.c (__clog10): Likewise.
15426         * math/s_clog10f.c (__clog10f): Likewise.
15427         * math/s_clog10l.c (__clog10l): Likewise.
15428         * math/s_clog.c (__clog): Likewise.
15429         * math/s_clogf.c (__clogf): Likewise.
15430         * math/s_clogl.c (__clogl): Likewise.
15431         * math/s_csin.c (__csin): Likewise.
15432         * math/s_csinf.c (__csinf): Likewise.
15433         * math/s_csinh.c (__csinh): Likewise.
15434         * math/s_csinhf.c (__csinhf): Likewise.
15435         * math/s_csinhl.c (__csinhl): Likewise.
15436         * math/s_csinl.c (__csinl): Likewise.
15437         * math/s_csqrt.c (__csqrt): Likewise.
15438         * math/s_csqrtf.c (__csqrtf): Likewise.
15439         * math/s_csqrtl.c (__csqrtl): Likewise.
15440         * math/s_ctan.c (__ctan): Likewise.
15441         * math/s_ctanf.c (__ctanf): Likewise.
15442         * math/s_ctanh.c (__ctanh): Likewise.
15443         * math/s_ctanhf.c (__ctanhf): Likewise.
15444         * math/s_ctanhl.c (__ctanhl): Likewise.
15445         * math/s_ctanl.c (__ctanl): Likewise.
15446         * math/w_pow.c: Likewise.
15447         * math/w_powf.c: Likewise.
15448         * math/w_powl.c: Likewise.
15449         * math/w_scalb.c (sysv_scalb): Likewise.
15450         * math/w_scalbf.c (sysv_scalbf): Likewise.
15451         * math/w_scalbl.c (sysv_scalbl): Likewise.
15452         * misc/error.c (error_tail): Likewise.
15453         * misc/pselect.c (__pselect): Likewise.
15454         * nis/nis_callback.c (__nis_create_callback): Likewise.
15455         * nis/nis_call.c (__nisfind_server): Likewise.
15456         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15457         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15458         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15459         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15460         * nis/nis_lookup.c (nis_lookup): Likewise.
15461         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15462         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15463         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15464         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15465         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15466         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15467         * nis/nss_compat/compat-initgroups.c (add_group)
15468         (internal_getgrent_r): Likewise.
15469         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15470         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15471         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15472         (internal_getspnam_r): Likewise.
15473         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15474         (_nss_nis_getaliasbyname_r): Likewise.
15475         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15476         (_nss_nis_getntohost_r): Likewise.
15477         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15478         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15479         (_nss_nis_getgrgid_r): Likewise.
15480         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15481         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15482         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15483         (_nss_nis_gethostbyname4_r): Likewise.
15484         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15485         (initgroups_netid): Likewise.
15486         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15487         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15488         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15489         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15490         (_nss_nis_getprotobynumber_r): Likewise.
15491         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15492         (_nss_nis_getsecretkey): Likewise.
15493         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15494         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15495         (_nss_nis_getpwuid_r): Likewise.
15496         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15497         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15498         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15499         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15500         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15501         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15502         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15503         Likewise.
15504         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15505         (_nss_nisplus_getntohost_r): Likewise.
15506         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15507         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15508         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15509         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15510         Likewise.
15511         * nis/nss_nisplus/nisplus-initgroups.c
15512         (_nss_nisplus_initgroups_dyn): Likewise.
15513         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15514         (_nss_nisplus_getnetbyaddr_r): Likewise.
15515         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15516         (_nss_nisplus_getprotobynumber_r): Likewise.
15517         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15518         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15519         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15520         Likewise.
15521         * nis/nss_nisplus/nisplus-service.c
15522         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15523         (_nss_nisplus_getservbyport_r): Likewise.
15524         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15525         (_nss_nisplus_getspnam_r): Likewise.
15526         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15527         Likewise.
15528         * nscd/aicache.c (addhstaiX): Likewise.
15529         * nscd/cache.c (cache_search, prune_cache): Likewise.
15530         * nscd/connections.c (register_traced_file, send_ro_fd)
15531         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15532         (main_loop_epoll): Likewise.
15533         * nscd/grpcache.c (addgrbyX): Likewise.
15534         * nscd/hstcache.c (addhstbyX): Likewise.
15535         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15536         * nscd/mem.c (gc, mempool_alloc): Likewise.
15537         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15538         (addinnetgrX): Likewise.
15539         * nscd/nscd-client.h (__nscd_acquire_maplock)
15540         (__nscd_drop_map_ref): Likewise.
15541         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15542         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15543         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15544         Likewise.
15545         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15546         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15547         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15548         (__nscd_get_map_ref): Likewise.
15549         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15550         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15551         Likewise.
15552         * nscd/pwdcache.c (addpwbyX): Likewise.
15553         * nscd/selinux.c (preserve_capabilities): Likewise.
15554         * nscd/servicescache.c (addservbyX): Likewise.
15555         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15556         * posix/fnmatch.c (fnmatch): Likewise.
15557         * posix/getopt.c (_getopt_internal_r): Likewise.
15558         * posix/glob.c (glob, glob_in_dir): Likewise.
15559         * posix/wordexp.c (exec_comm_child): Likewise.
15560         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15561         (getanswer_r, gaih_getanswer_slice): Likewise.
15562         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15563         * resolv/res_init.c: Likewise.
15564         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15565         * resolv/res_query.c (__libc_res_nquery): Likewise.
15566         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15567         Likewise.
15568         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15569         * stdio-common/perror.c (perror): Likewise.
15570         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15571         * stdio-common/tmpnam.c (tmpnam): Likewise.
15572         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15573         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15574         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15575         Likewise.
15576         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15577         * stdlib/putenv.c (putenv): Likewise.
15578         * stdlib/setenv.c (__add_to_environ): Likewise.
15579         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15580         * stdlib/strtol_l.c (INTERNAL): Likewise.
15581         * string/memmem.c (memmem): Likewise.
15582         * string/strerror.c (strerror): Likewise.
15583         * string/strnlen.c (__strnlen): Likewise.
15584         * string/test-memmem.c (simple_memmem): Likewise.
15585         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15586         * sunrpc/pm_getport.c (__get_socket): Likewise.
15587         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15588         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15589         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15590         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15591         Likewise.
15592         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15593         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15594         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15595         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15596         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15597         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15598         Likewise.
15599         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15600         Likewise.
15601         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15602         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15603         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15604         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15605         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15606         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15607         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15608         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15609         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15610         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15611         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15612         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15613         Likewise.
15614         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15615         Likewise.
15616         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15617         Likewise.
15618         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15619         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15620         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15621         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15622         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15623         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15624         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15625         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15626         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15627         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15628         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15629         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15630         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15631         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15632         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15633         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15634         Likewise.
15635         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15636         Likewise.
15637         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15638         Likewise.
15639         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15640         Likewise.
15641         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15643         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15644         Likewise.
15645         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15646         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15647         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15648         * sysdeps/posix/sleep.c: Likewise.
15649         * sysdeps/posix/tempname.c: Likewise.
15650         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15651         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15652         Likewise.
15653         * sysdeps/powerpc/powerpc32/dl-machine.h
15654         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15655         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15656         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15657         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15658         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15659         Likewise.
15660         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15661         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15662         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15663         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15664         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15665         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15666         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15667         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15668         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15669         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15670         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15671         (elf_machine_lazy_rel): Likewise.
15672         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15673         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15674         (elf_machine_lazy_rel): Likewise.
15675         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15676         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15677         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15678         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15679         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15680         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15681         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15682         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15683         Likewise.
15684         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15685         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15686         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15687         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15688         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15689         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15690         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15691         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15692         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15693         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15694         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15695         Likewise.
15696         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15697         (__posix_fallocate64_l64): Likewise.
15698         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15699         (posix_fallocate): Likewise.
15700         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15701         Likewise.
15702         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15703         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15704         (getifaddrs_internal): Likewise.
15705         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15706         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15707         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15708         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15709         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15710         (__posix_fallocate64_l64): Likewise.
15711         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15712         Likewise.
15713         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15714         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15715         (__get_clockfreq): Likewise.
15716         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15717         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15718         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15721         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15722         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15723         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15724         Likewise.
15725         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15726         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15727         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15728         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15729         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15730         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15731         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15732         Likewise.
15733         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15734         (posix_fallocate): Likewise.
15735         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15736         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15737         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15738         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15739         (elf_machine_rela, elf_machine_rela_relative)
15740         (elf_machine_lazy_rel): Likewise.
15741         * time/asctime.c (asctime_internal): Likewise.
15742         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15743         * time/tzset.c (__tzset_parse_tz): Likewise.
15744         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15745         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15746         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15747         * wcsmbs/wcsmbsload.h: Likewise.
15748
15749         [BZ #15894]
15750         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15751
15752         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15753         (arena_get2): Remove THREAD_STATS conditionals.
15754         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15755         (__malloc_stats, int): Likewise.
15756
15757 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15758
15759         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15760         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15761
15762         * manual/setjmp.texi: Fix typos/grammar errors.
15763
15764         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15765         Only return early when n is <= 0.  Delete unused return statement.
15766
15767         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15768         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15769         * debug/tst-longjmp_chk3.c: New file.
15770
15771         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15772         (test_main): Replace code with set_fortify_handler call.
15773         * debug/test-strcpy_chk.c: Likewise.
15774         * debug/tst-chk1.c: Likewise.
15775         * debug/tst-longjmp_chk.c: Likewise.
15776         * test-skeleton.c: Include fcntl.h & paths.h
15777         (set_fortify_handler): Define.
15778
15779         * debug/tst-longjmp_chk.c: Add header comment and include
15780         ../test-skeleton.c.
15781         (do_test): Mark static.
15782         (TEST_FUNCTION): Define.
15783
15784         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15785         (IP_PMTUDISC_INTERFACE): Likewise.
15786         (IP_MULTICAST_IF): Likewise.
15787         (IP_MULTICAST_TTL): Likewise.
15788         (IP_MULTICAST_LOOP): Likewise.
15789         (IP_ADD_MEMBERSHIP): Likewise.
15790         (IP_DROP_MEMBERSHIP): Likewise.
15791         (IP_UNBLOCK_SOURCE): Likewise.
15792         (IP_BLOCK_SOURCE): Likewise.
15793         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15794         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15795         (IP_MSFILTER): Likewise.
15796         (MCAST_JOIN_GROUP): Likewise.
15797         (MCAST_BLOCK_SOURCE): Likewise.
15798         (MCAST_UNBLOCK_SOURCE): Likewise.
15799         (MCAST_LEAVE_GROUP): Likewise.
15800         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15801         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15802         (MCAST_MSFILTER): Likewise.
15803         (IP_MULTICAST_ALL): Likewise.
15804         (IP_UNICAST_IF): Likewise.
15805
15806         * timezone/Makefile: Delete $(have-ksh) check.
15807         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15808         * timezone/tzselect.ksh: Add +x mode bits.
15809
15810         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15811         (ANON_INODE_FS_MAGIC): Likewise.
15812         (BDEVFS_MAGIC): Likewise.
15813         (BINFMTFS_MAGIC): Likewise.
15814         (BTRFS_TEST_MAGIC): Likewise.
15815         (CRAMFS_MAGIC_WEND): Likewise.
15816         (DEBUGFS_MAGIC): Likewise.
15817         (ECRYPTFS_SUPER_MAGIC): Likewise.
15818         (EXT3_SUPER_MAGIC): Likewise.
15819         (EXT4_SUPER_MAGIC): Likewise.
15820         (FUTEXFS_SUPER_MAGIC): Likewise.
15821         (HOSTFS_SUPER_MAGIC): Likewise.
15822         (HUGETLBFS_MAGIC): Likewise.
15823         (MINIX3_SUPER_MAGIC): Likewise.
15824         (MTD_INODE_FS_MAGIC): Likewise.
15825         (NILFS_SUPER_MAGIC): Likewise.
15826         (OPENPROM_SUPER_MAGIC): Likewise.
15827         (PIPEFS_MAGIC): Likewise.
15828         (PSTOREFS_MAGIC): Likewise.
15829         (QNX6_SUPER_MAGIC): Likewise.
15830         (RAMFS_MAGIC): Likewise.
15831         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15832         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15833         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15834         (SECURITYFS_MAGIC): Likewise.
15835         (SELINUX_MAGIC): Likewise.
15836         (SMACK_MAGIC): Likewise.
15837         (SOCKFS_MAGIC): Likewise.
15838         (SQUASHFS_MAGIC): Likewise.
15839         (STACK_END_MAGIC): Likewise.
15840         (TMPFS_MAGIC): Likewise.
15841         (USBDEVICE_SUPER_MAGIC): Likewise.
15842         (V9FS_MAGIC): Likewise.
15843         (XENFS_SUPER_MAGIC): Likewise.
15844         (CRAMFS_MAGIC): Fix typo in comment.
15845         (EXT2_SUPER_MAGIC): Update comment.
15846         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15847
15848 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15849
15850         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15851         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15852         * sysdeps/unix/sysv/linux/arm: Move directory from
15853         ports/sysdeps/unix/sysv/linux/arm.
15854         * README: Update listing for arm-*-linux-gnueabi.
15855
15856         * README: Remove mention of am33.
15857
15858 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15859
15860         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15861         than the comma operator, to avoid "rhs of comma has no effect"
15862         compiler warnings.
15863         (__sigfillset, __sigandset, __sigorset): Likewise.
15864         * include/signal.h (__sigemptyset): Likewise.
15865         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15866
15867 2014-02-07  Allan McRae  <allan@archlinux.org>
15868
15869         * version.h (RELEASE): Set to "development".
15870         (VERSION): Set to "2.19.90"
15871         * NEWS: Add 2.20 section.
15872
15873 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
15874
15875         [BZ #16529]
15876         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15877
15878 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15879
15880         * manual/contrib.texi: Update entry for Carlos O'Donell,
15881         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15882
15883 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
15884
15885         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15886
15887         * sysdeps/unix/sysv/linux/kernel-features.h
15888         [__LINUX_KERNEL_VERSION >= 0x020621]
15889         (__ASSUME_PROC_PID_TASK_COMM): Define.
15890
15891 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15892
15893         [BZ #16398]
15894         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15895         conversion when destination buffer does not have enough space.
15896         * libio/tst-ftell-partial-wide.c: New test case.
15897         * libio/Makefile (tests): Add tst-ftell-partial-wide.
15898
15899         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15900         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
15901         Leonard and Allan McRae.
15902
15903 2014-02-04  David S. Miller  <davem@davemloft.net>
15904
15905         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15906         32-bit.
15907
15908 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15909
15910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15911         New file
15912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15913         New file
15914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15915         New file.
15916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15917         New file.
15918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15919         New file.
15920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15921         New file.
15922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15923         New file.
15924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15925         New file.
15926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15927         New file.
15928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15929         New file.
15930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15931         New file.
15932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15933         New file.
15934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15935         New file.
15936
15937 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15938
15939         * nptl/shlib-versions: Change powerpc*le start to 2.17.
15940         * shlib-versions: Likewise.
15941
15942 2014-02-04  Roland McGrath  <roland@hack.frob.com>
15943             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15944
15945         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15946         (abilist-pattern): New variable, set to %-le.abilist.
15947
15948         * Makerules (abilist-pattern): New variable.
15949         (vpath): Use $(abilist-pattern) in place of %.abilist.
15950         (check-abi-% pattern rule): Likewise.
15951         (check-abi, update-abi): Likewise.
15952
15953 2014-02-04  Eric Wong  <normalperson@yhbt.net>
15954
15955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15956
15957 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
15958
15959         * manual/startup.texi: Add next, previous, and top entries for
15960         the `Program Arguments' and `Environment Variables' nodes.
15961
15962 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
15963
15964         * manual/macros.texi: Add comments before MTASC-safety macros.
15965
15966         * manual/users.texi: Document MTASC-safety properties.
15967
15968         * manual/threads.texi (pthread_key_create, pthread_key_delete)
15969         (pthread_getspecific, pthread_setspecific): Format with
15970         @deftypefun, and add @safety note.
15971         * manual/signal.texi: Move comments that analyze the above
15972         functions to their home place.
15973
15974 2014-02-03  Allan McRae  <allan@archlinux.org>
15975
15976         * po/sl.po: Update Slovenian translation from translation project.
15977
15978 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
15979
15980         * manual/time.texi (timegm): Add missing blank after @c.
15981         Reported by Joseph Myers <joseph@codesourcery.com>.
15982
15983 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
15984
15985         * manual/check-safety.sh: New.
15986         * manual/Makefile ($(objpfx)stamp-summary): Run it.
15987
15988         * manual/terminal.texi: Document MTASC-safety properties.
15989
15990         * manual/filesys.texi: Document MTASC-safety properties.
15991
15992         * manual/errno.texi: Document MTASC-safety properties.
15993
15994         * manual/intro.texi: Document safety identifiers and
15995         conditionals.
15996
15997         * manual/string.texi (wcstok): Fix prototype.
15998         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15999
16000         * manual/time.texi: Document MTASC-safety properties.
16001
16002         * manual/string.texi: Document MTASC-safety properties.
16003
16004         * manual/threads.texi: Document MTASC-safety properties.
16005
16006         * manual/stdio.texi: Document MTASC-safety properties.
16007
16008         * manual/syslog.texi: Document MTASC-safety properties.
16009
16010         * manual/sysinfo.texi: Document MTASC-safety properties.
16011
16012         * manual/startup.texi: Document MTASC-safety properties.
16013
16014         * manual/socket.texi: Document MTASC-safety properties.
16015
16016         * manual/signal.texi: Document MTASC-safety properties.
16017
16018 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16019
16020         * manual/setjmp.texi: Document MTASC-safety properties.
16021
16022         * manual/search.texi: Document MTASC-safety properties.
16023
16024         * manual/resource.texi: Document MTASC-safety properties.
16025
16026         * manual/process.texi: Document MTASC-safety properties.
16027
16028         * manual/platform.texi: Document MTASC-safety properties.
16029
16030         * manual/pipe.texi: Document MTASC-safety properties.
16031
16032         * manual/pattern.texi: Document MTASC-safety properties.
16033
16034         * manual/message.texi: Document MTASC-safety properties.
16035
16036         [BZ #12751]
16037         * manual/memory.texi: Document MTASC-safety properties.
16038
16039         * manual/math.texi: Document MTASC-safety properties.
16040
16041         * manual/locale.texi: Document MTASC-safety properties.
16042
16043         * manual/llio.texi: Document MTASC-safety properties.
16044
16045         * manual/libdl.texi: New.
16046
16047         * manual/lang.texi: Document MTASC-safety properties.
16048
16049         * manual/job.texi: Document MTASC-safety properties.
16050
16051         * manual/getopt.texi: Document MTASC-safety properties.
16052
16053         * manual/ctype.texi: Document MTASC-safety properties.
16054
16055 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16056
16057         [BZ #16046]
16058         * csu/libc-tls.c (static_map): Remove variable.
16059         (__libc_setup_tls): Use main executable's link map for TLS data.
16060         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16061         casing for LM_ID_BASE and GL(dl_nns).
16062         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16063         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16064         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16065         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16066         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16067         member.
16068         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16069         l_phnum members.
16070
16071 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16072
16073         * manual/debug.texi: Document MTASC-safety properties.
16074
16075 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16076
16077         [BZ #16510]
16078         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16079         of __x86_64__ when disabling x87 inline functions.
16080
16081 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16082
16083         * manual/charset.texi: Document MTASC-safety properties.
16084
16085         * manual/crypt.texi: Document MTASC-safety properties.
16086
16087         * manual/conf.texi: Document MTASC-safety properties.
16088
16089         * manual/arith.texi: Document MTASC-safety properties.
16090
16091         * manual/argp.texi: Document MTASC-safety properties.
16092
16093         * manual/macros.texi: Introduce macros to document multi
16094         thread, asynchronous signal and asynchronous cancellation
16095         safety properties.
16096         * manual/intro.texi: Introduce the properties themselves.
16097
16098 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16099
16100         * sysdeps/sh/sh4/Makefile: New file.
16101
16102 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16103
16104         * math/gen-libm-test.pl ($srcdir): New variable.
16105         ($auto_input): Use it.
16106
16107 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16108
16109         [BZ #16506]
16110         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16111         access beyond array bounds when parsing netgroups file.
16112
16113         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16114         the old buffer before realloc.
16115
16116 2014-01-27  Allan McRae  <allan@archlinux.org>
16117
16118         * po/fr.po: Update French translation from translation project.
16119
16120 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16121
16122         * sysdeps/sh/libm-test-ulps: Regenerate.
16123
16124 2014-01-24  David S. Miller  <davem@davemloft.net>
16125
16126         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16127
16128 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16129
16130         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16131         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16132
16133 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16134
16135         [BZ #16474]
16136         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16137         string pointers after reallocation.
16138
16139 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16140
16141         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16142         __SH4A__ instead of __SH_FPU_ANY__.
16143
16144 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16145
16146         * sysdeps/sh/fpu_control.h: New file.
16147         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16148         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16149         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16150         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16151         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16152         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16153         * sysdeps/sh/sys/ucontext.h: Remove.
16154         * sysdeps/sh/sys: Remove directory.
16155
16156 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16157
16158         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16159         s390/sys/ucontext.h.
16160         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16161         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16162
16163 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16164
16165         [BZ #15605]
16166         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16167
16168 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16169
16170         [BZ#16431]
16171         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16172         Adjust the vDSO correctly for internal calls.
16173         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16174
16175 2014-01-20  Allan McRae  <allan@archlinux.org>
16176
16177         * po/ca.po: Update Catalan translation from translation project.
16178
16179 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16180
16181         * sysdeps/s390/sotruss-lib.c: New file.
16182
16183 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16184
16185         [BZ#16430]
16186         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16187         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16188         local calls issues by not having a PLT stub required for IFUNC calls.
16189         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16190
16191 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16192
16193         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16194         * math/test-fpucw-static.c: Likewise.
16195
16196 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16197
16198         [BZ #16453]
16199         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16200
16201 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16202
16203         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16204         implementation for powerpc.
16205
16206 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16207
16208         [BZ #14782]
16209         * sysdeps/posix/system.c (__libc_system): Do not enable
16210         asynchronous cancellation.
16211
16212 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16213
16214         [BZ #16427]
16215         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16216         handling only for numbers special also in the IEEE case.
16217
16218 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16219
16220         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16221
16222 2014-01-11  Allan McRae  <allan@archlinux.org>
16223
16224         * po/bg.po: Update Bulgarian translation from translation project.
16225
16226         * po/de.po: Update German translation from translation project.
16227
16228 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16229
16230         * sysdeps/generic/gcc-compat.h: New file.
16231
16232 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16233
16234         * benchtests/asin-inputs: Correct slow inputs.
16235         * benchtests/acos-inputs: Likewise.
16236
16237 2014-01-10  Allan McRae  <allan@archlinux.org>
16238
16239         * po:sv.po: Update Swedish translation from translation project.
16240
16241         * po/vi.po: Update Vietnamese translation from translation project.
16242
16243         * po/eo.po: Update Esperanto translation from translation project.
16244
16245         * po/cs.po: Update Czech translation from translation project.
16246
16247         * po/nl.po: Update Dutch translation from translation project.
16248
16249         * po/pl.po: Update Polish translation from translation project.
16250
16251         * po/ru.po: Update Russian translation from translation project.
16252
16253         * po/uk.po: Update Ukrainian translation from translation project.
16254
16255 2014-01-08  Brooks Moses  <bmoses@google.com>
16256
16257         * elf/dl-load.c: Fix comment typo.
16258
16259 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16260
16261         * po/header.pot: Rename to...
16262         * po/pot.header: ... this.
16263         * po/Makefile: Use pot.header.
16264
16265 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16266             Maxim Kuvyrkov  <maxim@kugelworks.com>
16267
16268         [BZ #16394]
16269         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16270         SRC and DEST against LEN.
16271
16272 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16273
16274         [BZ #16414]
16275         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16276         implementation.
16277         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16278
16279 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16280
16281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16282
16283 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16284
16285         [BZ #16408]
16286         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16287         for large positive arguments.
16288
16289 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16290
16291         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16292
16293         * math/auto-libm-test-in: Mark various tests with
16294         xfail-rounding:ldbl-128ibm.
16295         * math/auto-libm-test-out: Regenerated.
16296
16297         [BZ #16407]
16298         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16299         Increase overflow threshold.
16300
16301 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16302
16303         [BZ #14286]
16304         * stdio-common/vfprintf.c: Check for integer overflow.
16305
16306 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16307
16308         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16309         the first argument and return value of __tls_get_addr_internal.
16310
16311 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16312
16313         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16314         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16315
16316 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16317
16318         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16319         * sysdeps/s390/rtld-global-offsets.sym: New file.
16320         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16321         GLIBC_2.19 symbol.
16322         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16323         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16324         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16325         ... this.
16326         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16327         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16328         ... this.
16329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16330         Regenerate.
16331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16332         Regenerate.
16333         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16334         halfs of GPRs for high_gprs contexts.
16335         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16336         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16337         field.
16338         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16339         uc_flags field.
16340         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16341         64 bit versions:
16342         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16343         for high GPRs (uc_high_gprs) and for future extensions
16344         (__reserved).
16345         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16346         for future extensions (__reserved).
16347         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16348         64 bit versions:
16349         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16350         SC_HIGHGPRS offset definition.
16351         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16352         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16353
16354         * Versions.def: Add GLIBC_2.19 for libpthread.
16355         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16356         siglongjmp for libpthread with GLIBC_2.19 symver.
16357         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16358         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16359         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16360         * sysdeps/s390/__longjmp.c: New file.
16361         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16362         * sysdeps/s390/longjmp.c: New file.
16363         * sysdeps/s390/setjmp.S: New file.
16364         * sysdeps/s390/sigjmp.S: New file.
16365         * sysdeps/s390/v1-longjmp.c: New file.
16366         * sysdeps/s390/v1-setjmp.h: New file.
16367         * sysdeps/s390/v1-sigjmp.c: New file.
16368         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16369         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16370         GLIBC_2.19 version.
16371         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16372         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16373         versioned symbols for ____longjmp_chk.
16374         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16375         Likewise.
16376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16377         Regenerate.
16378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16379         Regenerate.
16380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16381         Regenerate.
16382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16383         Regenerate.
16384         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16385         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16386         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16387         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16388         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16389         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16390         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16391         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16392         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16393         * sysdeps/s390/rtld-__longjmp.c: New file.
16394         * sysdeps/s390/rtld-setjmp.S: New file.
16395
16396 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16397
16398         [BZ #16400]
16399         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16400         Return -__logl (x) for small positive arguments without evaluating
16401         a polynomial.
16402
16403 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16404
16405         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16406         Rename to ...
16407         (__ptrace_peeksiginfo_args): ... this.
16408         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16409         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16410         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16411
16412 2014-01-06  Allan McRae  <allan@archlinux.org>
16413
16414         * inet/netinet/in.h: Fix typo in comment.
16415
16416 2014-01-05  Andreas Jaeger  <aj@suse.de>
16417
16418         * sysdeps/i386/fpu/libm-test-ulps: Update.
16419
16420 2014-01-05  Allan McRae  <allan@archlinux.org>
16421
16422         * po/libc.pot: Regenerated.
16423
16424         * malloc/memusagestat.c: Fix gettext call formatting.
16425
16426 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16427
16428         * nscd/nscd.c: Improve usage() output.
16429
16430 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16431
16432         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16433         * sysdeps/unix/sysv/linux/configure: Regenerated.
16434         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16435         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16436
16437 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16438
16439         [BZ #16390]
16440         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16441         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16442
16443 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16444
16445         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16446         extra tokens at end of #undef directive.
16447         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16448         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16449         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16450
16451 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16452
16453         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16454
16455         * math/auto-libm-test-in: Mark various tests with
16456         xfail-rounding:ldbl-128ibm.
16457         * math/auto-libm-test-out: Regenerated.
16458
16459 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16460
16461         [BZ #16386]
16462         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16463         numbers with subnormal high part when calculating exponent.
16464
16465         [BZ #16385]
16466         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16467         fabs.
16468
16469         [BZ #16384]
16470         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16471         M_LN2l.
16472         (__ieee754_acoshl): Use __log1pl not __log1p.
16473
16474 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16475
16476         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16477         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16478         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16479         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16480         (reused_arena, arena_get2): Convert to GNU style.
16481         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16482         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16483         (memalign_check, __malloc_set_state): Likewise.
16484         * malloc/mallocbug.c (main): Likewise.
16485         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16486         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16487         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16488         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16489         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16490         (__posix_memalign, malloc_info): Likewise.
16491         * malloc/malloc.h: Likewise.
16492         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16493         (mallochook, memalignhook, reallochook, mabort): Likewise.
16494         * malloc/mcheck.h: Likewise.
16495         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16496         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16497         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16498         * malloc/morecore.c (__default_morecore): Likewise.
16499         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16500         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16501         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16502         (print_and_abort): Likewise.
16503         * malloc/obstack.h: Likewise.
16504         * malloc/set-freeres.c (__libc_freeres): Likewise.
16505         * malloc/tst-mallocstate.c (main): Likewise.
16506         * malloc/tst-mtrace.c (main): Likewise.
16507         * malloc/tst-realloc.c (do_test): Likewise.
16508
16509 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16510
16511         [BZ #16366]
16512         * nscd/netgroupcache.c (do_notfound): New function.
16513         (addgetnetgrentX): Use it.
16514
16515         [BZ # 16365]
16516         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16517         NSS_STATUS_NOTFOUND.
16518
16519 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16520
16521         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16523
16524 2014-01-01  Allan McRae  <allan@archlinux.org>
16525
16526         * scripts/update-copyrights: Update configure input file suffix.
16527
16528         * NEWS: Update copyright year.
16529         * catgets/gencat.c: Likewise.
16530         * csu/version.c: Likewise.
16531         * debug/catchsegv.sh: Likewise.
16532         * debug/pcprofiledump.c: Likewise.
16533         * debug/xtrace.sh: Likewise.
16534         * elf/ldconfig.c: Likewise.
16535         * elf/ldd.bash.in: Likewise.
16536         * elf/pldd.c: Likewise.
16537         * elf/sotruss.ksh: Likewise.
16538         * elf/sprof.c: Likewise.
16539         * iconv/iconv_prog.c: Likewise.
16540         * iconv/iconvconfig.c: Likewise.
16541         * locale/programs/locale.c: Likewise.
16542         * locale/programs/localedef.c: Likewise.
16543         * login/programs/pt_chown.c: Likewise.
16544         * malloc/memusage.sh: Likewise.
16545         * malloc/memusagestat.c: Likewise.
16546         * malloc/mtrace.pl: Likewise.
16547         * manual/libc.texinfo: Likewise.
16548         * nscd/nscd.c: Likewise.
16549         * nss/getent.c: Likewise.
16550         * nss/makedb.c: Likewise.
16551         * posix/getconf.c: Likewise.
16552         * scripts/test-installation.pl: Likewise.
16553
16554         * All files with FSF copyright notices: Update copyright dates
16555         using scripts/update-copyrights.
16556         * intl/plural.c: Regenerated.
16557         * locale/programs/charmap-kw.h: Likewise.
16558         * locale/programs/locfile-kw.h: Likewise.
16559
16560 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16561
16562         * sysdeps/unix/sysv/linux/configure: Regenerated.
16563         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16564         the linux/fanotify.h header.
16565         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16566         HAVE_LINUX_FANOTIFY_H is defined.
16567
16568 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16569
16570         * benchtests/cos-inputs: New inputs.
16571         * benchtests/sin-inputs: Likewise.
16572
16573         * benchtests/atan-inputs: New inputs. Fix name of multiple
16574         precision fallback inputs.
16575
16576         * benchtests/atanh-inputs: New inputs.
16577         * benchtests/tanh-inputs: Likewise.
16578
16579         * benchtests/acosh-inputs: New inputs.
16580         * benchtests/asinh-inputs: Likewise.
16581
16582         * benchtests/cosh-inputs: New inputs.
16583         * benchtests/sinh-inputs: Likewise.
16584
16585         * benchtests/acos-inputs: Add more inputs.
16586         * benchtests/asin-inputs: Likewise.
16587
16588 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16589
16590         [BZ #16375]
16591         * manual/arith.texi: Fix spelling.
16592         * manual/charset.texi: Likewise.
16593         * manual/errno.texi: Likewise.
16594         * manual/filesys.texi: Likewise.
16595         * manual/lang.texi: Likewise.
16596         * manual/llio.texi: Likewise.
16597         * manual/locale.texi: Likewise.
16598         * manual/message.texi: Likewise.
16599         * manual/resource.texi: Likewise.
16600         * manual/search.texi: Likewise.
16601         * manual/setjmp.texi: Likewise.
16602         * manual/stdio.texi: Likewise.
16603         * manual/string.texi: Likewise.
16604         * manual/sysinfo.texi: Likewise.
16605         * manual/time.texi: Likewise.
16606
16607 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16608
16609         * po/sl.po: New file.
16610
16611 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16612
16613         * .gitignore: Add core/.gdbinit/.gdb_history.
16614
16615 2013-12-27  Allan McRae  <allan@archlinux.org>
16616
16617         [BZ #16369]
16618         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16619         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16620
16621 2013-12-24  Brooks Moses  <bmoses@google.com>
16622
16623         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16624         all compilers that claim C++98 compliance, not just GCC.
16625         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16626         Likewise.
16627
16628 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16629
16630         * NEWS: Restore accidentally deleted bug-fix entries.
16631
16632 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16633             Ondřej Bílka  <neleai@seznam.cz>
16634
16635         [BZ #15073]
16636         * malloc/malloc.c (_int_free): Perform sanity check only if we
16637         have_lock.
16638
16639 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16640
16641         [BZ #12986]
16642         * manual/stdio.texi (String Input Conversions): Clarify that character
16643         classes are not supported.
16644
16645 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16646
16647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16648
16649 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16650
16651         [BZ #16337]
16652         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16653         Calculate results for small negative arguments directly rather
16654         than using reflection formula with special underflow handling.
16655
16656         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16657         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16658         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16659         (fchflags): Likewise.
16660         (revoke): Likewise.
16661         (setlogin): Likewise.
16662         (sigaltstack): Likewise.
16663         (wait4): Likewise.
16664         (sigblock): Remove.
16665         (sigsetmask): Likewise.
16666         (wait3): Likewise.
16667         (waitpid): Likewise.
16668         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16669         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16670         file.
16671         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16672         * sysdeps/unix/bsd/Makefile: ... here.
16673         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16674         * sysdeps/unix/bsd/Versions: ... here.
16675         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16676         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16677         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16678         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16679         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16680         * sysdeps/unix/bsd/sigblock.c: ... here.
16681         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16682         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16683         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16684         * sysdeps/unix/bsd/sigvec.c: ... here.
16685         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16686         * sysdeps/unix/bsd/tcdrain.c: ... here.
16687         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16688         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16689         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16690         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16691         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16692         * sysdeps/unix/bsd/wait.c: ... here.
16693         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16694         * sysdeps/unix/bsd/wait3.c: ... here.
16695         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16696         * sysdeps/unix/bsd/waitpid.c: ... here.
16697
16698 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16699
16700         [BZ #16356]
16701         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16702         round-to-nearest for [!USE_AS_EXPM1L].
16703         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16704         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16705         more tests of exp and exp10.  Expect some exp10 tests to miss
16706         exceptions or fail in directed rounding modes.
16707         * math/auto-libm-test-out: Regenerated.
16708         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16709         (exp10_test_tonearest): New function.
16710         (exp10_towardzero_test_data): New array.
16711         (exp10_test_towardzero): New function.
16712         (exp10_downward_test_data): New array.
16713         (exp10_test_downward): New function.
16714         (exp10_upward_test_data): New array.
16715         (exp10_test_upward): New function.
16716         (main): Call the new functions.
16717         * sysdeps/i386/fpu/libm-test-ulps: Update.
16718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16719
16720 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16721
16722         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16723         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16724         * math/auto-libm-test-out: Regenerated.
16725         * math/libm-test.inc (acosh_test_data): Add more tests.
16726         (atanh_test_data): Likewise.
16727         (ceil_test_data): Likewise.
16728         (copysign_test_data): Likewise.
16729         * sysdeps/i386/fpu/libm-test-ulps: Update.
16730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16731
16732         * timezone/checktab.awk: Update from tzcode 2013i.
16733         * timezone/private.h: Likewise.
16734         * timezone/scheck.c: Likewise.
16735         * timezone/tzfile.h: Likewise.
16736         * timezone/tzselect.ksh: Likewise.
16737         * timezone/zdump.c: Likewise.
16738         * timezone/zic.c: Likewise.
16739
16740         * math/auto-libm-test-in: Add tests of cpow.
16741         * math/auto-libm-test-out: Regenerated.
16742         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16743         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16744         mpc_cc_c.
16745         (func_calc_desc): Add mpc_cc_c union field.
16746         (test_functions): Add cpow.
16747         (special_fill_2pi): New function.
16748         (special_real_inputs): Add 2pi.
16749         (calc_generic_results): Handle mpc_cc_c.
16750         * sysdeps/i386/fpu/libm-test-ulps: Update.
16751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16752
16753         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16754         csqrt, ctan and ctanh.
16755         * math/auto-libm-test-out: Regenerated.
16756         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16757         (TEST_COND_x86): Likewise.
16758         (ccos_test_data): Use AUTO_TESTS_c_c.
16759         (ccosh_test_data): Likewise.
16760         (cexp_test_data): Likewise.
16761         (clog_test_data): Likewise.
16762         (csqrt_test_data): Likewise.
16763         (ctan_test_data): Likewise.
16764         (ctan_tonearest_test_data): Likewise.
16765         (ctan_towardzero_test_data): Likewise.
16766         (ctan_downward_test_data): Likewise.
16767         (ctan_upward_test_data): Likewise.
16768         (ctanh_test_data): Likewise.
16769         (ctanh_tonearest_test_data): Likewise.
16770         (ctanh_towardzero_test_data): Likewise.
16771         (ctanh_downward_test_data): Likewise.
16772         (ctanh_upward_test_data): Likewise.
16773         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16774         mpc_c_c.
16775         (func_calc_desc): Add mpc_c_c union field.
16776         (FUNC_mpc_c_c): New macro.
16777         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16778         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16779         ctanh.
16780         (special_fill_min_subnorm_p120): New function.
16781         (special_real_inputs): Add min_subnorm_p120.
16782         (calc_generic_results): Handle mpc_c_c.
16783         * sysdeps/i386/fpu/libm-test-ulps: Update.
16784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16785
16786 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16787
16788         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16789         (do_sin_slow): New functions.
16790         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16791         (cslow2, csloww1, csloww2): Use the new functions.
16792
16793         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16794         Use M to change sign of result instead of X.  Assume X is
16795         positive.
16796         (csloww1): Likewise.
16797         (__sin): Adjust.
16798         (__cos): Adjust.
16799
16800         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16801         arguments A and DA.
16802         (__sin): Adjust.
16803         (__cos): Likewise.
16804
16805         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16806         (__cos): Likewise.
16807         (sloww1): Don't adjust sign of DX.
16808         (csloww1): Likewise.
16809         (sloww2): Use X directly and don't adjust sign of DX.
16810         (csloww2): Likewise.
16811
16812 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16813
16814         * math/auto-libm-test-in: Add tests of cabs and carg.
16815         * math/auto-libm-test-out: Regenerated.
16816         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16817         (carg_test_data): Likewise.
16818         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16819         mpc_c_f.
16820         (func_calc_desc): Add mpc_c_f union field.
16821         (test_functions): Add cabs and carg.
16822         (calc_generic_results): Handle mpc_c_f.
16823
16824         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16825         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16826         as a macro and a compat symbol.
16827         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16828         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16829         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16830         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16831         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16832         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16833         not use .hidden.
16834         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16835         Likewise.
16836         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16837         Likewise.
16838         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16839         Likewise.
16840         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16841         Likewise.
16842         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16843         Likewise.
16844         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16845         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16846         from GLIBC_2.3.2.
16847
16848 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16849
16850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16851
16852 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16853
16854         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16855         trailing whitespace removed.
16856         * scripts/config.guess: Update to version 2013-11-29.
16857         * scripts/config.sub: Update to version 2013-10-01.
16858
16859         * math/auto-libm-test-in: Add tests of sincos.
16860         * math/auto-libm-test-out: Regenerated.
16861         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16862         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16863         mpfr_f_11.
16864         (func_calc_desc): Add mpfr_f_11 union field.
16865         (test_functions): Add sincos.
16866         (calc_generic_results): Handle mpfr_f_11.
16867         * sysdeps/i386/fpu/libm-test-ulps: Update.
16868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16869
16870 2013-12-19  Andreas Schwab  <schwab@suse.de>
16871
16872         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16873         CALL_MCOUNT.
16874         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16875         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16876         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16877
16878 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16879
16880         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16881         * sysdeps/i386/fpu/libm-test-ulps: Update.
16882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16883
16884         [BZ #16293]
16885         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16886         round-to-nearest mode when using frndint.
16887         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16888         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16889         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16890         Likewise.
16891         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
16892         sinh test to fail.
16893         * math/auto-libm-test-out: Regenerated.
16894         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16895         (TEST_COND_x86): Likewise.
16896         (expm1_tonearest_test_data): New array.
16897         (expm1_test_tonearest): New function.
16898         (expm1_towardzero_test_data): New array.
16899         (expm1_test_towardzero): New function.
16900         (expm1_downward_test_data): New array.
16901         (expm1_test_downward): New function.
16902         (expm1_upward_test_data): New array.
16903         (expm1_test_upward): New function.
16904         (main): Run the new test functions.
16905         * sysdeps/i386/fpu/libm-test-ulps: Update.
16906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16907
16908         * include/features.h: Update comment documenting feature test
16909         macros.  Mention _DEFAULT_SOURCE in comment.
16910         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16911         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16912         _BSD_SOURCE and _SVID_SOURCE.
16913         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16914         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16915         !_SVID_SOURCE]: Likewise.
16916         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16917         (__USE_POSIX_IMPLICITLY): Define.
16918         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16919         (_POSIX_SOURCE): Undefine and redefine.
16920         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16921         (_POSIX_C_SOURCE): Likewise.
16922         * manual/creature.texi (_DEFAULT_SOURCE): Document.
16923         (Feature Test Macros): Update documentation of default features.
16924
16925 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16926
16927         * benchtests/Makefile: Add bench-strtok.
16928         * benchtests/bench-strtok.c: New file: strtok benchtest.
16929
16930 2013-12-19  Allan McRae  <allan@archlinux.org>
16931
16932         * manual/install.texi: Suppress menu for plain text output.
16933         * INSTALL: Regenerated.
16934
16935 2013-12-18  Brooks Moses  <bmoses@google.com>
16936
16937         [BZ #15846]
16938         * misc/getauxval.c: Include errno.h.
16939         (__getauxval): Set errno to ENOENT if the requested type is not
16940         found.
16941         * misc/sys/auxv.h (getauxval): Document that it may set errno;
16942         don't declare with __attribute_const__.
16943         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16944         * manual/startup.texi: Document that getauxval sets errno.
16945
16946 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16947
16948         * math/auto-libm-test-in: Add tests of jn and yn.
16949         * math/auto-libm-test-out: Regenerated.
16950         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16951         (yn_test_data): Likewise.
16952         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16953         mpfr_if_f.
16954         (func_calc_desc): Add mpfr_if_f union field.
16955         (FUNC_mpfr_if_f): New macro.
16956         (test_functions): Add jn and yn.
16957         (calc_generic_results): Assert type of second input for
16958         mpfr_ff_f.  Handle mpfr_if_f.
16959         (output_for_one_input_case): Disable all checking for arguments
16960         fitting floating-point types in case of an integer argument.
16961         * sysdeps/i386/fpu/libm-test-ulps: Update.
16962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16963
16964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16965         Don't expect fegetround reference in libm.so.
16966
16967 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16968
16969         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16970         $(config-cflags-nofma).
16971
16972 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16973
16974         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16975         * math/auto-libm-test-out: Regenerated.
16976
16977         [BZ #16338]
16978         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16979         to determine exponent and adjust argument to have exponent of -1.
16980         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16981         log2.
16982         * math/auto-libm-test-out: Regenerated.
16983         * sysdeps/i386/fpu/libm-test-ulps: Update.
16984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16985
16986 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
16987
16988         * manual/probes.texi: Remove cases when per-thread arenas are
16989         disabled.
16990
16991 2013-12-18  Andreas Schwab  <schwab@suse.de>
16992
16993         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16994         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16995         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16996         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16997         * sysdeps/i386/i686/multiarch/Makefile: Update.
16998         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16999
17000 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17001
17002         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17003         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17004
17005 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17006
17007         [BZ #15968]
17008         Support TZ transition times < 00:00:00.
17009         This is needed for version-3 tz-format files; it supports time
17010         stamps past 2037 for America/Godthab (the only entry in the tz
17011         database for which this change is relevant).
17012         * manual/time.texi (TZ Variable): Document transition times
17013         from -167:59:59 through -00:00:01.
17014         * time/tzset.c (tz_rule): Time of day is now signed.
17015         (__tzset_parse_tz): Parse negative time of day.
17016
17017         Document TZ transition times >= 25:00:00.
17018         * manual/time.texi (TZ Variable): Document transition times from
17019         25:00:00 through 167:59:59.  These are already supported, and this
17020         support will help with version-3 tz-format files.
17021
17022         * manual/time.texi (TZ Variable): Modernize North America example
17023         to reflect current (i.e., 2007-and-later) daylight saving rules.
17024
17025         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17026
17027 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17028
17029         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17030         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17031         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17032         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17033         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17034         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17035         * sysdeps/unix/bsd/clock.c: Likewise.
17036         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17037         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17038         * sysdeps/unix/bsd/init-posix.c: Likewise.
17039         * sysdeps/unix/bsd/poll.c: Likewise.
17040         * sysdeps/unix/bsd/ptsname.c: Likewise.
17041         * sysdeps/unix/bsd/seekdir.c: Likewise.
17042         * sysdeps/unix/bsd/setegid.c: Likewise.
17043         * sysdeps/unix/bsd/seteuid.c: Likewise.
17044         * sysdeps/unix/bsd/setgid.c: Likewise.
17045         * sysdeps/unix/bsd/setrgid.c: Likewise.
17046         * sysdeps/unix/bsd/setruid.c: Likewise.
17047         * sysdeps/unix/bsd/setsid.c: Likewise.
17048         * sysdeps/unix/bsd/setuid.c: Likewise.
17049         * sysdeps/unix/bsd/sigaction.c: Likewise.
17050         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17051         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17052         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17053         * sysdeps/unix/bsd/telldir.c: Likewise.
17054         * sysdeps/unix/bsd/times.c: Likewise.
17055         * sysdeps/unix/bsd/usleep.c: Likewise.
17056
17057         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17058         ($(objpfx)libbsd-compat.a): Remove rule.
17059
17060         * include/features.h (__FAVOR_BSD): Do not define.
17061         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17062         features conflicting with POSIX.
17063         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17064         (_BSD_SOURCE): Remove description of not being a subset of other
17065         feature test macros.
17066         * manual/job.texi (getpgrp): Do not document BSD version.
17067         (getpgid): Do not document by reference to BSD getpgrp.
17068         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17069         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17070         * signal/signal.h [__FAVOR_BSD]: Likewise.
17071         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17072         instead of making contents conditional on [__FAVOR_BSD].
17073         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17074
17075 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17076
17077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17078
17079 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17080
17081         [BZ #16314]
17082         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17083         values below 2**-450, not 2**-500.
17084         * math/auto-libm-test-in: Don't allow spurious underflow from
17085         hypot.
17086         * math/auto-libm-test-out: Regenerated.
17087
17088         [BZ #16316]
17089         [BZ #16330]
17090         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17091         values of ha and hb and sort them after adjusting subnormal
17092         arguments.
17093         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17094         Likewise.
17095         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17096         values of ea and eb and sort them after adjusting subnormal
17097         arguments.
17098         * math/auto-libm-test-in: Do not expect some hypot tests of
17099         subnormals to fail.  Add more hypot tests.
17100         * math/auto-libm-test-out: Regenerated.
17101
17102 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17103
17104         [BZ #13304]
17105         * sysdeps/sh/s_fma.c: New file.
17106         * sysdeps/sh/s_fmaf.c: New file.
17107         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17108         version.
17109         * sysdeps/sh/Implies: Add sh/soft-fp.
17110
17111 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17112
17113         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17114         level of indirection to members `objname', `errstring', `malloced'.
17115         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17116         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17117         it as the __longjmp argument (just pass 1 instead).
17118         (_dl_catch_error): Initialize C with argument pointers and address of
17119         volatile local ERRCODE rather than copying values out of C at return.
17120
17121 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17122
17123         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17124         * math/auto-libm-test-out: Regenerated.
17125         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17126         (hypot_test_data): Likewise.
17127         (pow_test_data): Likewise.
17128         (pow_tonearest_test_data): Likewise.
17129         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17130         mpfr_ff_f.
17131         (func_calc_desc): Add mpfr_ff_f union field.
17132         (FUNC_mpfr_ff_f): New macro.
17133         (test_functions): Add atan2, hypot and pow.
17134         (special_fill_min): New function.
17135         (special_fill_minus_min): Likewise.
17136         (special_fill_min_subnorm): Likewise.
17137         (special_fill_minus_min_subnorm): Likewise.
17138         (special_real_inputs): Add min, -min, min_subnorm and
17139         -min_subnorm.
17140         (calc_generic_results): Handle mpfr_ff_f.
17141         * sysdeps/i386/fpu/libm-test-ulps: Update.
17142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17143
17144 2013-12-16  Will Newton  <will.newton@linaro.org>
17145
17146         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17147         (Aligned Memory Blocks): Add documentation for aligned_alloc
17148         and suggest it as an alternative to posix_memalign.
17149         (Hooks for Malloc): Document __memalign_hook is also called
17150         for aligned_alloc.  (Summary of Malloc): Add summary for
17151         aligned alloc.  Document __memalign_hook is also called
17152         for aligned_alloc.
17153
17154 2013-12-16  Will Newton  <will.newton@linaro.org>
17155
17156         * manual/memory.texi (Malloc Examples): Clarify default
17157         alignment documentation.  Suggest posix_memalign rather
17158         than memalign or valloc.
17159         (Aligned Memory Blocks): Remove suggestion to use memalign
17160         or valloc.  Remove obsolete comment about BSD.
17161         Document memalign errno values and mark the function obsolete.
17162         Document posix_memalign returned error codes.  Mark valloc
17163         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17164         called for posix_memalign and valloc.
17165         (Summary of Malloc): Add posix_memalign to function summary.
17166         __memalign_hook is also called for posix_memalign and valloc.
17167
17168 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17169
17170         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17171         TAYLOR_SIN.
17172         (__sin): Adjust.
17173         (__cos): Likewise.
17174         (sloww): Use mynumber union.  Expand ternary operator into
17175         if-else statements.
17176         (cslow): use mynumber union.
17177
17178 2013-12-16  Allan McRae  <allan@archlinux.org>
17179
17180         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17181         * configure: Regenerated.
17182
17183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17184
17185         [BZ #14120]
17186         * configure.ac: Added --enable-maintainer-mode. Check for
17187         autoconf when enabled.
17188         * configure: Regenerated.
17189
17190         * nscd/nscd.service: New file.
17191         * nscd/nscd.tmpfiles: New file.
17192
17193 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17194
17195         [BZ #12100]
17196         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17197         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17198         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17199         (strstr): Add __strstr_sse2_unaligned ifunc.
17200         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17201         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17202         (strcasestr): Remove __strcasestr_sse42 ifunc.
17203         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17204         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17205         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17206
17207 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17208
17209         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17210         * sysdeps/sh/bits/fenv.h: ... here.
17211         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17212
17213 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17214
17215         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17216
17217         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17218         hypotf multiarch implementations.
17219         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17220         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17221         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17222         multiarch hypot for PPC64.
17223         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17224         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17225         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17226         multiarch hypotf for PPC64.
17227
17228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17229         modff multiarch implementations.
17230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17233         multiarch modf for PPC64.
17234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17237         multiarch modff for PPC64.
17238
17239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17240         and logl multiarch implementations.
17241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17244         multiarch logb for PPC64.
17245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17248         multiarch logb for PPC64.
17249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17252         multiarch logb for PPC64.
17253
17254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17255         isinff multiarch implementation.
17256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17257         file.
17258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17260         multiarch isinf for PPC64.
17261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17262         file.
17263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17264         multiarch isinff for PPC64.
17265
17266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17267         finitef multiarch implementation.
17268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17269         file.
17270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17272         multiarch finite for PPC64.
17273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17274         file.
17275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17276         multiarch finitef for PPC64.
17277
17278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17279         lrint multiarch implementation.
17280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17281         file.
17282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17284         multiarch llrint for PPC64.
17285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17286         multiarch lrint for PPC64.
17287
17288         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17289         copysignf multiarch implementation.
17290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17291         file.
17292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17293         file.
17294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17295         multiarch copysign for PPC64.
17296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17297         multiarch copysignf for PPC64.
17298
17299         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17300         multiarch implementation.
17301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17302         file.
17303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17304         file.
17305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17306         file.
17307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17308         file.
17309         multiarch llround for PPC64.
17310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17311         multiarch trunc for PPC64.
17312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17313         multiarch truncf for PPC64.
17314
17315         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17316         multiarch implementation.
17317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17318         file.
17319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17320         file.
17321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17322         file.
17323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17324         file.
17325         multiarch llround for PPC64.
17326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17327         multiarch round for PPC64.
17328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17329         multiarch roundf for PPC64.
17330
17331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17332         multiarch implementation.
17333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17334         file.
17335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17336         file.
17337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17338         file.
17339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17340         file.
17341         multiarch llround for PPC64.
17342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17343         multiarch floor for PPC64.
17344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17345         multiarch floorf for PPC64.
17346
17347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17348         multiarch implementation.
17349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17350         file.
17351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17352         file.
17353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17354         file.
17355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17356         file.
17357         multiarch llround for PPC64.
17358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17359         multiarch ceil for PPC64.
17360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17361         multiarch ceilf for PPC64.
17362
17363         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17364         multiarch implementation.
17365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17366         file.
17367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17368         file.
17369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17370         file.
17371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17372         multiarch llround for PPC64.
17373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17374         multiarch lround for PPC64.
17375
17376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17377         multiarch implementation.
17378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17381         file.
17382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17385         multiarch isnan for PPC64.
17386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17387         multiarch isnanf for PPC64.
17388
17389         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17390         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17391         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17392         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17393         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17395
17396         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17397         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17398         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17399         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17400
17401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17402         multiarch implementations.
17403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17404         (__libc_ifunc_impl_list): Likewise.
17405         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17406         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17407         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17408         multiarch stpcpy for PPC64.
17409
17410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17411         multiarch implementations.
17412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17413         (__libc_ifunc_impl_list): Likewise.
17414         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17415         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17416         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17417         multiarch strcpy for PPC64.
17418
17419         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17420         redefine function name.
17421         (_wordcopy_fwd_dest_aligned): Likewise.
17422         (_wordcopy_bwd_aligned): Likewise.
17423         (_wordcopy_bwd_dest_aligned): Likewise.
17424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17425         multiarch implementations.
17426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17427         (__libc_ifunc_impl_list): Likewise.
17428         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17429         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17430         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17431         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17432         multiarch wcscpy for PPC64.
17433
17434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17435         multiarch implementations.
17436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17437         (__libc_ifunc_impl_list): Likewise.
17438         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17439         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17440         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17441         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17442         multiarch wcscpy for PPC64.
17443
17444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17445         multiarch implementations.
17446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17447         (__libc_ifunc_impl_list): Likewise.
17448         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17449         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17450         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17451         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17452         multiarch wcsrchr for PPC64.
17453
17454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17455         multiarch implementations.
17456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17457         (__libc_ifunc_impl_list): Likewise.
17458         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17459         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17460         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17461         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17462         multiarch wcschr for PPC64.
17463
17464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17465         multiarch implementations.
17466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17467         (__libc_ifunc_impl_list): Likewise.
17468         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17469         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17470         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17471         multiarch strchrnul for PPC64.
17472
17473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17474         implementations.
17475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17476         (__libc_ifunc_impl_list): Likewise.
17477         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17478         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17479         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17480         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17481         strchr for PPC64.
17482
17483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17484         implementations.
17485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17486         (__libc_ifunc_impl_list): Likewise.
17487         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17488         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17489         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17490         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17491         strncmp for PPC64.
17492
17493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17494         multiarch implementations.
17495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17496         (__libc_ifunc_impl_list): Likewise.
17497         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17498         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17499         strncasecmp for PPC64.
17500         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17501         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17502         multiarch strncasecmp_l for PPC64.
17503
17504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17505         multiarch implementations.
17506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17507         (__libc_ifunc_impl_list): Likewise.
17508         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17509         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17510         multiarch strcasecmp for PPC64.
17511         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17512         file.
17513         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17514         multiarch strcasecmp_l for PPC64.
17515
17516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17517         implementations.
17518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17519         (__libc_ifunc_impl_list): Likewise.
17520         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17521         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17522         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17523         strnlen for PPC64.
17524
17525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17526         implementations.
17527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17528         (__libc_ifunc_impl_list): Likewise.
17529         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17530         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17531         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17532         strlen for PPC64.
17533
17534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17535         implementations.
17536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17537         (__libc_ifunc_impl_list): Likewise.
17538         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17539         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17540         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17541         rawmemrchr for PPC64.
17542
17543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17544         implementation.
17545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17546         (__libc_ifunc_impl_list): Likewise.
17547         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17548         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17549         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17550         memrchr for PPC64.
17551
17552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17553         implementation.
17554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17555         (__libc_ifunc_impl_list): Likewise.
17556         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17557         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17558         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17559         memchr for PPC64.
17560
17561         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17562         implementation.
17563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17564         (__libc_ifunc_impl_list): Likewise.
17565         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17566         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17567         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17568         mempcpy for PPC64.
17569
17570         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17571         avoid cretion of __bzero symbol.
17572         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17573         Likewise.
17574         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17575         Likewise.
17576         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17577         Likewise.
17578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17579         multiarch implementations.
17580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17581         (__libc_ifunc_impl_list): Likewise.
17582         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17583         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17584         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17585         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17586         bzero for PPC32.
17587         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17588         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17589         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17590         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17591         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17592         memset for PPC64.
17593         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17594
17595         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17597         implementations.
17598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17599         (__libc_ifunc_impl_list): Likewise.
17600         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17601         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17602         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17603         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17604         memcmp for PPC64.
17605
17606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17607         multiarch for POWER/PPC64.
17608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17609         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17610         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17611         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17612         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17613         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17614         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17615         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17616         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17617         memcpy for PPC64.
17618
17619         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17620         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17621         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17622         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17623         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17624         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17625         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17626         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17627         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17628         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17629         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17630         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17631         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17632         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17633         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17641
17642 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17643
17644         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17645
17646 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17647
17648         * benchtests/Makefile (bench): Add exp2 and log2.
17649         (LDLIBS-bench-exp2): Add -lm.
17650         (LDLIBS-bench-log2): Likewise.
17651         * benchtests/exp2-inputs: New inputs file.
17652         * benchtests/log2-inputs: New inputs file.
17653         * benchtests/log-inputs: Add new inputs.
17654         * benchtests/tan-inputs: Likewise.
17655
17656 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17657
17658         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17659         definition...
17660         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17661         (csloww2): ... from here.
17662
17663         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17664         instead of structures.
17665         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17666         (POLYNOMIAL): Likewise.
17667         (TAYLOR_SLOW): Likewise.
17668         (__sin): Likewise.
17669         (__cos): Likewise.
17670         (slow1): Likewise.
17671         (slow2): Likewise.
17672         (sloww): Likewise.
17673         (sloww1); Likewise.
17674         (sloww2): Likewise.
17675         (bsloww1): Likewise.
17676         (bsloww2): Likewise.
17677         (cslow2): Likewise.
17678         (csloww): Likewise.
17679         (csloww1): Likewise.
17680         (csloww2): Likewise.
17681
17682 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17683
17684         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17685         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17686         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17687         * malloc/hooks.c (realloc_check): Likewise.
17688
17689         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17690         * malloc/arena.c: Remove PER_THREAD conditional.
17691         [!PER_THREAD]: Remove code.
17692         (ptmalloc_unlock_all2): Likewise.
17693         (ptmalloc_init): Likewise.
17694         (_int_new_arena): Likewise.
17695         (arena_get2): Likewise.
17696         * malloc/hooks.c (__malloc_get_state): Likewise.
17697         (__malloc_set_state): Likewise.
17698         * malloc/malloc.c: Likewise.
17699         (struct malloc_state): Likewise.
17700         (struct malloc_par): Likewise.
17701         (__libc_realloc): Likewise.
17702         (__libc_mallopt): Likewise.
17703
17704 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17705
17706         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17707
17708 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17709
17710         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17711         macro to a function.  Check for zero perturb_byte.
17712         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17713
17714         * malloc/malloc.c: (force_reg): Remove.
17715         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17716         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17717         force_reg by atomic_forced_read.
17718         * malloc/arena.c (ptmalloc_init): Likewise.
17719         * malloc/hooks.c (top_check): Likewise.
17720
17721 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17722
17723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17724
17725 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17726
17727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17728
17729 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17730
17731         * math/auto-libm-test-in: Add tests of lgamma.
17732         * math/auto-libm-test-out: Regenerated.
17733         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17734         (M_LOG_2_SQRT_PIl): Likewise.
17735         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17736         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17737         mpfr_f_f1.
17738         (func_calc_desc): Add mpfr_f_f1 union field.
17739         (ARGS1): New macro.
17740         (ARGS2): Likewise.
17741         (ARGS3): Likewise.
17742         (ARGS4): Likewise.
17743         (RET1): Likewise.
17744         (RET2): Likewise.
17745         (CALC): Likewise.
17746         (FUNC): Likewise.
17747         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17748         (test_functions): Add lgamma.
17749         (calc_generic_results): Handle mpfr_f_f1.
17750         * sysdeps/i386/fpu/libm-test-ulps: Update.
17751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17752
17753 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17754
17755         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17756         __mpn_add_n for PowerPC64/POWER7.
17757         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17758         __mpn_sub_n for PowerPC64/POWER7.
17759
17760         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17761         __mpn_addmul_1 for PowerPC64.
17762         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17763         __mpn_submul_1 for PowerPC64.
17764         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17765         for PowerPC64.
17766         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17767         for PowerPC64.
17768
17769 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17770
17771         [BZ #15089]
17772         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17773
17774 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17775
17776         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17777
17778         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17779         add multiarch folders.
17780         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17781         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17782         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17783         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17784         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17785         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17786         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17787         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17788         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17789         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17790         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17797
17798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17799         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17801         New file.
17802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17803         New file.
17804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17805         multiarch __ieee754_hypot for PowerPC32.
17806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17807         New file.
17808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17809         New file.
17810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17811         multiarch __ieee754_hypotf for PowerPC32.
17812
17813         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17814         long_double_symbol only if __logbl is defined.
17815         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17816         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17817         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17818         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17819         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17820         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17821         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17822         path for implementation.
17823         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17824         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17826         logb, and logbl multiarch implementations for PowerPC32.
17827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17828         file.
17829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17830         file.
17831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17832         multiarch logb for PowerPC32.
17833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17834         file.
17835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17836         file.
17837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17838         multiarch logbf for PowerPC32.
17839         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17841         file.
17842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17843         multiarch logbl implementation for PowerPC32.
17844
17845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17846         and modff multiarch implementations.
17847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17848         New file.
17849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17850         New file.
17851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17852         multiarch modf for PowerPC32.
17853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17854         New file.
17855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17856         New file.
17857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17858         multiarch modff for PowerPC32.
17859
17860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17861         and lrintf multiarch implementations.
17862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17863         New file.
17864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17865         New file.
17866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17867         multiarch lrint for PowerPC32.
17868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17869         file: multiarch lrintf for PowerPC32.
17870
17871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17872         and lroundf multiarch implementations.
17873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17874         New file.
17875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17876         New file.
17877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17878         New file.
17879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17880         multiarch lround for PowerPC32.
17881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17882         file: multiarch lroundf for PowerPC32.
17883
17884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17885         copysign and copysignf multiarch implementations.
17886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17887         New file.
17888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17889         New file.
17890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17891         file: multiarch copysign for PowerPC32.
17892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17893         file: multiarch copysignf for PowerPC32.
17894
17895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17896         and truncf multiarch implementations.
17897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17898         New file.
17899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17900         file.
17901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17902         multiarch trunc for PowerPC32.
17903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17904         New file.
17905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17906         New file.
17907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17908         multiarch truncf for PowerPC32.
17909
17910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17911         and roundf multiarch implementations.
17912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17913         New file.
17914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17915         file.
17916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17917         multiarch round for PowerPC32.
17918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17919         New file.
17920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17921         New file.
17922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17923         multiarch roundf for PowerPC32.
17924
17925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17926         and floorf multiarch implementations.
17927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17928         New file.
17929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17930         file.
17931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17932         multiarch floor for PowerPC32.
17933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17934         New file.
17935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17936         New file.
17937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17938         multiarch floorf for PowerPC32.
17939
17940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17941         and ceilf multiarch implementations.
17942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17943         New file.
17944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17945         file.
17946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17947         multiarch ceil for PowerPC32.
17948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17949         New file.
17950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17951         file.
17952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17953         multiarch ceilf for PowerPC32.
17954
17955         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17956         is defined.
17957         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17958         FINITEF is defined.
17959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17960         and finitef multiarch implementations.
17961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17962         New file.
17963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17964         file.
17965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17966         multiarch finite for PowerPC32.
17967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17968         New file.
17969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17970         file: multiarch finitef for PowerPC32.
17971
17972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17973         and isinff multiarch implementations.
17974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17975         file.
17976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17977         file.
17978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17979         multiarch isinf for PowerPC32.
17980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17981         New file.
17982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17983         multiarch isinff for PowerPC32.
17984
17985         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17986         alias when __isnan is defined.
17987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17988         and isnanf multiarch implementations.
17989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17990         file.
17991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17992         file.
17993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17994         file.
17995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17996         file.
17997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17998         multiarch isnan for PowerPC32.
17999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18000         New file.
18001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18002         New file.
18003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18004         multiarch isnanf for PowerPC32.
18005
18006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18007         and sqrtf multiarch implementations.
18008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18009         file.
18010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18011         file.
18012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18013         multiarch sqrt for PowerPC32.
18014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18015         file.
18016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18017         file.
18018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18019         multiarch sqrtf for PowerPC32.
18020
18021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18022         and llroundf multiarch implementations.
18023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18024         New file.
18025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18026         New file.
18027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18028         New file.
18029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18030         file: multiarch llround for PowerPC32.
18031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18032         file: multiarch llroundf for PowerPC32.
18033
18034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18035         multiarch PowerPC32 fpu implementations.
18036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18037         New file.
18038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18039         New file.
18040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18041         multiarch llrint for PowerPC32.
18042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18043         New file.
18044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18045         New file.
18046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18047         file.
18048
18049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18050
18051         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18052         file.
18053         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18054         file.
18055         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18056         file.
18057         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18058         multiarch wordcopy for PPC32.
18059         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18060         wordcopy objects.
18061         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18062         (__libc_ifunc_impl_list): Likewise.
18063         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18064         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18065         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18066         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18067         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18068         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18069
18070         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18071         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18072         file.
18073         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18074         file.
18075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18076         file.
18077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18078         multiarch wcscpy for PPC32.
18079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18080         multiarch objects.
18081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18082         (__libc_ifunc_impl_list): Likewise.
18083         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18084         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18085         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18086         sysdeps/powerpc/power6/wcscpy.c.
18087
18088         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18089         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18090         file.
18091         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18092         file.
18093         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18094         file.
18095         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18096         multiarch wcsrchr for PPC32.
18097         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18098         multiarch objects.
18099         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18100         (__libc_ifunc_impl_list): Likewise.
18101         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18102         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18103         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18104         sysdeps/powerpc/power6/wcsrchr.c.
18105
18106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18107         file.
18108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18109         file.
18110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18111         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18112         multiarch wcschr for PPc32.
18113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18114         multiarch objects.
18115         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18116         (__libc_ifunc_impl_list): Likewise.
18117         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18118         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18119         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18120         sysdeps/powerpc/power6/wcschr.c.
18121
18122         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18123         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18124         file.
18125         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18126         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18127         file: multiarch strchr for PPC32.
18128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18129         multiarch objects.
18130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18131         (__libc_ifunc_impl_list): Likewise.
18132
18133         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18134         name.
18135         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18136         file.
18137         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18138         file.
18139         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18140         multiarch strchrnul for PPC32.
18141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18142         multiarch objects.
18143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18144         (__libc_ifunc_impl_list): Likewise.
18145
18146         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18147         file.
18148         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18149         multiarch strncasecmp for PPC32.
18150         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18151         file.
18152         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18153         multiarch strncasecmp_l for PPC32.
18154         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18155         strncasecmp multiarch objects.
18156         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18157         (__libc_ifunc_impl_list): Likewise.
18158
18159         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18160         file.
18161         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18162         multiarch strncasecmp for PPC32.
18163         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18164         New file.
18165         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18166         multiarch strcasecmp_l for PPC32.
18167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18168         multiarch objects.
18169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18170         (__libc_ifunc_impl_list): Likewise.
18171
18172         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18173         file.
18174         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18175         file.
18176         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18177         multiarch strncmp for PPC32.
18178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
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/rtld-strnlen.c: New file.
18184         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18185         file.
18186         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18187         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
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/strlen-power7.S: New
18194         file.
18195         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18196         file.
18197         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18198         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18199         multiarch objects.
18200         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18201         (__libc_ifunc_impl_list): Likewise.
18202
18203         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18204         file.
18205         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18206         file.
18207         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18208         multiarch rawmemchr for PPC32.
18209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18210         multiarch objects.
18211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18212         (__libc_ifunc_impl_list): Likewise.
18213
18214         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18215         file.
18216         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18217         file.
18218         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18219         file: memrchr multiarch for PPC32.
18220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18221         multiarch objects.
18222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18223         (__libc_ifunc_impl_list): Likewise.
18224
18225         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18226         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18227         file.
18228         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18229         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18230         multiarch memchr for PPC32.
18231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18232         multiarch objects.
18233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18234         (__libc_ifunc_impl_list): Likewise.
18235
18236         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18237         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18238         file.
18239         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18240         file.
18241         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18242         file: multiarch mempcpy for PPC32.
18243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18244         multiarch objects.
18245         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18246         (__libc_ifunc_impl_list): Likewise.
18247
18248         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18249         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18250         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18251         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18252         multiarch bzero for PPC32.
18253         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18254         file.
18255         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18256         file.
18257         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18258         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18259         file: multiarch memset for PPC32.
18260         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18261         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18262         memset multiarch objects.
18263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18264         (__libc_ifunc_impl_list): Likewise.
18265
18266         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18267         file.
18268         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18269         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18270         memcmp for PPC32.
18271         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18273         multiarch objects.
18274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18275         (__libc_ifunc_impl_list): Likewise.
18276
18277         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18278         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18279         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18280         file.
18281         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18282         file.
18283         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18284         file.
18285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18286         multiarch memcpy for PPC32.
18287         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18288         multiarch objects.
18289         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18290         (__libc_ifunc_impl_list): Likewise.
18291
18292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18293         support multiarch for POWER/PPC32.
18294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18295         Likewise.
18296         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18298         Implies file to make multiarch folder appers before the fpu and
18299         default folder for power4 configuration.
18300
18301 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18302
18303         * scripts/bench.pl: Append volatile keyword to type.
18304
18305 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18306
18307         * sysdeps/sh/sotruss-lib.c: New file.
18308         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18309
18310 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18311
18312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18313
18314 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18315
18316         [BZ #6810]
18317         * math/w_tgamma.c: Include <errno.h>.
18318         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18319         * math/w_tgammaf.c: Include <errno.h>.
18320         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18321         * math/w_tgammal.c: Include <errno.h>.
18322         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18323         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18324         underflow.  Add more tgamma tests.
18325         * math/auto-libm-test-out: Regenerated.
18326         * sysdeps/i386/fpu/libm-test-ulps: Update.
18327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18328
18329         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18330         sin, sinh, tan, tanh, tgamma, y0 and y1.
18331         * math/auto-libm-test-out: Regenerated.
18332         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18333         (TEST_COND_x86): Likewise.
18334         (M_E2l): Remove macro.
18335         (M_E3l): Likewise.
18336         (M_2_SQRT_PIl): Likewise.
18337         (M_SQRT_PIl): Likewise.
18338         (M_1_DIV_El): Likewise.
18339         (log_test_data): Use AUTO_TESTS_f_f.
18340         (log10_test_data): Likewise.
18341         (log1p_test_data): Likewise.
18342         (log2_test_data): Likewise.
18343         (sin_test_data): Likewise.
18344         (sin_tonearest_test_data): Likewise.
18345         (sin_towardzero_test_data): Likewise.
18346         (sin_downward_test_data): Likewise.
18347         (sin_upward_test_data): Likewise.
18348         (sinh_test_data): Likewise.
18349         (sinh_tonearest_test_data): Likewise.
18350         (sinh_towardzero_test_data): Likewise.
18351         (sinh_downward_test_data): Likewise.
18352         (sinh_upward_test_data): Likewise.
18353         (tan_test_data): Likewise.
18354         (tan_tonearest_test_data): Likewise.
18355         (tan_towardzero_test_data): Likewise.
18356         (tan_downward_test_data): Likewise.
18357         (tan_upward_test_data): Likewise.
18358         (tanh_test_data): Likewise.
18359         (tgamma_test_data): Likewise.
18360         (y0_test_data): Likewise.
18361         (y1_test_data): Likewise.
18362         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18363         (special_real_inputs): Add pi/4.
18364         * sysdeps/i386/fpu/libm-test-ulps: Update.
18365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18366
18367 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18368
18369         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18370         "longjmp_target" static probes.
18371         (__longjmp): Rename to __longjmp_symbol.
18372         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18373         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18374         on which longjmp to generate.
18375         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18376         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18377         probe.
18378         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18379         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18380         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18381         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18382         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18383         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18385         __longjmp_symbol based on which __longjmp to generate.
18386         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18387         probe.
18388         (setjmp): Rename to setjmp_symbol.
18389         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18390         (_setjmp): Rename to _setjmp_symbol.
18391         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18392         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18393         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18394         which setjmp to generate.
18395         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18396         "longjmp_target" static probes.
18397
18398 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18399
18400         * benchtests/README: Add note about output arguments.
18401         * benchtests/bench-sincos.c: Remove file.
18402         * benchtests/sincos-inputs: New file.
18403         * scripts/bench.pl: Identify output arguments and define
18404         static variables for them.
18405
18406         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18407
18408         [BZ #15941]
18409         * Makefile (INSTALL): Add install-plain.texi as the primary
18410         dependency.
18411         * manual/install-plain.texi: New file.
18412         * manual/install.texi: Include node directive only for
18413         non-plaintext output.
18414
18415 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18416
18417         * stdlib/longlong.h: Update from GCC.
18418
18419         [BZ #6807]
18420         [BZ #15901]
18421         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18422         * math/w_j0f.c (y0f): Likewise.
18423         * math/w_j0l.c (__y0l): Likewise.
18424         * math/w_j1.c (y1): Likewise.
18425         * math/w_j1f.c (y1f): Likewise.
18426         * math/w_j1l.c (__y1l): Likewise
18427         * math/w_jn.c (yn): Likewise.
18428         * math/w_jnf.c (ynf): Likewise.
18429         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18430         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18431         value for Bessel function domain errors outside _SVID_ mode.
18432         Adjust sign of return value for yn (negative integer, 0).
18433         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18434         by zero in return for negative x and set sign appropriately for
18435         negative n.
18436         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18437         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18438         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18439         expectations in error cases.
18440         (y1_test_data): Likewise.
18441         (yn_test_data): Likewise.
18442         * sysdeps/i386/fpu/libm-test-ulps: Update.
18443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18444
18445 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18446
18447         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18448         "64" to "64-v1".  Add "64-v2".
18449         (abi-64-options): Rename to ...
18450         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18451         (abi-64-condition): Rename to ...
18452         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18453         (abi-64-ld-soname): Rename to ...
18454         (abi-64-v1-ld-soname): ... this.
18455         (abi-64-v2-options): Define.
18456         (abi-64-v2-condition): Likewise.
18457         (abi-64-v2-ld-soname): Likewise.
18458         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18459         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18463
18464 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18465             Alan Modra  <amodra@gmail.com>
18466
18467         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18468         New versions for use with the ELFv2 ABI.
18469         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18470         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18471         declaration.
18472         (struct La_ppc64v2_retval): Likewise.
18473         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18474         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18475         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18476         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18477         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18478         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18479         Do not save or restore CR.
18480         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18481         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18482         return values for ELFv2 ABI.  Fix location of FPR return registers.
18483         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18484         updated values for _CALL_ELF == 2.
18485         (La_regs, La_retval, int_retval): Likewise.
18486
18487 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18488
18489         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18490         (FRAME_MIN_SIZE_PARM): Likewise.
18491         (FRAME_BACKCHAIN): Likewise.
18492         (FRAME_CR_SAVE): Likewise.
18493         (FRAME_LR_SAVE): Likewise.
18494         (FRAME_TOC_SAVE): Likewise.
18495         (FRAME_PARM_SAVE): Likewise.
18496         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18497         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18498         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18499         (call_mcount_parm_offset): New macro.
18500         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18501         (PROF): Use symbolic stack frame offsets.
18502         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18503         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18504         Redefine in terms of FRAME_MIN_SIZE.
18505         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18506         (_dl_profile_resolve): Likewise.  Update comment.
18507         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18508         symbols stack frame offsets.
18509         (__sigsetjmp): Likewise.
18510         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18511         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18512         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18513         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18514
18515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18516         (FRAME_BACKCHAIN): Remove.
18517         (FRAME_CR_SAVE): Likewise.
18518         (FRAME_LR_SAVE): Likewise.
18519         (FRAME_COMPILER_DW): Likewise.
18520         (FRAME_LINKER_DW): Likewise.
18521         (FRAME_TOC_SAVE): Likewise.
18522         (FRAME_PARM_SAVE): Likewise.
18523         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18524         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18525         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18527         (CHECK_SP): Use symbolic stack frame offsets.
18528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18529         zone" instead of caller's parameter save area for temp storage.
18530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18531         Likewise.  Also, use symbolic stack frame offsets.
18532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18533         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18534         our own stack frame instead of the caller's.
18535         (__socket): Use symbolic stack frame offsets.
18536
18537 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18538             Alan Modra  <amodra@gmail.com>
18539
18540         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18541         Define.
18542         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18543         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18544         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18545         New function.
18546         (elf_machine_fixup_plt): Call it.
18547         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18548         reloc arguments.
18549         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18550         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18551         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18552         r2 before calling target.
18553
18554 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18555             Alan Modra  <amodra@gmail.com>
18556
18557         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18558         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18559         versions of macros to support ELFv2 ABI.
18560         (LOCALENTRY): New macro.
18561         (ENTRY, EALIGN): Use it.
18562         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18563         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18564         fall through into ENTRY entry point.
18565         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18566         Only define if _CALL_ELF != 2.
18567
18568         (elf_machine_matches_host): Verify ABI version matches.
18569         (RTLD_START): Use LOCALENTRY.
18570         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18571         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18572         (PLT_ENTRY_WORDS): New macro.
18573         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18574         (elf_machine_runtime_setup): Support ELFv2 ABI.
18575         (elf_machine_fixup_plt): Likewise.
18576         (elf_machine_plt_conflict): Likewise.
18577         (resolve_ifunc): Likewise.
18578         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18579         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18580         Likewise.
18581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18582         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18584         (makecontext): Support ELFv2 ABI.
18585         * elf/elf.h (EF_PPC64_ABI): Define.
18586
18587 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18588
18589         * sysdeps/powerpc/powerpc64/sysdep.h
18590         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18591         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18592         (ENTRY) [ASSEMBLER]: ... but instead here ...
18593         (EALIGN) [ASSEMBLER]: ... and here.
18594         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18595         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18596         (ENTRY_2) [!ASSEMBLER]: Use it.
18597         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18598         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18599         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18600         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18601         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18603         Use PPC64_LOAD_FUNCPTR.
18604
18605         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18606
18607 2013-12-04  Alan Modra  <amodra@gmail.com>
18608
18609         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18610         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18611         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18612         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18613
18614         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18615         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18616         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18617         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18618         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18619         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18620
18621 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18622
18623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18624         (__makecontext): Fix incorrect CFI when backtracing out of
18625         context created via makecontext.
18626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18627         (__setcontext): Fix incorrect CFI during switch to new context.
18628         (__novec_setcontext): Likewise.
18629
18630 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18631
18632         [BZ #4772]
18633         * time/strptime_l.c (__strptime_internal): Allow modifiers
18634         in strptime.
18635         * time/tst-strptime.c (day_tests): Add testcase.
18636
18637 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18638
18639         * scripts/bench.pl: Skip over blank lines.
18640
18641 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18642
18643         [BZ #926]
18644         * manual/time.texi (Calendar Time): Clarify what timezone functions
18645         use.
18646
18647 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18648
18649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18650
18651 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18652
18653         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18654         implementation.
18655         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18656         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18657         * debug/memset_chk.c (__memset_chk): Likewise.
18658         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18659         * debug/strncpy_chk.c: Likewise.
18660
18661 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18662
18663         [BZ #15268]
18664         [BZ #15425]
18665         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18666         (__ieee754_exp): For possibly underflowing results, check size of
18667         result and force underflow exception if required.
18668         * math/auto-libm-test-in: Add more tests of exp.
18669         * math/auto-libm-test-out: Regenerated.
18670         * sysdeps/i386/fpu/libm-test-ulps: Update.
18671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18672
18673         [BZ #16283]
18674         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18675         * math/w_exp2f.c (__exp2f): Likewise.
18676         * math/w_exp2l.c (__exp2l): Likewise.
18677         * math/auto-libm-test-in: Do not allow missing errno on exp2
18678         underflow.
18679         * math/auto-libm-test-out: Regenerated.
18680
18681 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18682
18683         [BZ #16274]
18684         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18685         handle filename validation.
18686         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18687         (do_open): Delete.
18688
18689 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18690
18691         [BZ #6786]
18692         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18693         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18694         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18695         <float.h>.
18696         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18697         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18698         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18699         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18700         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18701         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18702         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18703         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18704         Add more erfc tests.
18705         * math/auto-libm-test-out: Regenerated.
18706         * sysdeps/i386/fpu/libm-test-ulps: Update.
18707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18708
18709         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18710         exp2, expm1, j0 and j1.
18711         * math/auto-libm-test-out: Regenerated.
18712         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18713         (erfc_test_data): Likewise.
18714         (exp_test_data): Likewise.
18715         (exp_tonearest_test_data): Likewise.
18716         (exp_towardzero_test_data): Likewise.
18717         (exp_downward_test_data): Likewise.
18718         (exp_upward_test_data): Likewise.
18719         (exp10_test_data): Likewise.
18720         (exp2_test_data): Likewise.
18721         (expm1_test_data): Likewise.
18722         (j0_test_data): Likewise.
18723         (j1_test_data): Likewise.
18724         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18725         (input_flag_type): Add flag_xfail_rounding.
18726         (input_flags): Add xfail-rounding.
18727         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18728         (output_for_one_input_case): Handle flag_xfail_rounding.
18729         * sysdeps/i386/fpu/libm-test-ulps: Update.
18730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18731
18732 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18733
18734         [BZ #16289]
18735         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18736         division by 0.
18737
18738 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18739
18740         [BZ #16195]
18741         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18742         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18743         (STAP_PROBE0): New macro.
18744         (STAP_PROBE1): Likewise.
18745         (STAP_PROBE2): Likewise.
18746         (STAP_PROBE3): Likewise.
18747         (STAP_PROBE4): Likewise.
18748
18749 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18750
18751         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18752
18753 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18754
18755         * benchtests/Makefile (bench): Add sqrt.
18756         (LDLIBS-bench-sqrt): New.
18757         * benchtests/sqrt-input: New.
18758
18759 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18760
18761         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18762         (GAIH_EAI): Likewise.
18763         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18764         (gaih_inet): Likewise.
18765         (getaddrinfo): Don't use GAIH_EAI.
18766
18767         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18768         (struct gaih): Remove definition.
18769
18770 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18771
18772         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18773         Use HERRNOP directly.
18774
18775 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18776
18777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18778
18779 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18780
18781         * math/gen-auto-libm-tests.c (test_functions): Add more
18782         single-argument functions.
18783         (special_fill_pi_2): New function.
18784         (special_fill_minus_pi_2): Likewise.
18785         (special_fill_pi_6): Likewise.
18786         (special_fill_minus_pi_6): Likewise.
18787         (special_fill_pi_3): Likewise.
18788         (special_fill_2pi_3): Likewise.
18789         (special_fill_e): Likewise.
18790         (special_fill_1_e): Likewise.
18791         (special_fill_e_minus_1): Likewise.
18792         (special_real_inputs): Add more special inputs.
18793         (output_for_one_input_case): Do not require ERANGE on underflow to
18794         zero if round-to-nearest result does not underflow to zero, unless
18795         exact results required.
18796         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18797         atan, atanh, cbrt, cos and cosh.
18798         * math/auto-libm-test-out: Regenerated.
18799         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18800         (acos_tonearest_test_data): Likewise.
18801         (acos_towardzero_test_data): Likewise.
18802         (acos_downward_test_data): Likewise.
18803         (acos_upward_test_data): Likewise.
18804         (acosh_test_data): Likewise.
18805         (asin_test_data): Likewise.
18806         (asin_tonearest_test_data): Likewise.
18807         (asin_towardzero_test_data): Likewise.
18808         (asin_upward_test_data): Likewise.
18809         (asinh_test_data): Likewise.
18810         (atan_test_data): Likewise.
18811         (atanh_test_data): Likewise.
18812         (cbrt_test_data): Likewise.
18813         (cos_test_data): Likewise.
18814         (cos_tonearest_test_data): Likewise.
18815         (cos_towardzero_test_data): Likewise.
18816         (cos_downward_test_data): Likewise.
18817         (cos_upward_test_data): Likewise.
18818         (cosh_test_data): Likewise.
18819         (cosh_tonearest_test_data): Likewise.
18820         (cosh_towardzero_test_data): Likewise.
18821         (cosh_downward_test_data): Likewise.
18822         (cosh_upward_test_data): Likewise.
18823         * sysdeps/i386/fpu/libm-test-ulps: Update.
18824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18825
18826 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18827
18828         [BZ #6787]
18829         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18830         * math/w_exp10f.c (__exp10f): Likewise.
18831         * math/w_exp10l.c (__exp10l): Likewise.
18832         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18833         errno settings in existing tests.
18834
18835         [BZ #14032]
18836         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18837         precision control set to double precision.
18838         * sysdeps/i386/fpu/w_sqrt.c: New file.
18839         * math/auto-libm-test-in: Add more tests.
18840         * math/auto-libm-test-out: Update.
18841
18842         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18843         (sqrt_test_tonearest): New function.
18844         (sqrt_towardzero_test_data): New variable.
18845         (sqrt_test_towardzero): New function.
18846         (sqrt_downward_test_data): New variable.
18847         (sqrt_test_downward): New function.
18848         (sqrt_upward_test_data): New variable.
18849         (sqrt_test_upward): New function.
18850         (main): Call the new functions.
18851
18852         * math/gen-auto-libm-tests.c: New file.
18853         * math/auto-libm-test-in: Likewise.
18854         * math/auto-libm-test-out: New generated file.
18855         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18856         variables.
18857         (%beautify): Add generated representations of zero.
18858         (top level): Set $auto_input and call parse_auto_input.
18859         (beautify): Remove trailing "f" from hex float constants.
18860         (parse_args): Handle XFAIL_TEST.
18861         (convert_condition): New function.
18862         (or_value): Likewise.
18863         (or_cond_value): Likewise.
18864         (generate_testfile): Handle AUTO_TESTS_* lines.
18865         (parse_auto_input): New function.
18866         * math/libm-test.inc (XFAIL_TEST): New macro.
18867         (ERRNO_UNCHANGED): Update value.
18868         (ERRNO_EDOM): Likewise.
18869         (ERRNO_ERANGE): Likewise.
18870         (IGNORE_RESULT): Likewise.
18871         (TEST_COND_flt_32): New macro.
18872         (TEST_COND_dbl_64): Likewise.
18873         (TEST_COND_ldbl_96_intel): Likewise.
18874         (TEST_COND_ldbl_96_m68k): Likewise.
18875         (TEST_COND_ldbl_128): Likewise.
18876         (TEST_COND_ldbl_128ibm): Likewise.
18877         (TEST_COND_long32): Likewise.
18878         (TEST_COND_long64): Likewise.
18879         (TEST_COND_before_rounding): Likewise.
18880         (TEST_COND_after_rounding): Likewise.
18881         (enable_test): Handle XFAIL_TEST flag.
18882         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18883         with finite results.
18884         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18885         auto-libm-test-out.
18886
18887 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18888             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18889
18890         [BZ #16214]
18891         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18892         __tls_get_addr_internal instead of __tls_get_offset in order to
18893         avoid GOT pointer dependency.  Make rtld export
18894         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18895         __tls_get_addr since we are a __tls_get_offset platform.
18896         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18897         GOT pointer being set up before.
18898         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18899
18900 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
18901
18902         * manual/math.texi (Errors in Math Functions): Document accuracy
18903         goals.
18904
18905         [BZ #15004]
18906         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18907         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18908         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18909         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18910         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18911         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18912         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18913         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18914         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18915         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18916         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18917         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18918         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18919         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18920         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18921         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18922
18923         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18924         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18925         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18926         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18927         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18928         Likewise.
18929         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18930         Likewise.
18931         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18932         Likewise.
18933         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18934         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18935         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18936         atomic-feupdateenv and flt-rounds.
18937         * sysdeps/powerpc/nofpu/Versions (libc): Add
18938         __atomic_feholdexcept, __atomic_feclearexcept,
18939         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18940         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18941         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18942         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18943         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18944         here.
18945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18946         Update.
18947
18948         * manual/arith.texi (FP Exceptions): Document that exceptions may
18949         not be raised when matherr is used.
18950         (Math Error Reporting): Document overflow in directed rounding
18951         modes.  Document that errno may not be set when finite values are
18952         returned on overflow.  Document intent to set errno on underflow
18953         only for underflow to zero.
18954
18955         [BZ #16271]
18956         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18957         round-to-nearest then adjust result for other rounding modes.
18958         * include/fenv.h (fegetround): Use libm_hidden_proto.
18959         * math/fegetround.c (fegetround): Use libm_hidden_def.
18960         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18961         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18962         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18963         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18964         Likewise.
18965         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18966         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18967         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18968         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18969
18970 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18971
18972         [BZ #16077]
18973         * nss/Versions (libnss_files): Add
18974         _nss_files_gethostbyname3_r.
18975         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18976         New function.
18977         (HOST_DB_LOOKUP): Remove macro.
18978         (_nss_files_gethostbyname_r): Implement function without the
18979         HOST_DB_LOOKUP macro.
18980         (_nss_files_gethostbyname2_r): Likewise.
18981
18982 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
18983
18984         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18985
18986 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
18987
18988         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18989         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18990         warning.
18991
18992 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18993
18994         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18995         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18996         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18997         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18998         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18999         __fe_nomask_env_priv and attribute_hidden.
19000         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19001         (libc_feupdateenv_test_ppc): Likewise.
19002         (libc_feresetround_ppc): Likewise.
19003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19004         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19005         compat_symbol macro.
19006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19007         (__fe_nomask_env): Likewise.
19008         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19009
19010 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19011
19012         * string/Makefile: Remove ifunc tests.
19013         * string/test-string.h: Define TEST_IFUNC.
19014         * string/test-bcopy-ifunc.c: Remove.
19015         * string/test-bzero-ifunc.c: Likewise.
19016         * string/test-memccpy-ifunc.c: Likewise.
19017         * string/test-memchr-ifunc.c: Likewise.
19018         * string/test-memcmp-ifunc.c: Likewise.
19019         * string/test-memcpy-ifunc.c: Likewise.
19020         * string/test-memmem-ifunc.c: Likewise.
19021         * string/test-memmove-ifunc.c: Likewise.
19022         * string/test-mempcpy-ifunc.c: Likewise.
19023         * string/test-memrchr-ifunc.c: Likewise.
19024         * string/test-memset-ifunc.c: Likewise.
19025         * string/test-rawmemchr-ifunc.c: Likewise.
19026         * string/test-stpcpy-ifunc.c: Likewise.
19027         * string/test-stpncpy-ifunc.c: Likewise.
19028         * string/test-strcasecmp-ifunc.c: Likewise.
19029         * string/test-strcasestr-ifunc.c: Likewise.
19030         * string/test-strcat-ifunc.c: Likewise.
19031         * string/test-strchr-ifunc.c: Likewise.
19032         * string/test-strchrnul-ifunc.c: Likewise.
19033         * string/test-strcmp-ifunc.c: Likewise.
19034         * string/test-strcpy-ifunc.c: Likewise.
19035         * string/test-strcspn-ifunc.c: Likewise.
19036         * string/test-strlen-ifunc.c: Likewise.
19037         * string/test-strncasecmp-ifunc.c: Likewise.
19038         * string/test-strncat-ifunc.c: Likewise.
19039         * string/test-strncmp-ifunc.c: Likewise.
19040         * string/test-strncpy-ifunc.c: Likewise.
19041         * string/test-strnlen-ifunc.c: Likewise.
19042         * string/test-strpbrk-ifunc.c: Likewise.
19043         * string/test-strrchr-ifunc.c: Likewise.
19044         * string/test-strspn-ifunc.c: Likewise.
19045         * string/test-strstr-ifunc.c: Likewise.
19046
19047 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19048
19049         * benchtests/Makefile: Remove ifunc tests.
19050         * benchtests/bench-string.h: Define TEST_IFUNC.
19051         * benchtests/bench-bcopy-ifunc.c: Remove.
19052         * benchtests/bench-bzero-ifunc.c: Likewise.
19053         * benchtests/bench-memccpy-ifunc.c: Likewise.
19054         * benchtests/bench-memchr-ifunc.c: Likewise.
19055         * benchtests/bench-memcmp-ifunc.c: Likewise.
19056         * benchtests/bench-memcpy-ifunc.c: Likewise.
19057         * benchtests/bench-memmem-ifunc.c: Likewise.
19058         * benchtests/bench-memmove-ifunc.c: Likewise.
19059         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19060         * benchtests/bench-memrchr-ifunc.c: Likewise.
19061         * benchtests/bench-memset-ifunc.c: Likewise.
19062         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19063         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19064         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19065         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19066         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19067         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19068         * benchtests/bench-strcat-ifunc.c: Likewise.
19069         * benchtests/bench-strchr-ifunc.c: Likewise.
19070         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19071         * benchtests/bench-strcmp-ifunc.c: Likewise.
19072         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19073         * benchtests/bench-strcpy-ifunc.c: Likewise.
19074         * benchtests/bench-strcspn-ifunc.c: Likewise.
19075         * benchtests/bench-strlen-ifunc.c: Likewise.
19076         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19077         * benchtests/bench-strncat-ifunc.c: Likewise.
19078         * benchtests/bench-strncmp-ifunc.c: Likewise.
19079         * benchtests/bench-strncpy-ifunc.c: Likewise.
19080         * benchtests/bench-strnlen-ifunc.c: Likewise.
19081         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19082         * benchtests/bench-strrchr-ifunc.c: Likewise.
19083         * benchtests/bench-strsep-ifunc.c: Likewise.
19084         * benchtests/bench-strspn-ifunc.c: Likewise.
19085         * benchtests/bench-strstr-ifunc.c: Likewise.
19086
19087 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19088
19089         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19090
19091 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19092
19093         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19094         * rt/aio.h: Likewise.
19095         * sysdeps/gnu/bits/utmp.h: Likewise.
19096         * sysdeps/gnu/bits/utmpx.h: Likewise.
19097         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19098         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19099         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19100         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19101         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19102         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19103         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19104         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19105         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19106         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19107         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19108         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19109         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19111         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19112         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19113         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19114         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19115         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19116         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19117         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19118         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19119         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19120         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19121         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19122         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19123         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19124         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19125         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19126         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19127         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19128         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19129         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19130         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19131         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19132         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19133         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19134         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19135         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19136         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19137         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19138         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19139
19140 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19141
19142         [BZ #16245]
19143         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19144         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19145
19146 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19147
19148         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19149         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19150         Likewise.
19151
19152 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19153
19154         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19155         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19156         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19157         (__fesetround): Remove define.
19158         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19159         rounding and exceptions handling.
19160         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19161         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19162         (__fe_nomask_env): Likewise.
19163         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19164         __fegetround instead of fegetround.
19165         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19166         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19167
19168 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19169
19170         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19171         it's there.
19172
19173         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19174
19175 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19176
19177         [BZ #11157]
19178         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19179         (encrypt_r): Likewise.
19180         * malloc/obstack.h (obstack_free): Likewise.
19181         * posix/unistd.h (encrypt): Likewise.
19182
19183 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19184
19185         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19186         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19187         DL_CALL_DT_FINI() that call the functions directly.
19188         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19189         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19190         * elf/dl-fini.c: Likewise.
19191
19192 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19193
19194         * malloc/hooks.c (memalign_check): Add alignment rounding.
19195         * malloc/malloc.c (_mid_memalign): New function.
19196         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19197         Implement by calling _mid_memalign.
19198         * manual/probes.texi (Memory Allocation Probes): Remove
19199         memory_valloc_retry and memory_pvalloc_retry.
19200
19201 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19202
19203         * locale/programs/locarchive.c (open_archive): Add const
19204         qualifier to ARCHIVEFNAME and copy default fname to
19205         DEFAULT_FNAME.
19206
19207         [BZ #15601]
19208         * libio/tst-widetext.input: Rename Oriya to Odia.
19209         * locale/iso-639.def: Likewise.
19210
19211         * manual/probes.texi (Mathematical Function Probes): Add
19212         documentation for sin, cos, asin and acos probes.
19213         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19214         (__sin32): Add slowasin probe.
19215         (__cos32): Add slowacos probe.
19216         (__mpsin): Add slowsin probe.
19217         (__mpcos): Add slowcos probe.
19218
19219 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19220
19221         [BZ #15483]
19222         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19223         thread-local __sim_exceptions_thread and global
19224         __sim_exceptions_global.
19225         (__sim_disabled_exceptions): Change to thread-local
19226         __sim_disabled_exceptions_thread and global
19227         __sim_disabled_exceptions_global.
19228         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19229         and global __sim_round_mode_global.
19230         (__simulate_exceptions): Use thread-local floating-point state and
19231         set global state from it as needed.
19232         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19233         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19234         __sim_round_mode_thread.
19235         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19236         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19237         and global __sim_exceptions_global.
19238         (__sim_disabled_exceptions): Change to thread-local
19239         __sim_disabled_exceptions_thread and global
19240         __sim_disabled_exceptions_global.
19241         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19242         and global __sim_round_mode_global.
19243         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19244         (SIM_SET_GLOBAL): Likewise.
19245         * sysdeps/powerpc/soft-fp/sfp-machine.h
19246         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19247         __sim_round_mode_thread.
19248         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19249         __sim_disabled_exceptions_thread.
19250         (__sim_exceptions): Change to __sim_exceptions_thread.
19251         (__sim_disabled_exceptions): Change to
19252         __sim_disabled_exceptions_thread.
19253         (__sim_round_mode): Change to __sim_round_mode_thread.
19254         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19255         thread-local floating-point state and set global state from it as
19256         needed.
19257         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19258         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19259         (__sim_disabled_exceptions): Remove extern declaration.
19260         (feenableexcept): Use thread-local floating-point state and set
19261         global state from it as needed.
19262         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19263         extern declaration.
19264         (__sim_disabled_exceptions): Likewise.
19265         (__sim_round_mode): Likewise.
19266         (__fegetenv): Use thread-local floating-point state.
19267         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19268         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19269         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19270         floating-point state and set global state from it as needed.
19271         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19272         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19273         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19274         Likewise.
19275         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19276         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19277         Likewise.
19278         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19279         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19280         Use __sim_round_mode_thread.
19281         * math/test-fenv-tls.c: New file.
19282         * math/Makefile (tests): Add test-fenv-tls.
19283         ($(objpfx)test-fenv-tls): Depend on
19284         $(common-objpfx)nptl/libpthread.so.
19285
19286 2013-11-19  Andreas Schwab  <schwab@suse.de>
19287
19288         * locale/programs/locale.c (show_info): Decode wordarray elements.
19289         * locale/categories.def (LC_MONETARY): Add element for
19290         _NL_MONETARY_CRNCYSTR.
19291         * locale/C-monetary.c (conversion_rate): New variable.
19292         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19293         element.
19294
19295 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19296
19297         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19298         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19299
19300 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19301
19302         * elf/Makefile (tst-auxv): New test.
19303         * elf/tst-auxv.c: New
19304         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19305
19306 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19307
19308         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19309         (hidden_proto): Caller changed.
19310         (hidden_tls_proto): New macro.
19311         (libc_hidden_tls_proto): Likewise.
19312         (rtld_hidden_tls_proto): Likewise.
19313         (libm_hidden_tls_proto): Likewise.
19314         (libresolv_hidden_tls_proto): Likewise.
19315         (librt_hidden_tls_proto): Likewise.
19316         (libdl_hidden_tls_proto): Likewise.
19317         (libnss_files_hidden_tls_proto): Likewise.
19318         (libnsl_hidden_tls_proto): Likewise.
19319         (libnss_nisplus_hidden_tls_proto): Likewise.
19320         (libutil_hidden_tls_proto): Likewise.
19321
19322 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19323
19324         [BZ #10253]
19325         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19326         (decompose_rpath): Defer expansion to fillin_rpath.
19327         (_dl_init_paths): Pass linkmap to fillin_rpath.
19328
19329 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19330
19331         * benchtests/Makefile: Add strsep.
19332         * benchtests/bench-strsep.c: New file: strsep benchtest.
19333         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19334
19335 2013-11-18  Andreas Schwab  <schwab@suse.de>
19336
19337         * locale/programs/locale.c (show_info) [case byte]: Check for
19338         '\377' instead of '\177'.
19339         * locale/C-monetary.c (not_available): Always use "\377".
19340         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19341         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19342         detect unavailable sign_posn locale elements.
19343         * locale/localeconv.c (__localeconv): For grouping and
19344         mon_grouping handle "\177" and "\377" like no grouping.
19345         (INT_ELEM): New macro.  Use it to set all numeric members.
19346         * locale/programs/ld-monetary.c (monetary_read)
19347         <tok_mon_grouping>: Normalize single -1 to the empty string.
19348         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19349         Likewise.
19350
19351 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19352
19353         [BZ #16055]
19354         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19355         when we match (nil).
19356         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19357
19358 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19359
19360         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19361         (NO_TEST_INLINE): Update value.
19362         (ERRNO_UNCHANGED): Likewise.
19363         (ERRNO_EDOM): Likewise.
19364         (ERRNO_ERANGE): Likewise.
19365         (IGNORE_RESULT): Likewise.
19366         (check_float_internal): Check signs of NaN results if
19367         TEST_NAN_SIGN used.
19368         (check_complex): Pass TEST_NAN_SIGN flag through to second
19369         check_float_internal call.
19370         (copysign_test_data): Add tests with quiet NaNs as second
19371         argument.  Use TEST_NAN_SIGN.
19372         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19373         TEST_NAN_SIGN.
19374         (signbit_test_data): Add tests of quiet NaN argument.
19375         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19376
19377         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19378         $ignore_result.
19379         (parse_args): Handle function results specified as IGNORE.
19380         * math/libm-test.inc (IGNORE_RESULT): New macro.
19381         (check_float_internal): Do not check numerical result if flag
19382         IGNORE_RESULT set.
19383         (check_complex): Pass through IGNORE_RESULT to second
19384         check_float_internal call.
19385         (check_int): Do not check numerical result if flag IGNORE_RESULT
19386         set.
19387         (check_long): Likewise.
19388         (check_bool): Likewise.
19389         (check_longlong): Likewise.
19390         (lrint_test_data): Add tests of infinite and NaN arguments.
19391         (lrint_tonearest_test_data): Likewise.
19392         (lrint_towardzero_test_data): Likewise.
19393         (lrint_downward_test_data): Likewise.
19394         (lrint_upward_test_data): Likewise.
19395         (llrint_test_data): Likewise.
19396         (llrint_tonearest_test_data): Likewise.
19397         (llrint_towardzero_test_data): Likewise.
19398         (llrint_downward_test_data): Likewise.
19399         (llrint_upward_test_data): Likewise.
19400         (lround_test_data): Likewise.
19401         (llround_test_data): Likewise.
19402
19403         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19404         (ERRNO_UNCHANGED): Update value.
19405         (ERRNO_EDOM): Likewise.
19406         (ERRNO_ERANGE): Likewise.
19407         (NO_TEST_INLINE_FLOAT): New macro.
19408         (NO_TEST_INLINE_DOUBLE): Likewise.
19409         (enable_test): New function.
19410         (RUN_TEST_f_f): Check enable_test before running test.
19411         (RUN_TEST_2_f): Likewise.
19412         (RUN_TEST_fff_f): Likewise.
19413         (RUN_TEST_c_f): Likewise.
19414         (RUN_TEST_f_f1): Likewise.
19415         (RUN_TEST_fF_f1): Likewise.
19416         (RUN_TEST_fI_f1): Likewise.
19417         (RUN_TEST_ffI_f1): Likewise.
19418         (RUN_TEST_c_c): Likewise.
19419         (RUN_TEST_cc_c): Likewise.
19420         (RUN_TEST_f_i): Likewise.
19421         (RUN_TEST_f_i_tg): Likewise.
19422         (RUN_TEST_ff_i_tg): Likewise.
19423         (RUN_TEST_f_b): Likewise.
19424         (RUN_TEST_f_b_tg): Likewise.
19425         (RUN_TEST_f_l): Likewise.
19426         (RUN_TEST_f_L): Likewise.
19427         (RUN_TEST_fFF_11): Likewise.
19428         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19429         conditionals.
19430         (cosh_test_data): Likewise.
19431         (exp_test_data): Likewise.
19432         (expm1_test_data): Likewise.
19433         (hypot_test_data): Likewise.
19434         (pow_test_data): Likewise.
19435         (sinh_test_data): Likewise.
19436         (tanh_test_data): Likewise.
19437         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19438         flags argument.
19439
19440         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19441         tests with quiet NaN input and output.
19442         (acosh_test_data): Likewise.
19443         (asin_test_data): Likewise.
19444         (asinh_test_data): Likewise.
19445         (atan_test_data): Likewise.
19446         (atanh_test_data): Likewise.
19447         (atan2_test_data): Likewise.
19448         (cbrt_test_data): Likewise.
19449         (cos_test_data): Likewise.
19450         (cosh_test_data): Likewise.
19451         (erf_test_data): Likewise.
19452         (erfc_test_data): Likewise.
19453         (exp_test_data): Likewise.
19454         (exp10_test_data): Likewise.
19455         (exp2_test_data): Likewise.
19456         (expm1_test_data): Likewise.
19457         (hypot_test_data): Likewise.
19458         (j0_test_data): Likewise.
19459         (j1_test_data): Likewise.
19460         (jn_test_data): Likewise.
19461         (lgamma_test_data): Likewise.
19462         (log_test_data): Likewise.
19463         (log10_test_data): Likewise.
19464         (log1p_test_data): Likewise.
19465         (log2_test_data): Likewise.
19466         (pow_test_data): Likewise.
19467         (scalb_test_data): Likewise.
19468         (sin_test_data): Likewise.
19469         (sincos_test_data): Likewise.
19470         (sinh_test_data): Likewise.
19471         (tan_test_data): Likewise.
19472         (tanh_test_data): Likewise.
19473         (tgamma_test_data): Likewise.
19474         (y0_test_data): Likewise.
19475         (y1_test_data): Likewise.
19476         (yn_test_data): Likewise.
19477
19478         [BZ #16167]
19479         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19480         argument being NaN and avoid computations with second argument in
19481         that case.
19482         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19483         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19484         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19485
19486 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19487
19488         * locale/iso-639.def: Add Chitwani Tharu (the).
19489
19490 2013-11-14  Andreas Schwab  <schwab@suse.de>
19491
19492         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19493         word instead of empty string.
19494
19495 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19496
19497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19498         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19500         (__fe_nomask_env): Likewise.
19501
19502 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19503
19504         * benchtests/bench-timing.h: Include time.h.
19505
19506 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19507
19508         [BZ #15997]
19509         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19510         to 3.4.0 for x32.
19511         * sysdeps/unix/sysv/linux/configure: Regenerated.
19512
19513 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19514
19515         [BZ #16151]
19516         * stdlib/strtod_l.c (round_and_return): Do not consider
19517         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19518         exponent one less than half the least subnormal exponent.
19519         * stdlib/test-strtod-round-data: Add more tests.
19520         * stdlib/tst-strtod-round.c (tests): Regenerated.
19521
19522 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19523
19524         [BZ #14143]
19525         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19526         (__fe_mask_env): Likewise.
19527         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19528         libm_hidden_proto and add function prototype.
19529         (__fe_mask_env): Add function prototype.
19530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19531         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19533         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19535         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19536
19537 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19538
19539         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19540         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19541
19542 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19543
19544         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19545         of htab_find_slot().
19546
19547 2013-11-11  David S. Miller  <davem@davemloft.net>
19548
19549         [BZ #16150]
19550         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19551         symbol in the non-vis3 case in static builds.
19552         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19553         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19554         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19555         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19556
19557 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19558
19559         [BZ #387]
19560         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19561         it is empty.
19562
19563 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19564
19565         * benchtests/Makefile: Add bench-strtod.
19566         * benchtests/bench-strtod.c: New file: strtod benchtest
19567
19568 2013-11-11  Andreas Schwab  <schwab@suse.de>
19569
19570         [BZ #16153]
19571         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19572         terminating NUL in key length.
19573
19574 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19575
19576         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19577         Add artificial ODP entry for vDSO symbol for PPC64.
19578         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19579         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19580
19581 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19582
19583         [BZ #15374]
19584         * nss/getent.c (services_keys): Recognize services starting with digit.
19585
19586 2013-11-06  David S. Miller  <davem@davemloft.net>
19587
19588         [BZ #15985]
19589         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19590         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19591
19592 2013-11-06  Will Newton  <will.newton@linaro.org>
19593
19594         * manual/memory.texi (Malloc Examples): Remove register
19595         keyword from examples.
19596
19597 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19598
19599         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19600
19601 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19602
19603         [BZ #6981]
19604         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19605         depending on [__GCC_IEC_559 > 0].
19606         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19607         depending on [__GCC_IEC_559_COMPLEX > 0].
19608
19609 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19610
19611         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19612         to iso-639.def.
19613
19614 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19615
19616         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19617
19618 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19619
19620         [BZ #16112]
19621         * malloc/malloc (malloc_info): Do not handle first bin as
19622         special case.
19623
19624 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19625
19626         * locale/iso-639.def: Add Central Nahuatl (nhn).
19627
19628 2013-11-01  Bruno Haible  <bruno@clisp.org>
19629
19630         [BZ #7003]
19631         * manual/math.texi (BSD Random): Specify range upper bound as
19632         in POSIX.
19633
19634 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19635
19636         * locale/iso-639.def: Add Meadow Mari (mhr).
19637
19638 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19639
19640         [BZ #14752], [BZ #15763]
19641         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19642         Validate name.
19643         * rt/tst_shm.c: Add test for escaping directory.
19644
19645 2013-10-31  Andreas Schwab  <schwab@suse.de>
19646
19647         [BZ #15917]
19648         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19649         followed by 'x' as part of digit sequence.
19650         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19651
19652 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19653
19654         [BZ #16037]
19655         * configure.ac: allow GNU Make 4.0 and greater.
19656         * configure: Regenerated.
19657
19658 2013-10-30  Will Newton  <will.newton@linaro.org>
19659
19660         [BZ #16038]
19661         * malloc/hooks.c (memalign_check): Limit alignment to the
19662         maximum representable power of two.
19663         * malloc/malloc.c (__libc_memalign): Likewise.
19664         * malloc/tst-memalign.c (do_test): Add test for very
19665         large alignment values.
19666         * malloc/tst-posix_memalign.c (do_test): Likewise.
19667
19668 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19669
19670         [BZ #11087]
19671         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19672         (munmap_chunk): Likewise.
19673         (mremap_chunk): Likewise.
19674
19675 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19676
19677         [BZ #15799]
19678         * stdlib/div.c (div): Remove obsolete code.
19679         * stdlib/ldiv.c (ldiv): Likewise.
19680         * stdlib/lldiv.c (lldiv): Likewise.
19681
19682 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19683
19684         [BZ #16071]
19685         * nss/nss_files/files-XXX.c (get_contents_ret): New
19686         enumerator.
19687         (get_contents): New function.
19688         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19689
19690 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19691
19692         * configure.in: Moved to ...
19693         * configure.ac: ... here. Change reference to configure.in
19694         to configure.ac.
19695         * sysdeps/arm/preconfigure.ac: ... here.
19696         configure.in to configure.ac.
19697         * sysdeps/gnu/configure.in: Moved to ...
19698         * sysdeps/gnu/configure.ac: ... here.
19699         * sysdeps/i386/configure.in: Moved to ...
19700         * sysdeps/i386/configure.ac: ... here.
19701         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19702         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19703         * sysdeps/mach/configure.in: Moved to ...
19704         * sysdeps/mach/configure.ac: ... here.
19705         * sysdeps/mach/hurd/configure.in: Moved to ...
19706         * sysdeps/mach/hurd/configure.ac: ... here.
19707         * sysdeps/powerpc/configure.in: Moved to ...
19708         * sysdeps/powerpc/configure.ac: ... here.
19709         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19710         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19711         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19712         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19713         * sysdeps/s390/s390-32/configure.in: Moved to ...
19714         * sysdeps/s390/s390-32/configure.ac: ... here.
19715         * sysdeps/s390/s390-64/configure.in: Moved to ...
19716         * sysdeps/s390/s390-64/configure.ac: ... here.
19717         * sysdeps/sh/configure.in: Moved to ...
19718         * sysdeps/sh/configure.ac: ... here.
19719         * sysdeps/sparc/configure.in: Moved to ...
19720         * sysdeps/sparc/configure.ac: ... here.
19721         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19722         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19723         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19724         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19725         * sysdeps/x86_64/configure.in: Moved to ...
19726         * sysdeps/x86_64/configure.ac: ... here.
19727         * sysdeps/x86_64/preconfigure.in: Moved to ...
19728         * sysdeps/x86_64/preconfigure.ac: ... here.
19729         * aclocal.m4: Change reference to configure.in to configure.ac.
19730         * config.h.in: Likewise.
19731         * manual/install.texi: Likewise.
19732         * manual/maint.texi: Likewise.
19733         * Makefile: Likewise.
19734         * malloc/Makefile: Likewise.
19735         * nscd/Makefile: Likewise.
19736         * Makeconfig: Change reference to configure.in and
19737         preconfigure.in to configure.ac and preconfigure.ac
19738         respectively.
19739         * INSTALL: Regenerated.
19740         * configure: Likewise.
19741         * sysdeps/gnu/configure: Likewise.
19742         * sysdeps/i386/configure: Likewise.
19743         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19744         * sysdeps/mach/configure: Likewise.
19745         * sysdeps/mach/hurd/configure: Likewise.
19746         * sysdeps/powerpc/configure: Likewise.
19747         * sysdeps/powerpc/powerpc32/configure: Likewise.
19748         * sysdeps/powerpc/powerpc64/configure: Likewise.
19749         * sysdeps/s390/s390-32/configure: Likewise.
19750         * sysdeps/s390/s390-64/configure: Likewise.
19751         * sysdeps/sh/configure: Likewise.
19752         * sysdeps/sparc/configure: Likewise.
19753         * sysdeps/unix/sysv/linux/configure: Likewise.
19754         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19755         * sysdeps/x86_64/configure: Likewise.
19756         * sysdeps/x86_64/preconfigure: Likewise.
19757
19758 2013-10-29  Andreas Schwab  <schwab@suse.de>
19759
19760         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19761
19762 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19763
19764         * benchtests/pow-inputs: Add new inputs.
19765
19766         * benchtests/exp-inputs: Add new inputs.
19767
19768         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19769         conditional check for return value.
19770         (__cos32): Likewise.
19771
19772 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19773
19774         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19775         to provide a boost for large inputs with word alignment.
19776         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19777         implementation based on optimized PPC64 strcpy.
19778         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19779         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19780         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19781         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19782
19783 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19784
19785         [BZ #2801]
19786         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19787
19788 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19789
19790         [BZ #14876]
19791         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19792         * time/tst-strptime.c (day_tests): Add testcase.
19793
19794 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19795
19796         [BZ #14029]
19797         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19798
19799 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19800
19801         [BZ #16074]
19802         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19803         MAP_FAILED on error.
19804
19805 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19806
19807         [BZ #16072]
19808         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19809         heap for large requests.
19810
19811 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19812
19813         [BZ #9954]
19814         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19815         result if the result has no associated interface.
19816         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19817         interface for all 127.X.Y.Z addresses.
19818
19819 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19820
19821         * locale/iso-639.def: Add Ligurian (lij)
19822
19823 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19824
19825         [BZ #15825]
19826         * sunrpc/rpc_main.c: Document rpcgen -5.
19827
19828 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19829
19830         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19831
19832 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19833
19834         [BZ #10278]
19835         * posix/glob.c: Match only directories when trailing slash is present.
19836         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19837         (main): Add testcase.
19838
19839 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19840
19841         [BZ #15670]
19842         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19843
19844 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19845
19846         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19847         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19848         AUTH_DES and cindex for FIPS 140-2.
19849         (DES Encryption): Add cindex FIPS 46-3.
19850
19851         * locale/locarchive.h (struct locarhandle): Add fname.
19852         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19853         if an optional argument was specified to --list-archive,
19854         otherwise NULL.
19855         * locale/programs/locarchive.c (show_archive_content): Take new
19856         argument fname and pass it via ah.fname to open_archive.
19857         * locale/programs/localedef.h: Update decl.
19858         (open_archive): If AH->fname is non-null, open that file
19859         rather than the default file name, and don't ignore ENOENT.
19860         (create_archive): Set AH.fname to NULL.
19861         (delete_locales_from_archive): Likewise.
19862         (add_locales_to_archive): Likewise.
19863         * locale/programs/locfile.c (write_all_categories): Likewise.
19864
19865 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
19866             Aldy Hernandez  <aldyh@redhat.com>
19867
19868         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19869         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19870         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19871         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19872         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19873         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19874         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19875         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19876         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19877         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19878         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19879         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19880         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19881         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19882         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19883         Likewise.
19884         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19885         Likewise.
19886         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19887         Likewise.
19888         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19889         Likewise.
19890         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19891         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19892         Likewise.
19893         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19894         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19895         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19896         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19897         Likewise.
19898         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19899         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19900         * sysdeps/powerpc/preconfigure: Likewise.
19901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19902         Likewise.
19903         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19904         Replace contents of file by #include of <fenv_libc.h>.
19905         * sysdeps/powerpc/soft-fp/sfp-machine.h
19906         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19907         and <sys/prctl.h>.
19908         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19909         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19910         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19911         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19912         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19913         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19914         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19915         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19916         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19917         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19918         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19919         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19921         Allow copysignl PLT reference to be missing.
19922
19923 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
19924             Joseph Myers  <joseph@codesourcery.com
19925
19926         [BZ #15948]
19927         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19928         single character.
19929         (add_to_tablewc): Assert sequence of wide characters is nonempty.
19930
19931 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19932
19933         * elf/tst-tls-dlinfo.c: Don't include tls.h.
19934         * elf/tst-tls1.c: Likewise.
19935         * elf/tst-tls10.h: Likewise.
19936         * elf/tst-tls14.c: Likewise.
19937         * elf/tst-tls2.c: Likewise.
19938         * elf/tst-tls3.c: Likewise.
19939         * elf/tst-tls4.c: Likewise.
19940         * elf/tst-tls5.c: Likewise.
19941         * elf/tst-tls6.c: Likewise.
19942         * elf/tst-tls7.c: Likewise.
19943         * elf/tst-tls8.c: Likewise.
19944         * elf/tst-tls9.c: Likewise.
19945         * elf/tst-tlsmod1.c: Likewise.
19946         * elf/tst-tlsmod13.c: Likewise.
19947         * elf/tst-tlsmod13a.c: Likewise.
19948         * elf/tst-tlsmod14a.c: Likewise.
19949         * elf/tst-tlsmod16a.c: Likewise.
19950         * elf/tst-tlsmod16b.c: Likewise.
19951         * elf/tst-tlsmod2.c: Likewise.
19952         * elf/tst-tlsmod3.c: Likewise.
19953         * elf/tst-tlsmod4.c: Likewise.
19954         * elf/tst-tlsmod5.c: Likewise.
19955         * elf/tst-tlsmod6.c: Likewise.
19956
19957 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
19958
19959         [BZ #12486]
19960         * malloc/malloc.c: remove checks for statistics.
19961
19962 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19963
19964         [BZ #15277]
19965         * inet/inet_net.c (inet_network): Detect additional invalid strings.
19966         * inet/tst-network.c: Add testcase.
19967
19968 2013-10-17  Andreas Schwab  <schwab@suse.de>
19969
19970         [BZ #15218]
19971         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19972         to determine canonical name.
19973
19974 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19975
19976         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19977         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19978         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19979         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19980         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19981         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19982         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19983         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19984         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19985         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19986         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19987         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19988         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19989         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19990         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19991         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19992         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19993         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19994         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19995         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19996         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19997         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19998         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19999         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20000         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20001         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20002         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20003         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20004         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20005         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20006         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20007         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20008         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20009         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20010         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20011         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20012         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20013         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20014         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20015         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20016         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20017         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20018         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20019         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20020         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20021         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20022         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20023         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20024         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20025         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20026         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20027         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20028         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20029         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20030         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20031         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20032         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20033         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20034
20035 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20036
20037         [BZ #16041]
20038         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20039         make result into a quiet NaN.
20040
20041 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20042
20043         * soft-fp/adddf3.c: Fix horizontal whitespace.
20044         * soft-fp/addsf3.c: Likewise.
20045         * soft-fp/addtf3.c: Likewise.
20046         * soft-fp/divdf3.c: Likewise.
20047         * soft-fp/divsf3.c: Likewise.
20048         * soft-fp/divtf3.c: Likewise.
20049         * soft-fp/double.h: Likewise.
20050         * soft-fp/eqdf2.c: Likewise.
20051         * soft-fp/eqsf2.c: Likewise.
20052         * soft-fp/eqtf2.c: Likewise.
20053         * soft-fp/extenddftf2.c: Likewise.
20054         * soft-fp/extended.h: Likewise.
20055         * soft-fp/extendsfdf2.c: Likewise.
20056         * soft-fp/extendsftf2.c: Likewise.
20057         * soft-fp/extendxftf2.c: Likewise.
20058         * soft-fp/fixdfdi.c: Likewise.
20059         * soft-fp/fixdfsi.c: Likewise.
20060         * soft-fp/fixdfti.c: Likewise.
20061         * soft-fp/fixsfdi.c: Likewise.
20062         * soft-fp/fixsfsi.c: Likewise.
20063         * soft-fp/fixsfti.c: Likewise.
20064         * soft-fp/fixtfdi.c: Likewise.
20065         * soft-fp/fixtfsi.c: Likewise.
20066         * soft-fp/fixtfti.c: Likewise.
20067         * soft-fp/fixunsdfdi.c: Likewise.
20068         * soft-fp/fixunsdfsi.c: Likewise.
20069         * soft-fp/fixunsdfti.c: Likewise.
20070         * soft-fp/fixunssfdi.c: Likewise.
20071         * soft-fp/fixunssfsi.c: Likewise.
20072         * soft-fp/fixunssfti.c: Likewise.
20073         * soft-fp/fixunstfdi.c: Likewise.
20074         * soft-fp/fixunstfsi.c: Likewise.
20075         * soft-fp/fixunstfti.c: Likewise.
20076         * soft-fp/floatdidf.c: Likewise.
20077         * soft-fp/floatdisf.c: Likewise.
20078         * soft-fp/floatditf.c: Likewise.
20079         * soft-fp/floatsidf.c: Likewise.
20080         * soft-fp/floatsisf.c: Likewise.
20081         * soft-fp/floatsitf.c: Likewise.
20082         * soft-fp/floattidf.c: Likewise.
20083         * soft-fp/floattisf.c: Likewise.
20084         * soft-fp/floattitf.c: Likewise.
20085         * soft-fp/floatundidf.c: Likewise.
20086         * soft-fp/floatundisf.c: Likewise.
20087         * soft-fp/floatunditf.c: Likewise.
20088         * soft-fp/floatunsidf.c: Likewise.
20089         * soft-fp/floatunsisf.c: Likewise.
20090         * soft-fp/floatunsitf.c: Likewise.
20091         * soft-fp/floatuntidf.c: Likewise.
20092         * soft-fp/floatuntisf.c: Likewise.
20093         * soft-fp/floatuntitf.c: Likewise.
20094         * soft-fp/fmadf4.c: Likewise.
20095         * soft-fp/fmasf4.c: Likewise.
20096         * soft-fp/fmatf4.c: Likewise.
20097         * soft-fp/gedf2.c: Likewise.
20098         * soft-fp/gesf2.c: Likewise.
20099         * soft-fp/getf2.c: Likewise.
20100         * soft-fp/ledf2.c: Likewise.
20101         * soft-fp/lesf2.c: Likewise.
20102         * soft-fp/letf2.c: Likewise.
20103         * soft-fp/muldf3.c: Likewise.
20104         * soft-fp/mulsf3.c: Likewise.
20105         * soft-fp/multf3.c: Likewise.
20106         * soft-fp/negdf2.c: Likewise.
20107         * soft-fp/negsf2.c: Likewise.
20108         * soft-fp/negtf2.c: Likewise.
20109         * soft-fp/op-1.h: Likewise.
20110         * soft-fp/op-2.h: Likewise.
20111         * soft-fp/op-4.h: Likewise.
20112         * soft-fp/op-8.h: Likewise.
20113         * soft-fp/op-common.h: Likewise.
20114         * soft-fp/quad.h: Likewise.
20115         * soft-fp/single.h: Likewise.
20116         * soft-fp/soft-fp.h: Likewise.
20117         * soft-fp/sqrtdf2.c: Likewise.
20118         * soft-fp/sqrtsf2.c: Likewise.
20119         * soft-fp/sqrttf2.c: Likewise.
20120         * soft-fp/subdf3.c: Likewise.
20121         * soft-fp/subsf3.c: Likewise.
20122         * soft-fp/subtf3.c: Likewise.
20123         * soft-fp/truncdfsf2.c: Likewise.
20124         * soft-fp/trunctfdf2.c: Likewise.
20125         * soft-fp/trunctfsf2.c: Likewise.
20126         * soft-fp/trunctfxf2.c: Likewise.
20127         * soft-fp/unorddf2.c: Likewise.
20128         * soft-fp/unordsf2.c: Likewise.
20129         * soft-fp/unordtf2.c: Likewise.
20130
20131 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20132
20133         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20134         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20135
20136 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20137
20138         * elf/dl-libc.c: Clear initfini list after freeing.
20139
20140 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20141
20142         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20143         * soft-fp/addsf3.c: Likewise.
20144         * soft-fp/addtf3.c: Likewise.
20145         * soft-fp/divdf3.c: Likewise.
20146         * soft-fp/divsf3.c: Likewise.
20147         * soft-fp/divtf3.c: Likewise.
20148         * soft-fp/double.h: Likewise.
20149         * soft-fp/eqdf2.c: Likewise.
20150         * soft-fp/eqsf2.c: Likewise.
20151         * soft-fp/eqtf2.c: Likewise.
20152         * soft-fp/extenddftf2.c: Likewise.
20153         * soft-fp/extended.h: Likewise.
20154         * soft-fp/extendsfdf2.c: Likewise.
20155         * soft-fp/extendsftf2.c: Likewise.
20156         * soft-fp/extendxftf2.c: Likewise.
20157         * soft-fp/fixdfdi.c: Likewise.
20158         * soft-fp/fixdfsi.c: Likewise.
20159         * soft-fp/fixdfti.c: Likewise.
20160         * soft-fp/fixsfdi.c: Likewise.
20161         * soft-fp/fixsfsi.c: Likewise.
20162         * soft-fp/fixsfti.c: Likewise.
20163         * soft-fp/fixtfdi.c: Likewise.
20164         * soft-fp/fixtfsi.c: Likewise.
20165         * soft-fp/fixtfti.c: Likewise.
20166         * soft-fp/fixunsdfdi.c: Likewise.
20167         * soft-fp/fixunsdfsi.c: Likewise.
20168         * soft-fp/fixunsdfti.c: Likewise.
20169         * soft-fp/fixunssfdi.c: Likewise.
20170         * soft-fp/fixunssfsi.c: Likewise.
20171         * soft-fp/fixunssfti.c: Likewise.
20172         * soft-fp/fixunstfdi.c: Likewise.
20173         * soft-fp/fixunstfsi.c: Likewise.
20174         * soft-fp/fixunstfti.c: Likewise.
20175         * soft-fp/floatdidf.c: Likewise.
20176         * soft-fp/floatdisf.c: Likewise.
20177         * soft-fp/floatditf.c: Likewise.
20178         * soft-fp/floatsidf.c: Likewise.
20179         * soft-fp/floatsisf.c: Likewise.
20180         * soft-fp/floatsitf.c: Likewise.
20181         * soft-fp/floattidf.c: Likewise.
20182         * soft-fp/floattisf.c: Likewise.
20183         * soft-fp/floattitf.c: Likewise.
20184         * soft-fp/floatundidf.c: Likewise.
20185         * soft-fp/floatundisf.c: Likewise.
20186         * soft-fp/floatunsidf.c: Likewise.
20187         * soft-fp/floatunsisf.c: Likewise.
20188         * soft-fp/floatuntidf.c: Likewise.
20189         * soft-fp/floatuntisf.c: Likewise.
20190         * soft-fp/floatuntitf.c: Likewise.
20191         * soft-fp/fmadf4.c: Likewise.
20192         * soft-fp/fmasf4.c: Likewise.
20193         * soft-fp/fmatf4.c: Likewise.
20194         * soft-fp/gedf2.c: Likewise.
20195         * soft-fp/gesf2.c: Likewise.
20196         * soft-fp/getf2.c: Likewise.
20197         * soft-fp/ledf2.c: Likewise.
20198         * soft-fp/lesf2.c: Likewise.
20199         * soft-fp/letf2.c: Likewise.
20200         * soft-fp/muldf3.c: Likewise.
20201         * soft-fp/mulsf3.c: Likewise.
20202         * soft-fp/multf3.c: Likewise.
20203         * soft-fp/negdf2.c: Likewise.
20204         * soft-fp/negsf2.c: Likewise.
20205         * soft-fp/negtf2.c: Likewise.
20206         * soft-fp/op-1.h: Likewise.
20207         * soft-fp/op-2.h: Likewise.
20208         * soft-fp/op-4.h: Likewise.
20209         * soft-fp/op-8.h: Likewise.
20210         * soft-fp/op-common.h: Likewise.
20211         * soft-fp/quad.h: Likewise.
20212         * soft-fp/single.h: Likewise.
20213         * soft-fp/soft-fp.h: Likewise.
20214         * soft-fp/sqrtdf2.c: Likewise.
20215         * soft-fp/sqrtsf2.c: Likewise.
20216         * soft-fp/sqrttf2.c: Likewise.
20217         * soft-fp/subdf3.c: Likewise.
20218         * soft-fp/subsf3.c: Likewise.
20219         * soft-fp/subtf3.c: Likewise.
20220         * soft-fp/truncdfsf2.c: Likewise.
20221         * soft-fp/trunctfdf2.c: Likewise.
20222         * soft-fp/trunctfsf2.c: Likewise.
20223         * soft-fp/trunctfxf2.c: Likewise.
20224         * soft-fp/unorddf2.c: Likewise.
20225         * soft-fp/unordsf2.c: Likewise.
20226         * soft-fp/unordtf2.c: Likewise.
20227
20228 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20229
20230         [BZ #15672]
20231         * misc/error.c (error_tail): Fix possible buffer overflow.
20232
20233 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20234
20235         [BZ #13028]
20236         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20237         address.
20238
20239 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20240
20241         [BZ #832]
20242         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20243         testing pipefail option.
20244
20245 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20246
20247         * soft-fp/double.h: Indent preprocessor directives inside #if.
20248         * soft-fp/extended.h: Likewise.
20249         * soft-fp/op-2.h: Likewise.
20250         * soft-fp/op-4.h: Likewise.
20251         * soft-fp/op-common.h: Likewise.
20252         * soft-fp/quad.h: Likewise.
20253         * soft-fp/single.h: Likewise.
20254         * soft-fp/soft-fp.h: Likewise.
20255
20256 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20257
20258         * iconv/iconv_prog.c: Fix typos.
20259         * stdio-common/psiginfo-data.h: Likewise.
20260
20261 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20262
20263         [BZ #15764]
20264         * locale/setlocale.c: Fix typo.
20265
20266 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20267
20268         [BZ #16036]
20269         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20270         signaling NaN arguments.
20271         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20272         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20273
20274         [BZ #14910]
20275         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20276         unordered operands.
20277         * soft-fp/gesf2.c (__gesf2): Likewise.
20278         * soft-fp/getf2.c (__getf2): Likewise.
20279         * soft-fp/ledf2.c (__ledf2): Likewise.
20280         * soft-fp/lesf2.c (__lesf2): Likewise.
20281         * soft-fp/letf2.c (__letf2): Likewise.
20282
20283         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20284         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20285         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20286         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20287         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20288         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20289         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20290         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20291         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20292         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20293         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20294         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20295         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20296         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20297         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20298         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20299         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20300         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20301         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20302         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20303         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20304         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20305         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20306         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20307         * soft-fp/floattidf.c (__floattidf): Likewise.
20308         * soft-fp/floattisf.c (__floattisf): Likewise.
20309         * soft-fp/floattitf.c (__floattitf): Likewise.
20310         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20311         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20312         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20313         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20314         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20315         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20316         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20317         * soft-fp/gesf2.c (__gesf2): Likewise.
20318         * soft-fp/getf2.c (__getf2): Likewise.
20319         * soft-fp/ledf2.c (__ledf2): Likewise.
20320         * soft-fp/lesf2.c (__lesf2): Likewise.
20321         * soft-fp/letf2.c (__letf2): Likewise.
20322
20323         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20324         Undefine and redefine.
20325         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20326         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20327         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20328         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20329         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20330         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20331         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20332         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20333         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20334         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20335         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20336         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20337         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20338         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20339         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20340
20341         [BZ #16032]
20342         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20343         without decrementing exponent if mantissa >= that for the
20344         denominator, not >.
20345         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20346         denominator, not >.  Decrement exponent in < case instead of
20347         incrementing in >= case.
20348         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20349         without decrementing exponent if mantissa >= that for the
20350         denominator, not >.
20351
20352         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20353         computing saturated result for unsigned overflow.
20354
20355 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20356             Jeff Law  <law@redhat.com>
20357
20358         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20359         (atan2Mp): Add systemtap probe marker.
20360         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20361         (__ieee754_log): Add systemtap probe marker.
20362         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20363         (atanMp): Add systemtap probe marker.
20364         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20365         (tanMp): Add systemtap probe marker.
20366         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20367         (__slowexp): Add systemtap probe marker.
20368         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20369         (__slowpow): Add systemtap probe marker.
20370         * manual/probes.texi: Document probes.
20371
20372 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20373
20374         [BZ #15362]
20375         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20376         written.
20377         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20378         written.
20379         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20380         written to buffer but not flushed.
20381         * libio/iofwrite_u.c:  Likewise.
20382         * libio/iopadn.c:  Return bytes returned even if EOF was
20383         encountered.
20384         * libio/iowpadn.c:  Likewise.
20385         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20386         if _IO_padn does not write the whole buffer.
20387         [!COMPILE_WPRINTF] (PAD): Likewise.
20388
20389 2013-10-10  David S. Miller  <davem@davemloft.net>
20390
20391         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20392         directory block.
20393
20394 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20395
20396         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20397         instead of FSF address.
20398         * soft-fp/fixdfti.c: Likewise.
20399         * soft-fp/fixsfti.c: Likewise.
20400         * soft-fp/fixtfti.c: Likewise.
20401         * soft-fp/fixunsdfti.c: Likewise.
20402         * soft-fp/fixunssfti.c: Likewise.
20403         * soft-fp/fixunstfti.c: Likewise.
20404         * soft-fp/floattidf.c: Likewise.
20405         * soft-fp/floattisf.c: Likewise.
20406         * soft-fp/floattitf.c: Likewise.
20407         * soft-fp/floatuntidf.c: Likewise.
20408         * soft-fp/floatuntisf.c: Likewise.
20409         * soft-fp/floatuntitf.c: Likewise.
20410         * soft-fp/trunctfxf2.c: Likewise.
20411
20412         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20413         * soft-fp/fixdfti.c: Likewise.
20414         * soft-fp/fixsfti.c: Likewise.
20415         * soft-fp/fixtfti.c: Likewise.
20416         * soft-fp/fixunsdfti.c: Likewise.
20417         * soft-fp/fixunssfti.c: Likewise.
20418         * soft-fp/fixunstfti.c: Likewise.
20419         * soft-fp/floattidf.c: Likewise.
20420         * soft-fp/floattisf.c: Likewise.
20421         * soft-fp/floattitf.c: Likewise.
20422         * soft-fp/floatuntidf.c: Likewise.
20423         * soft-fp/floatuntisf.c: Likewise.
20424         * soft-fp/floatuntitf.c: Likewise.
20425         * soft-fp/trunctfxf2.c: Likewise.
20426
20427 2013-10-10  David S. Miller  <davem@davemloft.net>
20428
20429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20430
20431 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20432
20433         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20434         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20435         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20436         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20437         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20438         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20439         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20440
20441         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20442         for NaNs before doing comparisons on argument.
20443         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20444         Likewise.
20445
20446 2013-10-10  Will Newton  <will.newton@linaro.org>
20447
20448         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20449         passed to _int_memalign does not overflow.
20450
20451 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20452
20453         * scripts/bench.pl: Add include-sources directive.
20454         * benchtests/README: Update documentation.
20455
20456 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20457
20458         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20459         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20460         instead of FP_INIT_ROUNDMODE.
20461         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20462         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20463
20464         [BZ #16034]
20465         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20466         copy class of input value.
20467         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20468         not handle exceptions.
20469         * soft-fp/negsf2.c (__negsf2): Likewise.
20470         * soft-fp/negtf2.c (__negtf2): Likewise.
20471         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20472
20473 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20474
20475         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20476         semicolon.  From Linux kernel.
20477
20478 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20479
20480         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20481
20482 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20483
20484         [BZ #156]
20485         * manual/socket.texi: Added statement about buffer
20486         for gethostbyname2_r.
20487
20488 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20489
20490         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20491         Use .p2align directive instead, throughout.
20492         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20493         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20494         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20495         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20496         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20497         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20498         * sysdeps/x86_64/strchr.S: Likewise.
20499         * sysdeps/x86_64/strrchr.S: Likewise.
20500
20501 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20502
20503         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20504
20505         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20506
20507         * sysdeps/generic/math_private.h (__mpsin1): Remove
20508         declaration.
20509         (__mpcos1): Likewise.
20510         (__mpsin): New argument __range_reduce.
20511         (__mpcos): Likewise.
20512         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20513         (slow): Use __mpsin and __mpcos.
20514         (slow1): Likewise.
20515         (slow2): Likewise.
20516         (sloww): Likewise.
20517         (sloww1): Likewise.
20518         (sloww2): Likewise.
20519         (bsloww): Likewise.
20520         (bsloww1): Likewise.
20521         (bsloww2): Likewise.
20522         (cslow2): Likewise.
20523         (csloww): Likewise.
20524         (csloww1): Likewise.
20525         (csloww2): Likewise.
20526         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20527         range_reduce.  Merge in __mpsin1.
20528         (__mpcos): Likewise.
20529         (__mpsin1): Remove.
20530         (__mpcos1): Likewise.
20531
20532 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20533
20534         * locale/loadlocale.c (_nl_intern_locale_data): Use
20535         LOCFILE_ALIGNED_P.
20536         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20537         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20538         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20539         obstack data is appropriately aligned.
20540         (obstack_int32_grow_fast): Likewise.
20541         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20542         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20543         (add_locale_uint32_array): Likewise.
20544
20545 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20546
20547         * benchtests/Makefile: Remove ARGLIST and RET variables.
20548         ($(objpfx)bench-%.c): Pass only function name to the script.
20549         * benchtests/README: Update documentation.
20550         * benchtests/acos-inputs: Add new directives.
20551         * benchtests/acosh-inputs: Likewise.
20552         * benchtests/asin-inputs: Likewise.
20553         * benchtests/asinh-inputs: Likewise.
20554         * benchtests/atan-inputs: Likewise.
20555         * benchtests/atanh-inputs: Likewise.
20556         * benchtests/cos-inputs: Likewise.
20557         * benchtests/cosh-inputs: Likewise.
20558         * benchtests/exp-inputs: Likewise.
20559         * benchtests/log-inputs: Likewise.
20560         * benchtests/pow-inputs: Likewise.
20561         * benchtests/rint-inputs: Likewise.
20562         * benchtests/sin-inputs: Likewise.
20563         * benchtests/sinh-inputs: Likewise.
20564         * benchtests/tan-inputs: Likewise.
20565         * benchtests/tanh-inputs: Likewise.
20566         * scripts/bench.pl: Add support for new directives.
20567
20568 2013-10-07  Alan Modra  <amodra@gmail.com>
20569
20570         * README: Fix careless merge.
20571
20572 2013-10-05  Alan Modra  <amodra@gmail.com>
20573
20574         * NEWS: Mention powerpc64le support and bugs fixed.
20575         * README: Both big-endian and little-endian powerpc64 supported.
20576
20577 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20578
20579         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20580         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20581         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20582         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20583
20584 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20585
20586         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20587         match prototype.
20588
20589 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20590
20591         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20592         Move -mhard-float appending from
20593         ports/sysdeps/powerpc/powerpc32/Makefile.
20594         [$(with-fp) = yes] (ASFLAGS): Likewise.
20595         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20596         * sysdeps/powerpc/nofpu: Move directory from
20597         ports/sysdeps/powerpc/nofpu.
20598         * sysdeps/powerpc/soft-fp: Move directory from
20599         ports/sysdeps/powerpc/soft-fp.
20600         * sysdeps/powerpc/powerpc32/405: Move directory from
20601         ports/sysdeps/powerpc/powerpc32/405.
20602         * sysdeps/powerpc/powerpc32/440: Move directory from
20603         ports/sysdeps/powerpc/powerpc32/440.
20604         * sysdeps/powerpc/powerpc32/464: Move directory from
20605         ports/sysdeps/powerpc/powerpc32/464.
20606         * sysdeps/powerpc/powerpc32/476: Move directory from
20607         ports/sysdeps/powerpc/powerpc32/476.
20608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20609         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20611         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20613         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20615         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20617         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20618         * README: Update for powerpc-*-linux-gnu software floating point
20619         support in libc.
20620
20621         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20622         case to powerpc/powerpc32*.
20623         * sysdeps/unix/sysv/linux/configure: Regenerated.
20624
20625         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20626         (_FPU_MASK_OM): Define as 0x04.
20627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20629         0x00c10080.
20630         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20631         0x0000003c.
20632         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20633
20634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20635         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20636         getcontext_e500.
20637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20638         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20639         setcontext_e500.
20640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20641         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20642         and setcontext_e500.
20643
20644 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20645
20646         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20647
20648 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20649
20650         * manual/threads.texi (Default Thread Attributes): Fix typo.
20651
20652 2013-10-04  Will Newton  <will.newton@linaro.org>
20653
20654         * malloc/Makefile: Add tst-memalign.
20655         * malloc/tst-memalign.c: New file.
20656
20657         * malloc/tst-posix_memalign.c: Add comments.
20658         (do_test): Add comments and call free on all potentially
20659         allocated pointers. Add space after cast.
20660
20661         * malloc/tst-pvalloc.c: Add comments.
20662         (do_test): Add comments and call free on all potentially
20663         allocated pointers. Remove duplicate check for NULL pointer.
20664         Add space after cast.
20665
20666         * malloc/tst-valloc.c: Add comments.
20667         (do_test): Add comments and call free on all potentially
20668         allocated pointers. Remove duplicate check for NULL pointer.
20669         Add space after cast.
20670
20671 2013-10-04  Alan Modra  <amodra@gmail.com>
20672
20673         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20674         Use stdint types in rather than __attribute__((mode())).
20675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20676
20677 2013-10-04  Alan Modra  <amodra@gmail.com>
20678
20679         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20680         Correct handling of unaligned relocs for little-endian.
20681         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20682
20683 2013-10-04  Alan Modra  <amodra@gmail.com>
20684
20685         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20686         * configure: Regenerate.
20687         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20688         * shlib-versions: Likewise.
20689
20690 2013-10-04  Alan Modra  <amodra@gmail.com>
20691
20692         * string/tester.c (test_memrchr): Increment reported test cycle.
20693
20694 2013-10-04  Alan Modra  <amodra@gmail.com>
20695
20696         * string/test-memcpy.c (do_one_test): When reporting errors, print
20697         string address and don't overrun end of string.
20698
20699 2013-10-04  Alan Modra  <amodra@gmail.com>
20700
20701         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20702         insrdi.  Make better use of reg selection to speed exit slightly.
20703         Schedule entry path a little better.  Remove useless "are we done"
20704         checks on entry to main loop.  Handle wrapping around zero address.
20705         Correct main loop count.  Handle single left-over word from main
20706         loop inline rather than by using loop_small.  Remove extra word
20707         case in loop_small caused by wrong loop count.  Add little-endian
20708         support.
20709         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20710         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20711         cache hint.
20712         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20713         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20714         support.  Avoid rlwimi.
20715         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20716
20717 2013-10-04  Alan Modra  <amodra@gmail.com>
20718
20719         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20720         insrdi.  Formatting.
20721         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20722         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20723         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20724         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20725         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20726         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20727
20728 2013-10-04  Alan Modra  <amodra@gmail.com>
20729
20730         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20731         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20732         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20733         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20734         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20735         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20736         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20737         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20738         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20739         use of regs.  Use power7 mtocrf.  Tidy function tails.
20740
20741 2013-10-04  Alan Modra  <amodra@gmail.com>
20742
20743         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20744         Formatting.  Consistently use rXXX register defines or rN defines.
20745         Use early exit labels that avoid restoring unused non-volatile regs.
20746         Make cr field use more consistent with rWORDn compares.  Rename
20747         regs used as shift registers for unaligned loop, using rN defines
20748         for short lifetime/multiple use regs.
20749         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20750         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20751         addi 1,1,64 to pop stack frame.  Simplify return value code.
20752         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20753
20754 2013-10-04  Alan Modra  <amodra@gmail.com>
20755
20756         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20757         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20758         rather than rlwimi.
20759         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20760         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20761         little-endian support.  Correct typos.
20762         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20763         rather than rlwimi.
20764         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20765         in loop and entry code to keep "and." results.
20766         (strchr): Add little-endian support.  Comment.  Move cntlzd
20767         earlier in tail.
20768         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20769
20770 2013-10-04  Alan Modra  <amodra@gmail.com>
20771
20772         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20773         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20774         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20775         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20776
20777 2013-10-04  Alan Modra  <amodra@gmail.com>
20778
20779         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20780         (rTMP): Define as r11.
20781         (strcmp): Add little-endian support.  Optimise tail.
20782         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20783         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20784         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20785         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20786         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20787         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20788         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20789
20790 2013-10-04  Alan Modra  <amodra@gmail.com>
20791
20792         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20793         little-endian support.  Remove unnecessary "are we done" tests.
20794         Handle "s" wrapping around zero and extremely large "size".
20795         Correct main loop count.  Handle single left-over word from main
20796         loop inline rather than by using small_loop.  Correct comments.
20797         Delete "zero" tail, use "end_max" instead.
20798         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20799
20800 2013-10-04  Alan Modra  <amodra@gmail.com>
20801
20802         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20803         support.  Don't branch over align.
20804         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20805         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20806         support.  Rearrange tmp reg use to suit.  Comment.
20807         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20808
20809 2013-10-04  Alan Modra  <amodra@gmail.com>
20810
20811         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20812
20813 2013-10-04  Alan Modra  <amodra@gmail.com>
20814
20815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20816         conditional form of branch and link when obtaining pc.
20817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20818
20819 2013-10-04  Alan Modra  <amodra@gmail.com>
20820
20821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20822         HIWORD/LOWORD.
20823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20825
20826 2013-10-04  Alan Modra  <amodra@gmail.com>
20827
20828         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20829         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20830         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20831         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20832         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20833         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20834         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20835         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20836         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20837         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20838
20839 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20840             Alistair Popple <alistair@ozlabs.au.ibm.com>
20841             Alan Modra <amodra@gmail.com>
20842
20843         [BZ #15723]
20844         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20845         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20846         _dl_hwcap access for little-endian.
20847         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20848         destroy vmx regs when saving unaligned.
20849         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20850         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20851         destroy vmx regs when saving unaligned.
20852
20853 2013-10-04  Alan Modra  <amodra@gmail.com>
20854
20855         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20856         Don't use a union to pack hi/low value.
20857
20858 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20859
20860         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20861         for little-endian.
20862         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20863         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20864         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20865         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20866         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20867
20868 2013-10-04  Alan Modra  <amodra@gmail.com>
20869
20870         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20871         constants to usual value for .cst8 section, and remove redundant
20872         high address load.
20873         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20874         constant for 0x1p52.  Load little-endian words of double from
20875         correct stack offsets.
20876
20877 2013-10-04  Alan Modra  <amodra@gmail.com>
20878
20879         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20880         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20881         words of double from correct stack offsets.
20882         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20883         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20884         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20885         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20886         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20887         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20888         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20889         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20890         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20891         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20892         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20893         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20894         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20895         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20896         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20897         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20898         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20899
20900 2013-10-04  Alan Modra  <amodra@gmail.com>
20901
20902         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20903         64-bit int/double union.
20904         (_FPU_SETCW): Likewise.
20905         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20906         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20907
20908 2013-10-04  Alan Modra  <amodra@gmail.com>
20909
20910         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20911         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20912
20913 2013-10-04  Alan Modra  <amodra@gmail.com>
20914
20915         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20916         use vector int constants.
20917         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20918
20919 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20920
20921         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20922         array with long long.
20923         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20924         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20925         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20926         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20927         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20928         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20929         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20930         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20931         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20932         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20933         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20934         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20935         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20936
20937 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20938
20939         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20940         (__signbit): Likewise.  Correct for little-endian.
20941         (__signbitl): Call __signbit.
20942         (lrint): Correct for little-endian.
20943         (lrintf): Call lrint.
20944
20945 2013-10-04  Alan Modra  <amodra@gmail.com>
20946
20947         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20948         union 32-bit int array member with 64-bit int array.
20949         (t515, tm256): Double rather than long double.
20950         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20951
20952 2013-10-04  Alan Modra  <amodra@gmail.com>
20953
20954         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20955         Delete.
20956         (IEEE854_LONG_DOUBLE_BIAS): Delete.
20957         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20958         version of math_ldbl.h.
20959
20960 2013-10-04  Alan Modra  <amodra@gmail.com>
20961
20962         [BZ #15734], [BZ #15735]
20963         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20964         all uses of ieee875 long double macros and unions.  Simplify test
20965         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
20966         ldbl_extract_mantissa value for ix,iy exponents.  Properly
20967         normalize after ldbl_extract_mantissa, and don't add hidden bit
20968         already handled.  Don't treat low word of ieee854 mantissa like
20969         low word of IBM long double and mask off bit when testing for
20970         zero.
20971         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20972         all uses of ieee875 long double macros and unions.  Simplify tests
20973         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
20974         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
20975         two1022, instead use their values.  Recognise that tests for large
20976         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
20977         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20978         Rewrite all uses of ieee875 long double macros and unions.  Simplify
20979         test for 0.0L and nan.  Correct negation.
20980         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20981         ieee875 long double macros and unions.  Correct output for large
20982         magnitude x.  Correct absolute value calculation.
20983         (__erfcl): Likewise.
20984         * math/libm-test.inc: Add tests for errors discovered in IBM long
20985         double versions of fmodl, remainderl, erfl and erfcl.
20986
20987 2013-10-04  Alan Modra  <amodra@gmail.com>
20988
20989         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20990         all uses of ieee854 long double macros and unions.  Simplify tests
20991         for long doubles that are fully specified by the high double.
20992         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20993         Likewise.
20994         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20995         Remove dead code too.
20996         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20997         (__ieee754_ynl): Likewise.
20998         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20999         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21000         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21001         Remove dead code too.
21002         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21003         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21004         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21005         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21006         Simplify.
21007         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21008         Simplify.
21009         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21010         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21011         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21012         Comment on variable precision.
21013         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21014         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21015         Likewise.
21016         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21017         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21018         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21019         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21020         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21021
21022 2013-10-04  Alan Modra  <amodra@gmail.com>
21023
21024         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21025         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21026         all uses of ieee854 long double macros and unions.
21027         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21028         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21029         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21030         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21031         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21032         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21033         Likewise.
21034         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21035         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21036         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21037         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21038         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21039         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21040         Simplify sign and nan test too.
21041         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21042         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21043         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21044         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21045         Likewise.
21046         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21047         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21048         Likewise.
21049         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21050         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21051         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21052         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21053         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21054         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21055
21056 2013-10-04  Alan Modra  <amodra@gmail.com>
21057
21058         * stdio-common/printf_size.c (__printf_size): Don't use
21059         union ieee854_long_double in fpnum union.
21060         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21061         signbit macro to retrieve sign from long double.
21062         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21063         retrieve sign from long double.
21064         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21065         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21066         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21067         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21068         * math/test-misc.c (main): Don't use union ieee854_long_double.
21069
21070 2013-10-04  Alan Modra  <amodra@gmail.com>
21071
21072         [BZ #15680]
21073         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21074         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21075         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21076         calculation.  Remove unnecessary test for denormal exponent.
21077         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21078         Correct handling of denormals.  Avoid undefined shift behaviour.
21079         Correct normalisation of low mantissa when low double is denormal.
21080         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21081         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21082         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21083         Correct normalisation of low mantissa.  Test for overflow of high
21084         mantissa and normalise.
21085         (ldbl_nearbyint): Use more readable constant for two52.
21086         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21087         (__mpn_construct_long_double): Fix test for overflow of high
21088         mantissa and correct normalisation.  Avoid undefined shift.
21089
21090 2013-10-04  Alan Modra  <amodra@gmail.com>
21091
21092         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21093         (union ibm_extended_long_double): Define as an array of ieee754_double.
21094         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21095         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21096         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21097         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21098         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21099         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21100         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21101         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21102         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21103         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21104         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21105
21106 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21107
21108         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21109         page size instead of calling getpagesize.
21110
21111         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21112         (LOCFILE_ALIGN_MASK): Likewise.
21113         (LOCFILE_ALIGN_UP): Likewise.
21114         (LOCFILE_ALIGNED_P): Likewise.
21115         * locale/programs/ld-collate.c (collate_output): Use the new
21116         macros instead of __alignof__ (int32_t).
21117         * locale/weight.h (findidx): Likewise.
21118
21119 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21120
21121         [BZ #431]
21122         * manual/string.texi: Fix strncat and wcsncat.
21123
21124 2013-10-03  Brooks Moses  <bmoses@google.com>
21125
21126         [BZ #15915]
21127         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21128         * Makerules: ...here, and adjust associated comments.
21129
21130 2013-10-02  Will Newton  <will.newton@linaro.org>
21131
21132         * malloc/Makefile: Add tst-pvalloc.
21133         * malloc/tst-pvalloc.c: New file.
21134
21135 2013-10-02  Will Newton  <will.newton@linaro.org>
21136
21137         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21138         improve test coverage.
21139
21140 2013-10-02  Will Newton  <will.newton@linaro.org>
21141
21142         * malloc/Makefile: Add tst-posix_memalign.
21143         * malloc/tst-posix_memalign.c: New file.
21144
21145 2013-10-01  Eric Blake  <eblake@redhat.com>
21146
21147         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21148         Use __THROWNL rather than __THROW on static functions.
21149
21150 2013-09-30  Petr Machata  <pmachata@redhat.com>
21151
21152         * elf/elf.h (R_AARCH64_ABS16): New macro.
21153         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21154         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21155         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21156         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21157         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21158         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21159         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21160         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21161         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21162         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21163         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21164         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21165         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21166         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21167         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21168         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21169         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21170         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21171         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21172         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21173         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21174         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21175         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21176         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21177         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21178         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21179         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21180         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21181         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21182         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21183         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21184         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21185         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21186         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21187         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21188         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21189         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21190         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21191         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21192         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21193         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21194         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21195         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21196         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21197         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21198         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21199         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21200         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21201         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21202         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21203         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21204         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21205         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21206         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21207         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21208         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21209         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21210         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21211         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21212         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21213         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21214         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21215         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21216         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21217         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21218         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21219         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21220         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21221         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21222         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21223         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21224         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21225         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21226         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21227         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21228         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21229         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21230         (R_AARCH64_TLSDESC_LDR): Likewise.
21231         (R_AARCH64_TLSDESC_ADD): Likewise.
21232         (R_AARCH64_TLSDESC_CALL): Likewise.
21233
21234 2013-09-30  Andreas Schwab  <schwab@suse.de>
21235
21236         [BZ #15048]
21237         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21238         the nss database lookup.
21239         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21240         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21241
21242 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21243
21244         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21245
21246 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21247
21248         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21249         ${Bash-specific parameter/pattern/string} parameter expansion.
21250         * sysdeps/unix/make-syscalls.sh: Likewise.
21251
21252 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21253
21254         * sysdeps/sh/stackguard-macros.h: New file.
21255
21256 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21257
21258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21259         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21260         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21261         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21262         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21263         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21264
21265 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21266
21267         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21268         Fix thread ID register.
21269
21270 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21271
21272         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21273         [POSIX || UNIX98]: Require rather than permitting all symbols from
21274         <time.h>.
21275         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21276         element of struct sched_param.
21277         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21278         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21279         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21280         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21281         constant.
21282
21283 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21284
21285         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21286         argument calculation.
21287
21288 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21289
21290         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21291         Expect macro.
21292         [POSIX] (pthread_attr_t): Do not require type.
21293         [POSIX] (pthread_cond_t): Likewise.
21294         [POSIX] (pthread_condattr_t): Likewise.
21295         [POSIX] (pthread_key_t): Likewise.
21296         [POSIX] (pthread_mutex_t): Likewise.
21297         [POSIX] (pthread_mutexattr_t): Likewise.
21298         [POSIX] (pthread_once_t): Likewise.
21299         [POSIX] (pthread_t): Likewise.
21300         [POSIX-based standards] (pthread_atfork): Expect function.
21301
21302 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21303             Richard Sandiford  <richard@codesourcery.com>
21304
21305         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21306         (swap_endianness_p): New extern variable.
21307         (set_big_endian): New inline function.
21308         (maybe_swap_uint32): Likewise.
21309         (maybe_swap_uint32_array): Likewise.
21310         (maybe_swap_uint32_obstack): Likewise.
21311         * locale/programs/locfile.c: Include <stdbool.h>.
21312         (swap_endianness_p): New variable.
21313         (add_locale_uint32): Call maybe_swap_uint32.
21314         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21315         (write_locale_data): Call maybe_swap_uint32_array.
21316         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21317         maybe_swap_uint32.
21318         (obstack_int32_grow_fast): Likewise.
21319         (output_weightwc): Call maybe_swap_uint32_obstack.
21320         (collate_output): Likewise.
21321         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21322         (OPT_LITTLE_ENDIAN): Likewise.
21323         (options): Add --little-endian and --big-endian options.
21324         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21325         * locale/programs/locarchive.c: Include "locfile.h".
21326         (GET): New macro.
21327         (SET): Likewise.
21328         (INC): Likewise.
21329         (create_archive): Use the new macros to access fields of
21330         structures directly mapped from or written to locale archives.
21331         (oldlocrecentcmp): Likewise.
21332         (enlarge_archive): Likewise.
21333         (insert_name): Likewise.
21334         (add_alias): Likewise.
21335         (add_locale): Likewise.
21336         (delete_locales_from_archive): Likewise.
21337         (show_archive_content): Likewise.
21338         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21339         locale data.
21340
21341 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21342
21343         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21344         http://www.gnu.org/doc/freemanuals.texi.
21345         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21346
21347 2013-09-24  Will Newton  <will.newton@linaro.org>
21348
21349         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21350         macro.
21351
21352 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21353
21354         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21355         unsigned char.
21356
21357 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21358
21359         * manual/threads.texi (POSIX Threads): Fix a typo.
21360
21361 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21362
21363         [BZ #14547]
21364         * string/tst-strcoll-overflow.c: New test case.
21365         * string/Makefile (xtests): Add tst-strcoll-overflow.
21366         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21367         cache if string sizes may cause integer overflow.
21368
21369         [BZ #14547]
21370         * string/strcoll_l.c (coll_seq): New members rule, idx,
21371         save_idx and back_us.
21372         (get_next_seq_nocache): New function.
21373         (do_compare_nocache): New function.
21374         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21375         when malloc fails.
21376
21377 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21378
21379         [BZ #15754]
21380         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21381         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21382         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21383
21384         [BZ #15754]
21385         * elf/Makefile (tests): Add tst-ptrguard1.
21386         (tests-static): Add tst-ptrguard1-static.
21387         (tst-ptrguard1-ARGS): Define.
21388         (tst-ptrguard1-static-ARGS): Define.
21389         * elf/tst-ptrguard1.c: New file.
21390         * elf/tst-ptrguard1-static.c: New file.
21391         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21392         * sysdeps/i386/stackguard-macros.h: Likewise.
21393         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21394         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21395         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21396         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21397         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21398         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21399
21400 2013-09-23  Hector Marco  <hecmargi@upv.es>
21401             Ismael Ripoll  <iripoll@disca.upv.es>
21402             Carlos O'Donell  <carlos@redhat.com>
21403
21404         [BZ #15754]
21405         * sysdeps/generic/stackguard-macros.h: Define
21406         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21407         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21408         Define __pointer_chk_guard_local.
21409         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21410         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21411
21412 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21413
21414         [BZ #15859]
21415         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21416
21417 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21418
21419         * include/string.h (__ffs): Declare as hidden.
21420         * string/ffs.c (__ffs): Define as hidden.
21421         * sysdeps/i386/ffs.c (__ffs): Likewise.
21422         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21423         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21424         * sysdeps/s390/ffs.c (__ffs): Likewise.
21425         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21426
21427 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21428
21429         * NEWS: Mention malloc probes.
21430
21431         * malloc/arena.c (new_heap): New memory_heap_new probe.
21432         (grow_heap): New memory_heap_more probe.
21433         (shrink_heap): New memory_heap_less probe.
21434         (heap_trim): New memory_heap_free probe.
21435         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21436         (systrim): New memory_sbrk_less probe.
21437         * manual/probes.texi: Document them.
21438
21439         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21440         * manual/probes.texi: Document it.
21441
21442         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21443         (__libc_realloc): Add memory_realloc_retry probe.
21444         (__libc_memalign): Add memory_memalign_retry probe.
21445         (__libc_valloc): Add memory_valloc_retry probe.
21446         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21447         (__libc_calloc): Add memory_calloc_retry probe.
21448         * manual/probes.texi: Document them.
21449
21450         * malloc/arena.c (get_free_list): Add probe
21451         memory_arena_reuse_free_list.
21452         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21453         and memory_arena_reuse.
21454         (arena_get2) [!PER_THREAD]: Likewise.
21455         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21456         memory_arena_reuse_realloc.
21457         * manual/probes.texi: Document them.
21458
21459         * malloc/malloc.c (__libc_free): Add
21460         memory_mallopt_free_dyn_thresholds probe.
21461         (__libc_mallopt): Add multiple memory_mallopt probes.
21462         * manual/probes.texi: Document them.
21463
21464         * malloc/malloc.c: Include stap-probe.h.
21465         (__libc_mallopt): Add memory_mallopt probe.
21466         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21467         * manual/probes.texi: New.
21468         * manual/Makefile (chapters): Add probes.
21469         * manual/threads.texi: Set next node.
21470
21471 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21472
21473         [BZ #15963, #13985]
21474         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21475         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21476         Add `Chinese' to `nan' entry name.
21477
21478 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21479
21480         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21481         (POLYNOMIAL): Likewise.
21482         (TAYLOR_SINCOS): Likewise.
21483         (TAYLOR_SLOW): Likewise.
21484         (__sin): Use TAYLOR_SINCOS.
21485         (__cos): Likewise.
21486         (slow): Use TAYLOR_SLOW.
21487         (sloww): Likewise.
21488         (bsloww): Likewise.
21489         (csloww): Likewise.
21490
21491 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21492
21493         * stdlib/strtod_l.c: Fix buffer overrun.
21494
21495 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21496
21497         * benchtests/Makefile (bench): Add sincos.
21498         * benchtests/bench-sincos.c: New file.
21499
21500         * math/libm-test.inc (cos_test_data): New test inputs.
21501         (sin_test_data): Likewise.
21502
21503         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21504         macro.
21505         (__sin): Use it.
21506         (__cos): Likewise.
21507         (slow1): Likewise.
21508         (slow2): Likewise.
21509         (sloww1): Likewise.
21510         (sloww2): Likewise.
21511         (bsloww1): Likewise.
21512         (bsloww2): Likewise.
21513         (cslow2): Likewise.
21514         (csloww1): Likewise.
21515         (csloww2): Likewise.
21516
21517         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21518         function.
21519         (__sin): Use it.
21520         (__cos): Likewise.
21521
21522         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21523         gotos.
21524         (__cos): Likewise.
21525
21526 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21527
21528         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21529         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21530         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21531         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21532         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21533         * elf/cache.c (print_entry): Handle the new cache flags.
21534
21535 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21536             Aldy Hernandez  <aldyh@redhat.com>
21537
21538         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21539         Change condition to [_SOFT_FLOAT].
21540         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21541         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21542         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21545         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21549         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21552         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21555         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21556         declaration.
21557
21558 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21559
21560         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21561         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21562         (__longjmp): Use LOAD_GP to load saved GPRs.
21563         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21564         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21565         (__sigsetjmp): Use SAVE_GP to save GPRs.
21566
21567         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21568         Do not append -msoft-float.
21569         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21570
21571 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21572
21573         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21574
21575 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21576
21577         [BZ #15966]
21578         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21579         (_FPU_GETCW): Use initial "__" on variable and field names but not
21580         on macro parameter name.
21581         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21582         parentheses around reference to macro parameter.
21583
21584 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21585
21586         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21587         prototype.
21588         (ctype_startup): Use uint32_t in cast and sizeof for
21589         ctype->charnames.
21590
21591 2013-09-11  Jia Liu  <proljc@gmail.com>
21592
21593         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21594         __daddr_t_defined.
21595         [__FreeBSD__]: Likewise.
21596
21597 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21598
21599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21600         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21601         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21602         (strchr): Remove __strchr_sse42 ifunc selection.
21603         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21604         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21605
21606 2013-09-11  Will Newton  <will.newton@linaro.org>
21607
21608         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21609         parameter to RES. Remove hardcoded 1000 value.
21610         * benchtests/bench-skeleton.c (main): Pass RES parameter
21611         to TIMING_INIT and multiply result by 1000.
21612
21613 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21614
21615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21616
21617 2013-09-11  Andreas Schwab  <schwab@suse.de>
21618
21619         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21620         if not defined.
21621         (O_TMPFILE) [__USE_GNU]: Define.
21622         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21623         Define.
21624
21625 2013-09-11  Will Newton  <will.newton@linaro.org>
21626
21627         [BZ #15857]
21628         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21629         does not overflow.
21630
21631 2013-09-11  Will Newton  <will.newton@linaro.org>
21632
21633         [BZ #15856]
21634         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21635         does not overflow.
21636
21637 2013-09-11  Will Newton  <will.newton@linaro.org>
21638
21639         [BZ #15855]
21640         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21641         does not overflow.
21642
21643 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21644
21645         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21646         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21647         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21648         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21649         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21650
21651 2013-09-10  Allan McRae  <allan@archlinux.org>
21652
21653         [BZ #15748]
21654         * manual/arith.texi (Parsing of Floats): Clarify
21655         cross-reference.
21656
21657         [BZ #15849]
21658         * manual/install.texi (Running make install): Mention
21659         --enable-pt-chown.
21660         * INSTALL: Regenerated.
21661
21662 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21663
21664         * csu/init-first.c (_init): Remove the !SHARED condition around
21665         FPU control word initialization.
21666         * elf/dl-support.c (_dl_fpu_control): New variable.
21667         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21668         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21669         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21670         * math/test-fpucw-static.c: New file.
21671         * math/test-fpucw-ieee.c: New file.
21672         * math/test-fpucw-ieee-static.c: New file.
21673         * math/Makefile (tests): Add `test-fpucw-ieee' and
21674         `$(tests-static)'.
21675         (tests-static): New variable.
21676         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21677         dependency to...
21678         [($(build-shared),yes)]
21679         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21680         ... this.
21681         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21682         New dependency.
21683
21684 2013-09-09  Allan McRae  <allan@archlinux.org>
21685
21686         [BZ #15939]
21687         * manual/string.texi (Collation Functions): Fix typo in
21688         strcoll example.
21689         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21690
21691         [BZ #15893]
21692         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21693
21694         [BZ #15892]
21695         * libio/memstream.c (open_memstream): Fix memory leak.
21696         * libio/wmemstream.c (open_wmemstream): Likewise.
21697
21698         [BZ #15895]
21699         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21700
21701 2013-09-09  Will Newton  <will.newton@linaro.org>
21702
21703         * malloc/Makefile: Add tst-realloc to tests.
21704         * malloc/tst-realloc.c: New file.
21705
21706 2013-09-09  Allan McRae  <allan@archlinux.org>
21707
21708         [BZ #15844]
21709         * COPYING: Update from GNU website to fix FSF address.
21710         * COPYING.LIB: Likewise.
21711
21712 2013-09-06  David S. Miller  <davem@davemloft.net>
21713
21714         * po/zh_TW.po: Update Chinese (traditional) translation from
21715         translation project.
21716
21717 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21718             Joseph Myers  <joseph@codesourcery.com>
21719
21720         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21721         "localeinfo.h".
21722         (obstack_chunk_alloc): New macro.
21723         (obstack_chunk_free): Likewise.
21724         (record_offset): New function.
21725         (init_locale_data): Likewise.
21726         (align_locale_data): Likewise.
21727         (add_locale_empty): Likewise.
21728         (add_locale_raw_data): Likewise.
21729         (add_locale_raw_obstack): Likewise.
21730         (add_locale_string): Likewise.
21731         (add_locale_wstring): Likewise.
21732         (add_locale_uint32): Likewise.
21733         (add_locale_uint32_array): Likewise.
21734         (add_locale_char): Likewise.
21735         (start_locale_structure): Likewise.
21736         (end_locale_structure): Likewise.
21737         (start_locale_prelude): Likewise.
21738         (end_locale_prelude): Likewise.
21739         (write_locale_data): Take locale_file structure rather than an
21740         iovec.
21741         * locale/programs/locfile.h: Include "obstack.h".
21742         (struct locale_file): Change to store locale file contents instead
21743         of header.
21744         (init_locale_data): New prototype.
21745         (align_locale_data): Likewise.
21746         (add_locale_empty): Likewise.
21747         (add_locale_raw_data): Likewise.
21748         (add_locale_raw_obstack): Likewise.
21749         (add_locale_string): Likewise.
21750         (add_locale_wstring): Likewise.
21751         (add_locale_uint32): Likewise.
21752         (add_locale_uint32_array): Likewise.
21753         (add_locale_char): Likewise.
21754         (start_locale_structure): Likewise.
21755         (end_locale_structure): Likewise.
21756         (start_locale_prelude): Likewise.
21757         (end_locale_prelude): Likewise.
21758         (write_locale_data): Update prototype.
21759         * locale/programs/3level.h (struct TABLE): Remove result field.
21760         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21761         Use new locale_file interface.
21762         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21763         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21764         * locale/programs/ld-address.c (address_output): Use new
21765         locale_file interface.
21766         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21767         NO_ADD_LOCALE.
21768         (collate_finish): Don't call collseq_table_finalize.
21769         (collate_output): Use new locale_file interface.
21770         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21771         in file.
21772         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21773         (TABLE): Move defines earlier in file.
21774         (ELEMENT): Likewise.
21775         (DEFAULT): Likewise.
21776         (wctrans_table_add): Move macro and inline function earlier in
21777         file.
21778         (struct wctype_table): Move type earlier in file.
21779         (add_locale_wctype_table): New static prototype.
21780         (struct locale_ctype_t): Use logical types instead of struct iovec
21781         pointers for members.
21782         (ctype_output): Use new locale_file interface.
21783         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21784         new locale_file interface.
21785         (allocate_arrays): Update for use of new locale_file interface.
21786         * locale/programs/ld-identification.c (identification_output): Use
21787         new locale_file interface.
21788         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21789         * locale/programs/ld-messages.c (messages_output): Likewise.
21790         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21791         * locale/programs/ld-name.c (name_output): Likewise.
21792         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21793         * locale/programs/ld-paper.c (paper_output): Likewise.
21794         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21795         * locale/programs/ld-time.c (time_output): Likewise.
21796
21797 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21798
21799         * benchtests/Makefile: Add memrchr benchmark.
21800         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21801         benchmark as memrchr.
21802         * benchtests/bench-memrchr-ifunc.c: New file.
21803         * benchtests/bench-memrchr.c: New file.
21804
21805 2013-09-06   Will Newton  <will.newton@linaro.org>
21806
21807         * benchtests/Makefile (string-bench): Add memcpy.
21808
21809 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21810             Cong Wang  <amwang@redhat.com>
21811
21812         [BZ #15850]
21813         * sysdeps/unix/sysv/linux/bits/in.h
21814         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21815         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21816         before __USE_KERNEL_IPV6_DEFS uses.
21817         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21818         IPPROTO_BEETPH.
21819         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21820         sockaddr_in6, or ipv6_mreq.
21821
21822 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21823
21824         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21825         memory access for final bytes in some large inputs.
21826         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21827
21828 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21829
21830         * string/test-memrchr.c: New file.
21831         * string/test-memrchr-ifunc.c: New file.
21832         * string/Makefile: Add new memrchr testcase.
21833
21834 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21835
21836         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21837         fanotify_init returns EPERM.
21838
21839 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21840
21841         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21842         errors.
21843         (top level): Treat second token from macro or constant entries for
21844         allowed headers as allowed.
21845         * include/complex.h: Condition internal declarations on
21846         [!_ISOMAC].
21847         * include/fenv.h: Condition include of <stdbool.h> and internal
21848         declarations on [!_ISOMAC].
21849
21850 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21851
21852         [BZ #15923]
21853         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21854
21855 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21856
21857         * configure.in (--enable-versioning): Remove configure option.
21858         (libc_cv_asm_symver_directive): Remove configure test.
21859         (libc_cv_ld_version_script_option): Likewise.
21860         (VERSIONING): Remove variable and AC_SUBST.
21861         (DO_VERSIONING): Remove AC_DEFINE.
21862         * configure: Regenerated.
21863         * config.h.in (DO_VERSIONING): Remove macro.
21864         * Makerules [$(versioning) = yes]: Change conditionals to
21865         [$(build-shared) = yes].
21866         * config.make.in (versioning): Remove variable.
21867         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21868         [$(build-shared) = yes].
21869         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21870         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21871         * elf/Makefile [$(versioning) = yes]: Change conditionals to
21872         [$(build-shared) = yes].
21873         * extra-lib.mk [$(versioning) = yes]: Likewise.
21874         * hurd/Makefile [$(versioning) = yes]: Likewise.
21875         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21876         [SHARED].
21877         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21878         [SHARED].
21879         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21880         [SHARED && !NO_HIDDEN].
21881         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21882         [SHARED].
21883         [SHARED && DO_VERSIONING]: Likewise..
21884         * libio/Makefile [$(versioning) = yes]: Change conditionals to
21885         [$(build-shared) = yes].
21886         * manual/install.texi (--disable-versioning): Remove
21887         documentation.
21888         * INSTALL: Regenerated.
21889         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21890         to [SHARED].
21891         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21892         [$(build-shared) = yes].
21893         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21894         * sysdeps/i386/i686/multiarch/strstr-c.c
21895         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21896         [SHARED && !NO_HIDDEN].
21897         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21898         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21899         * sysdeps/powerpc/powerpc32/dl-machine.c
21900         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21901         * sysdeps/powerpc/powerpc32/sysdep.h
21902         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21903         to [SHARED && PIC && !NO_HIDDEN].
21904         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21905         conditional to [SHARED].
21906
21907 2013-09-04   Will Newton  <will.newton@linaro.org>
21908
21909         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21910         * benchtests/bench-string.h: Include bench-timing.h instead
21911         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21912         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21913         call to HP_TIMING_DIFF_INIT.
21914         * benchtests/bench-memccpy.c: Use bench-timing.h macros
21915         instead of hp-timing.h macros.
21916         * benchtests/bench-memchr.c: Likewise.
21917         * benchtests/bench-memcmp.c: Likewise.
21918         * benchtests/bench-memcpy.c: Likewise.
21919         * benchtests/bench-memmem.c: Likewise.
21920         * benchtests/bench-memmove.c: Likewise.
21921         * benchtests/bench-memset.c: Likewise.
21922         * benchtests/bench-rawmemchr.c: Likewise.
21923         * benchtests/bench-strcasecmp.c: Likewise.
21924         * benchtests/bench-strcasestr.c: Likewise.
21925         * benchtests/bench-strcat.c: Likewise.
21926         * benchtests/bench-strchr.c: Likewise.
21927         * benchtests/bench-strcmp.c: Likewise.
21928         * benchtests/bench-strcpy.c: Likewise.
21929         * benchtests/bench-strcpy_chk.c: Likewise.
21930         * benchtests/bench-strlen.c: Likewise.
21931         * benchtests/bench-strncasecmp.c: Likewise.
21932         * benchtests/bench-strncat.c: Likewise.
21933         * benchtests/bench-strncmp.c: Likewise.
21934         * benchtests/bench-strncpy.c: Likewise.
21935         * benchtests/bench-strnlen.c: Likewise.
21936         * benchtests/bench-strpbrk.c: Likewise.
21937         * benchtests/bench-strrchr.c: Likewise.
21938         * benchtests/bench-strspn.c: Likewise.
21939         * benchtests/bench-strstr.c: Likewise.
21940
21941 2013-09-04  Will Newton  <will.newton@linaro.org>
21942
21943         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21944
21945 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
21946
21947         [BZ #15427]
21948         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21949         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21950         * math/libm-test.inc (lgamma_test_data): Add more tests.
21951         * sysdeps/i386/fpu/libm-test-ulps: Update.
21952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21953
21954 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
21955
21956         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21957         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21958         Add ifunc.
21959         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21960         Add strcmp-sse2-unaligned
21961         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21962
21963 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21964
21965         * Versions.def (libc): Add GLIBC_2.19.
21966
21967 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21968
21969         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21970         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21971
21972 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
21973
21974         [BZ #14155]
21975         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21976         intermediate calculations in recurrence.
21977         (__ieee754_ynf): Likewise.
21978         * math/libm-test.inc (jn_test_data): Do not allow spurious
21979         underflow exception.  Add more tests.
21980         (yn_test_data): Add more tests.
21981         * sysdeps/i386/fpu/libm-test-ulps: Update.
21982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21983
21984 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
21985
21986         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21987
21988 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21989
21990         * csu/init-first.c: Fix then/than typos.
21991         * locale/programs/ld-collate.c: Likewise.
21992         * locale/programs/linereader.h: Likewise.
21993         * manual/charset.texi: Likewise.
21994         * manual/filesys.texi: Likewise.
21995         * manual/stdio.texi: Likewise.
21996         * manual/string.texi: Likewise.
21997         * stdlib/fmtmsg.c: Likewise.
21998         * sysdeps/i386/stpncpy.S: Likewise.
21999         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22000         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22001         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22002         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22003
22004 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22005
22006         * elf/dl-open.c: Fix typos.
22007         * iconvdata/gbbig5.c: Likewise.
22008         * iconvdata/iso-2022-jp.c: Likewise.
22009         * iconv/gconv_int.h: Likewise.
22010         * iconv/loop.c: Likewise.
22011         * nis/rpcsvc/nis.h: Likewise.
22012         * resolv/ns_name.c: Likewise.
22013         * stdio-common/vfscanf.c: Likewise.
22014         * streams/stropts.h: Likewise.
22015         * sunrpc/rpc_thread.c: Likewise.
22016         * sysdeps/i386/strpbrk.S: Likewise.
22017         * sysdeps/ieee754/k_standard.c: Likewise.
22018         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22019         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22020         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22021         * sysdeps/mach/hurd/profil.c: Likewise.
22022         * sysdeps/s390/dl-procinfo.h: Likewise.
22023         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22024         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22025         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22026         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22027         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22028
22029 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22030
22031         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22032         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22033
22034 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22035
22036         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22037         aix specific files.
22038         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22039         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22040         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22041         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22042         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22043         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22044         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22045         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22046
22047 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22048             Roland McGrath  <roland@hack.frob.com>
22049
22050         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22051         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22052
22053 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22054
22055         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22056         __executable_start symbol instead of _start.
22057
22058 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22059
22060         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22061         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22062         Move macros to...
22063         * sysdeps/gnu/ldsodefs.h: ... this new file.
22064
22065         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22066         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22067         instead of ELFOSABI_LINUX.
22068
22069         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22070         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22071         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22072         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22073         Likewise.
22074         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22075         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22076         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22077         Likewise.
22078         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22079         (ibm_extended_long_double): Add ieee_nan member.
22080         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22081         (do_test): New function.
22082
22083         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22084         TEST_TRUNC.
22085         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22086         functions, renamed from truncdfsf_test, trunctfsf_test,
22087         trunctfdf_test.
22088         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22089         functions.
22090         (do_test): Run all these.
22091
22092 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22093
22094         * argp/argp-help.c: Fix typos.
22095         * argp/argp-parse.c: Likewise.
22096         * debug/backtracesyms.c: Likewise.
22097         * elf/elf.h: Likewise.
22098         * malloc/malloc.c: Likewise.
22099         * nis/nis_print.c: Likewise.
22100         * resolv/res_comp.c: Likewise.
22101         * stdlib/stdlib.h: Likewise.
22102         * sunrpc/clnt_tcp.c: Likewise.
22103         * sunrpc/clnt_udp.c: Likewise.
22104         * sunrpc/clnt_unix.c: Likewise.
22105         * sysdeps/unix/bsd/ptsname.c: Likewise.
22106         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22107         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22109         Likewise.
22110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22111         Likewise.
22112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22113         Likewise.
22114         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22115
22116 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22117
22118         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22119         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22120
22121 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22122
22123         [BZ #15897]
22124         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22125         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22126         ($(objpfx)bug-dl-leaf): New rule.
22127         ($(objpfx)bug-dl-leaf.so): Likewise.
22128         ($(objpfx)bug-dl-leaf.out): Likewise.
22129         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22130         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22131         * dlfcn/bug-dl-leaf.c: New test.
22132         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22133         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22134         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22135         (dlclose): Likewise.
22136         (dlmopen): Likewise.
22137
22138 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22139
22140         * include/netdb.h [!_ISOMAC]:
22141         Don't include <tls.h>.
22142         (h_errno, __libc_h_errno): Move declaration and macros out of
22143         [_LIBC_REENTRANT].
22144
22145         * include/resolv.h [_RESOLV_H_]:
22146         Don't include <tls.h>.
22147         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22148         * resolv/res_libc.c: Don't include <tls.h>.
22149         (_res): Use __attribute__ ((nocommon)) in place of
22150         __attribute__ ((section (".bss"))).
22151
22152         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22153         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22154
22155         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22156
22157         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22158         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22159
22160         * resolv/res_mkquery.c: Include <sys/time.h>.
22161
22162         * inet/ifreq.c: Moved to ...
22163         * sysdeps/unix/ifreq.c: ... here.
22164         * inet/ifreq.c: New file, true stub version.
22165
22166         * socket/sa_len.c: New file.
22167         * socket/Makefile (aux): Add it.
22168         * sysdeps/unix/sysv/linux/Makefile
22169         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22170         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22171         and #include <socket/sa_len.c>.
22172         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22173         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22174
22175         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22176         * bits/socket.h: ... here.
22177
22178         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22179         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22180         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22181
22182 2013-08-27  Andreas Schwab  <schwab@suse.de>
22183
22184         [BZ #15736]
22185         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22186         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22187         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22188         * string/test-strcasecmp.c (test_main): Run tests in several
22189         locales.
22190         * string/test-strncasecmp.c (test_main): Likewise.
22191
22192         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22193         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22194         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22195         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22196         (__strncasecmp_ssse3) [PIC]: Likewise.
22197
22198 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22199
22200         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22201
22202         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22203         instead of explicitly declaring xdecrypt.
22204         * nis/nss_nis/nis-publickey.c: Likewise.
22205
22206 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22207
22208         [BZ #15890]
22209         * nscd/aicache.c: Include res_hconf.h.
22210         (addhstaiX): Initialize res_hconf.
22211
22212 2013-08-26  Andreas Schwab  <schwab@suse.de>
22213
22214         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22215         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22216
22217 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22218
22219         * nscd/aicache.c (addhstaiX): Fix indentation.
22220
22221 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22222
22223         * configure.ac: Quote $build_pt_chown test.
22224         * configure: Regenerated.
22225
22226 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22227
22228         [BZ #15532]
22229         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22230         * math/s_cexpf.c (__cexpf): Likewise.
22231         * math/s_cexpl.c (__cexpl): Likewise.
22232         * math/libm-test.inc (cexp_test_data): Correct expected return
22233         value for NaN + i0.  Add another test.
22234
22235 2013-08-22  David S. Miller  <davem@davemloft.net>
22236
22237         * po/ca.po: Update Catalan translation from translation project.
22238         * po/uk.po: Add Ukrainian translations from translation project.
22239
22240 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22241
22242         [BZ #15797]
22243         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22244         is infinite, not alongside NaN test.
22245         * math/s_fdimf.c (__fdimf): Likewise.
22246         * math/s_fdiml.c (__fdiml): Likewise.
22247         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22248         errno is unchanged.
22249
22250 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22251
22252         * argp/argp-help.c: Fix typos.
22253         * crypt/speeds.c: Likewise.
22254         * csu/check_fds.c: Likewise.
22255         * elf/dl-load.c: Likewise.
22256         * elf/dl-open.c: Likewise.
22257         * elf/reldep3.c: Likewise.
22258         * elf/reldep.c: Likewise.
22259         * elf/sprof.c: Likewise.
22260         * iconv/iconv_charmap.c: Likewise.
22261         * iconv/skeleton.c: Likewise.
22262         * iconv/strtab.c: Likewise.
22263         * io/lockf64.c: Likewise.
22264         * libio/libioP.h: Likewise.
22265         * resolv/gai_notify.c: Likewise.
22266         * resolv/ns_name.c: Likewise.
22267         * resolv/ns_samedomain.c: Likewise.
22268         * resolv/res_send.c: Likewise.
22269         * stdlib/random.c: Likewise.
22270         * sunrpc/rpc/xdr.h: Likewise.
22271         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22272         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22273         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22274         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22275         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22276         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22277         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22278         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22279         * sysdeps/mach/hurd/check_fds.c: Likewise.
22280         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22281         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22282         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22283         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22284         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22285         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22286         * sysdeps/pthread/aio_notify.c: Likewise.
22287         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22288         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22289         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22290         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22291         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22292
22293 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22294
22295         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22296         version if bit_Slow_SSE4_2 is set.
22297         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22298         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22299
22300 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22301
22302         [BZ #15867]
22303         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22304         trampoline stack frame information.
22305         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22306         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22307         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22308         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22309         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22310         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22311         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22312         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22313         sa_flags value.
22314         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22315         interrupting a syscall and set with option SA_SIGINFO.
22316
22317 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22318
22319         [BZ #15531]
22320         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22321         argument is infinite.
22322         * math/s_cprojf.c (__cprojf): Likewise.
22323         * math/s_cprojl.c (__cprojl): Likewise.
22324         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22325         * math/libm-test.inc (cproj_test_data): Add more tests.
22326
22327         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22328
22329         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22330         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22331         size.  Use __ffs to determine corresponding shift.
22332
22333 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22334             Roland McGrath  <roland@hack.frob.com>
22335
22336         * Makefile (INSTALL): Remove trailing blank lines from output of
22337         makeinfo.
22338
22339 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22340
22341         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22342         Align 32 bit compat elf_greg to 8 bytes.
22343
22344 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22345
22346         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22347
22348 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22349
22350         * string/strcoll_l.c (coll_seq): New structure.
22351         (get_next_seq_cached): New function.
22352         (get_next_seq): New function.
22353         (do_compare): New function.
22354         (STRCOLL): Use GNU style definition.  Simplify implementation
22355         by using get_next_seq, get_next_seq_cached and do_compare.
22356
22357 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22358
22359         [BZ #14699]
22360         CVE-2013-4237
22361         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22362         member.
22363         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22364         member.
22365         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22366         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22367         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22368         conditional.
22369         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22370         GETDENTS_64BIT_ALIGNED.
22371         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22372         * manual/filesys.texi (Reading/Closing Directory): Document
22373         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22374         strongly.
22375         * manual/conf.texi (Limits for Files): Add portability note to
22376         NAME_MAX, PATH_MAX.
22377         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22378
22379 2013-08-13  Andreas Schwab  <schwab@suse.de>
22380
22381         [BZ #15749]
22382         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22383         of fabs.
22384         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22385         LDBL_MAX_EXP >= 16384]: Add tests for it.
22386
22387 2013-08-12  David S. Miller  <davem@davemloft.net>
22388
22389         * version.h (RELEASE): Set to "development".
22390         (VERSION): Set to "2.18.90".
22391         * NEWS: Add 2.19 section.
22392
22393 2013-08-03  David S. Miller  <davem@davemloft.net>
22394
22395         * po/ko.po: Update Korean translation from translation project.
22396
22397 2013-08-01  David S. Miller  <davem@davemloft.net>
22398
22399         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22400         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22401         Bilka.
22402
22403 2013-07-30  David S. Miller  <davem@davemloft.net>
22404
22405         * po/fr.po: Update French translation from translation project.
22406
22407 2013-07-28  David S. Miller  <davem@davemloft.net>
22408
22409         * po/cs.po: Update Czech translation from translation project.
22410
22411         * po/sv.po: Update Swedish translation from translation project.
22412
22413 2013-07-27  David S. Miller  <davem@davemloft.net>
22414
22415         * po/eo.po: Update Esperanto translation from translation project.
22416
22417         * po/vi.po: Update Vietnamese translation from translation project.
22418
22419         * po/de.po: Update German translation from translation project.
22420
22421 2013-07-26  David S. Miller  <davem@davemloft.net>
22422
22423         * po/bg.po: Update Bulgarian translation from translation project.
22424
22425         * po/nl.po: Update Dutch translation from translation project.
22426         * po/pl.po: Update Polish translation from translation project.
22427         * po/ru.po: Update Russian translation from translation project.
22428
22429 2013-07-24  David S. Miller  <davem@davemloft.net>
22430
22431         * po/libc.pot: Update.
22432
22433 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22434
22435         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22436         variable page size.
22437         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22438         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22439         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22440
22441 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22442
22443         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22444
22445 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22446             Andreas Schwab  <schwab@suse.de>
22447             Roland McGrath  <roland@hack.frob.com>
22448             Joseph Myers  <joseph@codesourcery.com>
22449             Carlos O'Donell  <carlos@redhat.com>
22450
22451         [BZ #15755]
22452         * config.h.in: Define HAVE_PT_CHOWN.
22453         * config.make.in (build-pt-chown): New variable.
22454         * configure.in (--enable-pt_chown): New configure option.
22455         * configure: Regenerate.
22456         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22457         build-pt-chown is enabled.
22458         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22459         pt_chown to fix pty ownership.
22460         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22461         CLOSE_ALL_FDS.
22462         * manual/install.texi (Configuring and compiling): Mention
22463         --enable-pt_chown. Add @findex for grantpt.
22464         * INSTALL: Regenerate.
22465
22466 2013-07-20  David S. Miller  <davem@davemloft.net>
22467
22468         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22469         difference between 32-bit and 64-bit.
22470
22471 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22472
22473         [BZ #15711]
22474         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22475         Avoid system header dependency with -ffreestanding.
22476         ($(objpfx)bits/syscall%d): Likewise.
22477
22478 2013-07-13  David S. Miller  <davem@davemloft.net>
22479
22480         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22481         underflows from atanl/atan2l due to bug 15319.
22482         (casinh_test_data): Likewise.
22483
22484 2013-07-07  David S. Miller  <davem@davemloft.net>
22485
22486         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22487
22488 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22489
22490         * sysdeps/i386/fpu/libm-test-ulps: Update.
22491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22492
22493 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22494
22495         * configure.in (--enable-lock-elision): Fix message text.
22496         * INSTALL: Regenerate.
22497         * configure: Regenerate.
22498
22499 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22500
22501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22502
22503 2013-07-03  Andreas Jaeger  <aj@suse.de>
22504
22505         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22506         define.
22507         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22508         (ptrace_peeksiginfo_args): Add.
22509         (__ptrace_peeksiginfo_flags): Add.
22510         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22511         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22512         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22513
22514 2013-07-03  Allan McRae  <allan@archlinux.org>
22515
22516         * sysdeps/i386/fpu/libm-test-ulps: Update.
22517
22518 2013-07-02  David S. Miller  <davem@davemloft.net>
22519
22520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22521
22522 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22523
22524         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22525
22526 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22527
22528         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22530
22531 2013-07-02  Andi Kleen <ak@linux.intel.com>
22532
22533         * config.h.in (ENABLE_LOCK_ELISION): Add.
22534         * configure.in (--enable-lock-elision): Add option.
22535         * manual/install.texi: Document --enable lock elision.
22536         * configure: Regenerate
22537         * INSTALL: Regenerate.
22538
22539 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22540
22541         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22542         SSE4.2 strcasecmp for libc.a.
22543         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22544
22545 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22546
22547         [BZ #13304]
22548         * soft-fp/op-common.h (_FP_FMA): New macro.
22549         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22550         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22551         (_FP_MUL_MEAT_1_imm): ... here.
22552         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22553         (_FP_MUL_MEAT_1_wide): ... here.
22554         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22555         (_FP_MUL_MEAT_1_hard): ... here.
22556         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22557         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22558         (_FP_MUL_MEAT_2_wide): ... here.
22559         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22560         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22561         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22562         (_FP_MUL_MEAT_2_gmp): ... here.
22563         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22564         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22565         (_FP_MUL_MEAT_4_wide): ... here.
22566         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22567         (_FP_MUL_MEAT_4_gmp): ... here.
22568         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22569         (_FP_WFRACBITS_DW_S): Likewise.
22570         (_FP_WFRACXBITS_DW_S): Likewise.
22571         (_FP_HIGHBIT_DW_S): Likewise.
22572         (FP_FMA_S): Likewise.
22573         (_FP_FRAC_HIGH_DW_S): Likewise.
22574         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22575         (_FP_WFRACBITS_DW_D): Likewise.
22576         (_FP_WFRACXBITS_DW_D): Likewise.
22577         (_FP_HIGHBIT_DW_D): Likewise.
22578         (FP_FMA_D): Likewise.
22579         (_FP_FRAC_HIGH_DW_D): Likewise.
22580         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22581         (_FP_WFRACBITS_DW_E): Likewise.
22582         (_FP_WFRACXBITS_DW_E): Likewise.
22583         (_FP_HIGHBIT_DW_E): Likewise.
22584         (FP_FMA_E): Likewise.
22585         (_FP_FRAC_HIGH_DW_E): Likewise.
22586         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22587         (_FP_WFRACBITS_DW_Q): Likewise.
22588         (_FP_WFRACXBITS_DW_Q): Likewise.
22589         (_FP_HIGHBIT_DW_Q): Likewise.
22590         (FP_FMA_Q): Likewise.
22591         (_FP_FRAC_HIGH_DW_Q): Likewise.
22592         * soft-fp/fmasf4.c: New file.
22593         * soft-fp/fmadf4.c: Likewise.
22594         * soft-fp/fmatf4.c: Likewise.
22595
22596 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22597
22598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22599         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22600         Silvermont.
22601         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22602         macro.
22603         (index_Slow_SSE4_2): Likewise.
22604         (index_Prefer_PMINUB_for_stringop): Likewise.
22605         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22606         bit_Slow_SSE4_2 is set.
22607         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22608         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22609
22610 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22611
22612         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22613         rtld_global._dl_hwcap2.
22614         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22615         POWER8.
22616         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22617         POWER8 feature descriptions defined in _dl_hwcap2.
22618         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22619         string handling for POWER8 feature bits.
22620         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22621         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22622         _dl_powerpc_cap_flags.
22623         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22624         * sysdeps/powerpc/rtld-global-offsets.sym
22625         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22626         _dl_hwcap2 in the rtld_global_ro structure.
22627
22628 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22629
22630         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22631         hardware capabilities in support of AT_HWCAP2.
22632         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22633         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22634         GLRO(dl_hwcap2).
22635         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22636         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22637         explicitly the unknown a_type display mechanism is used.
22638         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22639         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22640         struct member.
22641         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22642         to macro prototype for AT_HWCAP2 support.
22643         * sysdeps/i386/dl-procinfo.h: Likewise.
22644         * sysdeps/s390/dl-procinfo.h: Likewise.
22645         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22646         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22647         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22648         return -1 for unknown a_type display fallback.
22649         * sysdeps/sparc/dl-procinfo.h: Likewise.
22650         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22651         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22652
22653 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22654
22655         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22656         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22657
22658 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22659
22660         [BZ #12492]
22661         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22662         mprotect making __stack_prot writable.
22663
22664 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22665             Joseph Myers  <joseph@codesourcery.com>
22666
22667         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22668         as being properly aligned.
22669
22670 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22671
22672         * dlfcn/modstatic5.c: New file.
22673         * dlfcn/tststatic5.c: New file.
22674         * dlfcn/Makefile (tests): Add tststatic5.
22675         (tests-static): Likewise.
22676         (modules-names): Add modstatic5.
22677         (tststatic5-ENV): New variable.
22678         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22679
22680         [BZ #15022]
22681         * elf/dl-support.c (_dl_main_map): New variable.
22682         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22683         (_dl_nns, _dl_load_adds): Set to 1.
22684         (_dl_initial_searchlist): Refer to _dl_main_map.
22685         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22686         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22687         call to _dl_get_origin.
22688         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22689         around call_map.
22690         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22691         * dlfcn/modstatic3.c: New file.
22692         * dlfcn/tststatic3.c: New file.
22693         * dlfcn/tststatic4.c: New file.
22694         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22695         (tests-static): Likewise.
22696         (modules-names): Add modstatic3.
22697         (tststatic3-ENV, tststatic4-ENV): New variables.
22698         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22699         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22700
22701 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22702
22703         * configure.in (CC): Require GCC version 4.4 or later.
22704         * configure: Regenerated.
22705         * manual/install.texi (Tools for Compilation): Update GCC version
22706         requirement.
22707         * INSTALL: Regenerated.
22708
22709 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22710
22711         [BZ #15674]
22712         * string/test-memcmp.c (check2): New.
22713         (main): Call check2.
22714
22715         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22716
22717 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22718
22719         [BZ #15022]
22720         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22721         over to...
22722         (dl_open_worker) [!SHARED]: ... here.
22723
22724 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22725
22726         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22727
22728 2013-06-25  Richard Henderson  <rth@redhat.com>
22729
22730         * locale/programs/locarchive.c: Include <libc-internal.h>
22731
22732 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22733
22734         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22735         trailing whitespace removed.
22736
22737 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22738
22739         [BZ #10283]
22740         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22741         * locale/programs/locarchive.c: Include libc-mmap.h.
22742         (prepare_address_space): Take two new outputs (the mmap base and len).
22743         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22744         values.
22745         (create_archive): Declare new mmap base and len values for
22746         prepare_address_space, and store the result in ah.
22747         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22748         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22749         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22750         Declare new mmap base and len values for
22751         prepare_address_space, and store the result in new_ah.
22752         (open_archive): Declare new mmap base and len values for
22753         prepare_address_space, and store the result in ah.
22754         (close_archive): If ah->mmap_base is not NULL, use that and
22755         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22756         * sysdeps/generic/libc-mmap.h: New file.
22757
22758 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22759
22760         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22761         (ALIGN_UP): Likewise.
22762         (PTR_ALIGN_DOWN): Likewise.
22763         (PTR_ALIGN_UP): Likewise.
22764
22765 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22766
22767         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22768         entry mapped to PPC_PLATFORM_POWER8.
22769         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22770         POWER8.
22771         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22772         (_dl_string_platform): Add case for exporting platform position for
22773         POWER8.
22774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22775         search path to sysdeps/powerpc/powerpc32/power8 directory.
22776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22777         search path to sysdeps/powerpc/powerpc64/power8 directory.
22778         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22779         power7 directories.
22780         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22781         power7 directories.
22782
22783 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22784
22785         * INSTALL: Regenerate.
22786
22787         * nscd/connections.c (nscd_init): Fix comment.
22788
22789 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22790
22791         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22792
22793         [BZ #15667]
22794         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22795         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22796
22797 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22798
22799         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22800         DL_DST_REQ_STATIC.
22801         (DL_DST_REQ_STATIC): Remove macro.
22802
22803 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22804
22805         [BZ #7006]
22806         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22807         with a shift of 0 bits.
22808
22809 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22810
22811         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22812         $(tststatic-ENV).
22813
22814 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22815
22816         [BZ #15655]
22817         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22818
22819 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22820
22821         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22822         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22823         accepts -fno-tree-loop-distribute-patterns.
22824         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22825         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22826         recursive call.
22827         * string/memset.c (memset): Likewise.
22828         * string/test-memmove.c (simple_memmove): Disable loop transformation
22829         to library calls.
22830         * string/test-memset.c (simple_memset): Likewise.
22831         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22832         * benchtests/bench-memset.c (simple_memset): Likewise.
22833         * configure: Regenerated.
22834
22835 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22836
22837         * math/test-misc.c (main): Ignore fesetround failure when failures
22838         of subsequent rounding tests would be ignored.
22839
22840         [BZ #15654]
22841         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22842         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22843         * math/fegetenv.c (__fegetenv): Return 0.
22844         * math/fegetexcept.c (fegetexcept): Return 0.
22845         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22846         FE_TONEAREST.
22847         * math/feholdexcpt.c (feholdexcept): Return 0.
22848         * math/fesetenv.c (__fesetenv): Return 0.
22849         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22850         argument FE_TONEAREST.
22851         * math/feupdateenv.c (__feupdateenv): Return 0.
22852         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22853
22854 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22855
22856         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22857         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22858         ($(objpfx)rtld-%.os rules): Use them.
22859
22860 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22861
22862         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22863         fields.
22864
22865 2013-06-17  Roland McGrath  <roland@hack.frob.com>
22866
22867         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22868         length of target pattern, then descending length of dependency pattern.
22869         * configure.in (AWK): Require gawk 3.1.2 or newer.
22870         * manual/install.texi (Tools for Compilation): Say that we do.
22871         * configure: Regenerated.
22872
22873         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22874         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22875         * scripts/sysd-rules.awk: ... this new script.
22876         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22877         than a glob-style pattern.
22878
22879 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
22880
22881         * math/test-misc.c (main): Do not treat incorrectly rounded
22882         conversions as failure unless ROUNDING_TESTS passes.
22883
22884 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
22885
22886         [BZ #15631]
22887         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22888         restore exception state around main square root computation, then
22889         check for inexactness explicitly.
22890
22891         * math/libm-test.inc (fma_test_data): Add another test.
22892
22893 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22894
22895         * manual/threads.texi (Non-POSIX Extensions): New document
22896         node.  Document pthread_getattr_default_np and
22897         pthread_setattr_default_np.
22898
22899         * Versions.def (libpthread): Add GLIBC_2.18.
22900         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22902         Likewise.
22903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22904         Likewise.
22905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22906         Likewise.
22907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22908         Likewise.
22909         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22910         Likewise.
22911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22912         Likewise.
22913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22914         Likewise.
22915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22916         Likewise.
22917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22918         Likewise.
22919
22920 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22921
22922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22923         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22924
22925 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22926             H.J. Lu  <hjl.tools@gmail.com>
22927
22928         [BZ #15627]
22929         * sysdeps/x86_64/rtld-memset.c: Remove file.
22930         * sysdeps/x86_64/rtld-memset.S: New file.
22931
22932 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
22933
22934         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22935         (test_in_one_mode): Take arguments for whether the rounding mode
22936         is supported for each floating-point type.
22937         (do_test): Pass new arguments to test_in_one_mode using
22938         ROUNDING_TESTS.
22939
22940 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22941
22942         * posix/tst-waitid.c (do_test): Distinguish different instances of
22943         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
22944         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22945         before entering the kernel for waitpid.
22946
22947 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22948
22949         * NEWS: Fix note on clock function precision.  Text by Roland
22950         McGrath.
22951
22952 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22953
22954         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22955         it into place only when and if the sanity check passes.
22956
22957 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
22958
22959         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22960         output for whether conversion result is exact.  Take argument
22961         indicating whether type is IBM long double.
22962         (round_for_all): Change need_exact field to ibm_ld.
22963         * stdlib/tst-strtod-round.c (struct exactness): New type.
22964         (struct test): Change bool ld_ok field to struct exactness exact.
22965         (TEST): Update all definitions for change to field.
22966         (tests): Regenerate array contents.
22967         (test_in_one_mode): Take pointer to new field instead of old ld_ok
22968         field value.  Check for IBM long double here.
22969         (do_test): Update calls to test_in_one_mode.
22970
22971 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22972
22973         [BZ #12515]
22974         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22975         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22976
22977 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22978
22979         [BZ #15605]
22980         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22981         generated by the compiler on loop optimizations.
22982         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22983         general definitions.
22984
22985 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
22986
22987         * math/bug-nextafter.c: Include <math-tests.h>.
22988         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22989         the relevant type.
22990         * math/bug-nexttoward.c: Include <math-tests.h>.
22991         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22992         the relevant type.
22993         * math/test-misc.c: Include <math-tests.h>.
22994         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22995         the relevant type.
22996
22997 2013-06-12  Andreas Jaeger  <aj@suse.de>
22998
22999         * po/ia.po: Update Interlingua translation from translation
23000         project.
23001
23002 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23003
23004         * include/fenv.h: Include stdbool.h.
23005         (struct rm_ctx): New structure.
23006         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23007         Define macro.
23008         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23009         (SET_RESTORE_ROUNDF): Likewise.
23010         (SET_RESTORE_ROUNDL): Likewise.
23011         (SET_RESTORE_ROUND_NOEX): Likewise.
23012         (SET_RESTORE_ROUND_NOEXF): Likewise.
23013         (SET_RESTORE_ROUND_NOEXL): Likewise.
23014         (SET_RESTORE_ROUND_53BIT): Likewise.
23015         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23016         (libc_feresetround_noexf_ctx): Likewise.
23017         (libc_feresetround_noexl_ctx): Likewise.
23018         (libc_feholdsetround_53bit_ctx): Likewise.
23019         (libc_feresetround_53bit_ctx): Likewise.
23020         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23021         (libc_feholdexcept_setround_sse_ctx): New function.
23022         (libc_fesetenv_sse_ctx): Likewise.
23023         (libc_feupdateenv_sse_ctx): Likewise.
23024         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23025         (libc_feholdexcept_setround_387_ctx): Likewise.
23026         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23027         (libc_feholdsetround_387_prec_ctx): Likewise.
23028         (libc_feholdsetround_387_ctx): Likewise.
23029         (libc_feholdsetround_387_53bit_ctx): Likewise.
23030         (libc_feholdsetround_sse_ctx): Likewise.
23031         (libc_feresetround_sse_ctx): Likewise.
23032         (libc_feresetround_387_ctx): Likewise.
23033         (libc_feupdateenv_387_ctx): Likewise.
23034         (libc_feholdexcept_setroundf_ctx): Define macro.
23035         (libc_fesetenvf_ctx): Likewise.
23036         (libc_feupdateenvf_ctx): Likewise.
23037         (libc_feholdsetroundf_ctx): Likewise.
23038         (libc_feresetroundf_ctx): Likewise.
23039         (libc_feholdexcept_setround_ctx): Likewise.
23040         (libc_fesetenv_ctx): Likewise.
23041         (libc_feupdateenv_ctx): Likewise.
23042         (libc_feholdsetround_ctx): Likewise.
23043         (libc_feresetround_ctx): Likewise.
23044         (libc_feholdexcept_setroundl_ctx): Likewise.
23045         (libc_feupdateenvl_ctx): Likewise.
23046         (libc_feholdsetroundl_ctx): Likewise.
23047         (libc_feresetroundl_ctx): Likewise.
23048         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23049         (libc_feresetround_53bit_ctx): Likewise.
23050
23051 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23052
23053         * locale/iso-639.def: Convert to UTF-8.
23054
23055 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23056
23057         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23058         (EXCEPTION_TESTS_double): Likewise.
23059         (EXCEPTION_TESTS_long_double): Likewise.
23060         (EXCEPTION_TESTS): Likewise.
23061         * math/libm-test.inc (test_exceptions): Only test exceptions if
23062         EXCEPTION_TESTS (FLOAT).
23063
23064 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23065
23066         * benchtests/Makefile (string-bench): Add strcpy_chk and
23067         stpcpy_chk.
23068         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23069         * benchtests/bench-stpcpy_chk.c: New file.
23070         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23071         * benchtests/bench-strcpy_chk.c: New file.
23072         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23073         code.
23074         (do_test): Likewise.
23075
23076 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23077
23078         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23079         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23080         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23081         with tabs where appropriate.
23082         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23083         dl-procinfo.h.
23084         [PPC_PLATFORM_PPC440]: Likewise.
23085         [PPC_PLATFORM_PPC464]: Likewise.
23086         [PPC_PLATFORM_PPC476]: Likewise.
23087         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23088         ppc464, and ppc476 platform strings merging from ports/
23089         dl-procinfo.h.
23090
23091 2013-06-11  Andreas Schwab  <schwab@suse.de>
23092
23093         [BZ #14991]
23094         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23095         (from_ucs4_idx): Regenerate.
23096         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23097         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23098         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23099         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23100         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23101         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23102         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23103         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23104         from FROM_LOOP and TO_LOOP specific macros.
23105         (BODY): Handle combining characters.
23106         * iconvdata/BIG5HKSCS.irreversible: Update.
23107         * iconvdata/BIG5HKSCS.precomposed: New file.
23108         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23109         characters.
23110         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23111
23112 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23113
23114         * include/sys/time.h: Fix indentation and add copyright header.
23115
23116         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23117         (do_test): Likewise.
23118         * string/test-memchr.c (do_one_test): Likewise.
23119         (do_test): Likewise.
23120         * string/test-memcmp.c (do_one_test): Likewise.
23121         (do_test): Likewise.
23122         * string/test-memcpy.c (do_one_test): Likewise.
23123         (do_test): Likewise.
23124         * string/test-memmem.c (do_one_test): Likewise.
23125         (do_test): Likewise.
23126         (do_random_tests): Likewise.
23127         * string/test-memmove.c (do_one_test): Likewise.
23128         (do_test): Likewise.
23129         * string/test-memset.c (do_one_test): Likewise.
23130         (do_test): Likewise.
23131         * string/test-rawmemchr.c (do_one_test): Likewise.
23132         (do_test): Likewise.
23133         * string/test-strcasecmp.c (do_one_test): Likewise.
23134         (do_test): Likewise.
23135         * string/test-strcasestr.c (do_one_test): Likewise.
23136         (do_test): Likewise.
23137         * string/test-strcat.c (do_one_test): Likewise.
23138         (do_test): Likewise.
23139         * string/test-strchr.c (do_one_test): Likewise.
23140         (do_test): Likewise.
23141         * string/test-strcmp.c (do_one_test): Likewise.
23142         (do_test): Likewise.
23143         * string/test-strcpy.c (do_one_test): Likewise.
23144         (do_test): Likewise.
23145         * string/test-string.h: Likewise.
23146         (test_init): Likewise.
23147         * string/test-strlen.c (do_one_test): Likewise.
23148         (do_test): Likewise.
23149         * string/test-strncasecmp.c (do_one_test): Likewise.
23150         (do_test): Likewise.
23151         * string/test-strncat.c (do_one_test): Likewise.
23152         (do_test): Likewise.
23153         * string/test-strncmp.c (do_one_test): Likewise.
23154         (do_test_limit): Likewise.
23155         (do_test): Likewise.
23156         * string/test-strncpy.c (do_one_test): Likewise.
23157         (do_test): Likewise.
23158         * string/test-strnlen.c (do_one_test): Likewise.
23159         (do_test): Likewise.
23160         * string/test-strpbrk.c (do_one_test): Likewise.
23161         (do_test): Likewise.
23162         * string/test-strrchr.c (do_one_test): Likewise.
23163         (do_test): Likewise.
23164         * string/test-strspn.c (do_one_test): Likewise.
23165         (do_test): Likewise.
23166         * string/test-strstr.c (do_one_test): Likewise.
23167         (do_test): Likewise.
23168
23169         * benchtests/Makefile (string-bench): Add string benchmarks.
23170         * benchtests/bench-bcopy-ifunc.c: New file.
23171         * benchtests/bench-bcopy.c: New file.
23172         * benchtests/bench-bzero-ifunc.c: New file.
23173         * benchtests/bench-bzero.c: New file.
23174         * benchtests/bench-memccpy-ifunc.c: New file.
23175         * benchtests/bench-memccpy.c: New file.
23176         * benchtests/bench-memchr-ifunc.c: New file.
23177         * benchtests/bench-memchr.c: New file.
23178         * benchtests/bench-memcmp-ifunc.c: New file.
23179         * benchtests/bench-memcmp.c: New file.
23180         * benchtests/bench-memmem-ifunc.c: New file.
23181         * benchtests/bench-memmem.c: New file.
23182         * benchtests/bench-memmove-ifunc.c: New file.
23183         * benchtests/bench-memmove.c: New file.
23184         * benchtests/bench-mempcpy-ifunc.c: New file.
23185         * benchtests/bench-mempcpy.c: New file.
23186         * benchtests/bench-memset-ifunc.c: New file.
23187         * benchtests/bench-memset.c: New file.
23188         * benchtests/bench-rawmemchr-ifunc.c: New file.
23189         * benchtests/bench-rawmemchr.c: New file.
23190         * benchtests/bench-stpcpy-ifunc.c: New file.
23191         * benchtests/bench-stpcpy.c: New file.
23192         * benchtests/bench-stpncpy-ifunc.c: New file.
23193         * benchtests/bench-stpncpy.c: New file.
23194         * benchtests/bench-strcasecmp-ifunc.c: New file.
23195         * benchtests/bench-strcasecmp.c: New file.
23196         * benchtests/bench-strcasestr-ifunc.c: New file.
23197         * benchtests/bench-strcasestr.c: New file.
23198         * benchtests/bench-strcat-ifunc.c: New file.
23199         * benchtests/bench-strcat.c: New file.
23200         * benchtests/bench-strchr-ifunc.c: New file.
23201         * benchtests/bench-strchr.c: New file.
23202         * benchtests/bench-strchrnul-ifunc.c: New file.
23203         * benchtests/bench-strchrnul.c: New file.
23204         * benchtests/bench-strcmp-ifunc.c: New file.
23205         * benchtests/bench-strcmp.c: New file.
23206         * benchtests/bench-strcpy-ifunc.c: New file.
23207         * benchtests/bench-strcpy.c: New file.
23208         * benchtests/bench-strcspn-ifunc.c: New file.
23209         * benchtests/bench-strcspn.c: New file.
23210         * benchtests/bench-strlen-ifunc.c: New file.
23211         * benchtests/bench-strlen.c: New file.
23212         * benchtests/bench-strncasecmp-ifunc.c: New file.
23213         * benchtests/bench-strncasecmp.c: New file.
23214         * benchtests/bench-strncat-ifunc.c: New file.
23215         * benchtests/bench-strncat.c: New file.
23216         * benchtests/bench-strncmp-ifunc.c: New file.
23217         * benchtests/bench-strncmp.c: New file.
23218         * benchtests/bench-strncpy-ifunc.c: New file.
23219         * benchtests/bench-strncpy.c: New file.
23220         * benchtests/bench-strnlen-ifunc.c: New file.
23221         * benchtests/bench-strnlen.c: New file.
23222         * benchtests/bench-strpbrk-ifunc.c: New file.
23223         * benchtests/bench-strpbrk.c: New file.
23224         * benchtests/bench-strrchr-ifunc.c: New file.
23225         * benchtests/bench-strrchr.c: New file.
23226         * benchtests/bench-strspn-ifunc.c: New file.
23227         * benchtests/bench-strspn.c: New file.
23228         * benchtests/bench-strstr-ifunc.c: New file.
23229         * benchtests/bench-strstr.c: New file.
23230
23231         * benchtests/Makefile: Disable parallel execution of targets.
23232         (string-bench): Add memcpy.
23233         (benchset): New variable to store a list of benchmark sets.
23234         (bench-func): Renamed from bench.
23235         (bench-set): New target.
23236         (bench): Depend on bench-func and bench-set.
23237         * benchtests/README: Add section on benchmark sets.
23238         * benchtests/bench-memcpy-ifunc.c: New file.
23239         * benchtests/bench-memcpy.c: New file.
23240         * benchtests/bench-string.h: New file.
23241
23242 2013-06-11  Andreas Schwab  <schwab@suse.de>
23243
23244         [BZ #15577]
23245         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23246         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23247         values in the triple.
23248         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23249         terminator in the group key.
23250
23251 2013-06-11  Andreas Jaeger  <aj@suse.de>
23252
23253         * po/zh_TW.po: Update Chinese (traditional) translation from
23254         translation project.
23255
23256 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23257
23258         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23259         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23260         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23261         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23262         (clock_getcpuclockid): Likewise.
23263         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23264         Add weak_alias and libc_hidden_def.
23265         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23266         * rt/clock_gettime.c (clock_gettime): Rename to
23267         __clock_gettime.  Add weak_alias and libc_hidden_def.
23268         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23269         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23270         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23271         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23272         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23273         Likewise.
23274         * rt/clock_settime.c (clock_settime): Rename to
23275         __clock_settime.  Add weak_alias and libc_hidden_def.
23276         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23277
23278 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23279
23280         * mach/err_boot.sub: Remove trailing whitespace.
23281         * mach/err_ipc.sub: Likewise.
23282         * mach/err_mach.sub: Likewise.
23283
23284         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23285         (ROUNDING_TESTS_double): Likewise.
23286         (ROUNDING_TESTS_long_double): Likewise.
23287         (ROUNDING_TESTS): Likewise.
23288         * math/libm-test.inc: Include <math-tests.h>.
23289         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23290         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23291         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23292         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23293
23294 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23295
23296         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23297         of assigning.
23298
23299 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23300
23301         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23302         otherwise empty TRANS lines.
23303         * sysdeps/gnu/errlist.c: Regenerated.
23304
23305         * catgets/gencat.c (error_print): Use (void) in function
23306         definition.
23307         * crypt/crypt_util.c (__init_des): Likewise.
23308         * crypt/speeds.c (Stop): Likewise.
23309         (main): Likewise.
23310         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23311         * inet/ruserpass.c (token): Likewise.
23312         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23313         * intl/localealias.c (extend_alias_table): Likewise.
23314         * intl/plural-exp.c (init_germanic_plural): Likewise.
23315         * libio/fcloseall.c (__fcloseall): Likewise.
23316         * libio/genops.c (_IO_flush_all): Likewise.
23317         (_IO_flush_all_linebuffered): Likewise.
23318         (_IO_cleanup): Likewise.
23319         (_IO_iter_begin): Likewise.
23320         (_IO_iter_end): Likewise.
23321         (_IO_list_lock): Likewise.
23322         (_IO_list_unlock): Likewise.
23323         (_IO_list_resetlock): Likewise.
23324         * libio/getchar.c (getchar): Likewise.
23325         * libio/getchar_u.c (getchar_unlocked): Likewise.
23326         * libio/getwchar.c (getwchar): Likewise.
23327         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23328         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23329         * login/getpt.c (__getpt): Likewise.
23330         * login/tst-utmp.c (main): Likewise.
23331         * malloc/hooks.c (__malloc_check_init): Likewise.
23332         * malloc/malloc.c (__malloc_stats): Likewise.
23333         * malloc/mtrace.c (tr_break): Likewise.
23334         (mtrace): Likewise.
23335         (muntrace): Likewise.
23336         * misc/fstab.c (endfsent): Likewise.
23337         * misc/getclktck.c (__getclktck): Likewise.
23338         * misc/getdtsz.c (__getdtablesize): Likewise.
23339         * misc/gethostid.c (gethostid): Likewise.
23340         * misc/getpagesize.c (__getpagesize): Likewise.
23341         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23342         (__get_nprocs): Likewise.
23343         (__get_phys_pages): Likewise.
23344         (__get_avphys_pages): Likewise.
23345         * misc/getttyent.c (getttyent): Likewise.
23346         (setttyent): Likewise.
23347         (endttyent): Likewise.
23348         * misc/getusershell.c (getusershell): Likewise.
23349         (endusershell): Likewise.
23350         (setusershell): Likewise.
23351         (initshells): Likewise.
23352         * misc/hsearch.c (__hdestroy): Likewise.
23353         * misc/sync.c (sync): Likewise.
23354         * misc/syslog.c (closelog_internal): Likewise.
23355         (closelog): Likewise.
23356         * misc/ttyslot.c (ttyslot): Likewise.
23357         * misc/vhangup.c (vhangup): Likewise.
23358         * posix/fork.c (__fork): Likewise.
23359         * posix/getegid.c (__getegid): Likewise.
23360         * posix/geteuid.c (__geteuid): Likewise.
23361         * posix/getgid.c (__getgid): Likewise.
23362         * posix/getpid.c (__getpid): Likewise.
23363         * posix/getppid.c (__getppid): Likewise.
23364         * posix/getuid.c (__getuid): Likewise.
23365         * posix/pause.c (pause): Likewise.
23366         * posix/setpgrp.c (setpgrp): Likewise.
23367         * posix/setsid.c (__setsid): Likewise.
23368         * posix/test-vfork.c (noop): Likewise.
23369         * resolv/gethnamaddr.c (_endhtent): Likewise.
23370         (_gethtent): Likewise.
23371         (ht_endhostent): Likewise.
23372         (gethostent): Likewise.
23373         (dns_service): Likewise.
23374         * stdlib/drand48.c (drand48): Likewise.
23375         * stdlib/lrand48.c (lrand48): Likewise.
23376         * stdlib/mrand48.c (mrand48): Likewise.
23377         * stdlib/rand.c (rand): Likewise.
23378         * stdlib/random.c (__random): Likewise.
23379         * stdlib/setenv.c (clearenv): Likewise.
23380         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23381         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23382         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23383         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23384         (__get_nprocs): Likewise.
23385         (__get_phys_pages): Likewise.
23386         (__get_avphys_pages): Likewise.
23387         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23388         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23389         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23390         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23391         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23392         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23393         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23394         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23395         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23396         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23397         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23398         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23399         * sysdeps/posix/clock.c (clock): Likewise.
23400         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23401         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23402         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23403         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23404         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23405         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23406         (__get_nprocs_conf): Likewise.
23407         (__get_phys_pages): Likewise.
23408         (__get_avphys_pages): Likewise.
23409         * time/clock.c (clock): Likewise.
23410         * time/tzset.c (__tzname_max): Likewise.
23411
23412 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23413
23414         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23415         (__bswap_32): Do not use "register".
23416         * crypt/crypt.c (_ufc_doit_r): Likewise.
23417         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23418         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23419         * gmon/gmon.c (__monstartup): Likewise.
23420         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23421         * hurd/hurdmalloc.c (more_memory): Likewise.
23422         (malloc): Likewise.
23423         (free): Likewise.
23424         (realloc): Likewise.
23425         (malloc_fork_prepare): Likewise.
23426         (malloc_fork_parent): Likewise.
23427         (malloc_fork_child): Likewise.
23428         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23429         (_svcauth_des): Likewise.
23430         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23431         * inet/inet_net.c (inet_network): Likewise.
23432         * inet/inet_netof.c (inet_netof): Likewise.
23433         * inet/rcmd.c (__validuser2_sa): Likewise.
23434         * io/fts.c (fts_open): Likewise.
23435         (fts_load): Likewise.
23436         (fts_close): Likewise.
23437         (fts_read): Likewise.
23438         (fts_children): Likewise.
23439         (fts_build): Likewise.
23440         (fts_stat): Likewise.
23441         (fts_sort): Likewise.
23442         (fts_alloc): Likewise.
23443         (fts_lfree): Likewise.
23444         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23445         (_IO_file_xsgetn): Likewise.
23446         (_IO_file_xsgetn_mmap): Likewise.
23447         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23448         (_IO_cookie_write): Likewise.
23449         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23450         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23451         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23452         * malloc/obstack.c (_obstack_begin): Likewise.
23453         (_obstack_begin_1): Likewise.
23454         (_obstack_newchunk): Likewise.
23455         (_obstack_allocated_p): Likewise.
23456         (obstack_free): Likewise.
23457         (_obstack_memory_used): Likewise.
23458         * misc/getttyent.c (getttynam): Likewise.
23459         (getttyent): Likewise.
23460         (skip): Likewise.
23461         (value): Likewise.
23462         * misc/getusershell.c (initshells): Likewise.
23463         * misc/syslog.c (__vsyslog_chk): Likewise.
23464         * misc/ttyslot.c (ttyslot): Likewise.
23465         * nis/nis_hash.c (__nis_hash): Likewise.
23466         * posix/fnmatch_loop.c (FCT): Likewise.
23467         * posix/getconf.c (print_all): Likewise.
23468         (main): Likewise.
23469         * posix/getopt.c (exchange): Likewise.
23470         * posix/glob.c (globfree): Likewise.
23471         (prefix_array): Likewise.
23472         (__glob_pattern_type): Likewise.
23473         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23474         (NS_GET32): Likewise.
23475         (NS_PUT16): Likewise.
23476         (NS_PUT32): Likewise.
23477         * resolv/gethnamaddr.c (getanswer): Likewise.
23478         (gethostbyname2): Likewise.
23479         (gethostbyaddr): Likewise.
23480         (_gethtent): Likewise.
23481         (_gethtbyname2): Likewise.
23482         (_gethtbyaddr): Likewise.
23483         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23484         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23485         * resolv/res_init.c (__res_vinit): Likewise.
23486         (net_mask): Likewise.
23487         * resolv/res_mkquery.c (outchar): Likewise.
23488         (PRINT): Likewise.
23489         * stdio-common/printf_fp.c (outchar): Likewise.
23490         (PRINT): Likewise.
23491         * stdio-common/printf_fphex.c (outchar): Likewise.
23492         (PRINT): Likewise.
23493         * stdio-common/printf_size.c (outchar): Likewise.
23494         (PRINT): Likewise.
23495         * stdio-common/test_rdwr.c (main): Likewise.
23496         * stdio-common/tfformat.c (matches): Likewise.
23497         * stdio-common/vfprintf.c (outchar): Likewise.
23498         (printf_unknown): Likewise.
23499         (buffered_vfprintf): Likewise.
23500         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23501         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23502         (ReadFile): Likewise.
23503         * stdlib/qsort.c (SWAP): Likewise.
23504         (_quicksort): Likewise.
23505         * stdlib/setenv.c (__add_to_environ): Likewise.
23506         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23507         * stdlib/strtol_l.c (__strtol_l): Likewise.
23508         * stdlib/tst-strtod.c (main): Likewise.
23509         * stdlib/tst-strtol.c (main): Likewise.
23510         * stdlib/tst-strtoll.c (main): Likewise.
23511         * string/bits/string2.h (__strcmp_cc): Likewise.
23512         (__strcmp_cg): Likewise.
23513         (__strcspn_c1): Likewise.
23514         (__strcspn_c2): Likewise.
23515         (__strcspn_c3): Likewise.
23516         (__strspn_c1): Likewise.
23517         (__strspn_c2): Likewise.
23518         (__strspn_c3): Likewise.
23519         (__strsep_1c): Likewise.
23520         (__strsep_2c): Likewise.
23521         (__strsep_3c): Likewise.
23522         * string/memccpy.c (__memccpy): Likewise.
23523         * string/stpcpy.c (__stpcpy): Likewise.
23524         * string/strcmp.c (strcmp): Likewise.
23525         * string/strrchr.c (strrchr): Likewise.
23526         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23527         Likewise.
23528         * sysdeps/mach/hurd/getcwd.c
23529         (_hurd_canonicalize_directory_name_internal): Likewise.
23530         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23531         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23532         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23533         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23534         Likewise, in both definitions.
23535         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23536         definitions.
23537         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23538         64] (__bswap_64): Likewise.
23539         * time/test_time.c (main): Likewise.
23540         * time/tzfile.c (__tzfile_read): Likewise.
23541         (__tzfile_compute): Likewise.
23542         * time/tzset.c (__tzset_parse_tz): Likewise.
23543         (tzset_internal): Likewise.
23544         (compute_change): Likewise.
23545         * wcsmbs/wcscat.c (__wcscat): Likewise.
23546         * wcsmbs/wcschr.c (wcschr): Likewise.
23547         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23548         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23549         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23550         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23551         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23552         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23553         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23554         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23555         * wcsmbs/wmemset.c (wmemset): Likewise.
23556
23557 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23558
23559         * scripts/config.guess: Update to version 2013-05-16.
23560         * scripts/config.sub: Update to version 2013-04-24.
23561         * scripts/install-sh: Update to version 2011-11-20.07.
23562         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23563         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23564
23565 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23566
23567         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23568         * elf/sln.c: Likewise.
23569         * hurd/hurd/ioctl.h: Likewise.
23570         * hurd/hurdmalloc.c: Likewise.
23571         * hurd/xattr.c: Likewise.
23572         * include/shlib-compat.h: Likewise.
23573         * inet/ruserpass.c: Likewise.
23574         * libio/iofgets_u.c: Likewise.
23575         * libio/iofgetws_u.c: Likewise.
23576         * locale/programs/ld-identification.c: Likewise.
23577         * locale/programs/ld-time.c: Likewise.
23578         * mach/msg-destroy.c: Likewise.
23579         * nss/nss_files/files-netgrp.c: Likewise.
23580         * resolv/res_data.c: Likewise.
23581         * soft-fp/op-1.h: Likewise.
23582         * soft-fp/op-2.h: Likewise.
23583         * soft-fp/op-4.h: Likewise.
23584         * soft-fp/op-common.h: Likewise.
23585         * stdio-common/printf_fphex.c: Likewise.
23586         * stdlib/strtod_l.c: Likewise.
23587         * sunrpc/rpc/clnt.h: Likewise.
23588         * sysdeps/generic/framestate.c: Likewise.
23589         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23590         * sysdeps/i386/bsd-setjmp.S: Likewise.
23591         * sysdeps/i386/__longjmp.S: Likewise.
23592         * sysdeps/i386/setjmp.S: Likewise.
23593         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23594         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23595         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23596         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23597         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23598         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23599         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23600         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23601         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23602         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23603         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23604         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23605         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23606         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23607         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23608         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23609         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23610         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23611         * sysdeps/ieee754/support.c: Likewise.
23612         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23613         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23614         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23615         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23616         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23617         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23618         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23619         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23620         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23621         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23622         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23623         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23624         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23625         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23626         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23627         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23628         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23630
23631 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23632
23633         * posix/transbug.c: Remove executable mode.
23634
23635 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23636
23637         * crypt/speeds.c: Remove trailing whitespace.
23638         * dlfcn/default.c: Likewise.
23639         * elf/ifuncdep2.c: Likewise.
23640         * elf/ifuncmain1.c: Likewise.
23641         * elf/ifuncmain1vis.c: Likewise.
23642         * elf/testobj.h: Likewise.
23643         * elf/tst-stackguard1.c: Likewise.
23644         * gmon/sys/gmon.h: Likewise.
23645         * hurd/hurdmsg.c: Likewise.
23646         * hurd/new-fd.c: Likewise.
23647         * hurd/ports-get.c: Likewise.
23648         * iconvdata/ibm1008_420.c: Likewise.
23649         * inet/tst-getni1.c: Likewise.
23650         * inet/tst-getni2.c: Likewise.
23651         * libio/ioungetc.c: Likewise.
23652         * libio/wfiledoalloc.c: Likewise.
23653         * manual/libm-err-tab.pl: Likewise.
23654         * math/w_dremf.c: Likewise.
23655         * misc/ftruncate.c: Likewise.
23656         * posix/bug-glob2.c: Likewise.
23657         * posix/tst-pcre.c: Likewise.
23658         * posix/wait4.c: Likewise.
23659         * resolv/README: Likewise.
23660         * resolv/res_debug.h: Likewise.
23661         * resolv/tst-inet_ntop.c: Likewise.
23662         * setjmp/bug269-setjmp.c: Likewise.
23663         * soft-fp/extended.h: Likewise.
23664         * soft-fp/op-1.h: Likewise.
23665         * soft-fp/op-2.h: Likewise.
23666         * soft-fp/op-4.h: Likewise.
23667         * soft-fp/op-8.h: Likewise.
23668         * soft-fp/testit.c: Likewise.
23669         * stdio-common/bug16.c: Likewise.
23670         * stdlib/random.c: Likewise.
23671         * sunrpc/rpcsvc/rquota.x: Likewise.
23672         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23673         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23674         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23675         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23676         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23677         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23678         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23679         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23680         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23681         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23682         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23683         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23684         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23685         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23686         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23687         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23688         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23689         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23690         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23691         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23692         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23693         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23694         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23695         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23696         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23697         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23698         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23699         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23700         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23701         * sysdeps/ieee754/s_lib_version.c: Likewise.
23702         * sysdeps/mach/hurd/check_fds.c: Likewise.
23703         * sysdeps/mach/hurd/getsockname.c: Likewise.
23704         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23705         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23706         * sysdeps/powerpc/bits/link.h: Likewise.
23707         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23708         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23709         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23710         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23711         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23712         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23713         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23714         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23715         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23716         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23717         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23718         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23719         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23720         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23721         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23722         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23723         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23724         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23725         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23726         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23727         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23728         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23729         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23730         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23731         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23732         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23733         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23734         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23735         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23736         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23737         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23738         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23739         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23740         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23741         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23742         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23743         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23744         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23745         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23746         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23747         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23748         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23749         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23750         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23751         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23752         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23753         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23754         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23755         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23756         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23757         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23758         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23759         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23760         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23761         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23762         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23763         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23764         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23765         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23766         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23767         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23768         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23769         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23770         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23771         * sysdeps/powerpc/sysdep.h: Likewise.
23772         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23773         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23774         * sysdeps/sh/dl-trampoline.S: Likewise.
23775         * sysdeps/sh/memset.S: Likewise.
23776         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23777         * sysdeps/sh/strlen.S: Likewise.
23778         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23779         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23780         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23781         * sysdeps/sparc/sparc32/rem.S: Likewise.
23782         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23783         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23784         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23785         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23786         * sysdeps/sparc/sparc32/urem.S: Likewise.
23787         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23788         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23789         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23790         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23791         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23792         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23793         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23794         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23795         * sysdeps/unix/bsd/times.c: Likewise.
23796         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23797         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23801         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23802         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23803         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23804         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23805         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23806         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23807         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23808         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23809         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23810         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23811         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23812         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23813         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23814         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23815         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23816         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23817         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23818         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23819         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23820         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23821         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23822         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23823         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23824         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23825         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23826         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23827         * sysdeps/x86_64/strcspn.S: Likewise.
23828
23829 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23830
23831         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23832         generated file.  Regenerate properly from gen-translit.pl.
23833         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23834         locale/C-translit.h.
23835
23836 2013-06-05  Andreas Schwab  <schwab@suse.de>
23837
23838         [BZ #15100]
23839         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23840         week as 6 instead of -1.
23841         * time/tst-strptime.c (day_tests): Add test case.
23842
23843 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23844
23845         * sysdeps/generic/math_private.h
23846         (libc_feholdexcept_setround_53bit): Replace with
23847         libc_feholdsetround_53bit.
23848         (libc_feupdateenv_53bit): Replace with
23849         libc_feresetround_53bit.
23850         (SET_RESTORE_ROUND_53BIT): Adjust.
23851
23852 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23853
23854         * string/test-strchrnul.c: Add copyright header.
23855
23856         * posix/tst-getaddrinfo4.c: Increase test timeout.
23857
23858 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23859
23860         [BZ #15536]
23861         * math/libm-test.inc (MAX_EXP): Remove
23862         (MIN_EXP): Define.
23863         (ulp): Use MIN_EXP - MANT_DIG.
23864         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23865
23866 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
23867
23868         * po/be.po: Revert last change.
23869         * po/zh_CN.po: Likewise.
23870         * po/header.pot: Likewise.
23871
23872 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
23873
23874         * Makefile ($(common-objpfx)linkobj/libc.so): Define
23875         link-libc-deps to empty as target-specific variable.
23876         * Makerules (link-libc-args): New variable.
23877         (libc-for-link): Likewise.
23878         (link-libc-deps): Likewise.
23879         (lib%.so): Depend on $(link-libc-deps).  Link with
23880         $(link-libc-args).
23881         (build-module): Link with $(link-libc-args).
23882         (build-module-asneeded): Likewise.
23883         (build-module-helper-objlist): Filter out $(link-libc-deps) from
23884         list of objects.
23885         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23886         target-specific variable.
23887         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23888         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23889         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23890         libc.
23891         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23892         libc and ld.so.
23893         ($(objpfx)libpcprofile.so): Likewise.
23894         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23895         libc_nonshared.a.
23896         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23897         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23898         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23899         $(link-libc-deps).
23900         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23901         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23902         * login/Makefile ($(objpfx)libutil.so): Likewise.
23903         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23904         * math/Makefile ($(objpfx)libm.so): Likewise.
23905         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23906         $(objpfx)libnsl.so): Define libc-for-link as target-specific
23907         variable instead of depending directly on libc.
23908         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23909         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23910         $(link-libc-deps).
23911         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23912         libc.
23913         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23914         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23915         ($(objpfx)libanl.so): Likewise.
23916         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23917         ld.so.
23918         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23919         $(link-libc-deps).
23920         * sysdeps/i386/fpu/Makefile: Remove file.
23921         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23922         ($(objpfx)libm.so): Remove dependency on ld.so.
23923
23924 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
23925
23926         [BZ # 15553]
23927         * nis/yp_xdr.c (XDRMAXNAME): Define.
23928         (XDRMAXRECORD): Define.
23929         (xdr_domainname): Use XDRMAXNAME.
23930         (xdr_mapname): Likewise.
23931         (xdr_peername): Likewise.
23932         (xdr_keydat): Use XDRMAXRECORD.
23933         (xdr_valdat): Likewise.
23934
23935 2013-05-30  Jeff Law  <law@redhat.com>
23936
23937         [BZ #14256]
23938         * manual/errno.texi (ESTALE): Update to account for more than
23939         just NFS file systems.
23940         * sysdeps/gnu/errlist.c: Regenerated.
23941
23942 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23943
23944         [BZ #15465]
23945         * elf/Makefile (tests): Add tst-null-argv.
23946         (modules-names):  Add tst-null-argv-lib.
23947         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23948         (tst-null-argv-ENV): Set environment for tst-null-argv.
23949         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23950         (RTLD_PROGNAME): New macro.
23951         * elf/tst-null-argv.c: New test case.
23952         * elf/tst-null-argv-lib.c: Library for test case.
23953         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23954         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23955         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23956         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23957         * elf/dl-init.c (call_init): Likewise.
23958         (_dl_init): Likewise.
23959         * elf/dl-load.c (print_search_path): Likewise.
23960         (_dl_map_object): Likewise.
23961         * elf/dl-lookup.c (do_lookup_x): Likewise.
23962         (add_dependency): Likewise.
23963         (_dl_lookup_symbol_x): Likewise.
23964         (_dl_debug_bindings): Likewise.
23965         * elf/dl-open.c (_dl_show_scope): Likewise.
23966         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23967         * elf/dl-version.c (match_symbol): Likewise.
23968         (_dl_check_map_versions): Likewise.
23969         * elf/rtld.c (dl_main): Likewise.
23970         (print_unresolved): Use RTLD_PROGNAME.
23971         (print_missing_version): Likewise.
23972         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23973         (elf_machine_rela): Likewise.
23974         * sysdeps/powerpc/powerpc32/dl-machine.c
23975         (__process_machine_rela): Likewise.
23976         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23977         Likewise.
23978         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23979         Likewise.
23980         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23981         Likewise.
23982         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23983         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23984         Likewise.
23985         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23986         Likewise.
23987         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23988
23989 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
23990
23991         * po/be.po: Add descriptive title.
23992         * po/zh_CN.po: Likewise.
23993         * po/header.pot: Likewise.
23994
23995 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
23996
23997         * locale/programs/locarchive.c (create_archive): Inlucde fname in
23998         error message.
23999         (enlarge_archive): Likewise.
24000
24001 2013-05-28  Ben North  <ben@redfrontdoor.org>
24002
24003         * manual/arith.texi (frexp): It is the magnitude of the return
24004         value which lies in [0.5, 1), not the return value itself.
24005
24006 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24007
24008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24009
24010 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24011
24012         * stdio-common/bug26.c (main): Correct fscanf template.
24013
24014         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24015         declare _dl_skip_args.
24016
24017         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24018         Don't declare.
24019
24020         * manual/platform.texi: Add missing @end deftypefun.
24021
24022 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24023
24024         [BZ #15529]
24025         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24026         bit of mantissa of 2^16382.
24027         * math/libm-test.inc (hypot_test_data): Add more tests.
24028
24029         * math/libm-test.inc: Add drem and pow10 to list of tested
24030         functions.
24031         (pow10_test): New function.
24032         (drem_test): Likewise.
24033         (drem_test_tonearest): Likewise.
24034         (drem_test_towardzero): Likewise.
24035         (drem_test_downward): Likewise.
24036         (drem_test_upward): Likewise.
24037         (main): Call the new functions.
24038
24039         * math/libm-test.inc (finite_test_data): Remove.
24040         (finite_test): Run tests from isfinite_test_data.
24041         (gamma_test_data): Remove.
24042         (gamma_test): Run tests from lgamma_test_data.
24043         * sysdeps/i386/fpu/libm-test-ulps: Update.
24044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24045
24046 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24047
24048         * manual/platform.texi: Add PowerPC PPR function set documentation.
24049         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24050         implementation.
24051
24052 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24053
24054         * math/libm-test.inc (MAX_EXP): Define.
24055         (ULPDIFF): Define.
24056         (ulp): New function.
24057         (check_float_internal): Use ULPDIFF.
24058         (cpow_test): Disable failing test.
24059         (check_ulp): Test ulp() implemetnation.
24060         (main): Call check_ulp before starting tests.
24061
24062 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24063
24064         * math/gen-libm-test.pl (generate_testfile): Do not handle
24065         START_DATA and END_DATA.
24066         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24067         END_DATA.
24068         (acos_tonearest_test_data): Likewise.
24069         (acos_towardzero_test_data): Likewise.
24070         (acos_downward_test_data): Likewise.
24071         (acos_upward_test_data): Likewise.
24072         (acosh_test_data): Likewise.
24073         (asin_test_data): Likewise.
24074         (asin_tonearest_test_data): Likewise.
24075         (asin_towardzero_test_data): Likewise.
24076         (asin_downward_test_data): Likewise.
24077         (asin_upward_test_data): Likewise.
24078         (asinh_test_data): Likewise.
24079         (atan_test_data): Likewise.
24080         (atanh_test_data): Likewise.
24081         (atan2_test_data): Likewise.
24082         (cabs_test_data): Likewise.
24083         (cacos_test_data): Likewise.
24084         (cacosh_test_data): Likewise.
24085         (carg_test_data): Likewise.
24086         (casin_test_data): Likewise.
24087         (casinh_test_data): Likewise.
24088         (catan_test_data): Likewise.
24089         (catanh_test_data): Likewise.
24090         (cbrt_test_data): Likewise.
24091         (ccos_test_data): Likewise.
24092         (ccosh_test_data): Likewise.
24093         (ceil_test_data): Likewise.
24094         (cexp_test_data): Likewise.
24095         (cimag_test_data): Likewise.
24096         (clog_test_data): Likewise.
24097         (clog10_test_data): Likewise.
24098         (conj_test_data): Likewise.
24099         (copysign_test_data): Likewise.
24100         (cos_test_data): Likewise.
24101         (cos_tonearest_test_data): Likewise.
24102         (cos_towardzero_test_data): Likewise.
24103         (cos_downward_test_data): Likewise.
24104         (cos_upward_test_data): Likewise.
24105         (cosh_test_data): Likewise.
24106         (cosh_tonearest_test_data): Likewise.
24107         (cosh_towardzero_test_data): Likewise.
24108         (cosh_downward_test_data): Likewise.
24109         (cosh_upward_test_data): Likewise.
24110         (cpow_test_data): Likewise.
24111         (cproj_test_data): Likewise.
24112         (creal_test_data): Likewise.
24113         (csin_test_data): Likewise.
24114         (csinh_test_data): Likewise.
24115         (csqrt_test_data): Likewise.
24116         (ctan_test_data): Likewise.
24117         (ctan_tonearest_test_data): Likewise.
24118         (ctan_towardzero_test_data): Likewise.
24119         (ctan_downward_test_data): Likewise.
24120         (ctan_upward_test_data): Likewise.
24121         (ctanh_test_data): Likewise.
24122         (ctanh_tonearest_test_data): Likewise.
24123         (ctanh_towardzero_test_data): Likewise.
24124         (ctanh_downward_test_data): Likewise.
24125         (ctanh_upward_test_data): Likewise.
24126         (erf_test_data): Likewise.
24127         (erfc_test_data): Likewise.
24128         (exp_test_data): Likewise.
24129         (exp_tonearest_test_data): Likewise.
24130         (exp_towardzero_test_data): Likewise.
24131         (exp_downward_test_data): Likewise.
24132         (exp_upward_test_data): Likewise.
24133         (exp10_test_data): Likewise.
24134         (exp2_test_data): Likewise.
24135         (expm1_test_data): Likewise.
24136         (fabs_test_data): Likewise.
24137         (fdim_test_data): Likewise.
24138         (finite_test_data): Likewise.
24139         (floor_test_data): Likewise.
24140         (fma_test_data): Likewise.
24141         (fma_towardzero_test_data): Likewise.
24142         (fma_downward_test_data): Likewise.
24143         (fma_upward_test_data): Likewise.
24144         (fmax_test_data): Likewise.
24145         (fmin_test_data): Likewise.
24146         (fmod_test_data): Likewise.
24147         (fpclassify_test_data): Likewise.
24148         (frexp_test_data): Likewise.
24149         (gamma_test_data): Likewise.
24150         (hypot_test_data): Likewise.
24151         (ilogb_test_data): Likewise.
24152         (isfinite_test_data): Likewise.
24153         (isgreater_test_data): Likewise.
24154         (isgreaterequal_test_data): Likewise.
24155         (isinf_test_data): Likewise.
24156         (isless_test_data): Likewise.
24157         (islessequal_test_data): Likewise.
24158         (islessgreater_test_data): Likewise.
24159         (isnan_test_data): Likewise.
24160         (isnormal_test_data): Likewise.
24161         (issignaling_test_data): Likewise.
24162         (isunordered_test_data): Likewise.
24163         (j0_test_data): Likewise.
24164         (j1_test_data): Likewise.
24165         (jn_test_data): Likewise.
24166         (ldexp_test_data): Likewise.
24167         (lgamma_test_data): Likewise.
24168         (lrint_test_data): Likewise.
24169         (lrint_tonearest_test_data): Likewise.
24170         (lrint_towardzero_test_data): Likewise.
24171         (lrint_downward_test_data): Likewise.
24172         (lrint_upward_test_data): Likewise.
24173         (llrint_test_data): Likewise.
24174         (llrint_tonearest_test_data): Likewise.
24175         (llrint_towardzero_test_data): Likewise.
24176         (llrint_downward_test_data): Likewise.
24177         (llrint_upward_test_data): Likewise.
24178         (log_test_data): Likewise.
24179         (log10_test_data): Likewise.
24180         (log1p_test_data): Likewise.
24181         (log2_test_data): Likewise.
24182         (logb_test_data): Likewise.
24183         (logb_downward_test_data): Likewise.
24184         (lround_test_data): Likewise.
24185         (llround_test_data): Likewise.
24186         (modf_test_data): Likewise.
24187         (nearbyint_test_data): Likewise.
24188         (nextafter_test_data): Likewise.
24189         (nexttoward_test_data): Likewise.
24190         (pow_test_data): Likewise.
24191         (pow_tonearest_test_data): Likewise.
24192         (pow_towardzero_test_data): Likewise.
24193         (pow_downward_test_data): Likewise.
24194         (pow_upward_test_data): Likewise.
24195         (remainder_test_data): Likewise.
24196         (remainder_tonearest_test_data): Likewise.
24197         (remainder_towardzero_test_data): Likewise.
24198         (remainder_downward_test_data): Likewise.
24199         (remainder_upward_test_data): Likewise.
24200         (remquo_test_data): Likewise.
24201         (rint_test_data): Likewise.
24202         (rint_tonearest_test_data): Likewise.
24203         (rint_towardzero_test_data): Likewise.
24204         (rint_downward_test_data): Likewise.
24205         (rint_upward_test_data): Likewise.
24206         (round_test_data): Likewise.
24207         (scalb_test_data): Likewise.
24208         (scalbn_test_data): Likewise.
24209         (scalbln_test_data): Likewise.
24210         (signbit_test_data): Likewise.
24211         (sin_test_data): Likewise.
24212         (sin_tonearest_test_data): Likewise.
24213         (sin_towardzero_test_data): Likewise.
24214         (sin_downward_test_data): Likewise.
24215         (sin_upward_test_data): Likewise.
24216         (sincos_test_data): Likewise.
24217         (sinh_test_data): Likewise.
24218         (sinh_tonearest_test_data): Likewise.
24219         (sinh_towardzero_test_data): Likewise.
24220         (sinh_downward_test_data): Likewise.
24221         (sinh_upward_test_data): Likewise.
24222         (sqrt_test_data): Likewise.
24223         (tan_test_data): Likewise.
24224         (tan_tonearest_test_data): Likewise.
24225         (tan_towardzero_test_data): Likewise.
24226         (tan_downward_test_data): Likewise.
24227         (tan_upward_test_data): Likewise.
24228         (tanh_test_data): Likewise.
24229         (tgamma_test_data): Likewise.
24230         (trunc_test_data): Likewise.
24231         (y0_test_data): Likewise.
24232         (y1_test_data): Likewise.
24233         (yn_test_data): Likewise.
24234         (significand_test_data): Likewise.
24235
24236         * math/gen-libm-test.pl (@functions): Remove variable.
24237         (generate_testfile): Don't handle START and END lines.
24238         * math/libm-test.inc (START): New macro.
24239         (END): Likewise.
24240         (END_COMPLEX): Likewise.
24241         (acos_test): Use END macro without arguments.
24242         (acos_test_tonearest): Likewise.
24243         (acos_test_towardzero): Likewise.
24244         (acos_test_downward): Likewise.
24245         (acos_test_upward): Likewise.
24246         (acosh_test): Likewise.
24247         (asin_test): Likewise.
24248         (asin_test_tonearest): Likewise.
24249         (asin_test_towardzero): Likewise.
24250         (asin_test_downward): Likewise.
24251         (asin_test_upward): Likewise.
24252         (asinh_test): Likewise.
24253         (atan_test): Likewise.
24254         (atanh_test): Likewise.
24255         (atan2_test): Likewise.
24256         (cabs_test): Likewise.
24257         (cacos_test): Use END_COMPLEX macro without arguments.
24258         (cacosh_test): Likewise.
24259         (carg_test): Use END macro without arguments.
24260         (casin_test): Use END_COMPLEX macro without arguments.
24261         (casinh_test): Likewise.
24262         (catan_test): Likewise.
24263         (catanh_test): Likewise.
24264         (cbrt_test): Use END macro without arguments.
24265         (ccos_test): Use END_COMPLEX macro without arguments.
24266         (ccosh_test): Likewise.
24267         (ceil_test): Use END macro without arguments.
24268         (cexp_test): Use END_COMPLEX macro without arguments.
24269         (cimag_test): Use END macro without arguments.
24270         (clog_test): Use END_COMPLEX macro without arguments.
24271         (clog10_test): Likewise.
24272         (conj_test): Likewise.
24273         (copysign_test): Use END macro without arguments.
24274         (cos_test): Likewise.
24275         (cos_test_tonearest): Likewise.
24276         (cos_test_towardzero): Likewise.
24277         (cos_test_downward): Likewise.
24278         (cos_test_upward): Likewise.
24279         (cosh_test): Likewise.
24280         (cosh_test_tonearest): Likewise.
24281         (cosh_test_towardzero): Likewise.
24282         (cosh_test_downward): Likewise.
24283         (cosh_test_upward): Likewise.
24284         (cpow_test): Use END_COMPLEX macro without arguments.
24285         (cproj_test): Likewise.
24286         (creal_test): Use END macro without arguments.
24287         (csin_test): Use END_COMPLEX macro without arguments.
24288         (csinh_test): Likewise.
24289         (csqrt_test): Likewise.
24290         (ctan_test): Likewise.
24291         (ctan_test_tonearest): Likewise.
24292         (ctan_test_towardzero): Likewise.
24293         (ctan_test_downward): Likewise.
24294         (ctan_test_upward): Likewise.
24295         (ctanh_test): Likewise.
24296         (ctanh_test_tonearest): Likewise.
24297         (ctanh_test_towardzero): Likewise.
24298         (ctanh_test_downward): Likewise.
24299         (ctanh_test_upward): Likewise.
24300         (erf_test): Use END macro without arguments.
24301         (erfc_test): Likewise.
24302         (exp_test): Likewise.
24303         (exp_test_tonearest): Likewise.
24304         (exp_test_towardzero): Likewise.
24305         (exp_test_downward): Likewise.
24306         (exp_test_upward): Likewise.
24307         (exp10_test): Likewise.
24308         (exp2_test): Likewise.
24309         (expm1_test): Likewise.
24310         (fabs_test): Likewise.
24311         (fdim_test): Likewise.
24312         (finite_test): Likewise.
24313         (floor_test): Likewise.
24314         (fma_test): Likewise.
24315         (fma_test_towardzero): Likewise.
24316         (fma_test_downward): Likewise.
24317         (fma_test_upward): Likewise.
24318         (fmax_test): Likewise.
24319         (fmin_test): Likewise.
24320         (fmod_test): Likewise.
24321         (fpclassify_test): Likewise.
24322         (frexp_test): Likewise.
24323         (gamma_test): Likewise.
24324         (hypot_test): Likewise.
24325         (ilogb_test): Likewise.
24326         (isfinite_test): Likewise.
24327         (isgreater_test): Likewise.
24328         (isgreaterequal_test): Likewise.
24329         (isinf_test): Likewise.
24330         (isless_test): Likewise.
24331         (islessequal_test): Likewise.
24332         (islessgreater_test): Likewise.
24333         (isnan_test): Likewise.
24334         (isnormal_test): Likewise.
24335         (issignaling_test): Likewise.
24336         (isunordered_test): Likewise.
24337         (j0_test): Likewise.
24338         (j1_test): Likewise.
24339         (jn_test): Likewise.
24340         (ldexp_test): Likewise.
24341         (lgamma_test): Likewise.
24342         (lrint_test): Likewise.
24343         (lrint_test_tonearest): Likewise.
24344         (lrint_test_towardzero): Likewise.
24345         (lrint_test_downward): Likewise.
24346         (lrint_test_upward): Likewise.
24347         (llrint_test): Likewise.
24348         (llrint_test_tonearest): Likewise.
24349         (llrint_test_towardzero): Likewise.
24350         (llrint_test_downward): Likewise.
24351         (llrint_test_upward): Likewise.
24352         (log_test): Likewise.
24353         (log10_test): Likewise.
24354         (log1p_test): Likewise.
24355         (log2_test): Likewise.
24356         (logb_test): Likewise.
24357         (logb_test_downward): Likewise.
24358         (lround_test): Likewise.
24359         (llround_test): Likewise.
24360         (modf_test): Likewise.
24361         (nearbyint_test): Likewise.
24362         (nextafter_test): Likewise.
24363         (nexttoward_test): Likewise.
24364         (pow_test): Likewise.
24365         (pow_test_tonearest): Likewise.
24366         (pow_test_towardzero): Likewise.
24367         (pow_test_downward): Likewise.
24368         (pow_test_upward): Likewise.
24369         (remainder_test): Likewise.
24370         (remainder_test_tonearest): Likewise.
24371         (remainder_test_towardzero): Likewise.
24372         (remainder_test_downward): Likewise.
24373         (remainder_test_upward): Likewise.
24374         (remquo_test): Likewise.
24375         (rint_test): Likewise.
24376         (rint_test_tonearest): Likewise.
24377         (rint_test_towardzero): Likewise.
24378         (rint_test_downward): Likewise.
24379         (rint_test_upward): Likewise.
24380         (round_test): Likewise.
24381         (scalb_test): Likewise.
24382         (scalbn_test): Likewise.
24383         (scalbln_test): Likewise.
24384         (signbit_test): Likewise.
24385         (sin_test): Likewise.
24386         (sin_test_tonearest): Likewise.
24387         (sin_test_towardzero): Likewise.
24388         (sin_test_downward): Likewise.
24389         (sin_test_upward): Likewise.
24390         (sincos_test): Likewise.
24391         (sinh_test): Likewise.
24392         (sinh_test_tonearest): Likewise.
24393         (sinh_test_towardzero): Likewise.
24394         (sinh_test_downward): Likewise.
24395         (sinh_test_upward): Likewise.
24396         (sqrt_test): Likewise.
24397         (tan_test): Likewise.
24398         (tan_test_tonearest): Likewise.
24399         (tan_test_towardzero): Likewise.
24400         (tan_test_downward): Likewise.
24401         (tan_test_upward): Likewise.
24402         (tanh_test): Likewise.
24403         (tgamma_test): Likewise.
24404         (trunc_test): Likewise.
24405         (y0_test): Likewise.
24406         (y1_test): Likewise.
24407         (yn_test): Likewise.
24408         (significand_test): Likewise.
24409
24410 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24411
24412         [BZ #15381]
24413         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24414
24415 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24416
24417         [BZ #14894]
24418         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24419         __ppc_mdoio and __ppc_mdoom.
24420         * manual/platform.texi: Document new functions __ppc_yield,
24421         __ppc_mdoio and __ppc_mdoom.
24422
24423 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24424
24425         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24426         (main): Mention "tls" pseudo-hwcap is legacy.
24427         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24428
24429 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24430
24431         * math/gen-libm-test.pl (parse_args): Output only string of
24432         arguments as text for test name, not full call or descriptions of
24433         tests for extra outputs.
24434         (generate_testfile): Do not pass function name to parse_args.
24435         Generate this_func variable from START.
24436         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24437         field to arg_str.
24438         (struct test_ff_f_data): Likewise.
24439         (test_ff_f_data_nexttoward): Likewise.
24440         (struct test_fi_f_data): Likewise.
24441         (struct test_fl_f_data): Likewise.
24442         (struct test_if_f_data): Likewise.
24443         (struct test_fff_f_data): Likewise.
24444         (struct test_c_f_data): Likewise.
24445         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24446         (struct test_fF_f1_data): Likewise.
24447         (struct test_ffI_f1_data): Likewise.
24448         (struct test_c_c_data): Rename test_name field to arg_str.
24449         (struct test_cc_c_data): Likewise.
24450         (struct test_f_i_data): Likewise.
24451         (struct test_ff_i_data): Likewise.
24452         (struct test_f_l_data): Likewise.
24453         (struct test_f_L_data): Likewise.
24454         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24455         and extra2_name.
24456         (COMMON_TEST_SETUP): New macro.
24457         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24458         (COMMON_TEST_CLEANUP): Likewise.
24459         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24460         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24461         macros.
24462         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24463         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24464         macros.
24465         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24466         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24467         cleanup macros.
24468         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24469         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24470         macros.
24471         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24472         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24473         macros.
24474         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24475         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24476         cleanup macros.
24477         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24478         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24479         cleanup macros.
24480         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24481         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24482         cleanup macros.
24483         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24484         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24485         macros.
24486         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24487         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24488         macros.
24489         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24490         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24491         macros.
24492         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24493         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24494         cleanup macros.
24495         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24496         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24497         cleanup macros.
24498         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24499         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24500         macros.
24501         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24502         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24503         cleanup macros.
24504         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24505         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24506         macros.
24507         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24508         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24509         macros.
24510         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24511         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24512         cleanup macros.
24513         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24514
24515 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24516
24517         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24518         to _sifields.sigfault.
24519         (si_addr_lsb): Define new macro.
24520         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24521         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24522         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24523
24524 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24525
24526         [BZ #15441]
24527         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24528         returns -1.
24529         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24530         null return -1.
24531         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24532         loading the domain.
24533
24534 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24535
24536         * math/gen-libm-test.pl (parse_args): Do not include expected
24537         result in test name.
24538         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24539         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24540         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24541         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24542         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24544
24545 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24546
24547         * benchtests/Makefile: Sort function entries.
24548
24549         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24550         tanh, asinh, acosh, atanh.
24551         * benchtests/acos-inputs: New file.
24552         * benchtests/acosh-inputs: New file.
24553         * benchtests/asin-inputs: New file.
24554         * benchtests/asinh-inputs: New file.
24555         * benchtests/atanh-inputs: New file.
24556         * benchtests/cosh-inputs: New file.
24557         * benchtests/log-inputs: New file.
24558         * benchtests/sinh-inputs: New file.
24559         * benchtests/tanh-inputs: New file.
24560
24561 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24562
24563         [BZ #15339]
24564         * posix/tst-getaddrinfo4.c: New test.
24565         * posix/Makefile (tests): Add it.
24566
24567 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24568
24569         [BZ #15339]
24570         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24571         when no services were used.
24572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24573         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24574
24575 2013-05-21  Andreas Schwab  <schwab@suse.de>
24576
24577         [BZ #15014]
24578         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24579         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24580         successful.
24581         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24582         redundant variable declarations and reallocation of buffer when
24583         parsing as IPv6 address.  Always set NSS status when called from
24584         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24585         buffer too small.  Correct computation of needed size.
24586         * nss/Makefile (tests): Add test-digits-dots.
24587         * nss/test-digits-dots.c: New test.
24588
24589 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24590
24591         * benchtests/Makefile: Remove instructions for adding
24592         benchmark tests.
24593         * benchtests/README: New file to explain how to execute and
24594         enhance the benchmark tests.
24595
24596 2013-05-21  Andreas Schwab  <schwab@suse.de>
24597
24598         [BZ #15493]
24599         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24600         * setjmp/tst-sigsetjmp.c: New test.
24601
24602 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24603
24604         * sysdeps/x86_64/memset.S (memset): New implementation.
24605         (__bzero): Likewise.
24606         (__memset_tail): New function.
24607
24608 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24609
24610         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24611         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24612         __memcpy_sse2_unaligned ifunc selection.
24613         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24614         Add memcpy-sse2-unaligned.S.
24615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24616         Add: __memcpy_sse2_unaligned.
24617
24618 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24619
24620         [BZ #15490]
24621         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24622         math_force_eval before restoring floating-point envrionment.
24623         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24624         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24625         Likewise.
24626         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24627         <math_private.h>.
24628         (__nearbyintl): Use math_force_eval before restoring
24629         floating-point environment.
24630         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24631
24632         * math/gen-libm-test.pl (special_functions): Remove.
24633         (parse_args): Don't handle TEST_extra.  Handle functions with no
24634         return value.
24635         * math/libm-test.inc (struct test_sincos_data): Replace with
24636         struct test_fFF_11_data.
24637         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24638         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24639         (sincos_test_data): Change element type to struct
24640         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24641         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24642         RUN_TEST_LOOP_sincos.
24643         * math/README.libm-test: Don't mention special handling of
24644         individual functions.
24645         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24646         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24647         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24648         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24649         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24651
24652         * math/gen-libm-test.pl (get_variable): Remove function.
24653         (parse_args): Don't show pointer parameters to call in test
24654         names.  Use "extra output N" in test names for extra outputs
24655         rather than naming variables.
24656
24657 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24658
24659         [BZ #15488]
24660         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24661         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24662         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24663         double tests.
24664         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24665         disable.
24666         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24667         check_long_double.
24668
24669         * math/gen-libm-test.pl (@tests): Remove variable.
24670         ($count): Likewise.
24671         (new_test): Remove function.
24672         (show_exceptions): New function.
24673         (special_functions): Use show_exceptions instead of new_test.
24674         (parse_args): Likewise.
24675         (generate_testfile): Pass only function name in generated call to
24676         print_max_error or print_complex_max_error.
24677         (get_ulps): Do not handle complex tests specially.
24678         (output_test): Rename to ...
24679         (get_all_ulps_for_test): ... this.  Return a string rather than
24680         printing to a file.  Require ulps to be present.
24681         (output_ulps): Generate arrays rather than #defines.
24682         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24683         (struct ulp_data): New type.
24684         (BUILD_COMPLEX_ULP): Remove macro.
24685         (compare_ulp_data): New function.
24686         (find_ulps): Likewise.
24687         (find_test_ulps): Likewise.
24688         (find_function_ulps): Likewise.
24689         (find_complex_function_ulps): Likewise.
24690         (print_max_error): Determine allowed ulps using
24691         find_function_ulps.
24692         (print_complex_max_error): Determine allowed ulps using
24693         find_complex_function_ulps.
24694         (check_float_internal): Determine max ulps using find_test_ulps.
24695         (check_float): Do not take max_ulp parameter.  Update call to
24696         check_float_internal.
24697         (check_complex): Likewise.
24698         (check_int): Do not take max_ulp parameter.
24699         (check_long): Likewise.
24700         (check_bool): Likewise.
24701         (check_longlong): Likewise.
24702         (struct test_f_f_data): Remove max_ulp field.
24703         (struct test_ff_f_data): Likewise.
24704         (struct test_ff_f_data_nexttoward): Likewise.
24705         (struct test_fi_f_data): Likewise.
24706         (struct test_fl_f_data): Likewise.
24707         (struct test_if_f_data): Likewise.
24708         (struct test_fff_f_data): Likewise.
24709         (struct test_c_f_data): Likewise.
24710         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24711         (struct test_fF_f1_data): Likewise.
24712         (struct test_ffI_f1_data): Likewise.
24713         (struct test_c_c_data): Remove max_ulp field.
24714         (struct test_cc_c_data): Likewise.
24715         (struct test_f_i_data): Likewise.
24716         (struct test_ff_i_data): Likewise.
24717         (struct test_f_l_data): Likewise.
24718         (struct test_f_L_data): Likewise.
24719         (struct test_sincos_data): Likewise.
24720         (RUN_TEST_f_f): Do not handle ulps.
24721         (RUN_TEST_LOOP_f_f): Likewise.
24722         (RUN_TEST_2_f): Likewise.
24723         (RUN_TEST_LOOP_2_f): Likewise.
24724         (RUN_TEST_fff_f): Likewise.
24725         (RUN_TEST_LOOP_fff_f): Likewise.
24726         (RUN_TEST_c_f): Likewise.
24727         (RUN_TEST_LOOP_c_f): Likewise.
24728         (RUN_TEST_f_f1): Likewise.
24729         (RUN_TEST_LOOP_f_f1): Likewise.
24730         (RUN_TEST_fF_f1): Likewise.
24731         (RUN_TEST_LOOP_fF_f1): Likewise.
24732         (RUN_TEST_fI_f1): Likewise.
24733         (RUN_TEST_LOOP_fI_f1): Likewise.
24734         (RUN_TEST_ffI_f1): Likewise.
24735         (RUN_TEST_LOOP_ffI_f1): Likewise.
24736         (RUN_TEST_c_c): Likewise.
24737         (RUN_TEST_LOOP_c_c): Likewise.
24738         (RUN_TEST_cc_c): Likewise.
24739         (RUN_TEST_LOOP_cc_c): Likewise.
24740         (RUN_TEST_f_i): Likewise.
24741         (RUN_TEST_LOOP_f_i): Likewise.
24742         (RUN_TEST_f_i_tg): Likewise.
24743         (RUN_TEST_LOOP_f_i_tg): Likewise.
24744         (RUN_TEST_ff_i_tg): Likewise.
24745         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24746         (RUN_TEST_f_b): Likewise.
24747         (RUN_TEST_LOOP_f_b): Likewise.
24748         (RUN_TEST_f_b_tg): Likewise.
24749         (RUN_TEST_LOOP_f_b_tg): Likewise.
24750         (RUN_TEST_f_l): Likewise.
24751         (RUN_TEST_LOOP_f_l): Likewise.
24752         (RUN_TEST_f_L): Likewise.
24753         (RUN_TEST_LOOP_f_L): Likewise.
24754         (RUN_TEST_sincos): Likewise.
24755         (RUN_TEST_LOOP_sincos): Likewise.
24756
24757 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24758
24759         [BZ #15480]
24760         [BZ #15485]
24761         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24762         main case of finite arguments, set rounding mode to FE_TONEAREST
24763         and discard exceptions.
24764         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24765         exceptions.
24766         (remainder_tonearest_test_data): New variable.
24767         (remainder_test_tonearest): New function.
24768         (remainder_towardzero_test_data): New variable.
24769         (remainder_test_towardzero): New function.
24770         (remainder_downward_test_data): New variable.
24771         (remainder_test_downward): New function.
24772         (remainder_upward_test_data): New variable.
24773         (remainder_test_upward): New function.
24774         (main): Call the new test functions.
24775
24776         * math/libm-test.inc (struct test_f_f1_data): Remove field
24777         extra_init.
24778         (struct test_fF_f1_data): Likewise.
24779         (struct test_ffI_f1_data): Likewise.
24780         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24781         based on value of EXTRA_EXPECTED.
24782         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24783         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24784         EXTRA_VAR based on value of EXTRA_EXPECTED.
24785         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24786         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24787         EXTRA_VAR based on value of EXTRA_EXPECTED.
24788         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24789         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24790         EXTRA_VAR based on value of EXTRA_EXPECTED.
24791         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24792         * math/gen-libm-test.pl (parse_args): Don't output initializers
24793         for extra output values.
24794
24795         * math/libm-test.inc (check_int): Expect result to be exactly
24796         equal to expected value and do not handle ulps.
24797         (check_long): Likewise.
24798         (check_longlong): Likewise.
24799
24800         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24801         exceptions.
24802         (cimag_test_data): Likewise.
24803         (conj_test_data): Likewise.
24804         (copysign_test_data): Likewise.
24805         (cproj_test_data): Likewise.
24806         (creal_test_data): Likewise.
24807         (fabs_test_data): Likewise.
24808         (fdim_test_data): Likewise.
24809         (finite_test_data): Likewise.
24810         (floor_test_data): Likewise.
24811         (fmax_test_data): Likewise.
24812         (fmin_test_data): Likewise.
24813         (fmod_test_data): Likewise.
24814         (fpclassify_test_data): Likewise.
24815         (frexp_test_data): Likewise.
24816         (ilogb_test_data): Likewise.
24817         (isfinite_test_data): Likewise.
24818         (isgreater_test_data): Likewise.
24819         (isgreaterequal_test_data): Likewise.
24820         (isinf_test_data): Likewise.
24821         (isless_test_data): Likewise.
24822         (islessequal_test_data): Likewise.
24823         (islessgreater_test_data): Likewise.
24824         (isnan_test_data): Likewise.
24825         (isnormal_test_data): Likewise.
24826         (issignaling_test_data): Likewise.
24827         (isunordered_test_data): Likewise.
24828         (ldexp_test_data): Likewise.
24829         (lrint_test_data): Likewise.
24830         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24831         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24832         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24833         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24834         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24835         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24836         test input.
24837         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24838         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24839         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24840         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24841         that test input.
24842         (lrint_downward_test_data): Test for "inexact" exceptions.
24843         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24844         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24845         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24846         test input.
24847         (lrint_upward_test_data): Test for "inexact" exceptions.
24848         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24849         test input.
24850         (llrint_test_data): Test for "inexact" exceptions.
24851         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24852         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24853         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24854         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24855         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24856         (llrint_downward_test_data): Test for "inexact" exceptions.
24857         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24858         (llrint_upward_test_data): Test for "inexact" exceptions.
24859         (logb_test_data): Likewise.
24860         (logb_downward_test_data): Likewise.
24861         (nextafter_test_data): Likewise.
24862         (nexttoward_test_data): Likewise.
24863         (remainder_test_data): Likewise.
24864         (remquo_test_data): Likewise.
24865         (scalbn_test_data): Likewise.
24866         (scalbln_test_data): Likewise.
24867         (signbit_test_data): Likewise.
24868         (sqrt_test_data): Likewise.
24869         (significand_test_data): Likewise.
24870
24871 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24872
24873         [BZ #15424]
24874         * benchtests/bench-modf.c (struct args): Mark arg0 as
24875         volatile.
24876         * scripts/bench.pl: Mark members of struct args as volatile.
24877
24878 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24879
24880         [BZ # 15497]
24881         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24882         negative infinity on POWER6 or lower.
24883         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24884
24885 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24886
24887         [BZ #15442]
24888         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24889         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24890         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24891         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24892         (_FP_SETQNAN): New macro.
24893         (_FP_SETQNAN_SEMIRAW): Likewise.
24894         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24895         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24896         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24897         (FP_EXTEND): Use _FP_FRAC_SNANP.
24898         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24899         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24900         into account.
24901         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24902         New macro.
24903         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24904         Likewise.
24905
24906 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24907
24908         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24909         with DIVIDE_BY_ZERO_EXCEPTION.
24910         (gamma_test_data): Likewise.
24911         (lgamma_test_data): Likewise.
24912         (log_test_data): Likewise.
24913         (log10_test_data): Likewise.
24914         (log2_test_data): Likewise.
24915         (tgamma_test_data): Likewise.
24916
24917         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24918         (acos_test_tonearest): Likewise.
24919         (acos_test_towardzero): Likewise.
24920         (acos_test_downward): Likewise.
24921         (acos_test_upward): Likewise.
24922         (acosh_test): Likewise.
24923         (asin_test): Likewise.
24924         (asin_test_tonearest): Likewise.
24925         (asin_test_towardzero): Likewise.
24926         (asin_test_downward): Likewise.
24927         (asin_test_upward): Likewise.
24928         (asinh_test): Likewise.
24929         (atan_test): Likewise.
24930         (atanh_test): Likewise.
24931         (atan2_test): Likewise.
24932         (cabs_test): Likewise.
24933         (cacos_test): Likewise.
24934         (cacosh_test): Likewise.
24935         (casin_test): Likewise.
24936         (casinh_test): Likewise.
24937         (catan_test): Likewise.
24938         (catanh_test): Likewise.
24939         (cbrt_test): Likewise.
24940         (ccos_test): Likewise.
24941         (ccosh_test): Likewise.
24942         (cexp_test): Likewise.
24943         (clog_test): Likewise.
24944         (clog10_test): Likewise.
24945         (cos_test): Likewise.
24946         (cos_test_tonearest): Likewise.
24947         (cos_test_towardzero): Likewise.
24948         (cos_test_downward): Likewise.
24949         (cos_test_upward): Likewise.
24950         (cosh_test): Likewise.
24951         (cosh_test_tonearest): Likewise.
24952         (cosh_test_towardzero): Likewise.
24953         (cosh_test_downward): Likewise.
24954         (cosh_test_upward): Likewise.
24955         (cpow_test): Likewise.
24956         (csin_test): Likewise.
24957         (csinh_test): Likewise.
24958         (csqrt_test): Likewise.
24959         (ctan_test): Likewise.
24960         (ctan_test_tonearest): Likewise.
24961         (ctan_test_towardzero): Likewise.
24962         (ctan_test_downward): Likewise.
24963         (ctan_test_upward): Likewise.
24964         (ctanh_test): Likewise.
24965         (ctanh_test_tonearest): Likewise.
24966         (ctanh_test_towardzero): Likewise.
24967         (ctanh_test_downward): Likewise.
24968         (ctanh_test_upward): Likewise.
24969         (erf_test): Likewise.
24970         (erfc_test): Likewise.
24971         (exp_test): Likewise.
24972         (exp_test_tonearest): Likewise.
24973         (exp_test_towardzero): Likewise.
24974         (exp_test_downward): Likewise.
24975         (exp_test_upward): Likewise.
24976         (exp10_test): Likewise.
24977         (exp2_test): Likewise.
24978         (expm1_test): Likewise.
24979         (fmod_test): Likewise.
24980         (gamma_test): Likewise.
24981         (hypot_test): Likewise.
24982         (j0_test): Likewise.
24983         (j1_test): Likewise.
24984         (jn_test): Likewise.
24985         (lgamma_test): Likewise.
24986         (log_test): Likewise.
24987         (log10_test): Likewise.
24988         (log1p_test): Likewise.
24989         (log2_test): Likewise.
24990         (logb_test_downward): Likewise.
24991         (pow_test): Likewise.
24992         (pow_test_tonearest): Likewise.
24993         (pow_test_towardzero): Likewise.
24994         (pow_test_downward): Likewise.
24995         (pow_test_upward): Likewise.
24996         (remainder_test): Likewise.
24997         (remquo_test): Likewise.
24998         (sin_test): Likewise.
24999         (sin_test_tonearest): Likewise.
25000         (sin_test_towardzero): Likewise.
25001         (sin_test_downward): Likewise.
25002         (sin_test_upward): Likewise.
25003         (sincos_test): Likewise.
25004         (sinh_test): Likewise.
25005         (sinh_test_tonearest): Likewise.
25006         (sinh_test_towardzero): Likewise.
25007         (sinh_test_downward): Likewise.
25008         (sinh_test_upward): Likewise.
25009         (sqrt_test): Likewise.
25010         (tan_test): Likewise.
25011         (tan_test_tonearest): Likewise.
25012         (tan_test_towardzero): Likewise.
25013         (tan_test_downward): Likewise.
25014         (tan_test_upward): Likewise.
25015         (tanh_test): Likewise.
25016         (tgamma_test): Likewise.
25017         (y0_test): Likewise.
25018         (y1_test): Likewise.
25019         (yn_test): Likewise.
25020
25021         * math/gen-libm-test.pl (adjust_arg): Remove function.
25022         (special_function): Remove argument $in_func.  Only handle
25023         generating output for tables of tests, not inside functions.
25024         (parse_args): Likewise.
25025         (generate_testfile): Remove variable $in_func.  Update call to
25026         parse_args.
25027         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25028         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25029         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25030         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25031         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25032         (MAX_VALUE_INIT): Rename macro to max_value.
25033         (MIN_VALUE_INIT): Rename macro to min_value.
25034         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25035         (plus_zero): Remove variable.
25036         (minus_zero): Likewise.
25037         (plus_infty): Likewise.
25038         (minus_infty): Likewise.
25039         (qnan_value): Likewise.
25040         (max_value): Likewise.
25041         (min_value): Likewise.
25042         (min_subnorm_value): Likewise.
25043
25044 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25045
25046         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25047         uint64_t or uint32_t usage.
25048         * crypt/sha256-block.c: Likewise.
25049         * crypt/sha256-crypt.c: Likewise.
25050         * crypt/sha256.c: Likewise.
25051         * crypt/sha512-block.c: Likewise.
25052         * crypt/sha512-crypt.c: Likewise.
25053         * crypt/sha512.c: Likewise.
25054         * debug/backtrace-tst.c: Likewise.
25055         * debug/pcprofiledump.c: Likewise.
25056         * elf/cache.c: Likewise.
25057         * elf/dl-cache.c: Likewise.
25058         * elf/dl-misc.c: Likewise.
25059         * elf/dl-profile.c: Likewise.
25060         * elf/dl-support.c: Likewise.
25061         * elf/ldconfig.c: Likewise.
25062         * elf/sprof.c: Likewise.
25063         * iconv/dummy-repertoire.c: Likewise.
25064         * iconv/iconv_charmap.c: Likewise.
25065         * iconv/skeleton.c: Likewise.
25066         * iconvdata/8bit-generic.c: Likewise.
25067         * iconvdata/cp737.h: Likewise.
25068         * iconvdata/cp775.h: Likewise.
25069         * iconvdata/ibm1008.h: Likewise.
25070         * iconvdata/ibm1025.h: Likewise.
25071         * iconvdata/ibm1046.h: Likewise.
25072         * iconvdata/ibm1097.h: Likewise.
25073         * iconvdata/ibm1112.h: Likewise.
25074         * iconvdata/ibm1122.h: Likewise.
25075         * iconvdata/ibm1123.h: Likewise.
25076         * iconvdata/ibm1124.h: Likewise.
25077         * iconvdata/ibm1129.h: Likewise.
25078         * iconvdata/ibm1130.h: Likewise.
25079         * iconvdata/ibm1132.h: Likewise.
25080         * iconvdata/ibm1133.h: Likewise.
25081         * iconvdata/ibm1137.h: Likewise.
25082         * iconvdata/ibm1140.h: Likewise.
25083         * iconvdata/ibm1141.h: Likewise.
25084         * iconvdata/ibm1142.h: Likewise.
25085         * iconvdata/ibm1143.h: Likewise.
25086         * iconvdata/ibm1144.h: Likewise.
25087         * iconvdata/ibm1145.h: Likewise.
25088         * iconvdata/ibm1146.h: Likewise.
25089         * iconvdata/ibm1147.h: Likewise.
25090         * iconvdata/ibm1148.h: Likewise.
25091         * iconvdata/ibm1149.h: Likewise.
25092         * iconvdata/ibm1153.h: Likewise.
25093         * iconvdata/ibm1154.h: Likewise.
25094         * iconvdata/ibm1155.h: Likewise.
25095         * iconvdata/ibm1156.h: Likewise.
25096         * iconvdata/ibm1157.h: Likewise.
25097         * iconvdata/ibm1158.h: Likewise.
25098         * iconvdata/ibm1160.h: Likewise.
25099         * iconvdata/ibm1161.h: Likewise.
25100         * iconvdata/ibm1162.h: Likewise.
25101         * iconvdata/ibm1163.h: Likewise.
25102         * iconvdata/ibm1164.h: Likewise.
25103         * iconvdata/ibm1166.h: Likewise.
25104         * iconvdata/ibm1167.h: Likewise.
25105         * iconvdata/ibm12712.h: Likewise.
25106         * iconvdata/ibm1390.h: Likewise.
25107         * iconvdata/ibm1399.h: Likewise.
25108         * iconvdata/ibm16804.h: Likewise.
25109         * iconvdata/ibm4517.h: Likewise.
25110         * iconvdata/ibm4899.h: Likewise.
25111         * iconvdata/ibm4909.h: Likewise.
25112         * iconvdata/ibm4971.h: Likewise.
25113         * iconvdata/ibm5347.h: Likewise.
25114         * iconvdata/ibm803.h: Likewise.
25115         * iconvdata/ibm856.h: Likewise.
25116         * iconvdata/ibm901.h: Likewise.
25117         * iconvdata/ibm902.h: Likewise.
25118         * iconvdata/ibm9030.h: Likewise.
25119         * iconvdata/ibm9066.h: Likewise.
25120         * iconvdata/ibm921.h: Likewise.
25121         * iconvdata/ibm922.h: Likewise.
25122         * iconvdata/ibm9448.h: Likewise.
25123         * iconvdata/isiri-3342.h: Likewise.
25124         * iconvdata/jis0201.h: Likewise.
25125         * include/link.h: Likewise.
25126         * include/netdb.h: Likewise.
25127         * inet/check_native.c: Likewise.
25128         * inet/check_pf.c: Likewise.
25129         * inet/getipv4sourcefilter.c: Likewise.
25130         * inet/getnameinfo.c: Likewise.
25131         * inet/getsourcefilter.c: Likewise.
25132         * inet/htonl.c: Likewise.
25133         * inet/setipv4sourcefilter.c: Likewise.
25134         * inet/setsourcefilter.c: Likewise.
25135         * inet/test-inet6_opt.c: Likewise.
25136         * inet/tst-network.c: Likewise.
25137         * locale/C-collate.c: Likewise.
25138         * locale/C-ctype.c: Likewise.
25139         * locale/C-time.c: Likewise.
25140         * locale/C-translit.h: Likewise.
25141         * locale/loadarchive.c: Likewise.
25142         * locale/programs/3level.h: Likewise.
25143         * locale/programs/charmap.c: Likewise.
25144         * locale/programs/charmap.h: Likewise.
25145         * locale/programs/ld-address.c: Likewise.
25146         * locale/programs/ld-collate.c: Likewise.
25147         * locale/programs/ld-ctype.c: Likewise.
25148         * locale/programs/ld-identification.c: Likewise.
25149         * locale/programs/ld-measurement.c: Likewise.
25150         * locale/programs/ld-messages.c: Likewise.
25151         * locale/programs/ld-monetary.c: Likewise.
25152         * locale/programs/ld-name.c: Likewise.
25153         * locale/programs/ld-numeric.c: Likewise.
25154         * locale/programs/ld-paper.c: Likewise.
25155         * locale/programs/ld-telephone.c: Likewise.
25156         * locale/programs/ld-time.c: Likewise.
25157         * locale/programs/linereader.c: Likewise.
25158         * locale/programs/locale.c: Likewise.
25159         * locale/programs/locarchive.c: Likewise.
25160         * locale/programs/locfile.h: Likewise.
25161         * locale/programs/repertoire.c: Likewise.
25162         * locale/programs/simple-hash.c: Likewise.
25163         * locale/programs/simple-hash.h: Likewise.
25164         * malloc/memusage.c: Likewise.
25165         * malloc/memusagestat.c: Likewise.
25166         * nis/nis_defaults.c: Likewise.
25167         * nis/nis_hash.c: Likewise.
25168         * nis/nis_print.c: Likewise.
25169         * nis/nis_xdr.c: Likewise.
25170         * nscd/connections.c: Likewise.
25171         * nscd/hstcache.c: Likewise.
25172         * nscd/nscd_gethst_r.c: Likewise.
25173         * nscd/nscd_getserv_r.c: Likewise.
25174         * nscd/nscd_helper.c: Likewise.
25175         * nscd/servicescache.c: Likewise.
25176         * nss/makedb.c: Likewise.
25177         * nss/nss_db/db-XXX.c: Likewise.
25178         * nss/nss_db/db-initgroups.c: Likewise.
25179         * nss/nss_db/db-netgrp.c: Likewise.
25180         * nss/nss_files/files-network.c: Likewise.
25181         * nss/nss_files/files-parse.c: Likewise.
25182         * posix/bug-regex5.c: Likewise.
25183         * posix/fnmatch_loop.c: Likewise.
25184         * posix/regcomp.c: Likewise.
25185         * posix/regexec.c: Likewise.
25186         * posix/tst-rfc3484-2.c: Likewise.
25187         * posix/tst-rfc3484-3.c: Likewise.
25188         * posix/tst-rfc3484.c: Likewise.
25189         * resolv/nss_dns/dns-canon.c: Likewise.
25190         * resolv/nss_dns/dns-network.c: Likewise.
25191         * resolv/res_init.c: Likewise.
25192         * resolv/res_mkquery.c: Likewise.
25193         * resolv/tst-aton.c: Likewise.
25194         * stdlib/cxa_atexit.c: Likewise.
25195         * stdlib/cxa_finalize.c: Likewise.
25196         * stdlib/gen-fpioconst.c: Likewise.
25197         * stdlib/strtol_l.c: Likewise.
25198         * string/tst-endian.c: Likewise.
25199         * sunrpc/auth_des.c: Likewise.
25200         * sunrpc/clnt_udp.c: Likewise.
25201         * sunrpc/rtime.c: Likewise.
25202         * sunrpc/svcauth_des.c: Likewise.
25203         * sunrpc/xdr.c: Likewise.
25204         * sunrpc/xdr_intXX_t.c: Likewise.
25205         * sunrpc/xdr_rec.c: Likewise.
25206         * sysdeps/generic/ldconfig.h: Likewise.
25207         * sysdeps/generic/ldsodefs.h: Likewise.
25208         * sysdeps/generic/memusage.h: Likewise.
25209         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25210         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25211         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25212         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25213         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25214         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25215         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25216         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25217         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25218         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25219         * sysdeps/posix/getaddrinfo.c: Likewise.
25220         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25221         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25222         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25223         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25224         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25225         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25226         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25227         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25228         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25229         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25230         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25231         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25232         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25233         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25234         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25235         * sysdeps/x86_64/dl-tls.h: Likewise.
25236         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25237         * time/alt_digit.c: Likewise.
25238         * time/era.c: Likewise.
25239         * wcsmbs/tst-c16c32-1.c: Likewise.
25240
25241 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25242
25243         * math/libm-test.inc (struct test_sincos_data): New type.
25244         (RUN_TEST_LOOP_sincos): New macro.
25245         (sincos_test_data): New variable.
25246         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25247
25248 2013-05-16  Richard Henderson  <rth@redhat.com>
25249
25250         * math/atest-exp2.c (LIMB64): New macro.
25251         (CONSTSZ): New macro.
25252         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25253         (hexdig): Move ...
25254         (print_mpn_fp): ... to function scope.
25255         (read_mpn_hex): Remove.
25256         (get_log2): Remove.
25257         (exp2_mpn): Use mp_log2.
25258         (main): Use mp_exp1.
25259
25260 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25261
25262         * math/libm-test.inc: Remove comment about not testing "inexact"
25263         exceptions.
25264         (INEXACT_EXCEPTION): New macro.
25265         (NO_INEXACT_EXCEPTION): Likewise.
25266         (INVALID_EXCEPTION_OK): Update value.
25267         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25268         (OVERFLOW_EXCEPTION_OK): Likewise.
25269         (UNDERFLOW_EXCEPTION_OK): Likewise.
25270         (IGNORE_ZERO_INF_SIGN): Likewise.
25271         (ERRNO_UNCHANGED): Likewise.
25272         (ERRNO_EDOM): Likewise.
25273         (ERRNO_ERANGE): Likewise.
25274         (test_exceptions): Handle testing "inexact" exceptions.
25275         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25276         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25277         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25278         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25279         INEXACT_EXCEPTION.
25280         (rint_towardzero_test_data): Likewise.
25281         (rint_downward_test_data): Likewise.
25282         (rint_upward_test_data): Likewise.
25283
25284         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25285         with OVERFLOW_EXCEPTION.
25286         (exp10_test_data): Likewise.
25287         (exp2_test_data): Likewise.
25288         (expm1_test_data): Likewise.
25289         (lgamma_test_data): Likewise.
25290         (pow_test_data): Likewise.
25291         (tgamma_test_data): Likewise.
25292         (yn_test_data): Remove duplicate test of overflow.
25293
25294         * math/libm-test.inc (struct test_cc_c_data): New type.
25295         (RUN_TEST_LOOP_cc_c): New macro.
25296         (cpow_test_data): New variable.
25297         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25298
25299         * math/libm-test.inc (struct test_f_L_data): New type.
25300         (RUN_TEST_LOOP_f_L): New macro.
25301         (llrint_test_data): New variable.
25302         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25303         (llrint_tonearest_test_data): New variable.
25304         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25305         (llrint_towardzero_test_data): New variable.
25306         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25307         (llrint_downward_test_data): New variable.
25308         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25309         (llrint_upward_test_data): New variable.
25310         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25311         (llround_test_data): New variable.
25312         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25313
25314 2013-05-13  Peter Collingbourne  <pcc@google.com>
25315
25316         * math/atest-exp2.c (get_log2): Remove const attribute.
25317
25318 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25319
25320         * math/libm-test.inc (struct test_f_l_data): New type.
25321         (RUN_TEST_LOOP_f_l): New macro.
25322         (lrint_test_data): New variable.
25323         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25324         (lrint_tonearest_test_data): New variable.
25325         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25326         (lrint_towardzero_test_data): New variable.
25327         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25328         (lrint_downward_test_data): New variable.
25329         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25330         (lrint_upward_test_data): New variable.
25331         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25332         (lround_test_data): New variable.
25333         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25334
25335 2013-05-15  Peter Collingbourne  <pcc@google.com>
25336
25337         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25338         (EXTRACT_WORDS64) Use where appropriate.
25339         (INSERT_WORDS64) Likewise.
25340
25341         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25342         constraints with x constraints.
25343         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25344
25345         * malloc/obstack.c (_obstack_compat): Add initializer.
25346
25347 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25348
25349         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25350         si_trapno and add si_addr_lsb to _sifields.sigfault.
25351         (si_trapno): Remove macro.
25352         (si_addr_lsb): Define new macro.
25353         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25354
25355 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25356
25357         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25358         instead of TEST_f_l.
25359         (llrint_test_tonearest): Likewise.
25360         (llrint_test_towardzero): Likewise.
25361         (llrint_test_downward): Likewise.
25362         (llrint_test_upward): Likewise.
25363         (llround_test): Likewise.
25364
25365         * math/libm-test.inc (struct test_f_i_data): Add comment.
25366         (RUN_TEST_LOOP_f_b): New macro.
25367         (RUN_TEST_LOOP_f_b_tg): Likewise.
25368         (finite_test_data): New variable.
25369         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25370         (isfinite_test_data): New variable.
25371         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25372         (isinf_test_data): New variable.
25373         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25374         (isnan_test_data): New variable.
25375         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25376         (isnormal_test_data): New variable.
25377         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25378         (issignaling_test_data): New variable.
25379         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25380         (signbit_test_data): New variable.
25381         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25382
25383         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25384         with INVALID_EXCEPTION.
25385         (acosh_test_data): Likewise.
25386         (asin_test_data): Likewise.
25387         (atanh_test_data): Likewise.
25388         (fmod_test_data): Likewise.
25389         (log_test_data): Likewise.
25390         (log10_test_data): Likewise.
25391         (log2_test_data): Likewise.
25392         (pow_test_data): Likewise.
25393         (sqrt_test_data): Likewise.
25394         (y0_test_data): Likewise.
25395         (y1_test_data): Likewise.
25396         (yn_test_data): Likewise.
25397
25398         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25399         function contents.
25400
25401         * math/libm-test.inc (struct test_ff_i_data): New type.
25402         (RUN_TEST_LOOP_ff_i_tg): New macro.
25403         (isgreater_test_data): New variable.
25404         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25405         (isgreaterequal_test_data): New variable.
25406         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25407         (isless_test_data): New variable.
25408         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25409         (islessequal_test_data): New variable.
25410         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25411         (islessgreater_test_data): New variable.
25412         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25413         (isunordered_test_data): New variable.
25414         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25415
25416 2013-05-14  David S. Miller  <davem@davemloft.net>
25417
25418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25419
25420 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25421
25422         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25423
25424         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25425         extra_test to int.
25426         (struct test_f_i_data): Change type of max_ulp to int.
25427
25428         * math/libm-test.inc (test_ffI_f1_data): New type.
25429         (RUN_TEST_LOOP_ffI_f1): New macro.
25430         (remquo_test_data): New variable.
25431         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25432
25433         * setjmp/tst-setjmp-fp.c: New file.
25434         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25435         (link-libm): New variable.
25436         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25437
25438         * math/libm-test.inc (struct test_f_i_data): New type.
25439         (RUN_TEST_LOOP_f_i): New macro.
25440         (RUN_TEST_LOOP_f_i_tg): Likewise.
25441         (fpclassify_test_data): New variable.
25442         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25443         (ilogb_test_data): New variable.
25444         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25445
25446         * math/libm-test.inc (scalbln_test): Correct function name in END
25447         call.
25448
25449         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25450         (RUN_TEST_LOOP_fI_f1): New macro.
25451         (frexp_test_data): New variable.
25452         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25453
25454         * math/libm-test.inc (struct test_fF_f1_data): New type.
25455         (RUN_TEST_LOOP_fF_f1): New macro.
25456         (modf_test_data): New variable.
25457         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25458
25459         * math/libm-test.inc (struct test_f_f1_data): New type.
25460         (RUN_TEST_LOOP_f_f1): New macro.
25461         (gamma_test_data): New variable.
25462         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25463         (lgamma_test_data): New variable.
25464         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25465
25466 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25467
25468         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25469         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25470         (main): Comment "tls" pseudo-hwcap.
25471
25472 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25473
25474         * math/libm-test.inc (struct test_fl_f_data): New type.
25475         (RUN_TEST_LOOP_fl_f): New variable.
25476         (scalbln_test_data): New variable.
25477         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25478
25479         * math/libm-test.inc (struct test_fi_f_data): New type.
25480         (RUN_TEST_LOOP_fi_f): New macro.
25481         (ldexp_test_data): New variable.
25482         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25483         (scalbn_test_data): New variable.
25484         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25485
25486         * math/libm-test.inc (struct test_c_f_data): New type.
25487         (RUN_TEST_LOOP_c_f): New macro.
25488         (cabs_test_data): New variable.
25489         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25490         (carg_test_data): New variable.
25491         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25492         (cimag_test_data): New variable.
25493         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25494         (creal_test_data): New variable.
25495         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25496
25497         * math/libm-test.inc (struct test_if_f_data): New type.
25498         (RUN_TEST_LOOP_if_f): New macro.
25499         (jn_test_data): New variable.
25500         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25501         (yn_test_data): New variable.
25502         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25503
25504         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25505
25506 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25507
25508         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25509         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25510
25511 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25512
25513         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25514         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25515         (bench-deps): Add bench-timing.h.
25516         * benchtests-bench-skeleton.c: Include bench-timing.h.
25517         (main): Use TIMING_* macros instead of clock_gettime.
25518         * benchtests/bench-timing.h: New file.
25519
25520         [BZ #14582]
25521         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25522         Renamed from _LIB_VERSION.
25523         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25524
25525 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25526
25527         * math/libm-test.inc (struct test_fff_f_data): New type.
25528         (RUN_TEST_LOOP_fff_f): New macro.
25529         (fma_test_data): New variable.
25530         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25531         (fma_towardzero_test_data): New variable.
25532         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25533         (fma_downward_test_data): New variable.
25534         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25535         (fma_upward_test_data): New variable.
25536         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25537
25538         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25539         (struct test_c_c_data): New type.
25540         (RUN_TEST_LOOP_c_c): New macro.
25541         (cacos_test_data): New variable.
25542         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25543         (cacosh_test_data): New variable.
25544         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25545         (casin_test_data): New variable.
25546         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25547         (casinh_test_data): New variable.
25548         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25549         (catan_test_data): New variable.
25550         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25551         (catanh_test_data): New variable.
25552         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25553         (ccos_test_data): New variable.
25554         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25555         (ccosh_test_data): New variable.
25556         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25557         (cexp_test_data): New variable.
25558         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25559         (clog_test_data): New variable.
25560         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25561         (clog10_test_data): New variable.
25562         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25563         (conj_test_data): New variable.
25564         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25565         (cproj_test_data): New variable.
25566         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25567         (csin_test_data): New variable.
25568         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25569         (csinh_test_data): New variable.
25570         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25571         (csqrt_test_data): New variable.
25572         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25573         (ctan_test_data): New variable.
25574         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25575         (ctan_tonearest_test_data): New variable.
25576         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25577         (ctan_towardzero_test_data): New variable.
25578         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25579         (ctan_downward_test_data): New variable.
25580         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25581         (ctan_upward_test_data): New variable.
25582         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25583         (ctanh_test_data): New variable.
25584         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25585         (ctanh_tonearest_test_data): New variable.
25586         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25587         (ctanh_towardzero_test_data): New variable.
25588         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25589         (ctanh_downward_test_data): New variable.
25590         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25591         (ctanh_upward_test_data): New variable.
25592         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25593         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25594         of BUILD_COMPLEX.
25595
25596         * math/libm-test.inc (struct test_ff_f_data): New type.
25597         (struct test_ff_f_data_nexttoward): Likewise.
25598         (RUN_TEST_LOOP_2_f): New macro.
25599         (RUN_TEST_LOOP_ff_f): Likewise.
25600         (atan2_test_data): New variable.
25601         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25602         (copysign_test_data): New variable.
25603         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25604         (fdim_test_data): New variable.
25605         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25606         (fmax_test_data): New variable.
25607         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25608         (fmin_test_data): New variable.
25609         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25610         (fmod_test_data): New variable.
25611         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25612         (hypot_test_data): New variable.
25613         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25614         (nextafter_test_data): New variable.
25615         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25616         (nexttoward_test_data): New variable.
25617         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25618         (pow_test_data): New variable.
25619         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25620         (pow_tonearest_test_data): New variable.
25621         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25622         (pow_towardzero_test_data): New variable.
25623         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25624         (pow_downward_test_data): New variable.
25625         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25626         (pow_upward_test_data): New variable.
25627         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25628         (remainder_test_data): New variable.
25629         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25630         (scalb_test_data): New variable.
25631         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25632         * sysdeps/i386/fpu/libm-test-ulps: Update.
25633
25634 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25635
25636         * math/libm-test.inc (fma_test): Use max_value instead of local
25637         variable fltmax.
25638         (nextafter_test): Likewise.
25639
25640         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25641         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25642         (acos_downward_test_data): New variable.
25643         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25644         (acos_upward_test_data): New variable.
25645         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25646         (acosh_test_data): New variable.
25647         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25648         (asin_test_data): New variable.
25649         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25650         (asin_tonearest_test_data): New variable.
25651         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25652         (asin_towardzero_test_data): New variable.
25653         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25654         (asin_downward_test_data): New variable.
25655         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25656         (asin_upward_test_data): New variable.
25657         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25658         (asinh_test_data): New variable.
25659         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25660         (atan_test_data): New variable.
25661         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25662         (atanh_test_data): New variable.
25663         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25664         (cbrt_test_data): New variable.
25665         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25666         (ceil_test_data): New variable.
25667         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25668         (cos_test_data): New variable.
25669         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25670         (cos_tonearest_test_data): New variable.
25671         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25672         (cos_towardzero_test_data): New variable.
25673         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25674         (cos_downward_test_data): New variable.
25675         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25676         (cos_upward_test_data): New variable.
25677         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25678         (cosh_test_data): New variable.
25679         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25680         (cosh_tonearest_test_data): New variable.
25681         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25682         (cosh_towardzero_test_data): New variable.
25683         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25684         (cosh_downward_test_data): New variable.
25685         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25686         (cosh_upward_test_data): New variable.
25687         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25688         (erf_test_data): New variable.
25689         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25690         (erfc_test_data): New variable.
25691         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25692         (exp_test_data): New variable.
25693         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25694         (exp_tonearest_test_data): New variable.
25695         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25696         (exp_towardzero_test_data): New variable.
25697         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25698         (exp_downward_test_data): New variable.
25699         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25700         (exp_upward_test_data): New variable.
25701         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25702         (exp10_test_data): New variable.
25703         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25704         (exp2_test_data): New variable.
25705         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25706         (expm1_test_data): New variable.
25707         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25708         (fabs_test_data): New variable.
25709         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25710         (floor_test_data): New variable.
25711         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25712         (j0_test_data): New variable.
25713         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25714         (j1_test_data): New variable.
25715         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25716         (log_test_data): New variable.
25717         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25718         (log10_test_data): New variable.
25719         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25720         (log1p_test_data): New variable.
25721         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25722         (log2_test_data): New variable.
25723         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25724         (logb_test_data): New variable.
25725         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25726         (logb_downward_test_data): New variable.
25727         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25728         (nearbyint_test_data): New variable.
25729         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25730         (rint_test_data): New variable.
25731         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25732         (rint_tonearest_test_data): New variable.
25733         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25734         (rint_towardzero_test_data): New variable.
25735         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25736         (rint_downward_test_data): New variable.
25737         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25738         (rint_upward_test_data): New variable.
25739         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25740         (round_test_data): New variable.
25741         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25742         (sin_test_data): New variable.
25743         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25744         (sin_tonearest_test_data): New variable.
25745         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25746         (sin_towardzero_test_data): New variable.
25747         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25748         (sin_downward_test_data): New variable.
25749         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25750         (sin_upward_test_data): New variable.
25751         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25752         (sinh_test_data): New variable.
25753         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25754         (sinh_tonearest_test_data): New variable.
25755         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25756         (sinh_towardzero_test_data): New variable.
25757         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25758         (sinh_downward_test_data): New variable.
25759         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25760         (sinh_upward_test_data): New variable.
25761         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25762         (sqrt_test_data): New variable.
25763         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25764         (tan_test_data): New variable.
25765         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25766         (tan_tonearest_test_data): New variable.
25767         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25768         (tan_towardzero_test_data): New variable.
25769         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25770         (tan_downward_test_data): New variable.
25771         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25772         (tan_upward_test_data): New variable.
25773         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25774         (tanh_test_data): New variable.
25775         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25776         (tgamma_test_data): New variable.
25777         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25778         (trunc_test_data): New variable.
25779         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25780         (y0_test_data): New variable.
25781         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25782         (y1_test_data): New variable.
25783         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25784         (significand_test_data): New variable.
25785         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25786
25787 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25788
25789         [BZ #12387]
25790         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25791
25792 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25793
25794         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25795
25796 2013-05-10  Andreas Jaeger  <aj@suse.de>
25797
25798         [BZ #15448]
25799         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25800         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25801
25802 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25803
25804         * math/gen-libm-test.pl (adjust_arg): New function.
25805         (special_functions): Handle generating output in both functions
25806         and arrays.
25807         (parse_args): Likewise.
25808         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25809         $in_func argument to parse_args.
25810         * math/libm-test.inc (struct test_f_f_data): New type.
25811         (IF_ROUND_INIT_): New macro.
25812         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25813         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25814         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25815         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25816         (ROUND_RESTORE_): Likewise.
25817         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25818         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25819         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25820         (ROUND_RESTORE_FE_UPWARD): Likewise.
25821         (RUN_TEST_LOOP_f_f): New macro.
25822         (acos_test_data): New variable.
25823         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25824         (acos_tonearest_test_data): New variable.
25825         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25826
25827 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25828
25829         * benchtests/bench-skeleton.c (startup): Fix coding style.
25830
25831 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25832
25833         [BZ #6809]
25834         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25835         negative infinity argument.
25836         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25837         negative infinity argument.
25838         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25839         negative infinity argument.
25840         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25841         domain errors.
25842
25843 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25844
25845         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25846         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25847         * iconv/iconv_prog.c (main): Likewise.
25848         * locale/programs/charmap-dir.c (charmap_readdir)
25849         (fopen_uncompressed): Likewise.
25850         * locale/programs/locfile.c (siblings_uncached)
25851         (write_locale_data): Use lstat64 instead of lstat.
25852         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25853         stat.
25854
25855 2013-05-10  Andreas Jaeger  <aj@suse.de>
25856
25857         [BZ #15395]
25858         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25859         localization.
25860         Include <locale.h>.
25861
25862 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
25863
25864         * elf/dl-close.c (_dl_close_worker): Add comments.
25865
25866 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
25867
25868         [BZ #15359]
25869         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25870         high part of pi/2.
25871         (__ieee754_rem_pio2l): Update comments.
25872
25873         [BZ #15429]
25874         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25875         high part of pi/2.
25876         (__ieee754_rem_pio2l): Update comments.
25877
25878         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25879         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25880
25881         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25882         M_PI_4l.
25883
25884         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25885         (M_PI_34_LOG10El): Likewise.
25886         (M_PI2_LOG10El): Likewise.
25887         (M_PI4_LOG10El): Likewise.
25888         (M_PI_LOG10El): Likewise.
25889
25890 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25891
25892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25893
25894 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
25895
25896         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25897         (MINUS_ZERO_INIT): Likewise.
25898         (PLUS_INFTY_INIT): Likewise.
25899         (MINUS_INFTY_INIT): Likewise.
25900         (QNAN_VALUE_INIT): Likewise.
25901         (MAX_VALUE_INIT): Likewise.
25902         (MIN_VALUE_INIT): Likewise.
25903         (MIN_SUBNORM_VALUE_INIT): Likewise.
25904         (plus_zero): Initialize with PLUS_ZERO_INIT.
25905         (minus_zero): Initialize with MINUS_ZERO_INIT.
25906         (plus_infty): Initialize with PLUS_INFTY_INIT.
25907         (minus_infty): Initialize with MINUS_INFTY_INIT.
25908         (qnan_value): Initialize with QNAN_VALUE_INIT.
25909         (max_value): Initialize with MAX_VALUE_INIT.
25910         (min_value): Initialize with MIN_VALUE_INIT.
25911         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25912
25913         * math/libm-test.inc (RUN_TEST_if_f): New macro.
25914         (jn_test): Use TEST_if_f instead of TEST_ff_f.
25915         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25916         (yn_test): Use TEST_if_f instead of TEST_ff_f.
25917
25918         * math/libm-test.inc (RUN_TEST_f_f): New macro.
25919         (RUN_TEST_2_f): Likewise.
25920         (RUN_TEST_ff_f): Likewise.
25921         (RUN_TEST_fi_f): Likewise.
25922         (RUN_TEST_fl_f): Likewise.
25923         (RUN_TEST_fff_f): Likewise.
25924         (RUN_TEST_c_f): Likewise.
25925         (RUN_TEST_f_f1): Likewise.
25926         (RUN_TEST_fF_f1): Likewise.
25927         (RUN_TEST_fI_f1): Likewise.
25928         (RUN_TEST_ffI_f1): Likewise.
25929         (RUN_TEST_c_c): Likewise.
25930         (RUN_TEST_cc_c): Likewise.
25931         (RUN_TEST_f_i): Likewise.
25932         (RUN_TEST_f_i_tg): Likewise.
25933         (RUN_TEST_ff_i_tg): Likewise.
25934         (RUN_TEST_f_b): Likewise.
25935         (RUN_TEST_f_b_tg): Likewise.
25936         (RUN_TEST_f_l): Likewise.
25937         (RUN_TEST_f_L): Likewise.
25938         (RUN_TEST_sincos): Likewise.
25939         * math/gen-libm-test.pl (new_test): Take new argument to indicate
25940         whether to show exceptions.  Do not include ");\n" in return
25941         value.
25942         (special_functions): Output call to RUN_TEST_sincos instead of
25943         check_float calls.  Update calls to new_test.
25944         (parse_args): Output call to single RUN_TEST_* macro instead of
25945         check_* calls and other assignments.  Update calls to new_test.
25946
25947         [BZ #2546]
25948         [BZ #2560]
25949         [BZ #5159]
25950         [BZ #15426]
25951         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25952         input to result for tgamma overflow.
25953         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25954         (gamma_coeff): New variable.
25955         (NCOEFF): New macro.
25956         (gamma_positive): New function.
25957         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25958         underflow here.  Use gamma_positive instead of exp (lgamma) for
25959         other arguments.
25960         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25961         (gamma_coeff): New variable.
25962         (NCOEFF): New macro.
25963         (gammaf_positive): New function.
25964         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25965         underflow here.  Use gamma_positive instead of exp (lgamma) for
25966         other arguments.
25967         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25968         (gamma_coeff): New variable.
25969         (NCOEFF): New macro.
25970         (gammal_positive): New function.
25971         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25972         underflow here.  Use gamma_positive instead of exp (lgamma) for
25973         other arguments.
25974         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25975         (gamma_coeff): New variable.
25976         (NCOEFF): New macro.
25977         (gammal_positive): New function.
25978         (__ieee754_gammal_r): Handle positive infinity, overflow and
25979         underflow here.  Handle NaN the same as positive infinity.  Remove
25980         check x < 0xffffffff for negative integers.  Use gamma_positive
25981         instead of exp (lgamma) for other arguments.
25982         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25983         (gamma_coeff): New variable.
25984         (NCOEFF): New macro.
25985         (gammal_positive): New function.
25986         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25987         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25988         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25989         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25990         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25991         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25992         * sysdeps/generic/math_private.h (__gamma_productf): New
25993         prototype.
25994         (__gamma_product): Likewise.
25995         (__gamma_productl): Likewise.
25996         * math/Makefile (libm-calls): Add gamma_product.
25997         * math/libm-test.inc (tgamma_test): Add more tests.
25998         * sysdeps/i386/fpu/libm-test-ulps: Update.
25999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26000
26001 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26002
26003         * benchtests/bench-skeleton.c (main): Preheat CPU.
26004
26005 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26006
26007         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26008
26009 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26010
26011         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26012         and _dl_skip_args_internal.
26013
26014 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26015
26016         * manual/message.texi (Message Translation): Talk about users.
26017         Message to key mapping impacts design.
26018
26019 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26020
26021         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26022
26023         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26024
26025         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26026         * sysdeps/wordsize-64/glob64.c: ... here.
26027
26028         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26029         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26030         New macros.
26031
26032         * debug/getlogin_r_chk.c: Moved to ...
26033         * login/getlogin_r_chk.c: ... here.
26034         * debug/Makefile (routines): Move getlogin_r_chk to ...
26035         * login/Makefile (routines): ... here.
26036         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26037         * login/Versions (libc: GLIBC_2.4): ... here.
26038
26039         * io/poll.c (__poll): Renamed from poll.
26040         Add libc_hidden_def.
26041         (poll): Define as weak alias.
26042
26043         * debug/ptsname_r_chk.c: Moved to ...
26044         * login/ptsname_r_chk.c: ... here.
26045         * debug/Makefile (routines): Move ptsname_r_chk to ...
26046         * login/Makefile (routines): ... here.
26047         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26048         * login/Versions (libc: GLIBC_2.4): ... here.
26049
26050         * posix/getlogin.c: Moved to ...
26051         * login/getlogin.c: ... here.
26052         * posix/getlogin_r.c: Moved to ...
26053         * login/getlogin_r.c: ... here.
26054         * posix/getlogin_r.c: Moved to ...
26055         * login/getlogin_r.c: ... here.
26056         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26057         * login/Makefile (routines): ... here.
26058         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26059         * login/Versions (libc: GLIBC_2.0): ... here.
26060
26061         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26062         (setrlimit): Define as weak alias.
26063
26064         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26065         Call __ names for open, ftruncate, and close.
26066         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26067         (truncate): Define as weak alias.
26068
26069 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26070
26071         * math/gen-libm-test.pl (parse_args): Initialize x before each
26072         test of frexp, modf and remquo.
26073
26074         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26075         test signgam value.
26076
26077 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26078
26079         [BZ #15418]
26080         [BZ #15419]
26081         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26082         internal tests.
26083         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26084
26085 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26086
26087         * elf/dl-writev.h: New file.
26088         * elf/dl-misc.c: Include it.
26089         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26090         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26091
26092 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26093
26094         * math/libm-test.inc (noXFails): Remove variable.
26095         (noXPasses): Likewise.
26096         (BUILD_COMPLEX_INT): Remove macro.
26097         (print_screen): Remove xfail argument.
26098         (print_screen_max_error): Likewise.
26099         (update_stats): Likewise.
26100         (print_max_error): Likewise.  Update calls to other affected
26101         functions.
26102         (print_complex_max_error): Likewise.
26103         (test_single_exception): Update calls to print_screen.
26104         (test_single_errno): Likewise.
26105         (check_float_internal): Remove xfail argument.  Update calls to
26106         other affected functions.
26107         (check_float): Likewise.
26108         (check_complex): Likewise.
26109         (check_int): Likewise.
26110         (check_long): Likewise.
26111         (check_bool): Likewise.
26112         (check_longlong): Likewise.
26113         (main): Don't print noXFails and noXPasses.
26114         * math/gen-libm-test.pl (top level): Don't mention expected
26115         failure handling in comment.
26116         (new_test): Don't handle expected failures.
26117         (parse_args): Don't mention expected failure handling in comment.
26118         (generate_testfile): Don't handle expected failures.
26119         (parse_ulps): Likewise.
26120         (print_ulps_file): Likewise.
26121         (get_failure): Remove function.
26122         (output_test): Don't handle expected failures.
26123         * make/README.libm-test: Don't mention expected failure handling.
26124
26125         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26126         (minus_zero): Likewise.
26127         (plus_infty): Likewise.
26128         (minus_infty): Likewise.
26129         (qnan_value): Likewise.
26130         (max_value): Likewise.
26131         (min_value): Likewise.
26132         (min_subnorm_value): Likewise.
26133         (initialize): Do not initialize those variables dynamically.
26134
26135 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26136
26137         * io/open.c (__open_2): Moved to ...
26138         * io/open_2.c: ... this new file.
26139         * io/open64.c (__open64_2): Moved to ...
26140         * io/open64_2.c: ... this new file.
26141         * io/openat.c (__openat_2): Moved to ...
26142         * io/openat_2.c: ... this new file.
26143         * io/openat64.c (__openat64_2): Moved to ...
26144         * io/openat64_2.c: ... this new file.
26145         * io/Makefile (routines): Add them.
26146         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26147         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26148         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26149         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26150         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26151         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26152         (__openat64): Add hidden_ver.
26153         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26154         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26155
26156         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26157         Separately conditionalize setting of GLRO(dl_sysinfo) so
26158         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26159         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26160
26161 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26162
26163         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26164         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26165         definition.
26166         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26167         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26168         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26169         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26170         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26171
26172 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26173
26174         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26175         test signgam value.
26176
26177         * math/libm-test.inc (hypot_test): Do not use
26178         IGNORE_ZERO_INF_SIGN.
26179
26180 2013-05-03  Andreas Jaeger  <aj@suse.de>
26181
26182         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26183         Linux 3.9.
26184         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26185         (PF_MAX): Adjust for VSOCK change.
26186
26187 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26188
26189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26190
26191 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26192
26193         [BZ #15264]
26194         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26195         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26196         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26197
26198 2013-05-02  David S. Miller  <davem@davemloft.net>
26199
26200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26201
26202 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26203
26204         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26205
26206 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26207
26208         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26209
26210 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26211
26212         [BZ #14952]
26213         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26214         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26215         Use __attribute__ ((__gnu_inline__)).
26216         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26217         Don't use __attribute__ ((__gnu_inline__)).
26218
26219 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26220
26221         [BZ #15423]
26222         * math/s_catan.c (__catan): Handle small real or imaginary part of
26223         input specially to avoid spurious underflow.
26224         * math/s_catanf.c (__catanf): Likewise.
26225         * math/s_catanh.c (__catanh): Likewise.
26226         * math/s_catanhf.c (__catanhf): Likewise.
26227         * math/s_catanhl.c (__catanhl): Likewise.
26228         * math/s_catanl.c (__catanl): Likewise.
26229         * math/libm-test.inc (catan_test): Add more tests.
26230         (catanh_test): Likewise.
26231         * sysdeps/i386/fpu/libm-test-ulps: Update.
26232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26233
26234 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26235
26236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26237
26238 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26239
26240         [BZ #15416]
26241         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26242         accurately for denominator in atan2.
26243         * math/s_catanf.c (__catanf): Likewise.
26244         * math/s_catanh.c (__catanh): Likewise.
26245         * math/s_catanhf.c (__catanhf): Likewise.
26246         * math/s_catanhl.c (__catanhl): Likewise.
26247         * math/s_catanl.c (__catanl): Likewise.
26248         * math/libm-test.inc (catan_test): Add more tests.
26249         (catanh_test): Likewise.
26250         * sysdeps/i386/fpu/libm-test-ulps: Update.
26251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26252
26253 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26254
26255         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26256
26257         * benchtests/Makefile (bench): Remove slow benchmarks.
26258         * benchtests/atan-inputs: Add slow benchmark inputs.
26259         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26260         (BENCH_FUNC): Accept variant offset.
26261         (VARIANT): Define.
26262         * benchtests/bench-skeleton.c (main): Run benchmark for each
26263         variant.
26264         * benchtests/cos-inputs: Add slow benchmark inputs.
26265         * benchtests/exp-inputs: Likewise.
26266         * benchtests/pow-inputs: Likewise.
26267         * benchtests/sin-inputs: Likewise.
26268         * benchtests/slowatan-inputs: Remove.
26269         * benchtests/slowatan.c: Remove.
26270         * benchtests/slowcos-inputs: Remove.
26271         * benchtests/slowcos.c: Remove.
26272         * benchtests/slowexp-inputs: Remove.
26273         * benchtests/slowexp.c: Remove.
26274         * benchtests/slowpow-inputs: Remove.
26275         * benchtests/slowpow.c: Remove.
26276         * benchtests/slowsin-inputs: Remove.
26277         * benchtests/slowsin.c: Remove.
26278         * benchtests/slowtan-inputs: Remove.
26279         * benchtests/slowtan.c: Remove.
26280         * benchtests/tan-inputs: Add slow benchmark inputs.
26281         * scripts/bench.pl: Parse comments and directives.
26282
26283         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26284         in CPPFLAGS.
26285         ($(objpfx)bench-%.c): Remove *-ITER.
26286         * benchtests/bench-modf.c: Remove definition of ITER.
26287         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26288         (main): Loop for DURATION seconds instead of fixed number of
26289         iterations.
26290         * scripts/bench.pl: Don't expect iterations in parameters.
26291
26292 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26293
26294         * io/fchdir.c (__fchdir): Renamed from fchdir.
26295         (fchdir): Define as weak alias.
26296
26297 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26298
26299         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26300         (ERRNO_EDOM): Likewise.
26301         (ERRNO_ERANGE): Likewise.
26302         (noErrnoTests): New variable.
26303         (init_max_error): Set errno to 0.
26304         (test_single_errno): New function.
26305         (test_errno): Likewise.
26306         (check_float_internal): Call test_errno.  Set errno to 0.
26307         (check_complex): Refer to errno tests in comment.
26308         (check_int): Call test_errno.  Set errno to 0.
26309         (check_long): Likewise.
26310         (check_bool): Likewise.
26311         (check_longlong): Likewise.
26312         (cos_test): Use ERRNO_* flags for errno tests instead of
26313         check_int.
26314         (expm1_test): Likewise.
26315         (fmod_test): Likewise.
26316         (ilogb_test): Likewise.
26317         (lgamma_test): Likewise.
26318         (pow_test): Likewise.
26319         (remainder_test): Likewise.
26320         (sin_test): Likewise.
26321         (tan_test): Likewise.
26322         (yn_test): Likewise.
26323         (initialize): Set errno to 0.
26324         (main): Print number of errno tests.
26325         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26326
26327 2013-04-29  Andreas Jaeger  <aj@suse.de>
26328
26329         [BZ #15084]
26330         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26331         and RES_USEVC.
26332
26333         [BZ #15085]
26334         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26335         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26336         unimplemented.
26337
26338         [BZ #15380]
26339         * stdlib/random.c (__initstate): Return NULL if
26340         __initstate fails.
26341
26342         [BZ #15086]
26343         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26344         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26345         RES_SNGLKUPREOP.
26346
26347 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26348
26349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26350
26351 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26352
26353         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26354         of individual tests.
26355         (casin_test): Likewise.
26356         (casinh_test): Likewise.
26357
26358 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26359
26360         [BZ #15409]
26361         * math/s_catan.c (__catan): Handle arguments with large real or
26362         imaginary part separately without squaring.
26363         * math/s_catanf.c (__catanf): Likewise.
26364         * math/s_catanh.c (__catanh): Likewise.
26365         * math/s_catanhf.c (__catanhf): Likewise.
26366         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26367         and redefine.
26368         (__catanhl): Handle arguments with large real or imaginary part
26369         separately without squaring.
26370         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26371         and redefine.
26372         (__catanl): Handle arguments with large real or imaginary part
26373         separately without squaring.
26374         * math/libm-test.inc (catan_test): Add more tests.
26375         (catanh_test): Likewise.
26376         * sysdeps/i386/fpu/libm-test-ulps: Update.
26377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26378
26379 2013-04-27  Andreas Jaeger  <aj@suse.de>
26380
26381         [BZ #15007]
26382         * stdlib/stdlib.h: Update guards for qecvt.
26383         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26384         <stdlib.h>.
26385
26386 2013-04-27  Allan McRae  <allan@archlinux.org>
26387
26388         * sysdeps/i386/fpu/libm-test-ulps: Update.
26389
26390 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26391
26392         [BZ #15406]
26393         * math/s_catan.c: Include <float.h>.
26394         (__catan): Ensure underflow exception occurs for underflowed
26395         result.
26396         * math/s_catanf.c: Include <float.h>.
26397         (__catanf): Ensure underflow exception occurs for underflowed
26398         result.
26399         * math/s_catanh.c: Include <float.h>.
26400         (__catanh): Ensure underflow exception occurs for underflowed
26401         result.
26402         * math/s_catanhf.c: Include <float.h>.
26403         (__catanhf): Ensure underflow exception occurs for underflowed
26404         result.
26405         * math/s_catanhl.c: Include <float.h>.
26406         (__catanhl): Ensure underflow exception occurs for underflowed
26407         result.
26408         * math/s_catanl.c: Include <float.h>.
26409         (__catanl): Ensure underflow exception occurs for underflowed
26410         result.
26411         * math/libm-test.inc (catan_test): Add more tests.
26412         (catanh_test): Likewise.
26413
26414         [BZ #15405]
26415         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26416         underflowed result.
26417         * math/s_ccoshf.c (__ccoshf): Likewise.
26418         * math/s_ccoshl.c (__ccoshl): Likewise.
26419         * math/s_csin.c (__csin): Likewise.
26420         * math/s_csinf.c (__csinf): Likewise.
26421         * math/s_csinh.c (__csinh): Likewise.
26422         * math/s_csinhf.c (__csinhf): Likewise.
26423         * math/s_csinhl.c (__csinhl): Likewise.
26424         * math/s_csinl.c (__csinl): Likewise.
26425         * math/libm-test.inc (ccos_test): Add more tests.
26426         (ccosh_test): Likewise.
26427         (csin_test): Likewise.
26428         (csinh_test): Likewise.
26429
26430 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26431
26432         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26433         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26434         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26435         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26436         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26437         powerpc/power5+/fpu folders.
26438         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26439
26440
26441 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26442
26443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26444
26445 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26446
26447         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26448         additions to variable.
26449         [$(config-machine) = x86_64] (modules-names): Likewise.
26450         ($(objpfx)tst-audit3): Remove dependency.
26451         ($(objpfx)tst-audit3.out): Likewise.
26452         ($(objpfx)tst-audit4): Likewise.
26453         ($(objpfx)tst-audit4.out): Likewise.
26454         ($(objpfx)tst-audit5): Likewise.
26455         ($(objpfx)tst-audit5.out): Likewise.
26456         ($(objpfx)tst-audit6): Likewise.
26457         ($(objpfx)tst-audit6.out): Likewise.
26458         ($(objpfx)tst-audit7): Likewise.
26459         ($(objpfx)tst-audit7.out): Likewise.
26460         (tst-audit3-ENV): Remove variable.
26461         (tst-audit4-ENV): Likewise.
26462         (tst-audit5-ENV): Likewise.
26463         (tst-audit6-ENV): Likewise.
26464         (tst-audit7-ENV): Likewise.
26465         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26466         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26467         addition to variable.
26468         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26469         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26470         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26471         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26472         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26473         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26474         tst-audit3, tst-audit4 and tst-audit5.
26475         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26476         tst-audit6 and tst-audit7.
26477         [$(subdir) = elf] (modules-names): Add audit modules for those
26478         tests.
26479         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26480         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26481         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26482         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26483         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26484         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26485         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26486         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26487         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26488         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26489         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26490         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26491         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26492         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26493         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26494         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26495         Likewise.
26496         [$(subdir) = elf && $(config-cflags-avx) = yes]
26497         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26498         [$(subdir) = elf && $(config-cflags-avx) = yes]
26499         (CFLAGS-tst-auditmod4a.c): Likewise.
26500         [$(subdir) = elf && $(config-cflags-avx) = yes]
26501         (CFLAGS-tst-auditmod4b.c): Likewise.
26502         [$(subdir) = elf && $(config-cflags-avx) = yes]
26503         (CFLAGS-tst-auditmod6b.c): Likewise.
26504         [$(subdir) = elf && $(config-cflags-avx) = yes]
26505         (CFLAGS-tst-auditmod6c.c): Likewise.
26506         [$(subdir) = elf && $(config-cflags-avx) = yes]
26507         (CFLAGS-tst-auditmod7b.c): Likewise.
26508         * elf/tst-audit3.c: Move to ...
26509         * sysdeps/x86_64/tst-audit3.c: ... here.
26510         * elf/tst-audit4.c: Move to ...
26511         * sysdeps/x86_64/tst-audit4.c: ... here.
26512         * elf/tst-audit5.c: Move to ...
26513         * sysdeps/x86_64/tst-audit5.c: ... here.
26514         * elf/tst-audit6.c: Move to ...
26515         * sysdeps/x86_64/tst-audit6.c: ... here.
26516         * elf/tst-audit7.c: Move to ...
26517         * sysdeps/x86_64/tst-audit7.c: ... here.
26518         * elf/tst-auditmod3a.c: Move to ...
26519         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26520         * elf/tst-auditmod3b.c: Move to ...
26521         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26522         * elf/tst-auditmod4a.c: Move to ...
26523         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26524         * elf/tst-auditmod4b.c: Move to ...
26525         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26526         * elf/tst-auditmod5a.c: Move to ...
26527         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26528         * elf/tst-auditmod5b.c: Move to ...
26529         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26530         * elf/tst-auditmod6a.c: Move to ...
26531         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26532         * elf/tst-auditmod6b.c: Move to ...
26533         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26534         * elf/tst-auditmod6c.c: Move to ...
26535         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26536         * elf/tst-auditmod7a.c: Move to ...
26537         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26538         * elf/tst-auditmod7b.c: Move to ...
26539         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26540
26541 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26542
26543         [BZ #15366]
26544         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26545         define unconditionally.
26546         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26547         define unconditionally.
26548         (INT8_C, INT16_C, etc.): Likewise.
26549
26550 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26551
26552         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26553         __ehdr_start with hidden visibility.
26554
26555         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26556
26557 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26558
26559         * math/libm-test.inc (cos_test): Use accurate hex constants.
26560         (sincost_test): Likewise.
26561
26562 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26563
26564         * math/libm-test.inc (catan_test): Add more tests.
26565         (catanh_test): Likewise.
26566
26567         * math/s_catanf.c (__catanf): Use suffixed floating-point
26568         constants.
26569         * math/s_catanhf.c (__catanhf): Likewise.
26570         * math/s_catanhl.c (__catanhl): Likewise.
26571         * math/s_catanl.c (__catanl): Likewise.
26572
26573         [BZ #15394]
26574         * math/s_catan.c (__catan): Calculate imaginary part of result
26575         with log1p not log unless computing log of number close to 0.
26576         * math/s_catanf.c (__catanf): Likewise.
26577         * math/s_catanl.c (__catanl): Likewise.
26578         * math/s_catanh.c (__catanh): Calculate real part of result with
26579         log1p not log unless computing log of number close to 0.
26580         * math/s_catanhf.c (__catanhf): Likewise.
26581         * math/s_catanhl.c (__catanhl): Likewise.
26582         * math/libm-test.inc (catan_test): Add more tests.
26583         (catanh_test): Likewise.
26584         * sysdeps/i386/fpu/libm-test-ulps: Update.
26585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26586
26587 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26588
26589         * benchtests/Makefile: Mention files in which fast and slow
26590         paths of math functions are implemented.
26591
26592 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26593
26594         * sysdeps/posix/timespec_get.c: New file.
26595
26596 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26597
26598         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26599         POWER.
26600         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26601         for POWER.
26602         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26603         powerpc/power5/fpu folders.
26604         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26605         * benchtests/Makefile: Add modf testcase.
26606         * benchtests/bench-modf.c: New file: Benchmark test for mo
26607
26608 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26609
26610         [BZ #14888]
26611         * time/Makefile (tests): Add tst-strptime-whitespace.
26612         * time/strptime_l.c (get_number): Use ISSPACE.
26613         (__strptime_internal): Likewise.
26614         * time/tst-strptime-whitespace.c: New test case.
26615
26616 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26617
26618         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26619         member.
26620         (_nss_files_init): Set it here.
26621
26622 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26623
26624         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26625         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26626         unsigned.
26627
26628 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26629
26630         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26631
26632 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26633
26634         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26635         size just once.
26636
26637 2013-04-21  David S. Miller  <davem@davemloft.net>
26638
26639         * po/ru.po: Update Russion translation from translation project.
26640
26641 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26642
26643         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26644         and setfsgid.
26645
26646 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26647
26648         * configure.in: Remove i386 configure warning. Remove i386 case.
26649         * configure: Regenerate.
26650         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26651         Add example to error message.
26652         * sysdeps/i386/configure: Regenerate.
26653
26654 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26655
26656         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26657         slowtan.
26658         * benchtests/cos-inputs: New file.
26659         * benchtests/slowcos-inputs: New file.
26660         * benchtests/slowcos.c: New file.
26661         * benchtests/slowtan-inputs: New file.
26662         * benchtests/slowtan.c: New file.
26663         * benchtests/tan-inputs: New file.
26664
26665 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26666
26667         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26668         considered kosher.
26669
26670 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26671
26672         * benchtests/Makefile: Include cppflags-iterator.mk to add
26673         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26674
26675         * Makefile.in (bench-clean): New target.
26676         * benchtests/Makefile (bench-clean): Likewise.
26677
26678 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26679
26680         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26681
26682 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26683
26684         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26685
26686 2013-04-15  Andreas Schwab  <schwab@suse.de>
26687
26688         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26689         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26690         * nscd/pwdcache.c (cache_addpw): Likewise.
26691         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26692         more than recsize.
26693
26694 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26695
26696         * benchtests/Makefile (bench): Write all output to
26697         bench-out.tmp together.
26698
26699 2013-04-15  Andreas Schwab  <schwab@suse.de>
26700
26701         * nscd/nscd.c (main): Don't fork again after closing files.
26702
26703 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26704
26705         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26706
26707         * benchtests/Rules (bench-deps): Collect dependencies into a
26708         single variable.  Add Makefile to dependencies.
26709         ($(objpfx)bench-%.c): Depend on bench-deps.
26710
26711 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26712             Xavier Roche  <roche+kml2@exalead.com>
26713
26714         [BZ #15361]
26715         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26716         just that it's a file descriptor.
26717         * manual/llio.texi (Synchronizing AIO Operations): Update description
26718         for EBADF error from aio_fsync.
26719
26720 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26721
26722         * Rules (bench): Move target definition...
26723         * benchtests/Makefile: ... here.
26724
26725 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26726
26727         * math/libm-test.inc (cos_test): Fix PI/2 test.
26728         (sincos_test): Likewise.
26729         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26730         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26731
26732 2013-04-11  Andreas Schwab  <schwab@suse.de>
26733
26734         [BZ #13988]
26735         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26736         accept exponent character only when digits were seen.
26737         * stdio-common/Makefile (tests): Add bug26.
26738         * stdio-common/bug26.c: New file.
26739
26740         [BZ #14293]
26741         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26742         non-freeable.
26743
26744 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26745
26746         * Makeconfig (rtld-prefix): Define built linker prefix.
26747         * Rules (run-bench): Use it.
26748         * math/Makefile (run-regen-ulps): Likewise.
26749
26750         * Rules (bench): Remove eval.
26751
26752 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26753             Roland McGrath  <roland@hack.frob.com>
26754             Ondrej Bilka  <neleai@seznam.cz>
26755
26756         [BZ #15346]
26757         * time/getdate.c: Include ctype.h and alloca.h.
26758         (__getdate_r): Trim leading and trailing spaces of input.
26759         * time/tst-getdate.c (tests): Add tests with leading and
26760         trailing spaces.
26761
26762 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26763
26764         [BZ #14280]
26765         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26766         when computing value.
26767
26768 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26769
26770         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26771         Use testrun.sh to run libm tests.
26772
26773         [BZ #15309]
26774         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26775
26776 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26777
26778         [BZ #15264]
26779         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26780
26781 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26782
26783         * Makefile.in (regen-ulps): New target.
26784         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26785         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26786         [ifneq (no,$(PERL)] (regen-ulps): New target.
26787         [ifeq (no,$(PERL)] (regen-ulps): New target.
26788         * math/libm-test.inc (ulps_file_name): Define.
26789         (output_dir): New variable.
26790         (options): Add "output-dir" option.
26791         (parse_opt): Handle 'o' case.
26792         (main): If output_dir is non-NULL use it as a prefix
26793         otherwise use "".
26794         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26795
26796 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26797
26798         [BZ #10060, #10062]
26799         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26800         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26801         fail configure if __sync_val_compare_and_swap is not inlined.
26802         * sysdeps/i386/configure: Regenerate.
26803         * configure.in: Build for i686 when configured for i386.
26804         * configure: Regenerate.
26805         * README: Remove i386 reference.
26806
26807 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26808
26809         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26810         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26811
26812 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26813
26814         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26815         (lmsnanval): New variables.
26816         (F): Add conversion tests.
26817         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26818         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26819
26820         * stdio-common/tstdiomisc.c (F): Properly collect individual
26821         tests' results.
26822
26823         [BZ #14686, #15336]
26824         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26825         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26826         Instead, use input NaN values or generate a qNaN by arithmetic
26827         operation.  Also fix bugs to comply with the standard.
26828         * math/libm-test.inc (remainder_test): Add more tests.
26829
26830         [BZ #15335, #15342]
26831         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26832         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26833         input NaN values or generate a qNaN by arithmetic operation.
26834
26835         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26836         unreachable code.
26837
26838         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26839         definitions.
26840
26841 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26842
26843         [BZ #14478]
26844         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26845         underflowed result.
26846         * math/s_cexpf.c (__cexpf): Likewise.
26847         * math/s_cexpl.c (__cexpl): Likewise.
26848         * math/libm-test.inc (cexp_test): Add more tests.
26849
26850 2013-04-03  Andreas Schwab  <schwab@suse.de>
26851
26852         [BZ #15330]
26853         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26854         order arrays from heap if bigger than alloca cutoff.
26855
26856 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26857
26858         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26859         (SNAN_TESTS_double): Refer to GCC PR56831.
26860         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26861         GCC PR56828.
26862
26863 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26864
26865         * Rules (bench): Move bench.out after the run is complete.
26866
26867         * Rules (bench): Echo currently running benchmark.
26868
26869         * benchtests/Makefile (bench): Add atan and slowatan.
26870         * benchtests/atan-inputs: New file.
26871         * benchtests/slowatan-inputs: New file.
26872         * benchtests/slowatan.c: New file.
26873
26874         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26875         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26876         its value.
26877
26878         [BZ #15305]
26879         * sysdeps/unix/sysv/linux/kernel-features.h
26880         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26881         __ASSUME_XFS_RESTRICTED_CHOWN.
26882         * sysdeps/unix/sysv/linux/pathconf.c
26883         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26884         Save and restore errno.
26885
26886 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
26887
26888         [BZ #15327]
26889         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26890         arguments using __kernel_casinh.
26891         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26892         arguments using __kernel_casinhf.
26893         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26894         arguments using __kernel_casinhl.
26895         * math/libm-test.inc (cacosh_test): Add more tests.
26896         * sysdeps/i386/fpu/libm-test-ulps: Update.
26897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26898
26899 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26900
26901         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26902         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26903
26904         * bench/Makefile (bench): Add sin and slowsin.
26905         * benchtests/sin-inputs: New file.
26906         * benchtests/slowsin-inputs: New file.
26907         * benchtests/slowsin.c: New file.
26908
26909         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26910         (bench): Add slowexp and slowpow.
26911         (exp-ITER): Increase iterations.
26912         (pow-ITER): Likewise.
26913         * benchtests/exp-inputs: Change input.
26914         * benchtests/pow-inputs: Likewise.
26915         * benchtests/slowexp-inputs: New file.
26916         * benchtests/slowexp.c: New file.
26917         * benchtests/slowpow-inputs: New file.
26918         * benchtests/slowpow.c: New file.
26919
26920 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26921
26922         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26923         instructions.
26924         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26925         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26926         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26927         * benchtests/Makefile: Add rint benchtest.
26928         * benchtests/rint-inputs: Input for rint benchtest.
26929
26930 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26931
26932         * Versions.def (libm): Add GLIBC_2.18.
26933         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26934         hidden libm prototypes.
26935         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26936         * math/Makefile (libm-calls): Add s_issignaling.
26937         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26938         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
26939         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26940         declaration.
26941         * math/math.h [__USE_GNU] (issignaling): New macro.
26942         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26943         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26944         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26945         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26946         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26947         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26948         * manual/arith.texi (issignaling): New section.
26949         * manual/libm-err-tab.pl (@all_functions): Update comment.
26950         * math/gen-libm-test.pl (parse_args): Apply special handling for
26951         issignaling.
26952         * math/libm-test.inc (print_float, issignaling_test): New
26953         functions.
26954         (check_float_internal): Add issignaling checks.
26955         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26956         default definition.
26957         * sysdeps/powerpc/math-tests.h: New file.
26958         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26959         tests.
26960         * math/test-snan.c (TEST_FUNC): Likewise.
26961
26962 2013-03-30  David S. Miller  <davem@davemloft.net>
26963
26964         * po/de.po: Update from translation team.
26965
26966 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
26967
26968         [BZ #10357]
26969         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26970         imaginary part less than 1.0 and real part less than 0.5
26971         specially.
26972         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26973         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26974         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26975         (cacos_test): Add more tests.
26976         (casin_test): Likewise.
26977         (casinh_test): Likewise.
26978         * sysdeps/i386/fpu/libm-test-ulps: Update.
26979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26980
26981 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26982
26983         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26984         ONE with its value.
26985
26986         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26987         (__pow_mp): Replace ONE and MONE with their values.
26988         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26989         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26990         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26991         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26992         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26993         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26994
26995         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26996
26997         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26998         (__pow_mp): Replace ZERO and MZERO with their values.
26999         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27000         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27001         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27002         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27003         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27004         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27005         (__sqr): Likewise.
27006
27007         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27008
27009         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27010
27011 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27012
27013         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27014         Declare with __attribute__ ((weak)).
27015         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27016         Call __call_tls_dtors only if it's not NULL.
27017
27018 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27019
27020         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27021         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27022         magic __ehdr_start linker symbol if it's defined.
27023         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27024         them up here if it was already done.
27025
27026         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27027         (_dl_aux_init): Use const in cast when setting it.
27028         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27029         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27030         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27031
27032         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27033         Declare them here.
27034         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27035         * csu/libc-tls.c: Nor here.
27036         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27037
27038         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27039         (__libc_message): Never call vsyslog.
27040
27041 2013-03-28  Alan Modra  <amodra@gmail.com>
27042
27043         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27044         Define as empty.
27045         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27046         Likewise.
27047
27048 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27049
27050         [BZ #15214]
27051         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27052         underflow.
27053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27054
27055 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27056
27057         [BZ #15304]
27058         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27059         Don't add gid passed as argument.
27060
27061         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27062
27063 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27064
27065         [BZ #15307]
27066         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27067         imaginary part between 1.0 and 1.5 and real part less than 0.5
27068         specially.
27069         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27070         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27071         * math/libm-test.inc (cacos_test): Add more tests.
27072         (casin_test): Likewise.
27073         (casinh_test): Likewise.
27074         * sysdeps/i386/fpu/libm-test-ulps: Update.
27075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27076
27077 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27078
27079         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27080         constants.
27081         (norm): Likewise.
27082         (denorm): Likewise.
27083         (__dbl_mp): Likewise.
27084         (add_magnitudes): Likewise.
27085         (sub_magnitudes): Likewise.
27086         (__add): Likewise.
27087         (__sub): Likewise.
27088         (__mul): Likewise.
27089         (__sqr): Likewise.
27090         (__inv): Likewise.
27091         (__dvd): Likewise.
27092
27093         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27094         commented code.
27095         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27096         (__dubcos): Likewise.
27097         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27098         (__ieee754_acos): Likewise.
27099         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27100         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27101         (__exp1): Likewise.
27102         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27103         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27104         (log1): Likewise.
27105         (my_log2): Likewise.
27106         (checkint): Likewise.
27107         * sysdeps/ieee754/dbl-64/e_remainder.c
27108         (__ieee754_remainder): Likewise.
27109         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27110         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27111         (bsloww): Likewise.
27112         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27113
27114         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27115         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27116         MANTISSA_STORE_T to store computations on mantissa.  Use
27117         macros for rounding and division.
27118         (denorm): Likewise.
27119         (__dbl_mp): Likewise.
27120         (add_magnitudes): Likewise.
27121         (sub_magnitudes): Likewise.
27122         (__mul): Likewise.
27123         (__sqr): Likewise.
27124         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27125         powers of two in terms of TWOPOW macro.
27126         (mp_no): Make type of mantissa as MANTISSA_T.
27127         [!RADIXI]: Define RADIXI.
27128         [!TWO52]: Define TWO52.
27129         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27130
27131 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27132
27133         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27134         llroundl symbol when building for PPC32.
27135
27136 2013-03-24  Mark H Weaver  <mhw@netris.org>
27137
27138         * manual/arith.texi (Normalization Functions): Fix prototypes for
27139         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27140
27141 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27142
27143         [BZ #13889]
27144         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27145         high value to check if expl overflow.
27146         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27147         to check for underflow and overflow.
27148         * math/libm-test.inc: Add exp test.
27149
27150 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27151
27152         [BZ #11120]
27153         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27154         with NOT_IN_libc.
27155
27156 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27157
27158         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27159         symbol.
27160
27161 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27162
27163         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27164         wrap blocks consisting of several statements.
27165
27166         * sysdeps/generic/math-tests.h: New file.
27167         * sysdeps/i386/fpu/math-tests.h: Likewise.
27168         * math/test-snan.c: Include it.
27169         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27170
27171 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27172
27173         [BZ #15285]
27174         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27175         (__ieee754_j0l): Do not improve calculations using cos of twice
27176         input for inputs above LDBL_MAX / 2.0L.
27177         (__ieee754_y0l): Likewise.
27178         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27179         (__ieee754_j1l): Do not improve calculations using cos of twice
27180         input for inputs above LDBL_MAX / 2.0L.
27181         (__ieee754_y1l): Likewise.
27182         * math/libm-test.inc (j0_test): Add another test.
27183         (j1_test): Likewise.
27184         (y0_test): Likewise.
27185         (y1_test): Likewise.
27186         * sysdeps/i386/fpu/libm-test-ulps: Update.
27187
27188 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27189
27190         * Rules ($(objpfx)bench-%.c): Include code from a C source
27191         file.
27192
27193 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27194
27195         [BZ #15287]
27196         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27197         imaginary part 1.0 and real part less than 0.5 specially.
27198         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27199         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27200         * math/libm-test.inc (cacos_test): Add more tests.
27201         (casin_test): Likewise.
27202         (casinh_test): Likewise.
27203         * sysdeps/i386/fpu/libm-test-ulps: Update.
27204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27205
27206 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27207
27208         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27209         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27210
27211 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27212
27213         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27214         * config.make.in (config-cflags-sse4): Remove variable.
27215         (config-cflags-avx): Likewise.
27216         (config-cflags-sse2avx): Likewise.
27217         (config-cflags-novzeroupper): Likewise.
27218         (config-asflags-i686): Likewise.
27219         (have-mfma4): Likewise.
27220         (have-as-vis3): Likewise.
27221         (MIG): Likewise.
27222         * configure.in (MIG): Do not AC_SUBST.
27223         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27224         (libc_cv_cc_sse4): Do not AC_SUBST.
27225         (libc_cv_cc_avx): Likewise.
27226         (libc_cv_cc_sse2avx): Likewise.
27227         (libc_cv_cc_novzeroupper): Likewise.
27228         (libc_cv_cc_fma4): Likewise.
27229         (libc_cv_as_i686): Likewise.
27230         (libc_cv_sparc_as_vis3): Likewise.
27231         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27232         LIBC_CONFIG_VAR.
27233         (config-asflags-i686): Likewise.
27234         (config-cflags-avx): Likewise.
27235         (config-cflags-sse2avx): Likewise.
27236         (have-mfma4): Likewise.
27237         (config-cflags-novzeroupper): Likewise.
27238         * sysdeps/mach/configure.in (MIG): Likewise.
27239         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27240         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27241         LIBC_CONFIG_VAR.
27242         (config-cflags-avx): Likewise.
27243         (config-cflags-sse2avx): Likewise.
27244         (have-mfma4): Likewise.
27245         (config-cflags-novzeroupper): Likewise.
27246         * configure: Regenerated.
27247         * sysdeps/i386/configure: Likewise.
27248         * sysdeps/mach/configure: Likewise.
27249         * sysdeps/sparc/configure: Likewise.
27250         * sysdeps/x86_64/configure: Likewise.
27251
27252 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27253
27254         [BZ #14812]
27255         * locale/programs/localedef.c (options): Put N_ translation marker
27256         on argument names, not just descriptions.
27257
27258 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27259
27260         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27261
27262 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27263
27264         [BZ #14176]
27265         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27266
27267 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27268
27269         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27270         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27271         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27272         [!BEFORE_ABORT] (before_abort): New function.
27273         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27274         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27275         (writev_for_fatal): New function.
27276         (WRITEV_FOR_FATAL): New macro; call that.
27277         (backtrace_and_maps): New function.
27278         (BEFORE_ABORT): New macro; call that.
27279         (struct str_list): Type removed.
27280         (__libc_message, __libc_fatal): Functions removed.
27281         Include <sysdeps/posix/libc_fatal.c> instead.
27282
27283 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27284
27285         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27286         constants.
27287         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27288         double constants.
27289
27290 2013-03-19  Andreas Schwab  <schwab@suse.de>
27291
27292         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27293         * sysdeps/gnu/configure: Regenerate.
27294
27295         * configure.in: Substitute libc_cv_rtlddir.
27296         * configure: Regenerate.
27297         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27298         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27299         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27300         * elf/Makefile (install-others, CFLAGS-interp.c)
27301         (ldso_install, common-ldd-rewrite): Likewise.
27302         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27303         $(inst_slibdir)/$(rtld-installed-name).
27304         * scripts/rellns-sh: Add -p option.
27305         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27306         for source.
27307
27308 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27309
27310         * manual/nptl.texi: Renamed to ...
27311         * manual/threads.texi: ... this.
27312         * manual/Makefile (chapters): Update.
27313
27314 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27315
27316         [BZ #14812]
27317         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27318         on argument names, not just descriptions.
27319         * malloc/memusagestat.c (options): Likewise.
27320         * nss/getent.c (options): Likewise.
27321
27322 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27323
27324         [BZ #14812]
27325         * iconv/iconv_prog.c (options): Put N_ translation marker
27326         on argument names, not just descriptions.
27327         * iconv/iconvconfig.c (options): Likewise.
27328
27329 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27330
27331         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27332         implementation which is faster on all x86_64 architectures.
27333         Tested on AMD, Intel Nehalem, SNB, IVB.
27334         * sysdeps/x86_64/strnlen.S: Likewise.
27335
27336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27337         Remove all multiarch strlen and strnlen versions.
27338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27339         Remove strlen and strnlen related parts.
27340
27341         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27342         Inline strlen part.
27343         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27344
27345         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27346         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27347         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27348         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27349         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27350         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27351
27352 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27353
27354         * manual/memory.texi (Malloc Tunable Parameters):
27355         Sort parameters alphabetically. Add comments for missing entries.
27356
27357 2013-03-17  David S. Miller  <davem@davemloft.net>
27358
27359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27360
27361 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27362
27363         [BZ #15283]
27364         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27365         for arguments at most half maximum finite value.
27366         * math/libm-test.inc (j0_test): Add more tests.
27367         (j1_test): Likewise.
27368         (y0_test): Likewise.
27369         (y1_test): Likewise.
27370         * sysdeps/i386/fpu/libm-test-ulps: Update.
27371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27372
27373         [BZ #14155]
27374         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27375         1 / x and functions P and Q for arguments above 0x1p256L.
27376         (__ieee754_y0l): Likewise.
27377         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27378         (__ieee754_y1l): Likewise.
27379         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27380         (j1_test): Likewise.
27381         (y0_test): Likewise.
27382         (y1_test): Likewise.
27383
27384 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27385
27386         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27387         variable.
27388
27389 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27390
27391         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27392         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27393         zero since it's initialized to EXEC_PAGESIZE.
27394
27395         * sysdeps/unix/sysv/linux/ldsodefs.h
27396         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27397         * sysdeps/generic/ldsodefs.h: ... here.
27398
27399 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27400
27401         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27402
27403         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27404         math/test-snan.c.
27405         * math/test-snan.c: Renamed from
27406         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27407         * math/Makefile (tests): Add test-snan.
27408         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27409         test-powerpc-snan.
27410
27411         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27412         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27413         functions.
27414         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27415         __builtin_nan family of functions.
27416         * math/libm-test.inc (initialize): Initialize qnan_value with
27417         __builtin_nan family of functions.
27418         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27419         Remove variables.
27420         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27421         Remove functions.
27422         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27423         storage class.  Initialize qNaN_var and sNaN_var with
27424         __builtin_nan and __builtin_nans families of functions,
27425         respectively.
27426
27427         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27428         (sqrt_test): Remove duplicate test with qNaN input.
27429         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27430         (round_test, signbit_test, significand_test): Note missing +/-Inf
27431         as well as qNaN tests.
27432
27433         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27434         qNaN_var.  Fix a few strings, too.
27435         * math/libm-test.inc (nan_value): Rename to qnan_value.
27436         * math/gen-libm-test.pl (%beautify): Adjust to that.
27437         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27438         * math/test-misc.c (main): Likewise.
27439         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27440         to __qnan_bytes, and __qnan_union, respectively.
27441         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27442         Likewise.
27443         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27444         and lqnanval, respectively.
27445         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27446         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27447         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27448         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27449
27450         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27451         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27452         doubles.
27453
27454         * math/test-misc.c (main): Fix copy'n'pastos.
27455         * misc/tst-efgcvt.c (special): Likewise.
27456
27457         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27458         Remove declarations.
27459
27460 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27461
27462         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27463         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27464         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27465         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27466
27467 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27468
27469         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27470         macro to return vdso values correctly in IFUNC implementations.
27471         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27472         Optimization by using IFUNC.
27473
27474 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27475             Richard Henderson  <rth@redhat.com>
27476             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27477
27478         * Makefile.in (bench): New target.
27479         * NEWS: Mention the benchmark framework.
27480         * Rules (bench): Likewise.
27481         (binaries-bench): Generate binaries for functions to
27482         benchmark.
27483         * benchtests/Makefile: New makefile for benchmark tests.
27484         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27485         programs.
27486         * benchtests/exp-inputs: New input file for EXP function.
27487         * benchtests/pow-inputs: New input file for POW function.
27488         * scripts/bench.pl: New script to generate source files for
27489         benchmark programs.
27490
27491 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27492
27493         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27494         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27495         computations on mantissa.  Use macros for rounding and
27496         division.
27497         (denorm): Likewise.
27498         (__dbl_mp): Likewise.
27499         (add_magnitudes): Likewise.
27500         (sub_magnitudes): Likewise.
27501         (__mul): Likewise.
27502         (__sqr): Likewise.
27503         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27504         powers of two in terms of TWOPOW macro.
27505         (mp_no): Make type of mantissa as MANTISSA_T.
27506         [!RADIXI]: Define RADIXI.
27507         [!TWO52]: Define TWO52.
27508         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27509
27510         * manual/nptl.texi (cindex): Modify threads to pthreads.
27511
27512 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27513
27514         * sysdeps/x86_64/preconfigure: Regenerated.
27515
27516 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27517
27518         [BZ #14155]
27519         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27520         0x1p28 and above.
27521         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27522         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27523         0x1p28 and above.
27524         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27525         * math/libm-test.inc (j0_test): Do not allow one spurious
27526         underflow exception.
27527         (y1_test): Likewise.
27528
27529 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27530
27531         * manual/Makefile (chapters): Add nptl.
27532         * manual/debug.texi (Debugging Support): Add link to Threads
27533         chapter.
27534         * manual/nptl.texi: New file.
27535
27536         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27537
27538 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27539
27540         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27541         for non-NULL pointer before the memory validity test. Pointed
27542         out by Holger Brunck <holger.brunck@keymile.com>.
27543
27544 2013-03-13  Andreas Schwab  <schwab@suse.de>
27545
27546         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27547         instead of .os.
27548
27549 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27550
27551         * timezone/zic.c: Update from tzcode 2013b.
27552
27553 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27554
27555         * manual/install.texi (Configuring and compiling):
27556         Mention i686 and i586.
27557         * INSTALL: Regenerate.
27558
27559 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27560
27561         * sysdeps/init_array/elf-init.c: New file.
27562         * csu/elf-init.c
27563         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27564         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27565
27566         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27567         __gmon_start__ as global, but as static with a .preinit_array pointer.
27568         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27569         * sysdeps/init_array/crti.S: New file, empty except for comments.
27570         * sysdeps/init_array/crtn.S: Likewise.
27571
27572 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27573
27574         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27575         definining bcopy.
27576         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27577         Remove Prefer_SSE_for_memop.
27578         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27579         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27580         HAS_PREFER_SSE_FOR_MEMOP.
27581         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27582         memset-x86-64.
27583         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27584         Remove bzero, memset ifunc support.
27585         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27586         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27587         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27588         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27589
27590 2013-03-11  Andreas Schwab  <schwab@suse.de>
27591
27592         [BZ #15234]
27593         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27594         by SHLIB_COMPAT.
27595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27596         (GLIBC_2.16): Remove pthread_atfork.
27597
27598 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27599
27600         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27601         (ptestcases.h): Likewise.
27602
27603 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27604
27605         * Makeconfig ($(common-objpfx)config.status): Depend on
27606         sysdeps/*/preconfigure{,.in} too.
27607
27608 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27609
27610         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27611         (__free_hook): Use void * instead of __malloc_ptr_t.
27612         (__malloc_hook): Likewise.
27613         (__realloc_hook): Likewise.
27614         (__memalign_hook): Likewise.
27615         (__after_morecore_hook): Likewise.
27616         * malloc/arena.c (save_malloc_hook): Likewise.
27617         (save_free_hook): Likewise.
27618         * malloc/hooks.c (malloc_hook_ini): Likewise.
27619         (realloc_hook_ini): Likewise.
27620         (memalign_hook_ini): Likewise.
27621         * malloc/malloc.c (malloc_hook_ini): Likewise.
27622         (realloc_hook_ini): Likewise.
27623         (memalign_hook_ini): Likewise.
27624         (__free_hook): Likewise.
27625         (__malloc_hook): Likewise.
27626         (__realloc_hook): Likewise.
27627         (__memalign_hook): Likewise.
27628         (__libc_malloc): Likewise.
27629         (__libc_free): Likewise.
27630         (__libc_realloc): Likewise.
27631         (__libc_memalign): Likewise.
27632         (__libc_valloc): Likewise.
27633         (__libc_pvalloc): Likewise.
27634         (__libc_calloc): Likewise.
27635         (__posix_memalign): Likewise.
27636         * malloc/morecore.c (__sbrk): Likewise.
27637         (__default_morecore): Likewise.
27638
27639         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27640
27641         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27642         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27643         __malloc_ptrdiff_t.
27644
27645         * malloc/malloc.h (__malloc_size_t): Remove macro.
27646         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27647         __malloc_size_t.
27648         (old_memalign_hook): Likewise.
27649         (old_realloc_hook): Likewise.
27650         (struct hdr): Likewise.
27651         (flood): Likewise.
27652         (mallochook): Likewise.
27653         (memalignhook): Likewise.
27654         (reallochook): Likewise.
27655         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27656         (tr_old_realloc_hook): Likewise.
27657         (tr_old_memalign_hook): Likewise.
27658         (tr_mallochook): Likewise.
27659         (tr_reallochook): Likewise.
27660         (tr_memalignhook): Likewise.
27661
27662 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27663
27664         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27665         default_ldbl_pack and using as default implementation.
27666         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27667         implementation.
27668         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27669         redundant definition.
27670         (ldbl_insert_mantissa): Likewise.
27671         (ldbl_canonicalize): Likewise.
27672         (ldbl_nearbyint): Likewise.
27673         (ldbl_pack): Rename to ldbl_pack_ppc.
27674         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27675         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27676         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27677
27678 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27679
27680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27681         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27682         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27683         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27685         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27686         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27687         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27688
27689 2013-03-07  Andreas Jaeger  <aj@suse.de>
27690
27691         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27692         bits/mman-linux.h.
27693
27694 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27695
27696         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27697         Include mpa.h and declare __MPEXP.
27698         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27699         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27700         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27701         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27702         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27703         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27704         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27705
27706         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27707         (__slowpow): Use long double EXPL and LOGL functions to
27708         compute POW.
27709         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27710         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27711         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27712         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27713         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27714         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27715
27716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27717         intermediate variable to calculate exponent.
27718         (__sqr): Likewise.
27719         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27720         Likewise.
27721         (__sqr): Likewise.
27722
27723         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27724         [!NO__SQR]: Define __sqr.
27725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27726         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27727         sysdeps/ieee754/dbl-64/mpa.c.
27728         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27729
27730         [BZ #12723]
27731         * posix/Makefile (tests): Add tst-pathconf.
27732         * posix/tst-pathconf.c: New test case.
27733         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27734         _PC_PIPE_BUF.
27735         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27736
27737 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27738
27739         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27740
27741 2013-03-06  Andreas Jaeger  <aj@suse.de>
27742
27743         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27744         definition via __MAP_ANONYMOUS.
27745
27746         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27747         it's not part of Linux headers.
27748
27749         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27750         (MAP_HUGE_MASK): Define.
27751
27752         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27753         Define.
27754         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27755         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27756         Define.
27757         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27758         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27759         Define.
27760         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27761         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27762         Define.
27763         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27764
27765         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27766         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27767         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27768         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27769         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27770         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27771
27772         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27773         Handle f2fs.
27774
27775         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27776         Handle f2fs and efivarfs.
27777
27778         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27779         f2fs.
27780
27781         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27782         (EFIVARFS_MAGIC): Add.
27783         (F2FS_LINK_MAX): Add.
27784
27785 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27786
27787         * stdio-common/vfprintf.c: Replace __builtin_expect with
27788         __glibc_unlikely.
27789
27790 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27791
27792         [BZ #13550]
27793         * sysdeps/generic/bp-sym.h: Remove file.
27794         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27795         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27796         <bp-sym.h> and <bp-asm.h>.
27797         (__longjmp): Don't use BP_SYM.
27798         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27799         and <bp-asm.h>.
27800         (memcpy): Don't use BP_SYM.
27801         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27802         <bp-sym.h> and <bp-asm.h>.
27803         (memcpy): Don't use BP_SYM.
27804         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27805         <bp-asm.h>.
27806         (memcpy): Don't use BP_SYM.
27807         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27808         <bp-asm.h>.
27809         (memset): Don't use BP_SYM.
27810         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27811         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27812         (__bzero): Don't use BP_SYM.
27813         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27814         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27815         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27816         <bp-sym.h> and <bp-asm.h>.
27817         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27818         pointers.
27819         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27820         <bp-sym.h> and <bp-asm.h>.
27821         (memcpy): Don't use BP_SYM.
27822         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27823         <bp-sym.h> and <bp-asm.h>.
27824         (memset): Don't use BP_SYM.
27825         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27826         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27827         (__bzero): Don't use BP_SYM.
27828         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27829         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27830         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27831         <bp-sym.h> and <bp-asm.h>.
27832         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27833         pointers.
27834         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27835         <bp-sym.h> and <bp-asm.h>.
27836         (memcpy): Don't use BP_SYM.
27837         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27838         <bp-sym.h> and <bp-asm.h>.
27839         (memset): Don't use BP_SYM.
27840         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27841         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27842         (__bzero): Don't use BP_SYM.
27843         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27844         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27845         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27846         <bp-sym.h> and <bp-asm.h>.
27847         (__memchr): Don't use BP_SYM.
27848         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27849         <bp-sym.h> and <bp-asm.h>.
27850         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27851         pointers.
27852         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27853         <bp-sym.h> and <bp-asm.h>.
27854         (memcpy): Don't use BP_SYM.
27855         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27856         <bp-sym.h> and <bp-asm.h>.
27857         (__mempcpy): Don't use BP_SYM.
27858         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27859         <bp-sym.h> and <bp-asm.h>.
27860         (__memrchr): Don't use BP_SYM.
27861         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27862         <bp-sym.h> and <bp-asm.h>.
27863         (memset): Don't use BP_SYM.
27864         (__bzero): Likewise.
27865         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27866         <bp-sym.h> and <bp-asm.h>.
27867         (__rawmemchr): Don't use BP_SYM.
27868         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27869         <bp-sym.h> and <bp-asm.h>.
27870         (__STRCMP): Don't use BP_SYM.
27871         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27872         <bp-sym.h> and <bp-asm.h>.
27873         (strchr): Don't use BP_SYM.
27874         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27875         <bp-sym.h> and <bp-asm.h>.
27876         (__strchrnul): Don't use BP_SYM.
27877         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27878         <bp-sym.h> and <bp-asm.h>.
27879         (strlen): Don't use BP_SYM.
27880         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27881         <bp-sym.h> and <bp-asm.h>.
27882         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27883         pointers.
27884         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27885         <bp-sym.h> and <bp-asm.h>.
27886         (__strnlen): Don't use BP_SYM.
27887         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27888         <bp-sym.h> and <bp-asm.h>.
27889         (__GI__setjmp): Don't use BP_SYM.
27890         (_setjmp): Likewise.
27891         (__sigsetjmp): Likewise.
27892         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27893         (L(start_addresses)): Don't use BP_SYM.
27894         (_start): Likewise.
27895         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27896         <bp-asm.h>.
27897         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27898         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27899         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27900         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27901         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27902         <bp-asm.h>.
27903         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27904         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
27905         about bounded pointers.
27906         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27907         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27908         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27909         <bp-asm.h>.
27910         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27911         about bounded pointers.  Remove GKM FIXME comments.
27912         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27913         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27914         <bp-asm.h>.
27915         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27916         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
27917         Remove GKM FIXME comments.
27918         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27919         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27920         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27921         <bp-asm.h>.
27922         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27923         about bounded pointers.  Remove GKM FIXME comment.
27924         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27925         and <bp-asm.h>.
27926         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27927         pointers.
27928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27929         <bp-sym.h> and <bp-asm.h>.
27930         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27932         <bp-sym.h> and <bp-asm.h>.
27933         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27934         comment.
27935
27936 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27937
27938         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27939         call free(NULL).
27940
27941 2013-03-05  David S. Miller  <davem@davemloft.net>
27942
27943         * po/es.po: Update from translation team.
27944
27945 2013-03-05  Andreas Jaeger  <aj@suse.de>
27946
27947         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27948         <bits/mman-linux.h>.
27949         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27950         is fine.
27951         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27952         <bits/mman-linux.h> to end of file.
27953         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27954         is fine.
27955         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27956         <bits/mman-linux.h> to end of file.
27957         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27958         is fine.
27959         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27960         <bits/mman-linux.h> to end of file.
27961
27962         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27963         (MCL_CURRENT, MCL_FUTURE): Define here.
27964
27965 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27966
27967         [BZ #15232]
27968         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27969         attribute_hidden.
27970         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27971
27972 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27973
27974         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27975         fourth parameter needed for rt_sigprocmask syscall.
27976         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27977         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27978         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27979         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27980         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27981         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27982
27983 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
27984
27985         [BZ #13550]
27986         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27987         comment about bounded pointers.
27988         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27989         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27990
27991 2013-03-04  Andreas Jaeger  <aj@suse.de>
27992
27993         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27994         common definitions.
27995
27996         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27997         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27998         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27999         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28000         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28001         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28002
28003 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28004
28005         [BZ #15055]
28006         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28007         __ieee754_sqrl instead of __sqrl.
28008
28009 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28010
28011         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28012         * sysdeps/powerpc/fpu_control.h: ... here.
28013         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28014         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28015         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28016         * sysdeps/powerpc/bits/mathinline.h: ... here.
28017
28018 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28019
28020         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28021         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28022         to just [NEED_DL_SYSINFO_DSO].
28023         * elf/dl-support.c: Likewise.
28024         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28025         * elf/rtld.c (dl_main): Likewise.
28026         * elf/setup-vdso.h (setup_vdso): Likewise.
28027         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28028         * sysdeps/unix/sysv/linux/dl-sysdep.c
28029         (_dl_discover_osversion): Likewise.
28030
28031 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28032
28033         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28034         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28035
28036 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28037
28038         * NEWS: Mention libm performance improvements and non-x86 PI
28039         futex support.
28040
28041         * csu/libc-start.c (__pthread_initialize_minimal): Change
28042         function arguments.
28043         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28044
28045 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28046
28047         [BZ #13550]
28048         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28049         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28050         <bp-sym.h> and <bp-asm.h>.
28051         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28052         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28053         and <bp-asm.h>.
28054         (memcpy): Don't use BP_SYM.
28055         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28056         <bp-asm.h>.
28057         (__mpn_add_n): Don't use BP_SYM.
28058         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28059         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28060         and <bp-asm.h>.
28061         (__mpn_addmul_1): Don't use BP_SYM.
28062         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28063         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28064         <bp-sym.h>.
28065         (_setjmp): Don't use BP_SYM.
28066         (__novmx_setjmp): Likewise.
28067         (__GI__setjmp): Likewise.
28068         (__vmx_setjmp): Likewise.
28069         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28070         <bp-sym.h>.
28071         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28072         (__bzero): Don't use BP_SYM.
28073         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28074         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28075         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28076         <bp-sym.h> and <bp-asm.h>.
28077         (memcpy): Don't use BP_SYM.
28078         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28079         <bp-sym.h> and <bp-asm.h>.
28080         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28081         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28082         <bp-sym.h> and <bp-asm.h>.
28083         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28084         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28085         <bp-asm.h>.
28086         (__mpn_lshift): Don't use BP_SYM.
28087         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28088         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28089         <bp-asm.h>.
28090         (memset): Don't use BP_SYM.
28091         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28092         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28093         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28094         <bp-asm.h>.
28095         (__mpn_mul_1): Don't use BP_SYM.
28096         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28097         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28098         <bp-sym.h> and <bp-asm.h>.
28099         (memcmp): Don't use BP_SYM.
28100         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28101         <bp-sym.h> and <bp-asm.h>.
28102         (memcpy): Don't use BP_SYM.
28103         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28104         <bp-sym.h> and <bp-asm.h>.
28105         (memset): Don't use BP_SYM.
28106         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28107         <bp-sym.h> and <bp-asm.h>.
28108         (strncmp): Don't use BP_SYM.
28109         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28110         <bp-sym.h> and <bp-asm.h>.
28111         (memcpy): Don't use BP_SYM.
28112         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28113         <bp-sym.h> and <bp-asm.h>.
28114         (memset): Don't use BP_SYM.
28115         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28116         <bp-sym.h> and <bp-asm.h>.
28117         (__memchr): Don't use BP_SYM.
28118         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28119         <bp-sym.h> and <bp-asm.h>.
28120         (memcmp): Don't use BP_SYM.
28121         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28122         <bp-sym.h> and <bp-asm.h>.
28123         (memcpy): Don't use BP_SYM.
28124         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28125         <bp-sym.h> and <bp-asm.h>.
28126         (__mempcpy): Don't use BP_SYM.
28127         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28128         <bp-sym.h> and <bp-asm.h>.
28129         (__memrchr): Don't use BP_SYM.
28130         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28131         <bp-sym.h> and <bp-asm.h>.
28132         (memset): Don't use BP_SYM.
28133         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28134         <bp-sym.h> and <bp-asm.h>.
28135         (__rawmemchr): Don't use BP_SYM.
28136         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28137         <bp-sym.h> and <bp-asm.h>.
28138         (__STRCMP): Don't use BP_SYM.
28139         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28140         <bp-sym.h> and <bp-asm.h>.
28141         (strchr): Don't use BP_SYM.
28142         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28143         <bp-sym.h> and <bp-asm.h>.
28144         (__strchrnul): Don't use BP_SYM.
28145         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28146         <bp-sym.h> and <bp-asm.h>.
28147         (strlen): Don't use BP_SYM.
28148         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28149         <bp-sym.h> and <bp-asm.h>.
28150         (strncmp): Don't use BP_SYM.
28151         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28152         <bp-sym.h> and <bp-asm.h>.
28153         (__strnlen): Don't use BP_SYM.
28154         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28155         <bp-asm.h>.
28156         (__mpn_rshift): Don't use BP_SYM.
28157         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28158         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28159         <bp-sym.h> and <bp-asm.h>.
28160         (__sigsetjmp): Don't use BP_SYM.
28161         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28162         (L(start_addresses)): Don't use BP_SYM.
28163         (_start): Likewise.
28164         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28165         <bp-asm.h>.
28166         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28167         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28168         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28169         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28170         <bp-asm.h>.
28171         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28172         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28173         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28174         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28175         <bp-asm.h>.
28176         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28177         comments.
28178         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28179         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28180         <bp-asm.h>.
28181         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28182         FIXME comments.
28183         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28184         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28185         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28186         <bp-asm.h>.
28187         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28188         comment.
28189         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28190         and <bp-asm.h>.
28191         (strncmp): Don't use BP_SYM,
28192         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28193         <bp-asm.h>.
28194         (__mpn_sub_n): Don't use BP_SYM.
28195         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28196         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28197         and <bp-asm.h>.
28198         (__mpn_submul_1): Don't use BP_SYM.
28199         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28201         <bp-sym.h> and <bp-asm.h>.
28202         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28204         <bp-sym.h> and <bp-asm.h>.
28205         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28206         comment.
28207
28208 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28209
28210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28211         Use ZK to minimize writes to Z.
28212         (sub_magnitudes): Simplify code a bit.
28213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28214         Use ZK to minimize writes to Z.
28215         (sub_magnitudes): Simplify code a bit.
28216
28217 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28218
28219         * csu/gmon-start.c: Add special exception to license text.
28220
28221 2013-02-27  Richard Henderson  <rth@redhat.com>
28222
28223         * scripts/config.guess: Update from config.git.
28224         * scripts/config.sub: Likewise.
28225
28226 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28227
28228         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28229
28230         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28231
28232         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28233
28234         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28235
28236         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28237
28238 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28239
28240         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28241         [$(build-shared = yes].
28242
28243 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28244
28245         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28246         (__mul): Reduce iterations for calculating mantissa.
28247
28248         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28249         MPTWO.
28250         (__mpranred): Likewise.
28251
28252         [BZ #15160]
28253         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28254         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28255
28256 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28257
28258         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28259         Define __attribute__.
28260
28261 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28262
28263         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28264         unused.
28265         * posix/regex_internal.h (__attribute): Remove.
28266         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28267         (re_string_context_at): Likewise.
28268         (bitset_not): Use __attribute__ and mark function as possibly
28269         unused.
28270         (bitset_merge): Likewise.
28271         (bitset_mask): Likewise.
28272         (re_string_char_size_at): Likewise.
28273         (re_string_wchar_at): Likewise.
28274         (re_string_elem_size_at): Likewise.
28275
28276 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28277
28278         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28279         code.
28280         (cc32): Likewise.
28281
28282         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28283         (__acr): Likewise.
28284         (__cpy): Likewise.
28285         (norm): Likewise.
28286         (denorm): Likewise.
28287         (__dbl_mp): Likewise.
28288         (add_magnitudes): Likewise.
28289         (sub_magnitudes): Likewise.
28290         (__mul): Likewise.
28291         (__inv): Likewise.
28292
28293         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28294         style.
28295
28296         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28297         style.
28298
28299         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28300         code.
28301
28302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28303         up changes with default code.
28304         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28305         Likewise.
28306
28307 2013-02-24  Allan McRae  <allan@archlinux.org>
28308
28309         * manual/socket.texi (The Internet Namespace): Order menu items
28310         to match that in the file.
28311
28312         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28313         node listing of the info page menu.
28314
28315 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28316
28317         [BZ #13550]
28318         * sysdeps/i386/bp-asm.h: Remove file.
28319         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28320         (PARMS): Do not use macros from bp-asm.h.
28321         (S1): Likewise.
28322         (S2): Likewise.
28323         (SIZE): Likewise.
28324         (__mpn_add_n): Do not use BP_SYM
28325         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28326         "bp-asm.h".
28327         (PARMS): Do not use macros from bp-asm.h.
28328         (S1): Likewise.
28329         (SIZE): Likewise.
28330         (__mpn_addmul_1): Do not use BP_SYM
28331         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28332         "bp-asm.h".
28333         (PARMS): Do not use macros from bp-asm.h.
28334         (SIGMSK): Likewise.
28335         (_setjmp): Likewise.  Do not use BP_SYM.
28336         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28337         "bp-asm.h".
28338         (PARMS): Do not use macros from bp-asm.h.
28339         (SIGMSK): Likewise.
28340         (setjmp): Likewise.  Do not use BP_SYM.
28341         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28342         "bp-asm.h".
28343         (PARMS): Do not use macros from bp-asm.h.
28344         (__frexp): Do not use BP_SYM.
28345         (frexp): Likewise.
28346         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28347         "bp-asm.h".
28348         (PARMS): Do not use macros from bp-asm.h.
28349         (__frexpf): Do not use BP_SYM.
28350         (frexpf): Likewise.
28351         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28352         "bp-asm.h".
28353         (PARMS): Do not use macros from bp-asm.h.
28354         (__frexpl): Do not use BP_SYM.
28355         (frexpl): Likewise.
28356         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28357         "bp-asm.h".
28358         (PARMS): Do not use macros from bp-asm.h.
28359         (__remquo): Do not use BP_SYM.
28360         (remquo): Likewise.
28361         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28362         "bp-asm.h".
28363         (PARMS): Do not use macros from bp-asm.h.
28364         (__remquof): Do not use BP_SYM.
28365         (remquof): Likewise.
28366         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28367         "bp-asm.h".
28368         (PARMS): Do not use macros from bp-asm.h.
28369         (__remquol): Do not use BP_SYM.
28370         (remquol): Likewise.
28371         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28372         "bp-asm.h".
28373         (PARMS): Do not use macros from bp-asm.h.
28374         (DEST): Likewise.
28375         (SRC): Likewise.
28376         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28377         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28378         "bp-asm.h".
28379         (PARMS): Do not use macros from bp-asm.h.
28380         (strlen): Do not use BP_SYM.
28381         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28382         "bp-asm.h".
28383         (PARMS): Do not use macros from bp-asm.h.
28384         (S1): Likewise.
28385         (S2): Likewise.
28386         (SIZE): Likewise.
28387         (__mpn_add_n): Do not use BP_SYM.
28388         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28389         "bp-asm.h".
28390         (PARMS): Do not use macros from bp-asm.h.
28391         (S1): Likewise.
28392         (SIZE): Likewise.
28393         (__mpn_addmul_1): Do not use BP_SYM.
28394         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28395         weak_alias.
28396         (bzero): Likewise.
28397         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28398         "bp-asm.h".
28399         (PARMS): Do not use macros from bp-asm.h.
28400         (S): Likewise.
28401         (SIZE): Likewise.
28402         (__mpn_lshift): Do not use BP_SYM.
28403         * sysdeps/i386/i586/memcpy.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         (SRC): Likewise.
28408         (LEN): Likewise.
28409         (memcpy): Likewise.  Do not use BP_SYM.
28410         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28411         libc_hidden_def and weak_alias.
28412         (mempcpy): Do not use BP_SYM in weak_alias.
28413         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28414         "bp-asm.h".
28415         (PARMS): Do not use macros from bp-asm.h.
28416         (DEST): Likewise.
28417         (LEN): Likewise.
28418         [!BZERO_P] (CHR): Likewise.
28419         (memset): Likewise.  Do not use BP_SYM.
28420         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28421         "bp-asm.h".
28422         (PARMS): Do not use macros from bp-asm.h.
28423         (S1): Likewise.
28424         (SIZE): Likewise.
28425         (__mpn_mul_1): Do not use BP_SYM.
28426         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28427         "bp-asm.h".
28428         (PARMS): Do not use macros from bp-asm.h.
28429         (S): Likewise.
28430         (SIZE): Likewise.
28431         (__mpn_rshift): Do not use BP_SYM.
28432         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28433         "bp-asm.h".
28434         (PARMS): Do not use macros from bp-asm.h.
28435         (STR): Likewise.
28436         (CHR): Likewise.
28437         (strchr): Likewise.  Do not use BP_SYM.
28438         (index): Do not use BP_SYM in weak_alias.
28439         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28440         "bp-asm.h".
28441         (PARMS): Do not use macros from bp-asm.h.
28442         (DEST): Likewise.
28443         (SRC): Likewise.
28444         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28445         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28446         "bp-asm.h".
28447         (PARMS): Do not use macros from bp-asm.h.
28448         (strlen): Do not use BP_SYM.
28449         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28450         "bp-asm.h".
28451         (PARMS): Do not use macros from bp-asm.h.
28452         (S1): Likewise.
28453         (S2): Likewise.
28454         (SIZE): Likewise.
28455         (__mpn_sub_n): Do not use BP_SYM.
28456         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28457         "bp-asm.h".
28458         (PARMS): Do not use macros from bp-asm.h.
28459         (S1): Likewise.
28460         (SIZE): Likewise.
28461         (__mpn_submul_1): Do not use BP_SYM.
28462         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28463         "bp-asm.h".
28464         (PARMS): Do not use macros from bp-asm.h.
28465         (S1): Likewise.
28466         (S2): Likewise.
28467         (SIZE): Likewise.
28468         (__mpn_add_n): Do not use BP_SYM.
28469         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28470         weak_alias.
28471         (bzero): Likewise.
28472         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28473         "bp-asm.h".
28474         (PARMS): Do not use macros from bp-asm.h.
28475         (BLK2): Likewise.
28476         (LEN): Likewise.
28477         (memcmp): Do not use BP_SYM.
28478         (bcmp): Do not use BP_SYM in weak_alias.
28479         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28480         "bp-asm.h".
28481         (PARMS): Do not use macros from bp-asm.h.
28482         (DEST): Likewise.
28483         (SRC): Likewise.
28484         (LEN): Likewise.
28485         (memcpy): Likewise.  Do not use BP_SYM.
28486         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28487         "bp-asm.h".
28488         (PARMS): Do not use macros from bp-asm.h.
28489         (DEST): Likewise.
28490         (SRC): Likewise.
28491         (LEN): Likewise.
28492         (memmove): Likewise.  Do not use BP_SYM.
28493         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28494         "bp-asm.h".
28495         (PARMS): Do not use macros from bp-asm.h.
28496         (DEST): Likewise.
28497         (SRC): Likewise.
28498         (LEN): Likewise.
28499         (__mempcpy): Likewise.  Do not use BP_SYM.
28500         (mempcpy): Do not use BP_SYM in weak_alias.
28501         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28502         "bp-asm.h".
28503         (PARMS): Do not use macros from bp-asm.h.
28504         (DEST): Likewise.
28505         (LEN): Likewise.
28506         [!BZERO_P] (CHR): Likewise.
28507         (memset): Likewise.  Do not use BP_SYM.
28508         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28509         "bp-asm.h".
28510         (PARMS): Do not use macros from bp-asm.h.
28511         (STR2): Likewise.
28512         (strcmp): Do not use BP_SYM.
28513         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28514         "bp-asm.h".
28515         (PARMS): Do not use macros from bp-asm.h.
28516         (STR): Likewise.
28517         (DELIM): Likewise.
28518         [USE_AS_STRTOK_R] (SAVE): Likewise.
28519         (FUNCTION): Likewise.  Do not use BP_SYM.
28520         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28521         aliases.
28522         (strtok_r): Likewise.
28523         (__GI___strtok_r): Likewise.
28524         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28525         (PARMS): Do not use macros from bp-asm.h.
28526         (S): Likewise.
28527         (SIZE): Likewise.
28528         (__mpn_lshift): Do not use BP_SYM.
28529         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28530         (PARMS): Do not use macros from bp-asm.h.
28531         (STR): Likewise.
28532         (CHR): Likewise.
28533         (__memchr): Do not use BP_SYM.
28534         (memchr): Do not use BP_SYM in weak_alias.
28535         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28536         (PARMS): Do not use macros from bp-asm.h.
28537         (BLK2): Likewise.
28538         (LEN): Likewise.
28539         (memcmp): Do not use BP_SYM.
28540         (bcmp): Do not use BP_SYM in weak_alias.
28541         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28542         (PARMS): Do not use macros from bp-asm.h.
28543         (S1): Likewise.
28544         (SIZE): Likewise.
28545         (__mpn_mul_1): Do not use BP_SYM.
28546         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28547         "bp-asm.h".
28548         (PARMS): Do not use macros from bp-asm.h.
28549         (STR): Likewise.
28550         (CHR): Likewise.
28551         (__rawmemchr): Do not use BP_SYM.
28552         (rawmemchr): Do not use BP_SYM in weak_alias.
28553         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28554         (PARMS): Do not use macros from bp-asm.h.
28555         (S): Likewise.
28556         (SIZE): Likewise.
28557         (__mpn_rshift): Do not use BP_SYM.
28558         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28559         (PARMS): Do not use macros from bp-asm.h.
28560         (SIGMSK): Likewise.
28561         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28562         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28563         (_start): Do not use BP_SYM.
28564         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28565         (PARMS): Do not use macros from bp-asm.h.
28566         (DEST): Likewise.
28567         (SRC): Likewise.
28568         (__stpcpy): Likewise.  Do not use BP_SYM.
28569         (stpcpy): Do not use BP_SYM in weak_alias.
28570         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28571         "bp-asm.h".
28572         (PARMS): Do not use macros from bp-asm.h.
28573         (DEST): Likewise.
28574         (SRC): Likewise.
28575         (LEN): Likewise.
28576         (__stpncpy): Likewise.  Do not use BP_SYM.
28577         (stpncpy): Do not use BP_SYM in weak_alias.
28578         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28579         (PARMS): Do not use macros from bp-asm.h.
28580         (STR): Likewise.
28581         (CHR): Likewise.
28582         (strchr): Likewise.  Do not use BP_SYM.
28583         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28584         "bp-asm.h".
28585         (PARMS): Do not use macros from bp-asm.h.
28586         (STR): Likewise.
28587         (CHR): Likewise.
28588         (__strchrnul): Likewise.  Do not use BP_SYM.
28589         (strchrnul): Do not use BP_SYM in weak_alias.
28590         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28591         "bp-asm.h".
28592         (PARMS): Do not use macros from bp-asm.h.
28593         (STOP): Likewise.
28594         (strcspn): Do not use BP_SYM.
28595         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28596         "bp-asm.h".
28597         (PARMS): Do not use macros from bp-asm.h.
28598         (STR): Likewise.
28599         (STOP): Likewise.
28600         (strpbrk): Likewise.  Do not use BP_SYM.
28601         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28602         "bp-asm.h".
28603         (PARMS): Do not use macros from bp-asm.h.
28604         (STR): Likewise.
28605         (CHR): Likewise.
28606         (strrchr): Likewise.  Do not use BP_SYM.
28607         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28608         (PARMS): Do not use macros from bp-asm.h.
28609         (SKIP): Likewise.
28610         (strspn): Do not use BP_SYM.
28611         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28612         (PARMS): Do not use macros from bp-asm.h.
28613         (STR): Likewise.
28614         (DELIM): Likewise.
28615         (SAVE): Likewise.
28616         (FUNCTION): Likewise.  Do not use BP_SYM.
28617         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28618         aliases.
28619         (strtok_r): Likewise.
28620         (__GI___strtok_r): Likewise.
28621         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28622         (PARMS): Do not use macros from bp-asm.h.
28623         (S1): Likewise.
28624         (S2): Likewise.
28625         (SIZE): Likewise.
28626         (__mpn_sub_n): Do not use BP_SYM.
28627         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28628         "bp-asm.h".
28629         (PARMS): Do not use macros from bp-asm.h.
28630         (S1): Likewise.
28631         (SIZE): Likewise.
28632         (__mpn_submul_1): Do not use BP_SYM.
28633         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28634         <bp-sym.h>.
28635         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28636         and <bp-asm.h>.
28637         (PARMS): Do not use macros from bp-asm.h.
28638         (FLAGS): Likewise.
28639         (PTID): Likewise.
28640         (TLS): Likewise.
28641         (CTID): Likewise.
28642         (__clone): Do not use BP_SYM.
28643         (clone): Do not use BP_SYM in weak_alias.
28644         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28645         and <bp-asm.h>.
28646         (PARMS): Do not use macros from bp-asm.h.
28647         (LEN): Likewise.
28648         (__mmap64): Do not use BP_SYM.
28649         (mmap64): Do not use BP_SYM in weak_alias.
28650         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28651         <bp-sym.h> and <bp-asm.h>.
28652         (PARMS): Do not use macros from bp-asm.h.
28653         (__posix_fadvise64_l64): Do not use BP_SYM.
28654         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28655         (PARMS): Do not use macros from bp-asm.h.
28656         (NSOPS): Likewise.
28657         (semtimedop): Do not use BP_SYM.
28658         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28659         and <bp-asm.h>.
28660
28661 2013-02-21  Allan McRae  <allan@archlinux.org>
28662
28663         * manual/message.texi (Charset conversion in gettext):
28664         Move @end statement to beginning of line.
28665
28666 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28667
28668         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28669         static.
28670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28671         Likewise.
28672
28673         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28674         (denorm): Likewise.
28675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28677
28678 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28679
28680         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28681         tail-call to the resolved function if pltexit isn't needed.
28682
28683 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28684
28685         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28686         or Y being zero as being unlikely.
28687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28688         Likewise.
28689
28690 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28691
28692         * manual/nss.texi (System Databases and Name Service Switch):
28693         Remove frobnicate @pxref.
28694
28695 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28696
28697         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28698         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28699
28700 2013-02-20  Petr Machata  <pmachata@redhat.com>
28701
28702         * elf/elf.h (R_ARM_TARGET1): New macro.
28703         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28704         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28705         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28706         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28707         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28708         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28709         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28710         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28711         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28712         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28713         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28714         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28715         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28716         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28717         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28718         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28719         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28720         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28721         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28722         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28723         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28724         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28725         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28726         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28727         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28728         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28729         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28730         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28731         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28732         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28733         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28734         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28735         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28736         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28737         (R_ARM_THM_GOT_BREL12): Likewise.
28738         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28739         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28740         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28741         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28742         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28743         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28744         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28745         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28746         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28747
28748 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28749
28750         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28751         __attribute_used__ to __attribute__ ((unused)).
28752
28753 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28754
28755         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28756         powerpc mpa.c.
28757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28758         comment formatting.
28759         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28760
28761 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28762
28763         [BZ #13550]
28764         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28765         Remove macro.
28766         (ENTER): Remove both macro definitions.
28767         (LEAVE): Likewise.
28768         (CHECK_BOUNDS_LOW): Likewise.
28769         (CHECK_BOUNDS_HIGH): Likewise.
28770         (CHECK_BOUNDS_BOTH): Likewise.
28771         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28772         (RETURN_BOUNDED_POINTER): Likewise.
28773         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28774         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28775         (POP_ERRNO_LOCATION_RETURN): Likewise.
28776         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28777         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28778         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28779         macros.
28780         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28781         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28782         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28783         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28784         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28785         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28786         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28787         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28788         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28789         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28790         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28791         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28792         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28793         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28794         removed macros.
28795         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28796         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28797         macros.
28798         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28799         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28800         * sysdeps/i386/i586/memset.S (memset): Likewise.
28801         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28802         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28803         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28804         macros.
28805         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28806         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28807         Change uses of L(2) to L(out).
28808         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28809         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28810         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28811         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28812         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28813         removed macros.
28814         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28815         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28816         macros.
28817         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28818         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28819         (RETURN): Do not use macro LEAVE.
28820         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28821         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28822         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28823         * sysdeps/i386/i686/memset.S (memset): Likewise.
28824         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28825         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28826         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28827         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28828         Likewise.
28829         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28830         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28831         L(1_2) and L(1_3) into L(1).
28832         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28833         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28834         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28835         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28836         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28837         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28838         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28839         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28840         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28841         macros.
28842         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28843         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28844         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28845         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28846         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28847         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28848         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28849         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28850         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28851         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28852         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28853         * sysdeps/i386/strspn.S (strspn): Likewise.
28854         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28855         conditional code.
28856         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28857         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28858         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28859         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28860         L(1_3) into L(1_1).
28861         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28862         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28863         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28864         macros.
28865         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28866
28867 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
28868
28869         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28870         macro.
28871
28872 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28873
28874         * math/atest-exp.c (exp_mpn): Remove ROUND.
28875         * math/atest-exp2.c (exp_mpn): Likewise.
28876         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28877
28878         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28879         * stdlib/tst-tls-atexit-lib.c: Likewise.
28880         * stdlib/tst-tls-atexit.c: Likewise.
28881
28882 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28883
28884         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28885         and __attribute_alloc_size__.
28886
28887 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28888
28889         * include/programs/xmalloc.h: Change __attribute_alloc_size to
28890         __attribute_alloc_size__.
28891         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28892         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28893
28894 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28895
28896         * include/programs/xmalloc.h: New file.
28897         * catgets/gencat.c: Include it.
28898         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28899         * elf/pldd.c: Likewise.
28900         * iconv/iconv_charmap.c: Likewise.
28901         * iconv/iconvconfig.c: Likewise.
28902         * iconv/strtab.c: Likewise.
28903         * locale/programs/locale.c: Likewise.
28904         * locale/programs/localedef.h: Likewise.
28905         * locale/programs/simple-hash.c: Likewise.
28906         * nscd/nscd.h: Likewise.
28907         * nss/makedb.c: Likewise.
28908         * sysdeps/generic/ldconfig.h: Likewise.
28909
28910 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28911
28912         * Versions.def: Add GLIBC_2.18.
28913         * include/link.h (struct link_map): New member l_tls_dtor_count.
28914         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28915         (__call_tls_dtors): Likewise.
28916         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28917         __cxa_thread_atexit_impl.
28918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28919         Likewise.
28920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28921         Likewise.
28922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28923         Likewise.
28924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28925         Likewise.
28926         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28928         Likewise.
28929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28930         Likewise.
28931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28933         Likewise.
28934         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28935         (tests): Add test case tst-tls-atexit.
28936         (modules-names): Add shared library for tst-tls-atexit.
28937         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28938         (GLIBC_PRIVATE): Add __call_tls_dtors.
28939         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28940         for libstdc++.
28941         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28942         * stdlib/tst-tls-atexit.c: New test case.
28943         * stdlib/tst-tls-atexit-lib.c: New test case.
28944
28945         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28946
28947         * elf/Versions (ld): Add _dl_find_dso_for_object.
28948         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28949         * elf/dl-open.c (_dl_find_dso_for_object): New function.
28950         (dl_open_worker): Use _dl_find_dso_for_object.
28951         * elf/dl-sym.c (do_sym): Likewise.
28952         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28953
28954 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28955
28956         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28957         Syntactic changes only.
28958         (_dl_runtime_profile): Do a tail-call to the resolved function.
28959
28960 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
28961
28962         [BZ #13550]
28963         * sysdeps/x86_64/bp-asm.h: Remove file.
28964         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28965         <bp-sym.h> and <bp-asm.h>.
28966         (__clone): Do not use BP_SYM.
28967         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28968         <bp-sym.h> and <bp-asm.h>.
28969         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28970         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28971         "bp-asm.h".
28972         (_setjmp): Do not use BP_SYM.
28973         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28974         "bp-asm.h".
28975         (setjmp): Do not use BP_SYM.
28976         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28977         libc_hidden_def.
28978         (mempcpy): Do not use BP_SYM in weak_alias.
28979         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28980         "bp-asm.h".
28981         (strchr): Do not use BP_SYM.
28982         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28983         "bp-asm.h".
28984         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28985         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28986         (_start): Do not use BP_SYM.
28987         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28988         "bp-asm.h".
28989         (strcat): Do not use BP_SYM.
28990         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28991         "bp-asm.h".
28992         (STRCMP): Do not use BP_SYM.
28993         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28994         "bp-asm.h".
28995         (STRCPY): Do not use BP_SYM.
28996         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28997         "bp-asm.h".
28998         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28999         "bp-asm.h".
29000         (FUNCTION): Do not use BP_SYM.
29001         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29002         weak_alias.
29003         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29004
29005 2013-02-17  Andreas Jaeger  <aj@suse.de>
29006
29007         * time/Versions: Sort entries.
29008         * string/Versions: Likewise.
29009         * resolv/Versions: Likewise.
29010         * posix/Versions: Likewise.
29011         * iconv/Versions: Likewise.
29012         * elf/Versions: Likewise.
29013         * wcsmbs/Versions: Likewise.
29014
29015 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29016
29017         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29018         loop termination condition.
29019
29020         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29021         variable to calculate EZ.
29022         (__sqr): Likewise.
29023
29024         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29025         the lower precision input.
29026
29027 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29028
29029         [BZ #13550]
29030         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29031         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29032         (run-via-rtld-prefix): Do not handle %-bp tests.
29033         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29034         (all-object-suffixes): Remove .ob.
29035         (bppfx): Remove variable.
29036         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29037         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29038         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29039         [$(build-bounded) = yes] (libtype.ob): Likewise.
29040         * Makerules (elide-routines.ob): Remove variable.
29041         (do-tests-clean): Do not handle *-bp.out.
29042         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29043         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29044         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29045         (tests): Do not include $(tests-bp.out).
29046         (xtests): Do not include $(xtests-bp.out).
29047         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29048         [$(build-bounded) = yes] ($(addprefix
29049         $(objpfx),$(binaries-bounded))): Remove rule.
29050         ($(objpfx)%-bp.out): Remove rule.
29051         * config.make.in (build-bounded): Remove variable.
29052         * crypt/Makefile [$(build-bounded) = yes]
29053         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29054         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29055         append to variable.
29056         [$(build-bounded) = yes] (install-lib): Likewise.
29057         [$(build-bounded) = yes] (generated): Likewise.
29058         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29059         Remove rule.
29060         * intl/Makefile [$(build-bounded) = yes]
29061         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29062         * math/Makefile [$(build-bounded) = yes]
29063         ($(tests:%=$(objpfx)%-bp): Likewise.
29064         * misc/Makefile [$(build-bounded) = yes]
29065         ($(objpfx)tst-tsearch-bp): Likewise.
29066         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29067         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29068         Remove dependency.
29069         * string/Makefile (o-objects.ob): Remove variable.
29070         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29071         (CFLAGS-.ob): Remove variable.
29072         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29073         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29074         both definitions of variable.
29075         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29076         (ASFLAGS-.ob): Remove variable.
29077
29078 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29079
29080         [BZ #13550]
29081         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29082         Remove __BOUNDED_POINTERS__ from condition.
29083         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29084         * string/bits/string2.h [!__NO_STRING_INLINES &&
29085         !__BOUNDED_POINTERS__]: Likewise.
29086         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29087         Likewise.
29088         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29089         Remove conditional code.
29090         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29091         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29092         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29093         condition.
29094
29095         [BZ #13550]
29096         * csu/libc-start.c: Do not include <bp-sym.h>.
29097         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29098         * elf/dl-open.c: Do not include <bp-sym.h>.
29099         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29100         * math/fegetenv.c: Do not include <bp-sym.h>.
29101         (fegetenv): Do not use BP_SYM in versioned symbols.
29102         * nptl/sysdeps/pthread/bits/libc-lockP.h
29103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29104         <bp-sym.h>.
29105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29106         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29108         (__pthread_mutex_destroy): Likewise.
29109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29110         (__pthread_mutex_lock): Likewise.
29111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29112         (__pthread_mutex_trylock): Likewise.
29113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29114         (__pthread_mutex_unlock): Likewise.
29115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29116         (__pthread_mutexattr_init): Likewise.
29117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29118         (__pthread_mutexattr_destroy): Likewise.
29119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29120         (__pthread_mutexattr_settype): Likewise.
29121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29122         (__pthread_rwlock_init): Likewise.
29123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29124         (__pthread_rwlock_destroy): Likewise.
29125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29126         (__pthread_rwlock_rdlock): Likewise.
29127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29128         (__pthread_rwlock_tryrdlock): Likewise.
29129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29130         (__pthread_rwlock_wrlock): Likewise.
29131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29132         (__pthread_rwlock_trywrlock): Likewise.
29133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29134         (__pthread_rwlock_unlock): Likewise.
29135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29136         (__pthread_key_create): Likewise.
29137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29138         (__pthread_setspecific): Likewise.
29139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29140         (__pthread_getspecific): Likewise.
29141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29142         Likewise.
29143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29144         (_pthread_cleanup_push_defer): Likewise.
29145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29146         (_pthread_cleanup_pop_restore): Likewise.
29147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29148         (pthread_setcancelstate): Likewise.
29149         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29150         <bp-sym.h>.
29151         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29152         (memchr): Do not use BP_SYM in weak_alias.
29153         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29154         (fegetenv): Do not use BP_SYM in versioned symbols.
29155         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29156         (fesetenv): Do not use BP_SYM in versioned symbols.
29157         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29158         (feupdateenv): Do not use BP_SYM in versioned symbols.
29159         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29160         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29161         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29162         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29163         (open64): Do not use BP_SYM in weak_alias.
29164         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29165         (fegetenv): Do not use BP_SYM in versioned symbols.
29166         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29167         (fesetenv): Do not use BP_SYM in versioned symbols.
29168         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29169         (feupdateenv): Do not use BP_SYM in versioned symbols.
29170         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29171         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29172         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29173         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29174         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29175         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29176         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29177         <bp-sym.h>.
29178         (__libc_start_main): Do not use BP_SYM.
29179
29180 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29181
29182         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29183         redundant return line.
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         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29194         (norm): Likewise.
29195         (denorm): Likewise.
29196         (dbl_mp): Likewise.
29197         (sub_magnitudes): Likewise.
29198         (__add): Likewise.
29199         (__sub): Likewise.
29200         (__mul): Likewise.
29201         (__inv): Likewise.
29202         (__dvd): Likewise.
29203
29204         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29205         instead of __mul.
29206         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29207         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29208         (cc32): Likewise.
29209
29210         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29211         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29212         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29213         of __mul for squares.
29214         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29215         function
29216         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29217         Likewise.
29218         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29219         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29220
29221 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29222
29223         [BZ #13550]
29224         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29225         code.
29226         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29227         prototype or function definition.  Rename ubp_* variables and
29228         parameters.  Remove argv definitions conditional on
29229         [__BOUNDED_POINTERS__].
29230         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29231         * elf/dl-runtime.c (_dl_fixup): Likewise.
29232         * include/set-hooks.h (RUN_HOOK): Likewise.
29233         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29234         definition.
29235         * string/strcpy.c (strcpy): Do not use __unbounded.
29236         * sysdeps/generic/frame.h (struct layout): Likewise.
29237         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29238         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29239         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29240         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29241         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29242         (__backtrace): Likewise.
29243         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29244         use __ptrvalue.
29245         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29246         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29247         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29248         Likewise.
29249         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29250         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29251         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29252         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29253         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29254         Do not use __unbounded.
29255         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29256         Rename __unboundedrlimits parameter to rlimits in prototype.
29257         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29258         Do not use __unbounded.
29259         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29260         not use __ptrvalue.
29261         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29262         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29263         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29264         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29265         __ptrvalue or __unbounded.
29266         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29267         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29268         use __unbounded.
29269         (__new_msgctl): Do not use __ptrvalue.
29270         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29271         __unbounded.
29272         (__libc_msgrcv): Do not use __ptrvalue.
29273         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29274         startup_info): Do not use __unbounded.
29275         (__libc_start_main): Likewise.  Rename ubp_* variables and
29276         parameters.  Remove argv definitions conditional on
29277         [__BOUNDED_POINTERS__].
29278         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29279         __ptrvalue.
29280         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29281         use __unbounded.
29282         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29283         or __ptrvalue.
29284         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29285         use __unbounded.
29286         (__new_shmctl): Do not use __ptrvalue.
29287         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29288         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29289         Likewise.
29290         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29291         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29292         (__libc_sigaction): Likewise.
29293         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29294         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29295         Likewise.
29296         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29297
29298 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29299
29300         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29301
29302         * string/mempcpy.c: Implement by calling memcpy.
29303
29304 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29305
29306         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29307
29308         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29309         evaluation.
29310
29311         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29312         values in the mantissa.
29313
29314         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29315         minimize writes to Z.
29316         (sub_magnitudes): Simplify code a bit.
29317
29318 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29319
29320         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29321         from the message.  The linker prefixes all warnings with that already.
29322
29323 2013-02-12  Andreas Schwab  <schwab@suse.de>
29324
29325         [BZ #15078]
29326         * posix/regexec.c (extend_buffers): Add parameter min_len.
29327         (check_matching): Pass minimum needed length.
29328         (clean_state_log_if_needed): Likewise.
29329         (get_subexp): Likewise.
29330         * posix/Makefile (tests): Add bug-regex34.
29331         (bug-regex34-ENV): Define.
29332         * posix/bug-regex34.c: New file.
29333
29334         [BZ #11561]
29335         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29336         elements compare against the byte sequence of it, not its name.
29337         * posix/Makefile (tests): Add bug-regex35.
29338         (bug-regex35-ENV): Define.
29339         * posix/bug-regex35.c: New file.
29340
29341 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29342
29343         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29344         comment.
29345         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29346         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29347         (CHECK_EOL): Add undef.
29348
29349 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29350
29351         * bits/stdlib-bsearch.h: New file.
29352         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29353         * stdlib/stdlib.h: Likewise.
29354
29355 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29356
29357         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29358         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29359         declaration.
29360         * manual/search.texi (Array Search Function): Add missing const in
29361         lfind prototype.
29362         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29363         declaration to use rlim_t.
29364         (Basic Scheduling Functions): Remove erroneous const from
29365         sched_getparam prototype.  Remove erroneous * from
29366         sched_get_priority_max and sched_get_priority_min prototypes.
29367         (Resource Usage): Fix summary @comment on vtimes to refer to
29368         sys/vtimes.h rather than vtimes.h.
29369         Add missing *s in vtimes prototype.
29370         (Limits on Resources): Fix ulimit prototype to return long int.
29371         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29372         prototypes to use long int rather than double.
29373         (BSD Random): Fix initstate and setstate to use char *, not void *.
29374         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29375         prototype to make second argument 'struct aiocb64 *const[]'.
29376         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29377         (Status of AIO Operations): Remove erroneous const in aio_return and
29378         aio_return64 prototypes.
29379         (Synchronizing I/O): Fix sync prototype to return void.
29380         * manual/startup.texi (Suboptions): Remove an erroneous const in
29381         getsubopt prototype.
29382         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29383         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29384         use size_t rather than int.
29385         (Scanning All Users): Likewise for getpwent_r.
29386         (Setting Groups): Add missing const to setgroups prototype.
29387         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29388         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29389         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29390         'const void *' rather than 'const char *'.
29391         (Host Address Functions): Likewise for inet_ntop.
29392         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29393         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29394         ssize_t for return value.
29395         (Sending Data): Likewise for send, sendto, sendmsg.
29396         (Socket Option Functions): Add a missing const in setsockopt prototype.
29397         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29398         use wchar_t for the argument.
29399         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29400         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29401         take no arguments.
29402         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29403         double/float/long double for second argument.
29404         Fix return types of significand, significandf, significandl.
29405         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29406         argument in fchmod prototype.
29407         (File Owner): Use uid_t and gid_t in fchown prototype.
29408         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29409         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29410         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29411         use 'const struct dirent **' as argument types to CMP function pointer
29412         argument.
29413         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29414         (File Times): Fix summary magic @comment for struct utimbuf and utime
29415         to refer to utime.h, not time.h.
29416         * manual/string.texi (Argz Functions): Add missing const in
29417         argz_extract and argz_next prototypes.
29418         (Finding Tokens in a String): Likewise for basename.
29419         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29420         (Copying and Concatenation): Fix typo in wmemmove prototype.
29421         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29422         (Signal Stack): Remove erroneous const in sigstack prototype.
29423         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29424         prototype.
29425         (Simple Calendar Time): Likewise for stime.
29426         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29427         prototype.
29428         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29429         say sys/sysctl.h instead.
29430         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29431         and vsyslog prototypes.
29432
29433 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29434
29435         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29436         Remove.
29437
29438 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29439
29440         * misc/sys/mman.h: Fix typo in mremap comment.
29441
29442 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29443
29444         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29445         the '\0' terminator.
29446
29447 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29448
29449         [BZ #13550]
29450         * debug/segfault.c: Don't include <bp-checks.h>.
29451         * sysdeps/generic/bp-checks.h: Remove file.
29452         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29453         (__GETDENTS): Don't use CHECK_N.
29454         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29455         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29456         (__getgroups): Don't use CHECK_N.
29457         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29458         (setgroups): Don't use CHECK_N.
29459         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29460         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29461         (__libc_msgrcv): Don't use CHECK_N.
29462         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29463         (__libc_msgsnd): Don't use CHECK_N.
29464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29465         <bp-checks.h>.
29466         (__libc_pread): Don't use CHECK_N.
29467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29468         include <bp-checks.h>.
29469         (__libc_pread64): Don't use CHECK_N.
29470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29471         include <bp-checks.h>.
29472         (__libc_pwrite): Don't use CHECK_N.
29473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29474         include <bp-checks.h>.
29475         (__libc_pwrite64): Don't use CHECK_N.
29476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29477         <bp-checks.h>.
29478         (__libc_pread): Don't use CHECK_N.
29479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29480         include <bp-checks.h>.
29481         (__libc_pread64): Don't use CHECK_N.
29482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29483         include <bp-checks.h>.
29484         (__libc_pwrite): Don't use CHECK_N.
29485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29486         include <bp-checks.h>.
29487         (__libc_pwrite64): Don't use CHECK_N.
29488         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29489         (do_pread): Don't use CHECK_N.
29490         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29491         (do_pread64): Don't use CHECK_N.
29492         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29493         (do_pwrite): Don't use CHECK_N.
29494         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29495         (do_pwrite64): Don't use CHECK_N.
29496         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29497         (__libc_readv): Don't use CHECK_N.
29498         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29499         (semop): Don't use CHECK_N.
29500         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29501         <bp-checks.h>.
29502         (semtimedop): Don't use CHECK_N.
29503         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29504         (__libc_pread): Don't use CHECK_N.
29505         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29506         <bp-checks.h>.
29507         (__libc_pread64): Don't use CHECK_N.
29508         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29509         <bp-checks.h>.
29510         (__libc_pwrite): Don't use CHECK_N.
29511         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29512         <bp-checks.h>.
29513         (__libc_pwrite64): Don't use CHECK_N.
29514         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29515         <bp-checks.h>.
29516         (__libc_msgrcv): Don't use CHECK_N.
29517         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29518         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29519         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29520         (__libc_writev): Don't use CHECK_N.
29521
29522 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29523
29524         * string/strcpy.c: Removed unused variable.
29525
29526         * Makeconfig (+sysdep-includes): Define with := rather than =.
29527         Use an existing include/ subdir of each sysdeps dir before it.
29528
29529 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29530
29531         * nscd/connection.c (register_traced_file): Comment function.
29532         [HAVE_INOTIFY] (union __inev): Define.
29533         [HAVE_INOTIFY] (inotify_check_files): New function.
29534         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29535         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29536         clear_db_cache.
29537         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29538
29539 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29540
29541         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29542         loaded if not already and that a failure is permanent.
29543
29544 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29545
29546         [BZ #15006]
29547         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29548         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29549
29550 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29551
29552         [BZ #13550]
29553         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29554         (CHECK_1_NULL_OK): Likewise.
29555         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29556         (__fxstat): Do not use CHECK_1.
29557         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29558         <bp-checks.h>.
29559         (___fxstat64): Do not use CHECK_1.
29560         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29561         <bp-checks.h>.
29562         (__fxstatat): Do not use CHECK_1.
29563         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29564         <bp-checks.h>.
29565         (__fxstatat64): Do not use CHECK_1.
29566         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29567         <bp-checks.h>.
29568         (__fxstat): Do not use CHECK_1.
29569         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29570         <bp-checks.h>.
29571         (__fxstatat): Do not use CHECK_1.
29572         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29573         <bp-checks.h>.
29574         (__getresgid): Do not use CHECK_1.
29575         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29576         <bp-checks.h>.
29577         (__getresuid): Do not use CHECK_1.
29578         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29579         <bp-checks.h>.
29580         (__lxstat): Do not use CHECK_1.
29581         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29582         <bp-checks.h>.
29583         (__old_msgctl): Do not use CHECK_1.
29584         (__new_msgctl): Likewise.
29585         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29586         <bp-checks.h>.
29587         (__new_setrlimit): Do not use CHECK_1.
29588         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29589         <bp-checks.h>.
29590         (__old_shmctl): Do not use CHECK_1.
29591         (__new_shmctl): Likewise.
29592         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29593         <bp-checks.h>.
29594         (__xstat): Do not use CHECK_1.
29595         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29596         (__lxstat): Do not use CHECK_1.
29597         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29598         <bp-checks.h>.
29599         (___lxstat64): Do not use CHECK_1.
29600         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29601         (__old_msgctl): Do not use CHECK_1.
29602         (__new_msgctl): Likewise.
29603         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29604         <bp-checks.h>.
29605         (__gettimeofday): Do not use CHECK_1.
29606         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29607         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29608         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29609         <bp-checks.h>.
29610         (__gettimeofday): Do not use CHECK_1.
29611         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29612         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29613         (__new_shmctl): Do not use CHECK_1.
29614         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29615         <bp-checks.h>.
29616         (do_sigtimedwait): Do not use CHECK_1.
29617         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29618         <bp-checks.h>.
29619         (do_sigwaitinfo): Do not use CHECK_1.
29620         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29621         <bp-checks.h>.
29622         (msgctl): Do not use CHECK_1.
29623         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29624         <bp-checks.h>.
29625         (shmctl): Do not use CHECK_1.
29626         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29627         (ustat): Do not use CHECK_1.
29628         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29629         <bp-checks.h>.
29630         (__fxstat): Do not use CHECK_1.
29631         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29632         <bp-checks.h>.
29633         (__fxstatat): Do not use CHECK_1.
29634         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29635         <bp-checks.h>.
29636         (__lxstat): Do not use CHECK_1.
29637         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29638         <bp-checks.h>.
29639         (__xstat): Do not use CHECK_1.
29640         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29641         (__xstat): Do not use CHECK_1.
29642         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29643         (___xstat64): Do not use CHECK_1.
29644
29645         [BZ #13550]
29646         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29647         definitions.
29648         (CHECK_BOUNDS_HIGH): Likewise.
29649         * string/strcpy.c: Do not include <bp-checks.h>.
29650         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29651
29652 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29653
29654         * nscd/nscd-client.h (__nscd_drop_map_ref):
29655         Add __attribute__ ((unused)).
29656         * nis/nss-nisplus.h (niserr2nss): Likewise.
29657
29658         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29659         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29660
29661         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29662         Remove inline keyword.
29663         * include/rounding-mode.h (round_away): Likewise.
29664         * libio/wfileops.c (adjust_wide_data): Likewise.
29665         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29666         (__m128i_strloadu_tolower): Likewise.
29667         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29668         (__m128i_strloadu_tolower): Likewise.
29669         * time/mktime.c (ydhms_diff): Likewise.
29670         * locale/elem-hash.h (elem_hash): Likewise.
29671         * locale/setlocale.c (setdata): Likewise.
29672         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29673         (re_string_wchar_at): Likewise.
29674         (bitset_not, bitset_merge, bitset_mask): Likewise.
29675         [!(__GNUC__ > 3)] (inline): Remove macro.
29676         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29677         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29678         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29679         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29680         * string/memcmp.c (memcmp_bytes): Likewise.
29681         * locale/programs/locarchive.c (compute_hashval): Likewise.
29682         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29683         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29684         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29685         * nss/getent.c (print_rpc, print_protocols): Likewise.
29686         (print_passwd, print_group, print_aliases): Likewise.
29687         * nis/nss-nisplus.h (niserr2nss): Likewise.
29688         * nscd/connections.c (restart_p): Likewise.
29689         Change return type to bool.
29690
29691 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29692
29693         * Makeconfig (all-Depend-files): Add existing
29694         $(sorted-subdirs:=/Depend) files.
29695         (all-subdirs): Remove nss.
29696         * sysdeps/unix/inet/Subdirs: Add it here instead.
29697         * hesiod/Depend: New file.
29698
29699         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29700         instead of calling alloca.
29701
29702         * io/lseek.c (__lseek): Rename to __libc_lseek.
29703         Define __lseek as an alias.
29704
29705         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29706
29707 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29708
29709         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29710         else clause and remove check for non-standard endianness.
29711
29712 2013-02-04  David S. Miller  <davem@davemloft.net>
29713
29714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29715
29716 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29717
29718         [BZ #13550]
29719         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29720         (__ubp_memchr): Remove prototype.
29721         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29722         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29723         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29724         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29725         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29726         Remove alias.
29727         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29728         (__ubp_memchr): Likewise.
29729         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29730         (__ubp_memchr): Likewise.
29731         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29732         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29733         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29734         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29735         CHECK_STRING.
29736         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29737         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29738         (__getcwd): Do not use CHECK_STRING.
29739         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29740         <bp-checks.h>.
29741         (__real_chown): Do not use CHECK_STRING.
29742         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29743         <bp-checks.h>.
29744         (fchownat): Do not use CHECK_STRING.
29745         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29746         CHECK_STRING.
29747         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29748         <bp-checks.h>.
29749         (__lchown): Do not use CHECK_STRING.
29750         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29751         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29752         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29753         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29755         include <bp-checks.h>.
29756         (truncate64): Do not use CHECK_STRING.
29757         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29758         <bp-checks.h>.
29759         (__real_chown): Do not use CHECK_STRING.
29760         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29761         <bp-checks.h>.
29762         (__lchown): Do not use CHECK_STRING.
29763         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29764         <bp-checks.h>.
29765         (__chown): Do not use CHECK_STRING.
29766         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29767         <bp-checks.h>.
29768         (truncate64): Do not use CHECK_STRING.
29769         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29770         Likewise.
29771         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29772         (__xmknod): Do not use CHECK_STRING.
29773         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29774         <bp-checks.h>.
29775         (__xmknodat): Do not use CHECK_STRING.
29776         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29777         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29778
29779 2013-02-04  Andreas Schwab  <schwab@suse.de>
29780
29781         [BZ #14142]
29782         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29783         * include/netdb.h: Likewise for h_errno.
29784         * elf/tst-stackguard1.c: Include <tls.h>.
29785
29786 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29787
29788         * elf/link.h (struct link_map): Extend the l_addr comment.
29789         * include/link.h (struct link_map): Likewise.
29790
29791 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29792
29793         [BZ #13550]
29794         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29795         (BOUNDED_1): Remove macro.
29796         * debug/backtrace.c: Don't include <bp-checks.h>.
29797         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29798         (__backtrace): Likewise.
29799         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29800         <bp-checks.h>.
29801         (__backtrace): Don't use BOUNDED_1.
29802         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29803         <bp-checks.h>.
29804         (__backtrace): Don't use BOUNDED_1.
29805         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29806         (__backtrace): Don't use BOUNDED_1.
29807         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29808         (shmat): Don't use BOUNDED_N.
29809
29810 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29811
29812         [BZ #13550]
29813         * sysdeps/generic/bp-start.h: Remove file.
29814         * csu/libc-start.c: Don't include <bp-start.h>.
29815         (LIBC_START_MAIN): Set up __environ directly instead of using
29816         INIT_ARGV_and_ENVIRON.
29817         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29818         <bp-start.h>.
29819
29820         [BZ #13550]
29821         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29822         definitions.
29823         (CHECK_FCNTL): Likewise.
29824         (CHECK_N_PAGES): Likewise.
29825
29826         [BZ #13550]
29827         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29828         definitions.
29829         (CHECK_SIGSET_NULL_OK): Likewise.
29830         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29831         <bp-checks.h>.
29832         (sigpending): Don't use CHECK_SIGSET.
29833         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29834         <bp-checks.h>.
29835         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29836         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29837         <bp-checks.h>.
29838         (do_sigsuspend): Don't use CHECK_SIGSET.
29839         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29840         use CHECK_SIGSET.
29841         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29842         (do_sigwait): Don't use CHECK_SIGSET.
29843         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29844         use CHECK_SIGSET.
29845         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29846         include <bp-checks.h>.
29847         (sigpending): Don't use CHECK_SIGSET.
29848         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29849         include <bp-checks.h>.
29850         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29851         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29852         <bp-checks.h>.
29853         (sigpending): Don't use CHECK_SIGSET.
29854         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29855         <bp-checks.h>.
29856         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29857
29858         [BZ #13550]
29859         * sysdeps/generic/bp-semctl.h: Remove file.
29860         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29861         <bp-checks.h> and <bp-semctl.h>.
29862         (__old_semctl): Don't use CHECK_SEMCTL.
29863         (__new_semctl): Likewise.
29864         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29865         and <bp-semctl.h>.
29866         (__old_semctl): Don't use CHECK_SEMCTL.
29867         (__new_semctl): Likewise.
29868         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29869         <bp-checks.h> and <bp-semctl.h>.
29870         (__old_semctl): Don't use CHECK_SEMCTL.
29871         (__new_semctl): Likewise.
29872         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29873         <bp-checks.h> and <bp-semctl.h>.
29874         (semctl): Don't use CHECK_SEMCTL.
29875
29876         [BZ #13550]
29877         * Makerules (elide-bp-thunks): Remove variable.
29878         (elide-routines.oS): Don't use $(elide-bp-thunks).
29879         (elide-routines.os): Likewise.
29880         (elide-routines.o): Likewise.
29881         (elide-routines.op): Likewise.
29882         (elide-routines.og): Likewise.
29883         (objects): Don't use $(bp-thunks).
29884         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29885         include.
29886         (common-generated): Do not add s-proto-bp.d.
29887         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29888         (int): Likewise.
29889         (typ): Likewise.
29890         Do not generate makefile rules for bounded-pointer thunks.
29891         * sysdeps/generic/bp-thunks.h: Remove file.
29892         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29893         * sysdeps/unix/s-proto-bp.S: Likewise.
29894
29895         [BZ #15062]
29896         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29897         parts of result separately when argument is not close to line from
29898         -i to i and one part of argument is small.
29899         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29900         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29901         * math/libm-test.inc (cacos_test): Add more tests.
29902         (casin_test): Likewise.
29903         (casinh_test): Likewise.
29904         * sysdeps/i386/fpu/libm-test-ulps: Update.
29905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29906
29907 2013-01-31  David S. Miller  <davem@davemloft.net>
29908
29909         * po/de.po: Update from translation team.
29910
29911 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
29912
29913         * time/tzfile.c: Include stdint.h for SIZE_MAX.
29914
29915 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
29916
29917         * configure.in (_AC_PROG_CC_C89): New definition.
29918         * configure: Regenerate.
29919
29920         * configure.in (AC_PROG_CPP): New definition.
29921         * configure: Regenerate.
29922
29923 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29924
29925         * debug/tst-backtrace.h: New file.
29926         * debug/tst-backtrace2.c: Include tst-backtrace.h.
29927         (ret): Remove variable.
29928         (x): Likewise.
29929         (FAIL): Remove macro.
29930         (NO_INLINE): Likewise.
29931         (fn1): Use match function instead of strstr.
29932         * debug/tst-backtrace3.c: Include tst-backtrace.h.
29933         (ret): Remove variable.
29934         (x): Likewise.
29935         (FAIL): Remove macro.
29936         (NO_INLINE): Likewise.
29937         (fn): Use match function instead of strstr.
29938         * debug/tst-backtrace4.c: Include tst-backtrace.h.
29939         (ret): Remove variable.
29940         (x): Likewise.
29941         (FAIL): Remove macro.
29942         (NO_INLINE): Likewise.
29943         (handle_signal): Use match function instead of strstr.
29944         * debug/tst-backtrace5.c: Include tst-backtrace.h.
29945         (ret): Remove variable.
29946         (x): Likewise.
29947         (FAIL): Remove macro.
29948         (NO_INLINE): Likewise.
29949         (handle_signal): Use match function instead of strstr.
29950
29951 2013-01-23  Roland McGrath  <roland@hack.frob.com>
29952
29953         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29954
29955 2013-01-23  David S. Miller  <davem@davemloft.net>
29956
29957         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29958         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29959         argument of CAS if possible.
29960         * sysdeps/sparc/sparc64/bits/atomic.h
29961         (__arch_compare_and_exchange_val_32_acq): Likewise.
29962         (__arch_compare_and_exchange_val_64_acq): Likewise.
29963
29964 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
29965
29966         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29967         * sysdeps/posix/ulimit.c: ... this.
29968         Include <limits.h>.
29969         * sysdeps/unix/bsd/ulimit.c: Remove file.
29970
29971 2013-01-23  Adam Conrad  <adconrad@0c3.net>
29972
29973         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29974         (LDFLAGS-tst-array5): Likewise.
29975
29976 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29977
29978         [BZ #15036]
29979         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29980         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29981         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29982         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29983
29984 2013-01-21  David S. Miller  <davem@davemloft.net>
29985
29986         * sysdeps/sparc/backtrace.c: New file.
29987         * sysdeps/sparc/sparc32/backtrace.h: New file.
29988         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29989         * sysdeps/sparc/sparc64/backtrace.h: New file.
29990         * sysdeps/sparc/sparc64/backtrace.c: Delete.
29991         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29992         -funwind-tables.
29993
29994 2013-01-21  Andreas Schwab  <schwab@suse.de>
29995
29996         [BZ #15020]
29997         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29998         closed its stdout.
29999
30000 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30001
30002         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30003         "mpa2.h".
30004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30005
30006 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30007             Mark Mitchell  <mark@codesourcery.com>
30008             Tom de Vries  <tom@codesourcery.com>
30009             Paul Pluzhnikov  <ppluzhnikov@google.com>
30010
30011         * debug/tst-backtrace2.c: New file.
30012         * debug/tst-backtrace3.c: Likewise.
30013         * debug/tst-backtrace4.c: Likewise.
30014         * debug/tst-backtrace5.c: Likewise.
30015         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30016         (CFLAGS-tst-backtrace3.c): Likewise.
30017         (CFLAGS-tst-backtrace4.c): Likewise.
30018         (CFLAGS-tst-backtrace5.c): Likewise.
30019         (LDFLAGS-tst-backtrace2): Likewise.
30020         (LDFLAGS-tst-backtrace3): Likewise.
30021         (LDFLAGS-tst-backtrace4): Likewise.
30022         (LDFLAGS-tst-backtrace5): Likewise.
30023         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30024         tst-backtrace4 and tst-backtrace5.
30025
30026 2013-01-18  Anton Blanchard  <anton@samba.org>
30027             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30028
30029         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30030         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30031         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30032         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30034         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30035         "+r" and remove output regs list as redundant.  Add explicit inline
30036         asm to specify register of return val to work around compiler codegen
30037         bug.  Remove (int) cast on return value.  Add return type parameter to
30038         use in macro so that this macro does not truncate return value for
30039         64-bit values.
30040         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30041         pass to INTERNAL_VSYSCALL_NCS.
30042         (INLINE_VSYSCALL): Add 'long int' as return type to
30043         INTERNAL_VSYSCALL_NCS macro invocation.
30044         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30045         INTERNAL_VSYSCALL_NCS macro invocation.
30046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30047
30048 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30049
30050         [BZ #14496]
30051         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30052         Fix application of SIMD FP exception mask.
30053
30054         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30055         mp_no from a power of two.
30056         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30057         __mpexp_twomm1.  Use __pow_mp.
30058
30059         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30060         multiplication.
30061
30062 2013-01-17  David S. Miller  <davem@davemloft.net>
30063
30064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30065
30066 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30067
30068         [BZ #15023]
30069         * include/complex.h: Condition contents on [!_COMPLEX_H].
30070         (__kernel_casinhf): New prototype.
30071         (__kernel_casinh): Likewise.
30072         (__kernel_casinhl): Likewise.
30073         * math/Makefile (libm_calls): Add k_casinh.
30074         * math/k_casinh.c: New file.
30075         * math/k_casinhf.c: Likewise.
30076         * math/k_casinhl.c: Likewise.
30077         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30078         finite nonzero arguments.
30079         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30080         finite nonzero arguments.
30081         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30082         finite nonzero arguments.
30083         * math/s_casinh.c: Do not include <float.h>.
30084         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30085         * math/s_casinhf.c: Do not include <float.h>.
30086         (__casinhf): Move code for finite nonzero arguments to
30087         k_casinhf.c.
30088         * math/s_casinhl.c: Do not include <float.h>.
30089         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30090         redefine.
30091         (__casinhl): Move code for finite nonzero arguments to
30092         k_casinhl.c.
30093         * math/libm-test.inc (cacos_test): Add more tests.
30094         * sysdeps/i386/fpu/libm-test-ulps: Update.
30095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30096
30097 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30098
30099         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30100         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30101         [!HAVE_MREMAP]: Remove [defined linux] case.
30102         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30103
30104 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30105
30106         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30107
30108 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30109
30110         * elf/elf.h (R_386_SIZE32): New relocation.
30111         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30112         R_386_SIZE32.
30113         (elf_machine_rela): Likewise.
30114         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30115         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30116
30117 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30118
30119         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30120         (FP_FAST_FMA): Do not define.
30121         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30122         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30123         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30124         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30125         !_SOFT_FLOAT]: Likewise.
30126         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30127         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30128         value.
30129         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30130         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30131         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30132         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30133         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30134         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30135         file.
30136
30137 2013-01-16  Andreas Schwab  <schwab@suse.de>
30138
30139         [BZ #14327]
30140         * include/stdlib.h (__mktemp): Add declaration.
30141         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30142         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30143
30144 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30145
30146         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30147         definitions.
30148         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30149         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30150         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30151         definitions here.
30152         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30153         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30154         definitions.
30155         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30156         and ONE.
30157         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30158         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30159         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30160         definitions.
30161         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30162         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30163         definitions.
30164         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30165
30166         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30167
30168 2013-01-15  David S. Miller  <davem@davemloft.net>
30169
30170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30171         trunc{,f} to libm-sysdep_routes.
30172         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30174         file.
30175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30177         file.
30178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30179         file.
30180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30182         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30183         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30184         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30185         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30186         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30187         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30188
30189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30190         nearbyint{,f} to libm-sysdep_routes.
30191         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30193         New file.
30194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30195         file.
30196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30197         New file.
30198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30199         file.
30200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30202         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30203         file.
30204         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30205         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30206         file.
30207         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30208         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30209         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30210
30211         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30212         libc_feholdexcept and libc_fesetenv.
30213
30214 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30215
30216         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30217
30218 2013-01-14  David S. Miller  <davem@davemloft.net>
30219
30220         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30221         (SPARC_ASM_VIS2_IFUNC): Likewise.
30222         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30224         use of 'siam' instruction.
30225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30226         Likewise.
30227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30228         Likewise.
30229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30230         Likewise.
30231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30236         file.
30237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30238         file.
30239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30240         file.
30241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30242         file.
30243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30246         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30248         new VIS2 routines.
30249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30252         Likewise.
30253         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30255         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30256         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30258         routines to libm-sysdep_routines.
30259         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30260
30261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30262         fdim/fdimf to libm-sysdep_routines.
30263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30264         file.
30265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30267         file.
30268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30271         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30272         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30273         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30274         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30275
30276 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30277
30278         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30279         to optimize copies.
30280
30281         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30282         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30283         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30284
30285         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30286         local variable MPTWO.
30287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30288         Likewise.
30289
30290 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30291
30292         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30293         GLOB_NOESCAPE.
30294
30295 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30296
30297         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30298
30299 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30300
30301         * manual/pattern.texi (glob_t): Document gl_flags.
30302         (glob64_t): Likewise.
30303
30304 2013-01-11  David S. Miller  <davem@davemloft.net>
30305
30306         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30307         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30308         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30309         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30310         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30311         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30312         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30313         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30314         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30315         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30316         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30317         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30318         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30319
30320         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30321         sparc V9 rather than using V8 code.
30322         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30323         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30324
30325         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30326         Move to...
30327         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30328         Here.
30329
30330 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30331
30332         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30333         not in the main loop.
30334         * configure: Regenerated.
30335
30336 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30337
30338         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30339         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30340         to just #else.
30341         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30342         [!__GLIBC_HAVE_LONG_LONG] case.
30343         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30344         condition to just #else.
30345         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30346         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30347         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30348         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30349         unconditional.
30350         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30351         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30352         #elif condition to just #else.
30353         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30354         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30355         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30356         #elif condition to just #else.
30357
30358 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30359
30360         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30361         (EF_MIPS_ARCH_64): Fix value.
30362         (EF_MIPS_ARCH_32R2): New.
30363         (EF_MIPS_ARCH_64R2): New.
30364
30365 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30366
30367         * Makeconfig (+link-pie-before-libc): New.
30368         (+link-pie-after-libc): Likewise.
30369         (+link-pie-tests): Likewise.
30370         (+link-pie): Rewritten.
30371         (link-before-libc): Remove $(config-LDFLAGS).
30372         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30373         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30374         (config-LDFLAGS): Renamed to ...
30375         (rtld-LDFLAGS): This.
30376         (rtld-tests-LDFLAGS): New macro.
30377         (link-libc-rpath-link): Likewise.
30378         (link-libc-tests-rpath-link): Likewise.
30379         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30380         (link-libc): Prepand $(link-libc-rpath-link).
30381         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30382         (test-program-prefix): New macro.
30383         (test-via-rtld-prefix): Likewise.
30384         (test-program-cmd): Likewise.
30385         (host-test-program-cmd): Likewise.
30386         * Makefile ($(common-objpfx)testrun.sh): Replace
30387         $(run-program-prefix) with $(test-program-prefix).
30388         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30389         $(rtld-LDFLAGS).
30390         ($(common-objpfx)shlib.lds): Likewise.
30391         (build-module-helper): Likewise.
30392         ($(common-objpfx)format.lds): Likewise.
30393         * Rules (binaries-pie-tests): New.
30394         (binaries-pie-notests): Likewise.
30395         (binaries-pie): Rewritten.
30396         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30397         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30398         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30399         (make-test-out): Replace $(host-built-program-cmd) with
30400         $(host-test-program-cmd).
30401         * config.make.in (build-hardcoded-path-in-tests): New variable.
30402         * configure.in (--enable-hardcoded-path-in-tests): New configure
30403         option.
30404         (hardcoded_path_in_tests): New AC_SUBST.
30405         * configure: Regenerated.
30406         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30407         $(built-program-cmd) with $(test-program-cmd).
30408         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30409         (test_program_cmd): This.
30410         * elf/Makefile ($(objpfx)order.out): Run test with
30411         $(test-program-prefix).
30412         ($(objpfx)order2.out): Likewise.
30413         ($(objpfx)tst-initorder.out): Likewise.
30414         ($(objpfx)tst-initorder2.out): Likewise.
30415         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30416         $(test-program-cmd).
30417         ($(objpfx)tst-array1-static.out): Likewise.
30418         ($(objpfx)tst-array2.out): Likewise.
30419         ($(objpfx)tst-array3.out): Likewise.
30420         ($(objpfx)tst-array4.out): Likewise.
30421         ($(objpfx)tst-array5.out): Likewise.
30422         ($(objpfx)tst-array5-static.out): Likewise.
30423         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30424         $(test-program-cmd).
30425         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30426         $(run-program-prefix) with $(test-program-prefix).
30427         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30428         (test_program_prefix): This.
30429         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30430         $(run-program-prefix) with $(test-program-prefix).
30431         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30432         (test_program_prefix): This.
30433         * iconvdata/tst-tables.sh: Likewise.
30434         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30435         $(run-program-prefix) with $(test-program-prefix).
30436         ($(objpfx)tst-translit.out): Likewise.
30437         ($(objpfx)tst-gettext2.out): Likewise.
30438         ($(objpfx)tst-gettext4.out): Likewise.
30439         ($(objpfx)tst-gettext6.out): Likewise.
30440         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30441         (test_program_prefix): This.
30442         * intl/tst-gettext2.sh: Likewise.
30443         * intl/tst-gettext4.sh  Likewise.
30444         * intl/tst-gettext6.sh: Likewise.
30445         * intl/tst-translit.sh: Likewise.
30446         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30447         with $(test-program-cmd).
30448         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30449         $(run-program-prefix) with $(test-program-prefix).
30450         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30451         (test_program_prefix): This.
30452         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30453         $(run-program-prefix) with $(test-program-prefix).
30454         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30455         (test_program_prefix): This.
30456         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30457         * posix/Makefile ($(objpfx)globtest.out): Replace
30458         $(run-via-rtld-prefix) and $(test-wrapper) with
30459         $(test-program-prefix) and $(test-via-rtld-prefix).
30460         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30461         $(test-program-prefix).
30462         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30463         $(host-test-program-cmd).
30464         (tst-spawn-ARGS): Likewise.
30465         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30466         $(test-program-prefix).
30467         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30468         (test_via_rtld_prefix): This.
30469         (test_wrapper): Renamed to ...
30470         (test_program_prefix): This.
30471         (run_program_prefix): Replaced by test_program_prefix.
30472         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30473         (test_program_prefix): This.
30474         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30475         with $(host-test-program-cmd).
30476         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30477         $(run-program-prefix) with $(test-program-prefix).
30478         ($(objpfx)tst-printf.out): Likewise.
30479         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30480         $(test-program-cmd).
30481         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30482         (test_program_prefix): This.
30483         * stdio-common/tst-unbputc.sh: Likewise.
30484         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30485         $(run-program-prefix) with $(test-program-prefix).
30486         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30487         (test_program_prefix): This.
30488         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30489         $(built-program-cmd) with $(test-program-cmd).
30490
30491 2013-01-11  Andreas Jaeger  <aj@suse.de>
30492
30493         [BZ #15003]
30494         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30495         value. Sync with Linux 3.7.
30496
30497 2013-01-10  David S. Miller  <davem@davemloft.net>
30498
30499         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30500         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30501         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30502
30503 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30504
30505         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30506         never set.
30507         * configure: Regenerated.
30508
30509 2013-01-10  David S. Miller  <davem@davemloft.net>
30510
30511         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30512         sparc V9 rather than using V8 code.
30513         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30514         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30515
30516 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30517
30518         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30519         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30520         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30521         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30522         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30523         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30524         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30525         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30526         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30527         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30528         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30529         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30530         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30531         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30532         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30533         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30534         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30535         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30536         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30537         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30538         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30539         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30540         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30541         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30542         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30543         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30544         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30545
30546 2013-01-10  David S. Miller  <davem@davemloft.net>
30547
30548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30549
30550 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30551
30552         * posix/Makefile (tests-static): New variable.
30553         (tests): Add $(tests-static).
30554         (tst-exec-static-ARGS): New variable.
30555         (tst-spawn-static-ARGS): Likewise.
30556         * posix/tst-exec-static.c: New file.
30557         * posix/tst-spawn-static.c: Likewise.
30558         * posix/tst-exec.c: Support run directly.
30559         * posix/tst-spawn.c: Likewise.
30560
30561 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30562
30563         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30564         long.
30565         * math/bits/mathcalls.h (llrint): Likewise.
30566         (llround): Likewise.
30567         * stdlib/stdlib.h (struct drand48_data): Likewise.
30568         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30569         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30570         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30571         Likewise.
30572         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30573         Likewise.
30574         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30575         (elf_greg_t): Likewise.
30576         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30577         (__jmp_buf): Likewise.
30578         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30579         definitions.
30580         (llrint): Likewise, for all definitions.
30581         (llrintl): Likewise.
30582
30583         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30584         Remove [__GNUC__] condition.
30585         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30586         condition to just [__USE_ISOC99].
30587         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30588
30589 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30590
30591         [BZ #14200]
30592         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30593         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30594         defined.
30595         (_POSIX_V6_ILP32_OFF32): Likewise.
30596         (_XBS5_ILP32_OFF32): Likewise.
30597         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30598         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30599
30600 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30601
30602         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30603
30604         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30605         doubles __mpexp_twomm1.  Adjust usage.
30606         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30607         Remove.
30608
30609 2013-01-10  Andreas Schwab  <schwab@suse.de>
30610
30611         [BZ #14964]
30612         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30613         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30614
30615 2013-01-09  David S. Miller  <davem@davemloft.net>
30616
30617         [BZ #15003]
30618         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30619         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30620         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30621         (TCP_FASTOPEN): Define.
30622         (tcp_repair_opt): New structure.
30623         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30624         enum values.
30625         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30626         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30627         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30628         (tcp_cookie_transactions): New structure.
30629
30630 2013-01-09  Anton Blanchard  <anton@samba.org>
30631
30632         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30633         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30634         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30635         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30636
30637 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30638
30639         * include/features.h (__USE_ANSI): Remove.
30640
30641 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30642
30643         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30644
30645         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30646
30647 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30648
30649         * sysdeps/s390/fpu/libm-test-ulps: Update.
30650
30651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30652
30653         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30654         (__acr): Likewise.
30655         (__cpy): Likewise.
30656         (norm): Likewise.
30657         (denorm): Likewise.
30658         (__mp_dbl): Likewise.
30659         (__dbl_mp): Likewise.
30660         (add_magnitudes): Likewise.
30661         (sub_magnitudes): Likewise.
30662         (__add): Likewise.
30663         (__sub): Likewise.
30664         (__mul): Likewise.
30665         (__inv): Likewise.
30666         (__dvd): Likewise.
30667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30668         (__acr): Likewise.
30669         (__cpy): Likewise.
30670         (norm): Likewise.
30671         (denorm): Likewise.
30672         (__mp_dbl): Likewise.
30673         (__dbl_mp): Likewise.
30674         (add_magnitudes): Likewise.
30675         (sub_magnitudes): Likewise.
30676         (__add): Likewise.
30677         (__sub): Likewise.
30678         (__mul): Likewise.
30679         (__inv): Likewise.
30680         (__dvd): Likewise.
30681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30682         (__acr): Likewise.
30683         (__cpy): Likewise.
30684         (norm): Likewise.
30685         (denorm): Likewise.
30686         (__mp_dbl): Likewise.
30687         (__dbl_mp): Likewise.
30688         (add_magnitudes): Likewise.
30689         (sub_magnitudes): Likewise.
30690         (__add): Likewise.
30691         (__sub): Likewise.
30692         (__mul): Likewise.
30693         (__inv): Likewise.
30694         (__dvd): Likewise.
30695
30696 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30697
30698         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30699         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30700         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30701         2 && __USE_EXTERN_INLINES]: Likewise.
30702
30703 2013-01-08  Andreas Jaeger  <aj@suse.de>
30704
30705         [BZ# 14985]
30706         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30707         Remove.
30708         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30709         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30710
30711 2013-01-07  Anton Blanchard  <anton@samba.org>
30712
30713         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30714         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30715         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30716         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30717         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30718         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30719         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30720         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30722         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30723         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30724         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30725         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30726         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30727         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30728         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30729         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30730         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30731         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30732         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30733         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30734         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30735         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30736         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30737         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30738         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30739         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30740         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30741         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30742         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30743         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30745         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30746         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30747         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30748         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30749         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30750         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30751         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30752         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30753         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30754         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30755         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30756
30757 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30758
30759         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30760         (__MALLOC_PMT): Likewise.
30761         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30762         [__GNUC__], only on [_LIBC].
30763         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30764         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30765         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30766         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30767         forward declaration.
30768         (realloc_hook_ini): Likewise.
30769         (memalign_hook_ini): Likewise.
30770         (__libc_memalign): Do not use __MALLOC_PMT in variable
30771         declaration.
30772         (__libc_valloc): Likewise.
30773         (__libc_pvalloc): Likewise.
30774         (__libc_calloc): Likewise.
30775         (__posix_memalign): Likewise.
30776
30777         [BZ #14996]
30778         * math/s_casinh.c: Include <float.h>.
30779         (__casinh): Do not do computation with squaring and square root
30780         for large arguments.
30781         * math/s_casinhf.c: Include <float.h>.
30782         (__casinhf): Do not do computation with squaring and square root
30783         for large arguments.
30784         * math/s_casinhl.c: Include <float.h>.
30785         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30786         (__casinhl): Do not do computation with squaring and square root
30787         for large arguments.
30788         * math/libm-test.inc (casin_test): Add more tests.
30789         (casinh_test): Likewise.
30790         * sysdeps/i386/fpu/libm-test-ulps: Update.
30791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30792
30793 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30794
30795         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30796         (__x86_64_raw_data_cache_size): Likewise.
30797         (__x86_64_data_cache_size_half): Likewise.
30798         (__x86_64_raw_data_cache_size_half): Likewise.
30799         (__x86_64_shared_cache_size): Likewise.
30800         (__x86_64_raw_shared_cache_size): Likewise.
30801         (__x86_64_shared_cache_size_half): Likewise.
30802         (__x86_64_raw_shared_cache_size_half): Likewise.
30803         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30804         to ...
30805         (__x86_data_cache_size): This.
30806         (__x86_64_raw_data_cache_size): Renamed to ...
30807         (__x86_raw_data_cache_size): This.
30808         (__x86_64_data_cache_size_half): Renamed to ...
30809         (__x86_data_cache_size_half): This.
30810         (__x86_64_raw_data_cache_size_half): Renamed to ...
30811         (__x86_raw_data_cache_size_half): This.
30812         (__x86_64_shared_cache_size): Renamed to ...
30813         (__x86_shared_cache_size): This.
30814         (__x86_64_raw_shared_cache_size): Renamed to ...
30815         (__x86_raw_shared_cache_size): This.
30816         (__x86_64_shared_cache_size_half): Renamed to ...
30817         (__x86_shared_cache_size_half): This.
30818         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30819         (__x86_raw_shared_cache_size_half): This.
30820         * sysdeps/x86_64/memcpy.S: Updated.
30821         * sysdeps/x86_64/memset.S: Likewise.
30822         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30823         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30824         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30825
30826 2013-01-04  David S. Miller  <davem@davemloft.net>
30827
30828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30829
30830 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30831
30832         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30833         1 to avoid redefinition warning.
30834         (__USE_GNU): Don't define.
30835         (init_signaling_nan): Protoize.
30836
30837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30838
30839 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30840
30841         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30842         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30843         (__cpymn): Likewise.
30844         (norm): Remove commented code.
30845         (denorm): Likewise.
30846         (__mp_dbl): Likewise.
30847         (__inv): Likewise.
30848         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30849         (__cpymn): Likewise.
30850         (norm): Remove commented code.
30851         (denorm): Likewise.
30852         (__mp_dbl): Likewise.
30853         (__inv): Likewise.
30854
30855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30856         mp_no value for 1.0 and 2.0.
30857         (norm): Use RADIXI instead of radixi.d.
30858         (denorm): Likewise.
30859         (__mul): Use 0.0 instead of zero.d.
30860         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30861         mp_no value for 1.0 and 2.0.
30862         (norm): Use RADIXI instead of radixi.d.
30863         (denorm): Likewise.
30864         (__mul): Use 0.0 instead of zero.d.
30865
30866 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
30867
30868         [BZ #14994]
30869         * math/s_casinh.c (__casinh): Reduce finite argument to first
30870         quadrant then set signs of results at the end.
30871         * math/s_casinhf.c (__casinhf): Likewise.
30872         * math/s_casinhl.c (__casinhl): Likewise.
30873         * math/libm-test.inc (casin_test): Add more tests.
30874         (casinh_test): Likewise.
30875         * sysdeps/i386/fpu/libm-test-ulps: Update.
30876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30877
30878 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30879
30880         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30881
30882         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30883
30884         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30885         declarations.
30886         (denorm): Likewise.
30887         (__mp_dbl): Likewise.
30888         (__inv): Likewise.
30889
30890         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30891         and adjust the header comment.
30892
30893         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30894         variable name from declaration.
30895
30896 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
30897
30898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30899         Initialize COMMON_CPUID_INDEX_7 element.
30900         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30901         (CPUID_RTM): Likewise.
30902         (HAS_RTM): Likewise.
30903         (COMMON_CPUID_INDEX_7): New enum.
30904
30905 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
30906
30907         [BZ #14981]
30908         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30909         size is zero, record memory as freed.
30910
30911 2013-01-03  Andreas Jaeger  <aj@suse.de>
30912
30913         * po/ia.po: Add new Interlingua translation.
30914
30915 2012-01-03  Allan McRae  <allan@archlinux.org>
30916
30917         * locale/programs/localedef.c: Fix description of '--posix' flag.
30918
30919 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
30920
30921         * NEWS: Update dates in second copyright notice.
30922         * README: Update copyright dates in example.
30923         * manual/libc.texinfo: Update copyright dates.
30924         * scripts/test-installation.pl: Update copyright date in --version
30925         output.
30926
30927         * hurd/ctty-input.c: Fix copyright notice formatting.
30928         * hurd/ctty-output.c: Likewise.
30929         * hurd/dtable.c: Likewise.
30930         * hurd/hurd-raise.c: Likewise.
30931         * hurd/hurdprio.c: Likewise.
30932         * hurd/msgportdemux.c: Likewise.
30933         * misc/sys/file.h: Likewise.
30934         * misc/sys/ioctl.h: Likewise.
30935         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30936         * sysdeps/mach/hurd/chdir.c: Likewise.
30937         * sysdeps/mach/hurd/fchdir.c: Likewise.
30938         * sysdeps/mach/hurd/rename.c: Likewise.
30939         * sysdeps/mach/hurd/rmdir.c: Likewise.
30940         * sysdeps/mach/hurd/seekdir.c: Likewise.
30941         * sysdeps/mach/hurd/setsid.c: Likewise.
30942         * sysdeps/posix/wait3.c: Likewise.
30943
30944         * All files with FSF copyright notices: Update copyright dates
30945         using scripts/update-copyrights.
30946         * intl/plural.c: Regenerated.
30947         * locale/programs/charmap-kw.h: Likewise.
30948         * locale/programs/locfile-kw.h: Likewise.
30949
30950 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30951
30952         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30953         four values.
30954
30955         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30956         calculation loop and add branch prediction.
30957
30958         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30959         check access beyond bounds of m1np.
30960
30961         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30962         MPTWO.
30963         (__inv): Remove local variable MPTWO to use the global
30964         constant.
30965         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30966         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30967         variable MPTWO.
30968         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30969         MP3HALFS static const.
30970
30971 2013-01-01  David S. Miller  <davem@davemloft.net>
30972
30973         * po/ca.po: Update from translation team.
30974
30975 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
30976
30977         * scripts/update-copyrights: New file.
30978         * Makeconfig: Reformat copyright notice.
30979         * ctype/ctype.h: Likewise.
30980         * debug/swprintf_chk.c: Likewise.
30981         * elf/dl-cache.c: Likewise.
30982         * elf/dl-debug.c: Likewise.
30983         * elf/dl-object.c: Likewise.
30984         * grp/initgroups.c: Likewise.
30985         * hurd/Makefile: Likewise.
30986         * hurd/hurd/signal.h: Likewise.
30987         * hurd/hurdfault.c: Likewise.
30988         * hurd/hurdioctl.c: Likewise.
30989         * hurd/hurdlookup.c: Likewise.
30990         * hurd/intr-msg.c: Likewise.
30991         * iconv/gconv_open.c: Likewise.
30992         * libio/swprintf.c: Likewise.
30993         * locale/lc-ctype.c: Likewise.
30994         * locale/nl_langinfo.c: Likewise.
30995         * mach/Machrules: Likewise.
30996         * mach/Makefile: Likewise.
30997         * malloc/obstack.h: Likewise.
30998         * manual/Makefile: Likewise.
30999         * manual/tsort.awk: Likewise.
31000         * misc/bits/stab.def: Likewise.
31001         * nis/nis_print_group_entry.c: Likewise.
31002         * nis/nis_table.c: Likewise.
31003         * nis/nss_compat/compat-pwd.c: Likewise.
31004         * nis/nss_compat/compat-spwd.c: Likewise.
31005         * po/Makefile: Likewise.
31006         * posix/fnmatch.c: Likewise.
31007         * posix/regex.h: Likewise.
31008         * resolv/Makefile: Likewise.
31009         * resolv/nss_dns/dns-network.c: Likewise.
31010         * resolv/res_hconf.c: Likewise.
31011         * scripts/gen-sorted.awk: Likewise.
31012         * soft-fp/soft-fp.h: Likewise.
31013         * stdio-common/printf.h: Likewise.
31014         * stdlib/monetary.h: Likewise.
31015         * stdlib/random.c: Likewise.
31016         * stdlib/random_r.c: Likewise.
31017         * sysdeps/generic/Makefile: Likewise.
31018         * sysdeps/gnu/Makefile: Likewise.
31019         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31020         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31021         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31022         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31023         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31024         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31025         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31026         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31027         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31028         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31029         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31030         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31031         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31032         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31033         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31034         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31035         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31036         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31037         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31038         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31039         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31040         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31041         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31042         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31043         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31044         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31045         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31046         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31047         * sysdeps/mach/hurd/errnos.awk: Likewise.
31048         * sysdeps/mach/hurd/fork.c: Likewise.
31049         * sysdeps/mach/hurd/getcwd.c: Likewise.
31050         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31051         * sysdeps/mach/hurd/mmap.c: Likewise.
31052         * sysdeps/mach/hurd/utimes.c: Likewise.
31053         * sysdeps/mach/hurd/xmknod.c: Likewise.
31054         * sysdeps/posix/profil.c: Likewise.
31055         * sysdeps/posix/readdir_r.c: Likewise.
31056         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31057         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31058         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31059         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31061         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31062         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31063         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31064         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31065         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31066         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31067         * sysdeps/pthread/lio_listio.c: Likewise.
31068         * sysdeps/sparc/dl-procinfo.h: Likewise.
31069         * sysdeps/unix/i386/sysdep.S: Likewise.
31070         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31071         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31072         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31073         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31075         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31076         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31077         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31078         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31079         * sysdeps/wordsize-32/divdi3.c: Likewise.
31080         * time/sys/time.h: Likewise.
31081         * wcsmbs/Makefile: Likewise.
31082
31083 2013-01-01  David S. Miller  <davem@davemloft.net>
31084
31085         * po/fr.po: Update from translation team.
31086
31087         * catgets/gencat.c: Update copyright year.
31088         * csu/version.c: Likewise.
31089         * debug/catchsegv.sh: Likewise.
31090         * debug/pcprofiledump.c: Likewise.
31091         * debug/xtrace.sh: Likewise.
31092         * elf/ldconfig.c: Likewise.
31093         * elf/ldd.bash.in: Likewise.
31094         * elf/pldd.c: Likewise.
31095         * elf/sotruss.ksh: Likewise.
31096         * elf/sprof.c: Likewise.
31097         * iconv/iconv_prog.c: Likewise.
31098         * iconv/iconvconfig.c: Likewise.
31099         * locale/programs/locale.c: Likewise.
31100         * locale/programs/localedef.c: Likewise.
31101         * login/programs/pt_chown.c: Likewise.
31102         * malloc/memusage.sh: Likewise.
31103         * malloc/memusagestat.c: Likewise.
31104         * malloc/mtrace.pl: Likewise.
31105         * nscd/nscd.c: Likewise.
31106         * nss/getent.c: Likewise.
31107         * nss/makedb.c: Likewise.
31108         * posix/getconf.c: Likewise.
31109
31110 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31111
31112         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31113         numbers.
31114
31115 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31116
31117         * math/bits/mathcalls.h (modf): Use __nonnull.
31118
31119 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31120
31121         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31122         (split): Use macro CN instead of the bare value.
31123         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31124         could be used.
31125         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31126         instead of the bare value.
31127         (power1): Likewise.
31128
31129 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31130
31131         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31132         __ATAN_TWOM.
31133         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31134
31135         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31136         their values.
31137         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31138         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31139         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31140         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31141
31142 2012-12-28  Andreas Jaeger  <aj@suse.de>
31143
31144         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31145         values are from Linux 3.7.
31146
31147         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31148         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31149
31150 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31151
31152         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31153         TRUE case.
31154
31155         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31156         (norm): Likewise.
31157         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31158         variables with preprocessor constants.
31159         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31160         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31161         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31162
31163 2012-12-27  Bruno Haible  <bruno@clisp.org>
31164
31165         [BZ #14317]
31166         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31167         only if needed.
31168
31169 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31170
31171         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31172         and use variable directly.
31173         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31174
31175         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31176         MPONE.
31177         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31178         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31179         variable MPONE.
31180         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31181         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31182         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31183         include directive.  Remove local variable MPONE.
31184         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31185         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31186         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31187
31188 2012-12-25  David S. Miller  <davem@davemloft.net>
31189
31190         * version.h (RELEASE): Set to "development".
31191         (VERSION): Set to "2.17.90".
31192         * NEWS: Add 2.18 section.
31193
31194 2012-12-21  David S. Miller  <davem@davemloft.net>
31195
31196         * po/hr.po: Update from translation team.
31197
31198 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31199
31200         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31201
31202 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31203
31204         * NEWS:  Mention new memcpy for MIPS.
31205
31206 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31207
31208         * manual/contrib.texi (Contributors): Spelling correction.
31209
31210 2012-12-15  David S. Miller  <davem@davemloft.net>
31211
31212         * po/ru.po: Update from translation team.
31213
31214 2012-12-13  David S. Miller  <davem@davemloft.net>
31215
31216         * NEWS: Mention IFUNC testsuite enhancements.
31217
31218         * po/pl.po: Update from translation team.
31219         * po/bg.po: Likewise.
31220
31221         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31222         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31223
31224 2012-12-11  David S. Miller  <davem@davemloft.net>
31225
31226         * po/sv.po: Update from translation team.
31227
31228         * po/vi.po: Update from translation team.
31229
31230         * po/cs.po: Update from translation team.
31231
31232         * po/de.po: Update from translation team.
31233         * po/eo.po: Likewise.
31234         * po/nl.po: Likewise.
31235
31236 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31237
31238         [BZ #14246]
31239         * manual/argp.texi (Argp Helper Functions): Move node to follow
31240         Argp Parsing State.
31241
31242         [BZ #14872]
31243         * manual/conf.texi (Limits on File System Capacity): Mention if
31244         terminating null is included in the max size.
31245
31246 2012-12-10  Andreas Jaeger  <aj@suse.de>
31247
31248         * po/cs.po: Update from translation team.
31249
31250 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31251
31252         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31253         void pointer and cast to uintptr_t.
31254         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31255         path.
31256         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31257         * sysdeps/s390/s390-64/memset.S: Likewise.
31258
31259 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31260
31261         [BZ #14833]
31262         * menual/message.texi (Message Translation): Fix typos.
31263         (Helper programs for gettext): Likewise.
31264
31265 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31266
31267         [BZ #14898]
31268         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31269         Change to -1.
31270
31271 2012-12-07  David S. Miller  <davem@davemloft.net>
31272
31273         * po/libc.pot: Update.
31274
31275 2012-12-07  Richard Henderson  <rth@redhat.com>
31276
31277         [BZ #10114]
31278         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31279         normal/normal case to before the switch.
31280         (_FP_DIV): Likewise.
31281
31282 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31283             Mike Frysinger  <vapier@gentoo.org>
31284
31285         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31286         check for __NR_fadvise64_64.
31287
31288 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31289
31290         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31291         0, not just to plain "0" as a statement.
31292         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31293         with cw.
31294
31295 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31296
31297         * NEWS: Use sourceware.org in Bugzilla URL.
31298
31299 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31300
31301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31302         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31303
31304         * stdio-common/tst-put-error.c (do_test): Add newline to the
31305         padded test to ensure flush.
31306
31307 2012-12-05  Jeff Law  <law@redhat.com>
31308
31309         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31310
31311 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31312
31313         * README: Don't refer to ports add-on as distributed separately.
31314         Mention AArch64 in list of systems supported in the ports add-on.
31315
31316         * LICENSES: Add more non-FSF copyright and license notices.
31317
31318         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31319         ((unused)).
31320
31321         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31322
31323         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31324         10000 as width of padded output.
31325
31326 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31327
31328         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31329
31330         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31331         variable LX with __attribute__ ((unused)).
31332         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31333         Likewise.
31334         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31335         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31336         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31337         with __attribute__ ((unused)).
31338
31339 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31340
31341         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31342
31343 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31344
31345         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31346         (CFLAGS-nldbl-acos.c): New variable.
31347         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31348         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31349         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31350         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31351         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31352         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31353         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31354         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31355         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31356         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31357         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31358         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31359         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31360         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31361         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31362         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31363         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31364         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31365         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31366         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31367         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31368         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31369         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31370         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31371         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31372         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31373         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31374         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31375         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31376         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31377         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31378         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31379         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31380         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31381         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31382         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31383         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31384         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31385         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31386         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31387         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31388         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31389         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31390         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31391         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31392         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31393         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31394         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31395         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31396         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31397         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31398         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31399         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31400         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31401         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31402         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31403         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31404         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31405         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31406         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31407         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31408         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31409         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31410         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31411         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31412         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31413         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31414         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31415         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31416         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31417         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31418         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31419         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31420         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31421         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31422         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31423         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31424         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31425         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31426         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31427         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31428         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31429         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31430         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31431         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31432         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31433         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31434         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31435         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31436         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31437         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31438         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31439         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31440         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31441         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31442         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31443         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31444
31445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31446         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31447
31448         [BZ #14914]
31449         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31450         whole low double instead of just low 47 bits when splitting values
31451         into two parts.
31452
31453 2012-12-03  Allan McRae  <allan@archlinux.org>
31454
31455         * manual/stdio.texi (Predefined Printf Handlers): Remove
31456         @hsep and @vsep usage.
31457
31458 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31459
31460         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31461         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31462
31463 2012-12-03  Jeff Law  <law@redhat.com>
31464
31465         * time/sys/time.h (settimeofday): Do not mark TV argument
31466         as __nonnull.
31467
31468 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31469
31470         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31471         when currently writing and seek to current position when not.
31472         * libio/Makefile (tests): Remove bug-fclose1.
31473         * libio/bug-fclose1.c: Delete.
31474
31475 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31476
31477         * manual/arith.texi (feenableexcept): Fix typo.
31478         (fedisableexcept): Likewise.
31479
31480 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31481
31482         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31483         second, differently-typed declaration, rather than a cast.
31484
31485 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31486
31487         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31488         * include/rpc/svc.h: ... here.
31489
31490 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31491
31492         [BZ #13013]
31493         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31494         depending n and resplen2 to catch cases where answer
31495         equals answerp2.
31496
31497 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31498
31499         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31500         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31501
31502 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31503
31504         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31505
31506 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31507
31508         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31509
31510 2012-11-28  Jeff Law  <law@redhat.com>
31511
31512         [BZ #13761]
31513         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31514         dataset_temporary.  Track alloca usage into alloca_used.
31515         If dataset is large allocate and release it via malloc/free.
31516
31517 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31518
31519         [BZ #14197]
31520         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31521
31522 2012-11-28  David S. Miller  <davem@davemloft.net>
31523
31524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31525
31526 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31527
31528         [BZ #14803]
31529         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31530         of pi/2 rounded to nearest to 64 bits.
31531         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31532         nearest to 64 bits.
31533         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31534         bits.
31535
31536 2012-11-28  Jeff Law <law@redhat.com>
31537             Martin Osvald <mosvald@redhat.com>
31538
31539         [BZ #14889]
31540         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31541         * sunrpc/svc.c: Include time.h.
31542         (__svc_accept_failed): New function.
31543         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31544         any reason other than EINTR, call __svc_accept_failed.
31545         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31546         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31547
31548 2012-11-28  Andreas Schwab  <schwab@suse.de>
31549
31550         * scripts/abilist.awk: Also handle indirect functions in .opd
31551         section.
31552
31553 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31554
31555         [BZ #13881]
31556         * sysdeps/x86/fpu/powl_helper.c: New file.
31557         * sysdeps/x86/fpu/Makefile: Likewise.
31558         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31559         (p3): New object.
31560         (__ieee754_powl): Use __powl_helper for finite arguments except
31561         integer exponents below 8.
31562         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31563         (p3): New object.
31564         (__ieee754_powl): Use __powl_helper for finite arguments except
31565         integer exponents below 8.
31566         * math/libm-test.inc (pow_test): Add more tests and enable some
31567         previously disabled tests.
31568         * sysdeps/i386/fpu/libm-test-ulps: Update.
31569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31570
31571 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31572             Carlos O'Donell  <carlos_odonell@mentor.com>
31573
31574         * nss/makedb.c (is_prime): Assert that input is odd and greater
31575         than 4.  Note that fact in a comment too.
31576         (next_prime): Add 4 to input.
31577
31578 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31579
31580         [BZ #11741]
31581         * libio/Makefile (tests): Add test case tst-fwrite-error.
31582         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31583         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31584         * libio/tst-fwrite-error.c: New test case.
31585
31586 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31587
31588         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31589         before casting to void *.
31590         * include/libc-internal.h (__pointer_type): New macro.
31591         (__integer_if_pointer_type_sub): Likewise.
31592         (__integer_if_pointer_type): Likewise.
31593         (cast_to_integer): Likewise.
31594         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31595         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31596         before casting to atomic64_t.
31597         (atomic_exchange_acq): Likewise.
31598         (__arch_exchange_and_add_body): Likewise.
31599         (__arch_add_body): Likewise.
31600         (atomic_add_negative): Likewise.
31601         (atomic_add_zero): Likewise.
31602
31603 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31604
31605         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31606         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31607         (add_fdes): Likewise.
31608         (linear_search_fdes): Likewise.
31609         (binary_search_unencoded_fdes): Likewise.
31610
31611 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31612
31613         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31614
31615 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31616
31617         * configure.in: Autodetect C++ header directories.
31618         * configure: Regenerated.
31619
31620 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31621
31622         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31623
31624 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31625
31626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31627
31628 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31629
31630         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31631         LDBL_MANT_DIG == 106]: Disable some tests.
31632         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31633         Likewise.
31634         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31635         Likewise.
31636
31637         [BZ #14871]
31638         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31639         input for small inputs.  Return +/- pi/2 for large inputs.
31640         * math/libm-test.inc (atan_test): Add more tests.
31641
31642         * sysdeps/generic/unwind-dw2-fde-glibc.c
31643         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31644         __attribute__ ((unused)).
31645
31646         [BZ #14645]
31647         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31648         x * y if x and y are nonzero and z is zero.
31649
31650         [BZ #14811]
31651         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31652         nonzero exponents with absolute value below 0x1p-117 to +/-
31653         0x1p-117.
31654
31655         [BZ #14869]
31656         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31657         up arguments below 2**-450, not just those below 2**-500.
31658         * math/libm-test.inc (hypot_test): Add another test.
31659
31660         [BZ #14868]
31661         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31662         Return a+b for ratio over 2**120, not 2**60.
31663         * math/libm-test.inc (hypot_test): Add another test.
31664
31665         * math/libm-test.inc (clog_test): Use
31666         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31667         (clog10_test): Likewise.
31668
31669         [BZ #6778]
31670         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31671
31672 2012-11-22  Andreas Schwab  <schwab@suse.de>
31673
31674         * sysdeps/i386/fpu/libm-test-ulps: Update.
31675
31676 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31677
31678         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31679         printf output with newline.
31680
31681 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31682
31683         [BZ #14865]
31684         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31685         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31686         -z nodlopen, -z initfirst and -z execstack support.
31687         * configure: Regenerated.
31688
31689         * elf/elf.h (DF_1_NODIRECT): New macro.
31690         (DF_1_IGNMULDEF): Likewise.
31691         (DF_1_NOKSYMS): Likewise.
31692         (DF_1_NOHDR): Likewise.
31693         (DF_1_EDITED): Likewise.
31694         (DF_1_NORELOC): Likewise.
31695         (DF_1_SYMINTPOSE): Likewise.
31696         (DF_1_GLOBAUDIT): Likewise.
31697         (DF_1_SINGLETON): Likewise.
31698         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31699         DT_1_SUPPORTED_MASK bits.
31700         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31701
31702 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31703
31704         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31705
31706 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31707
31708         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31709         macro.
31710
31711         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31712         (sendmmsg): Move declarations...
31713         * socket/sys/socket.h: ... here.
31714         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31715         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31716         include it from...
31717         * socket/recvmmsg.c: ... this new file.
31718         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31719         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31720         definition of __sendmmsg hidden.
31721         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31722         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31723         Move ENOSYS stub into and include it from...
31724         * socket/sendmmsg.c: ... this new file.
31725         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31726         (sysdep_routines): Move recvmmsg and sendmmsg...
31727         * socket/Makefile (routines): ... here.
31728         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31729         (GLIBC_PRIVATE): Add __sendmmsg.
31730         * include/sys/socket.h (__sendmmsg): Add declarations.
31731         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31732         sendmmsg.
31733
31734 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31735
31736         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31737         variable I1 with __attribute__ ((unused)).
31738         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31739
31740 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31741
31742         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31743         DUMMY variables with __attribute__ ((unused)).
31744
31745         * bits/byteswap.h: Include <bits/types.h>.
31746         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31747
31748 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31749
31750         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31751         string_t.  Do not manually set errno.
31752         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31753         length with __strnlen.  Make sure to both set errno and return it on
31754         failure.
31755
31756 2012-11-19  David S. Miller  <davem@davemloft.net>
31757
31758         With help from Joseph Myers.
31759         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31760         very large arguments properly.
31761         * math/libm-test.inc (atan_test): New tests.
31762         (atan2_test): New tests.
31763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31764         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31765
31766 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31767
31768         [BZ #14856]
31769         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31770         Define to 3.
31771
31772         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31773         [POSIX] (EADDRNOTAVAIL): Likewise.
31774         [POSIX] (EAFNOSUPPORT): Likewise.
31775         [POSIX] (EALREADY): Likewise.
31776         [POSIX] (ECONNABORTED): Likewise.
31777         [POSIX] (ECONNREFUSED): Likewise.
31778         [POSIX] (ECONNRESET): Likewise.
31779         [POSIX] (EDESTADDRREQ): Likewise.
31780         [POSIX] (EDQUOT): Likewise.
31781         [POSIX] (EHOSTUNREACH): Likewise.
31782         [POSIX] (EIDRM): Likewise.
31783         [POSIX] (EISCONN): Likewise.
31784         [POSIX] (ELOOP): Likewise.
31785         [POSIX] (EMULTIHOP): Likewise.
31786         [POSIX] (ENETDOWN): Likewise.
31787         [POSIX] (ENETUNREACH): Likewise.
31788         [POSIX] (ENOBUFS): Likewise.
31789         [POSIX] (ENODATA): Likewise.
31790         [POSIX] (ENOLINK): Likewise.
31791         [POSIX] (ENOMSG): Likewise.
31792         [POSIX] (ENOPROTOOPT): Likewise.
31793         [POSIX] (ENOSR): Likewise.
31794         [POSIX] (ENOSTR): Likewise.
31795         [POSIX] (ENOTCONN): Likewise.
31796         [POSIX] (ENOTSOCK): Likewise.
31797         [POSIX] (EOPNOTSUPP): Likewise.
31798         [POSIX] (EOVERFLOW): Likewise.
31799         [POSIX] (EPROTO): Likewise.
31800         [POSIX] (EPROTONOSUPPORT): Likewise.
31801         [POSIX] (EPROTOTYPE): Likewise.
31802         [POSIX] (ESTALE): Likewise.
31803         [POSIX] (ETIME): Likewise.
31804         [POSIX] (ETXTBSY): Likewise.
31805         [POSIX] (EWOULDBLOCK): Likewise.
31806         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31807         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31808         [POSIX] (SEEK_CUR): Likewise.
31809         [POSIX] (SEEK_END): Likewise.
31810         [POSIX || UNIX98] (mode_t): Do not require.
31811         [POSIX] (off_t): Likewise.
31812         [POSIX] (pid_t): Likewise.
31813         [POSIX] (sys/stat.h): Do not allow header.
31814         [POSIX] (unistd.h): Likewise.
31815         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31816         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31817         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31818         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31819         require.
31820         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31821         sigevent): Specify elements.
31822         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31823         entry.
31824         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31825         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31826
31827         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31828         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31829         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31830         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31831         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31832         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31833         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31834         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31835         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31836         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31837         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31838         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31839         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31840         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31841         Likewise.
31842         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31843         Likewise.
31844         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31845         Likewise.
31846         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31847         Likewise.
31848         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31849         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31850         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31851         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31852         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31853         Specify lower bound on value.
31854         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31855         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31856         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31857         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31858         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31859         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31860         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31861         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31862         value.
31863         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31864         as optional.
31865         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31866         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31867         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31868         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31869         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31870         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31871         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31872         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31873         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31874         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31875         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31876         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31877         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31878         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31879         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31880         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31881         entry.
31882         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31883         optional.
31884         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31885         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31886         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31887         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31888         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31889         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31890         Likewise.
31891         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31892         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31893         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31894         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31895         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
31896         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31897         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31898         as optional.
31899         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31900         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31901         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31902         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31903         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31904         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31905         specify as optional.
31906         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31907         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31908         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31909         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31910         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31911         [XPG3] (NL_LANGMAX): Likewise.
31912         [POSIX || XPG3] (NL_MSGMAX): Likewise.
31913         [POSIX || XPG3] (NL_NMAX): Likewise.
31914         [POSIX || XPG3] (NL_SETMAX): Likewise.
31915         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31916         [XPG3] (NZERO): Likewise.
31917         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31918         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31919         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31920         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31921         (REG_ERANGE): Expect.
31922         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31923         optional-constant.
31924         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31925         Use (void) in prototype.
31926         [POSIX] (*_t): Allow.
31927         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31928         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31929         (WRDE_BADVAL): Expect.
31930
31931         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31932         expect.
31933         [XPG3 || XPG4] (O_RSYNC): Likewise.
31934         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31935         Likewise.
31936         [XPG3 || XPG4] (pthread_sigmask): Likewise.
31937         [XPG3 || XPG4] (sigqueue): Likewise.
31938         [XPG3 || XPG4] (sigtimedwait): Likewise.
31939         [XPG3 || XPG4] (sigwaitinfo): Likewise.
31940         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31941         [XPG3 || XPG4] (vsnprintf): Likewise.
31942         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31943         Likewise.
31944         [XPG3 || XPG4] (blksize_t): Likewise.
31945         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31946         Likewise.
31947         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31948         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31949         [XPG3 || XPG4] (struct itimerspec): Likewise.
31950         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31951         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31952         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31953         [XPG3 || XPG4] (clockid_t): Likewise.
31954         [XPG3 || XPG4] (timer_t): Likewise.
31955         [XPG3 || XPG4] (clock_getres): Likewise.
31956         [XPG3 || XPG4] (clock_gettime): Likewise.
31957         [XPG3 || XPG4] (clock_settime): Likewise.
31958         [XPG3 || XPG4] (nanosleep): Likewise.
31959         [XPG3 || XPG4] (timer_create): Likewise.
31960         [XPG3 || XPG4] (timer_delete): Likewise.
31961         [XPG3 || XPG4] (timer_gettime): Likewise.
31962         [XPG3 || XPG4] (timer_getoverrun): Likewise.
31963         [XPG3 || XPG4] (timer_settime): Likewise.
31964         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31965         [XPG3 || XPG4] (getlogin_r): Likewise.
31966         [XPG3 || XPG4] (pread): Likewise.
31967         [XPG3 || XPG4] (pthread_atfork): Likewise.
31968         [XPG3 || XPG4] (pwrite): Likewise.
31969
31970         [BZ #14835]
31971         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31972         <bits/siginfo.h>.
31973
31974 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31975
31976         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31977         finalizing MALLSTREAM.
31978
31979         * sysdeps/mach/hurd/syncfs.c: New file.
31980
31981 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31982
31983         [BZ #14719]
31984         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31985         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31986         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31987         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31988         (_nss_dns_gethostbyname4_r): Likewise.
31989         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31990         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31991
31992 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
31993
31994         [BZ #13763]
31995         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31996
31997 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
31998
31999         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32000         * elf/cache.c (print_entry): Print ",AArch64" for
32001         FLAG_AARCH64_LIB64
32002
32003         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32004         * elf/cache.c (print_entry): Print ",hard-float" for
32005         FLAG_ARM_LIBHF.
32006
32007 2012-11-18  David S. Miller  <davem@davemloft.net>
32008
32009         With help from Joseph Myers.
32010         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32011         cutoff to 2**-13.
32012         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32013         cutoff to 2**-25.
32014         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32015         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32016         small.
32017         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32018         * math/libm-test.inc (y0_test): New tests.
32019         (y1_test): New tests.
32020         * sysdeps/i386/fpu/libm-test-ulps: Update.
32021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32023
32024 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32025
32026         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32027         64-bit targets.
32028         * configure: Regenerated.
32029
32030 2012-11-17  David S. Miller  <davem@davemloft.net>
32031
32032         [BZ #14811]
32033         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32034         nonzero exponents with absolute value below 0x1p-128 to +/-
32035         0x1p-128.
32036
32037 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32038
32039         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32040
32041         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32042
32043         * posix/getconf-speclist.c: New file.
32044         * posix/posix-envs.def: Likewise.
32045         * posix/confstr.c (START_ENV_GROUP): New macro.
32046         (END_ENV_GROUP): Likewise.
32047         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32048         (KNOWN_PRESENT_ENV_STRING): Likewise.
32049         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32050         (UNKNOWN_ENVIRONMENT): Likewise.
32051         (confstr): Include posix-envs.def instead of handling
32052         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32053         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32054         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32055         (END_ENV_GROUP): Likewise.
32056         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32057         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32058         (UNKNOWN_ENVIRONMENT): Likewise.
32059         (__sysconf): Include posix-envs.def instead of handling associated
32060         cases directly here.
32061         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32062         preprocessing getconf-speclist.c rather than running getconf or
32063         generating empty file.
32064
32065 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32066
32067         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32068
32069 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32070
32071         [BZ #14672]
32072         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32073
32074 2012-11-16  David S. Miller  <davem@davemloft.net>
32075
32076         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32077         smaller than LDBL_EPSILON/2.0L, just return xm1.
32078
32079 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32080
32081         * elf/tst-array1.c (init): Set constructor priority to 1000.
32082         (fini): Set destructor priority to 1000.
32083         * elf/tst-array2dep.c: Likewise.
32084
32085 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32086
32087         [BZ #11741]
32088         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32089         (_IO_new_file_xsputn): Also return EOF if none of the input
32090         data was written when overflow failed.
32091         * libio/iopadn.c (_IO_padn): Likewise.
32092         * libio/iowpadn.c (_IO_wpadn): Likewise.
32093         * stdio-common/tst-put-error.c: Add copyright notice.
32094         (do_test): Add case for printing padded string.
32095         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32096         _IO_padn returned error.
32097         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32098         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32099         return EOF.
32100
32101 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32102
32103         * libio/libioP.h: Add comment note that the references to C++
32104         bits are now obsolete.
32105
32106 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32107
32108         * math/libm-test.inc (check_complex): Use asprintf.
32109
32110 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32111
32112         * debug/pcprofiledump.c (print_version): Update copyright year.
32113         * malloc/memusagestat.c (print_version): Likewise.
32114
32115 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32116
32117         [BZ #14831]
32118         * elf/Makefile (tests): Add tst-audit8.
32119         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32120         ($(objpfx)tst-audit8.out): New target.
32121         (tst-audit8-ENV): New variable.
32122         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32123         audit if l_reloc_result is NULL.
32124         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32125         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32126         * elf/tst-audit8.c: New file.
32127
32128 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32129
32130         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32131         * misc/Makefile (CFLAGS-select.c): Define.
32132         * posix/Makefile (CFLAGS-pause.c): Define.
32133
32134 2012-11-13  David S. Miller  <davem@davemloft.net>
32135
32136         * crypt/Makefile: Move test targets after toplevel Rules
32137         inclusion.  Grab any necessary sysdep routines when linking.
32138         * crypt/md5.c (md5_process_block): Remove define, we will always
32139         name it __md5_process_block.
32140         (md5_finish_ctx): Update md5_process_block call.
32141         (md5_stream): Likewise.
32142         (md5_process_bytes): Likewise.
32143         (md5_process_block): Rename to __md5_process_block and move to ...
32144         * crypt/md5-block.c: ... here.
32145         * crypt/sha256.c (sha256_process_block): Move to ...
32146         * crypt/sha256-block.c: ... here.
32147         * crypt/sha512.c (sha512_process_block): Move to ...
32148         * crypt/sha512-block.c: ... here.
32149         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32150         path.
32151         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32152         * sysdeps/sparc/sparc64/multiarch/Makefile
32153         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32154         crypt subdir.
32155         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32156         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32157         multiarch changes.
32158         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32159         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32160         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32161         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32162         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32163         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32164         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32165         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32166         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32167         file.
32168         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32169         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32170         file.
32171         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32172
32173 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32174
32175         * timezone/tzselect.ksh: Update from tzcode git revision
32176         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32177         * timezone/zdump.c: Likewise.
32178         * timezone/zic.c: Likewise.
32179         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32180         in TZVERSION setting, not $(PKGVERSION).
32181         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32182         REPORT_BUGS_TO settings.
32183
32184         [BZ #14838]
32185         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32186         macro.
32187
32188 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32189
32190         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32191         detection to immediately after _FP_ROUND().
32192         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32193         bits are 0.
32194
32195 2012-11-11  David S. Miller  <davem@davemloft.net>
32196
32197         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32198         inttypes.h
32199         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32200         __close rather than their public counterparts.
32201
32202 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32203
32204         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32205         file.
32206         [UNIX98] (sem_timedwait): Do not expect.
32207         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32208         [XPG4 || UNIX98] (sockatmark): Do not expect.
32209         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32210         (clock_getcpuclockid): Do not expect.
32211         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32212         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32213         Do not expect.
32214         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32215         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32216         [UNIX98] (vwscanf): Likewise.
32217         [UNIX98] (vswscanf): Likewise.
32218
32219 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32220
32221         * timezone/version.h: Remove file.
32222         * timezone/README: Do not refer to version.h.
32223         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32224         $(objpfx)version.h.
32225         ($(objpfx)zdump.o): Likewise.
32226         ($(objpfx)version.h): New target.
32227
32228         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32229         2012i.
32230         * timezone/README: Don't mention modification to tzselect.ksh.
32231         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32232         work on unmodified tzselect.ksh.  Substitute version numbers in
32233         tzselect.ksh.
32234
32235         * Makefile (format-me): Remove.
32236         (INSTALL): Adjust indentation.  Use commands directly instead of
32237         using $(format-me).
32238
32239         * aclocal.m4 (ACX_PKGVERSION): New macro.
32240         (ACX_BUGURL): Likewise.
32241         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32242         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32243         (REPORT_BUGS_TO): Likewise.
32244         * configure: Regenerated.
32245         * config.h.in (PKGVERSION): New macro.
32246         (REPORT_BUGS_TO): Likewise.
32247         * config.make.in (PKGVERSION): New variable.
32248         (PKGVERSION_TEXI): Likewise.
32249         (REPORT_BUGS_TO): Likewise.
32250         (REPORT_BUGS_TEXI): Likewise.
32251         * Makefile (format-me): Use -I$(common-objpfx)manual.
32252         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32253         ($(common-objpfx)manual/%): New target.
32254         (manual/%): Remove target.
32255         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32256         (print_version): Use PKGVERSION.
32257         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32258         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32259         and REPORT_BUGS_TO.
32260         ($(objpfx)xtrace): Likewise.
32261         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32262         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32263         (print_version): Use PKGVERSION.
32264         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32265         (do_version): Use PKGVERSION.
32266         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32267         REPORT_BUGS_TO.
32268         (common-ldd-rewrite): Likewise.
32269         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32270         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32271         (print_version): Use PKGVERSION.
32272         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32273         * elf/pldd.c (argp_program_bug_address): Remove variable.
32274         (more_help): New function.
32275         (argp): Use more_help.
32276         (print_version): Use PKGVERSION.
32277         * elf/sln.c (main): Use PKGVERSION.
32278         (usage): Use REPORT_BUGS_TO.
32279         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32280         (top level): Use PKGVERSION.
32281         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32282         (print_version): Use PKGVERSION.
32283         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32284         (print_version): Use PKGVERSION.
32285         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32286         (print_version): Use PKGVERSION.
32287         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32288         (print_version): Use PKGVERSION.
32289         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32290         (print_version): Use PKGVERSION.
32291         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32292         (print_version): Use PKGVERSION.
32293         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32294         and BUGURL.
32295         ($(objpfx)memusage): Likewise.
32296         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32297         (do_version): Use PKGVERSION.
32298         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32299         (print_version): Use PKGVERSION.
32300         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32301         ($PKGVERSION): New variable.
32302         ($REPORT_BUGS_TO): Likewise.
32303         (usage): Use $REPORT_BUGS_TO.
32304         (top level): Use $PKGVERSION.
32305         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32306         ($(objpfx)pkgvers.texi): New rule.
32307         ($(objpfx)stamp-pkgvers): Likewise.
32308         * manual/install.texi: Include pkgvers.texi.
32309         (--with-pkgversion): Document new configure option.
32310         (--with-bugurl): Likewise.
32311         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32312         than necessarily for this particular distribution.  Use
32313         REPORT_BUGS_TO for where to report bugs.
32314         * INSTALL: Regenerated.
32315         * manual/libc.texinfo: Include pkgvers.texi.
32316         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32317         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32318         (print_version): Use PKGVERSION.
32319         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32320         (print_version): Use PKGVERSION.
32321         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32322         (print_version): Use PKGVERSION.
32323         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32324         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32325         macro.
32326         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32327         (print_version): Use PKGVERSION.
32328         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32329         (print_version): Use PKGVERSION.
32330         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32331         and PKGVERSION.
32332
32333         * timezone/checktab.awk: Update from tzcode 2012i.
32334         * timezone/ialloc.c: Likewise.
32335         * timezone/private.h: Likewise.
32336         * timezone/scheck.c: Likewise.
32337         * timezone/tzfile.h: Likewise.
32338         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32339         (TZVERSION): Hardcode tzcode version number.
32340         * timezone/zdump.c: Update from tzcode 2012i.
32341         * timezone/zic.c: Likewise.
32342         * timezone/version.h: New file.
32343         * timezone/README: Describe version.h.  Update upstream location.
32344
32345         [BZ #14824]
32346         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32347         (mktemp): Enable declaration.
32348         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32349         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32350         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32351         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32352         Likewise.
32353         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32354         Likewise.
32355         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32356         Likewise.
32357         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32358         Likewise.
32359         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32360         Likewise.
32361         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32362         Likewise.
32363
32364         [BZ #14821]
32365         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32366         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32367         for copies of such integer values.
32368         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32369         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32370
32371 2012-11-09  Andreas Jaeger  <aj@suse.de>
32372
32373         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32374         definitions and declarations that are provided by
32375         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32376
32377 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32378
32379         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32380         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32381         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32382         definition.
32383
32384 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32385
32386         * elf/elf.h: Update comment before AArch64 relocations.
32387
32388 2012-11-07  David S. Miller  <davem@davemloft.net>
32389
32390         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32391         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32392         (__start_context): Declare.
32393         (__makecontext_ret): Delete.
32394         (__makecontext): Hook up __start_context instead of
32395         __makecontext_ret.
32396         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32397         (sysdep_routines): Add __start_context when in stdlib.
32398
32399 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32400
32401         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32402         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32403         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32404         hardcoded "nm".
32405         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32406         (READELF): New variable.  Use it instead of hardcoded "readelf".
32407
32408 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32409
32410         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32411         * sysdeps/x86/Makefile: Here.
32412         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32413         * sysdeps/x86/tst-xmmymm.sh: This.
32414
32415 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32416
32417         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32418         expectations.
32419         [UNIX98] (pthread_barrier_t): Do not expect.
32420         [UNIX98] (pthread_barrierattr_t): Likewise.
32421         [UNIX98] (pthread_spinlock_t): Likewise.
32422         [UNIX98] (pthread_barrier_destroy): Likewise.
32423         [UNIX98] (pthread_barrier_init): Likewise.
32424         [UNIX98] (pthread_barrier_wait): Likewise.
32425         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32426         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32427         [UNIX98] (pthread_barrierattr_init): Likewise.
32428         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32429         [UNIX98] (pthread_getcpuclockid): Likewise.
32430         [UNIX98] (pthread_mutex_timedlock): Likewise.
32431         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32432         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32433         [UNIX98] (pthread_sigmask): Likewise.
32434         [UNIX98] (pthread_spin_destroy): Likewise.
32435         [UNIX98] (pthread_spin_init): Likewise.
32436         [UNIX98] (pthread_spin_lock): Likewise.
32437         [UNIX98] (pthread_spin_trylock): Likewise.
32438         [UNIX98] (pthread_spin_unlock): Likewise.
32439         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32440         Do not expect.
32441         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32442         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32443         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32444         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32445         [XPG3 || XPG4] (pthread_key_t): Likewise.
32446         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32447         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32448         [XPG3 || XPG4] (pthread_once_t): Likewise.
32449         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32450         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32451         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32452         [XPG3 || XPG4] (pthread_t): Likewise.
32453
32454         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32455         not expect.
32456         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32457
32458         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32459         Change function return type to int.
32460
32461         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32462         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32463         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32464         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32465         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32466         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32467         [!POSIX] (posix_madvise): Likewise.
32468         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32469         && !UNIX98].
32470         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32471         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32472         (mode_t): Likewise.
32473         (posix_mem_offset): Likewise.
32474         (posix_typed_mem_get_info): Likewise.
32475         (posix_typed_mem_open): Likewise.
32476
32477         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32478         Change condition to [XOPEN2K8].
32479
32480         * conform/conformtest.pl: Preprocess allow-header data with -x c
32481         instead of from stdin.
32482         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32483         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32484         [C99-based standards] (cerfc): Likewise.
32485         [C99-based standards] (cexp2): Likewise.
32486         [C99-based standards] (cexpm1): Likewise.
32487         [C99-based standards] (clog10): Likewise.
32488         [C99-based standards] (clog1p): Likewise.
32489         [C99-based standards] (clog2): Likewise.
32490         [C99-based standards] (clgamma): Likewise.
32491         [C99-based standards] (ctgamma): Likewise.
32492         [C99-based standards] (cerff): Likewise.
32493         [C99-based standards] (cerfcf): Likewise.
32494         [C99-based standards] (cexp2f): Likewise.
32495         [C99-based standards] (cexpm1f): Likewise.
32496         [C99-based standards] (clog10f): Likewise.
32497         [C99-based standards] (clog1pf): Likewise.
32498         [C99-based standards] (clog2f): Likewise.
32499         [C99-based standards] (clgammaf): Likewise.
32500         [C99-based standards] (ctgammaf): Likewise.
32501         [C99-based standards] (cerfl): Likewise.
32502         [C99-based standards] (cerfcl): Likewise.
32503         [C99-based standards] (cexp2l): Likewise.
32504         [C99-based standards] (cexpm1l): Likewise.
32505         [C99-based standards] (clog10l): Likewise.
32506         [C99-based standards] (clog1pl): Likewise.
32507         [C99-based standards] (clog2l): Likewise.
32508         [C99-based standards] (clgammal): Likewise.
32509         [C99-based standards] (ctgammal): Likewise.
32510         * conform/data/inttypes.h-data [C99-based standards]: Include
32511         stdint.h-data.  Remove all expectations for stdint.h contents.
32512         [C99-based standards] (PRI*): Do not allow.
32513         [C99-based standards] (SCN*): Likewise.
32514         [C99-based standards] (*_t): Likewise.
32515         [C99-based-standards] (PRId8): Expect macro.
32516         [C99-based-standards] (PRIi8): Likewise.
32517         [C99-based-standards] (PRIo8): Likewise.
32518         [C99-based-standards] (PRIu8): Likewise.
32519         [C99-based-standards] (PRIx8): Likewise.
32520         [C99-based-standards] (PRIX8): Likewise.
32521         [C99-based-standards] (SCNd8): Likewise.
32522         [C99-based-standards] (SCNi8): Likewise.
32523         [C99-based-standards] (SCNo8): Likewise.
32524         [C99-based-standards] (SCNu8): Likewise.
32525         [C99-based-standards] (SCNx8): Likewise.
32526         [C99-based-standards] (PRIdLEAST8): Likewise.
32527         [C99-based-standards] (PRIiLEAST8): Likewise.
32528         [C99-based-standards] (PRIoLEAST8): Likewise.
32529         [C99-based-standards] (PRIuLEAST8): Likewise.
32530         [C99-based-standards] (PRIxLEAST8): Likewise.
32531         [C99-based-standards] (PRIXLEAST8): Likewise.
32532         [C99-based-standards] (SCNdLEAST8): Likewise.
32533         [C99-based-standards] (SCNiLEAST8): Likewise.
32534         [C99-based-standards] (SCNoLEAST8): Likewise.
32535         [C99-based-standards] (SCNuLEAST8): Likewise.
32536         [C99-based-standards] (SCNxLEAST8): Likewise.
32537         [C99-based-standards] (PRIdFAST8): Likewise.
32538         [C99-based-standards] (PRIiFAST8): Likewise.
32539         [C99-based-standards] (PRIoFAST8): Likewise.
32540         [C99-based-standards] (PRIuFAST8): Likewise.
32541         [C99-based-standards] (PRIxFAST8): Likewise.
32542         [C99-based-standards] (PRIXFAST8): Likewise.
32543         [C99-based-standards] (SCNdFAST8): Likewise.
32544         [C99-based-standards] (SCNiFAST8): Likewise.
32545         [C99-based-standards] (SCNoFAST8): Likewise.
32546         [C99-based-standards] (SCNuFAST8): Likewise.
32547         [C99-based-standards] (SCNxFAST8): Likewise.
32548         [C99-based-standards] (PRId16): Likewise.
32549         [C99-based-standards] (PRIi16): Likewise.
32550         [C99-based-standards] (PRIo16): Likewise.
32551         [C99-based-standards] (PRIu16): Likewise.
32552         [C99-based-standards] (PRIx16): Likewise.
32553         [C99-based-standards] (PRIX16): Likewise.
32554         [C99-based-standards] (SCNd16): Likewise.
32555         [C99-based-standards] (SCNi16): Likewise.
32556         [C99-based-standards] (SCNo16): Likewise.
32557         [C99-based-standards] (SCNu16): Likewise.
32558         [C99-based-standards] (SCNx16): Likewise.
32559         [C99-based-standards] (PRIdLEAST16): Likewise.
32560         [C99-based-standards] (PRIiLEAST16): Likewise.
32561         [C99-based-standards] (PRIoLEAST16): Likewise.
32562         [C99-based-standards] (PRIuLEAST16): Likewise.
32563         [C99-based-standards] (PRIxLEAST16): Likewise.
32564         [C99-based-standards] (PRIXLEAST16): Likewise.
32565         [C99-based-standards] (SCNdLEAST16): Likewise.
32566         [C99-based-standards] (SCNiLEAST16): Likewise.
32567         [C99-based-standards] (SCNoLEAST16): Likewise.
32568         [C99-based-standards] (SCNuLEAST16): Likewise.
32569         [C99-based-standards] (SCNxLEAST16): Likewise.
32570         [C99-based-standards] (PRIdFAST16): Likewise.
32571         [C99-based-standards] (PRIiFAST16): Likewise.
32572         [C99-based-standards] (PRIoFAST16): Likewise.
32573         [C99-based-standards] (PRIuFAST16): Likewise.
32574         [C99-based-standards] (PRIxFAST16): Likewise.
32575         [C99-based-standards] (PRIXFAST16): Likewise.
32576         [C99-based-standards] (SCNdFAST16): Likewise.
32577         [C99-based-standards] (SCNiFAST16): Likewise.
32578         [C99-based-standards] (SCNoFAST16): Likewise.
32579         [C99-based-standards] (SCNuFAST16): Likewise.
32580         [C99-based-standards] (SCNxFAST16): Likewise.
32581         [C99-based-standards] (PRId32): Likewise.
32582         [C99-based-standards] (PRIi32): Likewise.
32583         [C99-based-standards] (PRIo32): Likewise.
32584         [C99-based-standards] (PRIu32): Likewise.
32585         [C99-based-standards] (PRIx32): Likewise.
32586         [C99-based-standards] (PRIX32): Likewise.
32587         [C99-based-standards] (SCNd32): Likewise.
32588         [C99-based-standards] (SCNi32): Likewise.
32589         [C99-based-standards] (SCNo32): Likewise.
32590         [C99-based-standards] (SCNu32): Likewise.
32591         [C99-based-standards] (SCNx32): Likewise.
32592         [C99-based-standards] (PRIdLEAST32): Likewise.
32593         [C99-based-standards] (PRIiLEAST32): Likewise.
32594         [C99-based-standards] (PRIoLEAST32): Likewise.
32595         [C99-based-standards] (PRIuLEAST32): Likewise.
32596         [C99-based-standards] (PRIxLEAST32): Likewise.
32597         [C99-based-standards] (PRIXLEAST32): Likewise.
32598         [C99-based-standards] (SCNdLEAST32): Likewise.
32599         [C99-based-standards] (SCNiLEAST32): Likewise.
32600         [C99-based-standards] (SCNoLEAST32): Likewise.
32601         [C99-based-standards] (SCNuLEAST32): Likewise.
32602         [C99-based-standards] (SCNxLEAST32): Likewise.
32603         [C99-based-standards] (PRIdFAST32): Likewise.
32604         [C99-based-standards] (PRIiFAST32): Likewise.
32605         [C99-based-standards] (PRIoFAST32): Likewise.
32606         [C99-based-standards] (PRIuFAST32): Likewise.
32607         [C99-based-standards] (PRIxFAST32): Likewise.
32608         [C99-based-standards] (PRIXFAST32): Likewise.
32609         [C99-based-standards] (SCNdFAST32): Likewise.
32610         [C99-based-standards] (SCNiFAST32): Likewise.
32611         [C99-based-standards] (SCNoFAST32): Likewise.
32612         [C99-based-standards] (SCNuFAST32): Likewise.
32613         [C99-based-standards] (SCNxFAST32): Likewise.
32614         [C99-based-standards] (PRId64): Likewise.
32615         [C99-based-standards] (PRIi64): Likewise.
32616         [C99-based-standards] (PRIo64): Likewise.
32617         [C99-based-standards] (PRIu64): Likewise.
32618         [C99-based-standards] (PRIx64): Likewise.
32619         [C99-based-standards] (PRIX64): Likewise.
32620         [C99-based-standards] (SCNd64): Likewise.
32621         [C99-based-standards] (SCNi64): Likewise.
32622         [C99-based-standards] (SCNo64): Likewise.
32623         [C99-based-standards] (SCNu64): Likewise.
32624         [C99-based-standards] (SCNx64): Likewise.
32625         [C99-based-standards] (PRIdLEAST64): Likewise.
32626         [C99-based-standards] (PRIiLEAST64): Likewise.
32627         [C99-based-standards] (PRIoLEAST64): Likewise.
32628         [C99-based-standards] (PRIuLEAST64): Likewise.
32629         [C99-based-standards] (PRIxLEAST64): Likewise.
32630         [C99-based-standards] (PRIXLEAST64): Likewise.
32631         [C99-based-standards] (SCNdLEAST64): Likewise.
32632         [C99-based-standards] (SCNiLEAST64): Likewise.
32633         [C99-based-standards] (SCNoLEAST64): Likewise.
32634         [C99-based-standards] (SCNuLEAST64): Likewise.
32635         [C99-based-standards] (SCNxLEAST64): Likewise.
32636         [C99-based-standards] (PRIdFAST64): Likewise.
32637         [C99-based-standards] (PRIiFAST64): Likewise.
32638         [C99-based-standards] (PRIoFAST64): Likewise.
32639         [C99-based-standards] (PRIuFAST64): Likewise.
32640         [C99-based-standards] (PRIxFAST64): Likewise.
32641         [C99-based-standards] (PRIXFAST64): Likewise.
32642         [C99-based-standards] (SCNdFAST64): Likewise.
32643         [C99-based-standards] (SCNiFAST64): Likewise.
32644         [C99-based-standards] (SCNoFAST64): Likewise.
32645         [C99-based-standards] (SCNuFAST64): Likewise.
32646         [C99-based-standards] (SCNxFAST64): Likewise.
32647         [C99-based-standards] (PRIdMAX): Likewise.
32648         [C99-based-standards] (PRIiMAX): Likewise.
32649         [C99-based-standards] (PRIoMAX): Likewise.
32650         [C99-based-standards] (PRIuMAX): Likewise.
32651         [C99-based-standards] (PRIxMAX): Likewise.
32652         [C99-based-standards] (PRIXMAX): Likewise.
32653         [C99-based-standards] (SCNdMAX): Likewise.
32654         [C99-based-standards] (SCNiMAX): Likewise.
32655         [C99-based-standards] (SCNoMAX): Likewise.
32656         [C99-based-standards] (SCNuMAX): Likewise.
32657         [C99-based-standards] (SCNxMAX): Likewise.
32658         [C99-based-standards] (PRIdPTR): Likewise.
32659         [C99-based-standards] (PRIiPTR): Likewise.
32660         [C99-based-standards] (PRIoPTR): Likewise.
32661         [C99-based-standards] (PRIuPTR): Likewise.
32662         [C99-based-standards] (PRIxPTR): Likewise.
32663         [C99-based-standards] (PRIXPTR): Likewise.
32664         [C99-based-standards] (SCNdPTR): Likewise.
32665         [C99-based-standards] (SCNiPTR): Likewise.
32666         [C99-based-standards] (SCNoPTR): Likewise.
32667         [C99-based-standards] (SCNuPTR): Likewise.
32668         [C99-based-standards] (SCNxPTR): Likewise.
32669         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32670         allow.
32671         * conform/data/stdint.h-data: Update comments to clarify
32672         requirements.
32673         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32674         type.
32675         [C99-based standards] (INT8_MAX): Likewise.
32676         [C99-based standards] (INT16_MIN): Likewise.
32677         [C99-based standards] (INT16_MAX): Likewise.
32678         [C99-based standards] (INT32_MIN): Likewise.
32679         [C99-based standards] (INT32_MAX): Likewise.
32680         [C99-based standards] (INT64_MIN): Likewise.
32681         [C99-based standards] (INT64_MAX): Likewise.
32682         [C99-based standards] (UINT8_MAX): Likewise.
32683         [C99-based standards] (UINT16_MAX): Likewise.
32684         [C99-based standards] (UINT32_MAX): Likewise.
32685         [C99-based standards] (UINT64_MAX): Likewise.
32686         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32687         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32688         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32689         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32690         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32691         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32692         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32693         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32694         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32695         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32696         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32697         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32698         [C99-based standards] (INT_FAST8_MIN): Likewise.
32699         [C99-based standards] (INT_FAST8_MAX): Likewise.
32700         [C99-based standards] (INT_FAST16_MIN): Likewise.
32701         [C99-based standards] (INT_FAST16_MAX): Likewise.
32702         [C99-based standards] (INT_FAST32_MIN): Likewise.
32703         [C99-based standards] (INT_FAST32_MAX): Likewise.
32704         [C99-based standards] (INT_FAST64_MIN): Likewise.
32705         [C99-based standards] (INT_FAST64_MAX): Likewise.
32706         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32707         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32708         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32709         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32710         [C99-based standards] (INTPTR_MIN): Likewise.
32711         [C99-based standards] (INTPTR_MAX): Likewise.
32712         [C99-based standards] (UINTPTR_MAX): Likewise.
32713         [C99-based standards] (INTMAX_MIN): Likewise.
32714         [C99-based standards] (INTMAX_MAX): Likewise.
32715         [C99-based standards] (UINTMAX_MAX): Likewise.
32716         [C99-based standards] (PTRDIFF_MIN): Likewise.
32717         [C99-based standards] (PTRDIFF_MAX): Likewise.
32718         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32719         [C99-based standards] (SIZE_MAX): Likewise.
32720         [C99-based standards] (WCHAR_MAX): Likewise.
32721         [C99-based standards] (WINT_MAX): Likewise.
32722         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32723         constraint on value.
32724         [C99-based standards] (WCHAR_MIN): Likewise.
32725         [C99-based standards] (WINT_MIN): Likewise.
32726         [C99-based standards] (*_t): Allow.
32727         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32728         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32729         Include math.h-data and complex.h-data.  Remove all expectations
32730         of math.h and complex.h contents.
32731         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32732         at end of line.
32733         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32734         (struct tm): Expect tag.
32735         [C99-based-standards] (wcstof): Expect function.
32736         [C99-based-standards] (wcstold): Likewise.
32737         [C99-based-standards] (wcstoll): Likewise.
32738         [C99-based-standards] (wcstoull): Likewise.
32739         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32740         macro-int-constant.  Specify type.
32741         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32742         constraint on value.
32743         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32744         Specify type.
32745         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32746         Specify value.
32747         [ISO C standards]: Do not allow headers.
32748         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32749         wcs[abcdefghijklmnopqrstuvwxyz]*.
32750         [ISO C standards] (*_t): Do not allow.
32751         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32752         Expect function.
32753         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32754         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32755         Specify type.
32756         [ISO C standards]: Do not allow headers.
32757         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32758         is[abcdefghijklmnopqrstuvwxyz]*.
32759         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32760         to[abcdefghijklmnopqrstuvwxyz]*.
32761         [ISO C standards] (*_t): Do not allow.
32762         * conform/data/stdalign.h-data: New file.
32763         * conform/data/stdbool.h-data: Likewise.
32764         * conform/data/stdnoreturn.h-data: Likewise.
32765
32766 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32767
32768         [BZ #14815]
32769         * manual/filesys.texi (Directory Entries): Typo fix.
32770         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32771
32772 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32773
32774         * elf/elf.h (EM_AARCH64): New macro.
32775         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32776         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32777         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32778         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32779         (R_AARCH64_TLSDESC): Likewise.
32780         (NT_ARM_TLS): Likewise.
32781         (NT_ARM_HW_BREAK): Likewise.
32782         (NT_ARM_HW_WATCH): Likewise.
32783
32784 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32785
32786         [BZ #14811]
32787         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32788         (__ieee754_powl): Saturate nonzero exponents with absolute value
32789         below 0x1p-79 to +/- 0x1p-79.
32790         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32791         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32792         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32793         nonzero exponents with absolute value below 0x1p-32 to +/-
32794         0x1p-32.
32795         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32796         (__ieee754_powl): Saturate nonzero exponents with absolute value
32797         below 0x1p-79 to +/- 0x1p-79.
32798         * math/libm-test.inc (pow_test): Add more tests.
32799
32800 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32801
32802         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32803         _dl_s390_cap_flags with kernel. Increase string length.
32804         (_dl_s390_platforms): Add z196 and zEC12.
32805
32806 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32807
32808         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32809         Change XOPEN21K to XOPEN2K.
32810
32811 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32812
32813         * string/memmove.c: Use memcpy when possible.
32814
32815 2012-11-06  Andreas Jaeger  <aj@suse.de>
32816
32817         * po/eo.po: Update from translation team.
32818
32819 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32820
32821         [BZ #14793]
32822         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32823         exponent and small x and y exponents, scale x or y up.  Increase
32824         by 2 the exponent used in scaling up.
32825         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32826         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32827         * math/libm-test.inc (fma_test): Add more tests.
32828         (fma_test_towardzero): Likewise.
32829         (fma_test_downward): Likewise.
32830         (fma_test_upward): Likewise.
32831
32832 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32833
32834         [BZ #14805]
32835         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32836         fenv_t *.
32837
32838         [BZ #14801]
32839         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32840         namespace for names of struct fields.
32841         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32842         fenv_t fields.
32843         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32844         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32845
32846 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32847
32848         [BZ #3665]
32849         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32850
32851 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32852
32853         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32854         PTR_DEMANGLE.
32855
32856         [BZ #5246]
32857         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32858         PTR_DEMANGLE.
32859
32860 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32861
32862         [BZ #14797]
32863         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32864         definitely overflow as x * y not x * y + z.
32865         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32866         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32867         * math/libm-test.inc (fma_test): Add more tests.
32868         (fma_test_towardzero): Likewise.
32869         (fma_test_downward): Likewise.
32870         (fma_test_upward): Likewise.
32871
32872 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32873
32874         [BZ #157]
32875
32876         * include/stub-tag.h: Remove file.
32877         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32878         '#include' of it.
32879         * manual/maint.texi (Porting): Don't reference it.
32880         * Makerules ($(objpfx)stubs): Likewise.
32881         * dirent/closedir.c: Don't include <stub-tag.h>.
32882         * dirent/dirfd.c: Likewise.
32883         * dirent/fdopendir.c: Likewise.
32884         * dirent/getdents.c: Likewise.
32885         * dirent/getdents64.c: Likewise.
32886         * dirent/opendir.c: Likewise.
32887         * dirent/readdir.c: Likewise.
32888         * dirent/readdir64.c: Likewise.
32889         * dirent/readdir64_r.c: Likewise.
32890         * dirent/readdir_r.c: Likewise.
32891         * dirent/rewinddir.c: Likewise.
32892         * dirent/seekdir.c: Likewise.
32893         * dirent/telldir.c: Likewise.
32894         * gmon/profil.c: Likewise.
32895         * grp/setgroups.c: Likewise.
32896         * inet/if_index.c: Likewise.
32897         * io/access.c: Likewise.
32898         * io/chdir.c: Likewise.
32899         * io/chmod.c: Likewise.
32900         * io/chown.c: Likewise.
32901         * io/close.c: Likewise.
32902         * io/dup.c: Likewise.
32903         * io/dup2.c: Likewise.
32904         * io/dup3.c: Likewise.
32905         * io/euidaccess.c: Likewise.
32906         * io/faccessat.c: Likewise.
32907         * io/fchdir.c: Likewise.
32908         * io/fchmod.c: Likewise.
32909         * io/fchmodat.c: Likewise.
32910         * io/fchown.c: Likewise.
32911         * io/fchownat.c: Likewise.
32912         * io/fcntl.c: Likewise.
32913         * io/flock.c: Likewise.
32914         * io/fstatfs.c: Likewise.
32915         * io/fstatfs64.c: Likewise.
32916         * io/fstatvfs.c: Likewise.
32917         * io/fstatvfs64.c: Likewise.
32918         * io/futimens.c: Likewise.
32919         * io/fxstat.c: Likewise.
32920         * io/fxstat64.c: Likewise.
32921         * io/fxstatat.c: Likewise.
32922         * io/fxstatat64.c: Likewise.
32923         * io/getcwd.c: Likewise.
32924         * io/isatty.c: Likewise.
32925         * io/lchmod.c: Likewise.
32926         * io/lchown.c: Likewise.
32927         * io/link.c: Likewise.
32928         * io/linkat.c: Likewise.
32929         * io/lseek.c: Likewise.
32930         * io/lseek64.c: Likewise.
32931         * io/lxstat64.c: Likewise.
32932         * io/mkdir.c: Likewise.
32933         * io/mkdirat.c: Likewise.
32934         * io/mkfifo.c: Likewise.
32935         * io/mkfifoat.c: Likewise.
32936         * io/open.c: Likewise.
32937         * io/open64.c: Likewise.
32938         * io/openat.c: Likewise.
32939         * io/openat64.c: Likewise.
32940         * io/pipe.c: Likewise.
32941         * io/pipe2.c: Likewise.
32942         * io/poll.c: Likewise.
32943         * io/posix_fadvise.c: Likewise.
32944         * io/posix_fadvise64.c: Likewise.
32945         * io/posix_fallocate.c: Likewise.
32946         * io/posix_fallocate64.c: Likewise.
32947         * io/read.c: Likewise.
32948         * io/readlink.c: Likewise.
32949         * io/readlinkat.c: Likewise.
32950         * io/rmdir.c: Likewise.
32951         * io/sendfile.c: Likewise.
32952         * io/sendfile64.c: Likewise.
32953         * io/statfs.c: Likewise.
32954         * io/statfs64.c: Likewise.
32955         * io/statvfs.c: Likewise.
32956         * io/statvfs64.c: Likewise.
32957         * io/symlink.c: Likewise.
32958         * io/symlinkat.c: Likewise.
32959         * io/ttyname.c: Likewise.
32960         * io/ttyname_r.c: Likewise.
32961         * io/umask.c: Likewise.
32962         * io/unlink.c: Likewise.
32963         * io/unlinkat.c: Likewise.
32964         * io/utime.c: Likewise.
32965         * io/utimensat.c: Likewise.
32966         * io/write.c: Likewise.
32967         * io/xmknod.c: Likewise.
32968         * io/xmknodat.c: Likewise.
32969         * io/xstat.c: Likewise.
32970         * io/xstat64.c: Likewise.
32971         * login/getpt.c: Likewise.
32972         * login/grantpt.c: Likewise.
32973         * login/unlockpt.c: Likewise.
32974         * math/e_acoshl.c: Likewise.
32975         * math/e_acosl.c: Likewise.
32976         * math/e_asinl.c: Likewise.
32977         * math/e_atan2l.c: Likewise.
32978         * math/e_atanhl.c: Likewise.
32979         * math/e_coshl.c: Likewise.
32980         * math/e_expl.c: Likewise.
32981         * math/e_fmodl.c: Likewise.
32982         * math/e_gammal_r.c: Likewise.
32983         * math/e_hypotl.c: Likewise.
32984         * math/e_j0l.c: Likewise.
32985         * math/e_j1l.c: Likewise.
32986         * math/e_jnl.c: Likewise.
32987         * math/e_lgammal_r.c: Likewise.
32988         * math/e_log10l.c: Likewise.
32989         * math/e_log2l.c: Likewise.
32990         * math/e_logl.c: Likewise.
32991         * math/e_powl.c: Likewise.
32992         * math/e_rem_pio2l.c: Likewise.
32993         * math/e_sinhl.c: Likewise.
32994         * math/e_sqrtl.c: Likewise.
32995         * math/fclrexcpt.c: Likewise.
32996         * math/fedisblxcpt.c: Likewise.
32997         * math/feenablxcpt.c: Likewise.
32998         * math/fegetenv.c: Likewise.
32999         * math/fegetexcept.c: Likewise.
33000         * math/fegetround.c: Likewise.
33001         * math/feholdexcpt.c: Likewise.
33002         * math/fesetenv.c: Likewise.
33003         * math/fesetround.c: Likewise.
33004         * math/feupdateenv.c: Likewise.
33005         * math/fgetexcptflg.c: Likewise.
33006         * math/fraiseexcpt.c: Likewise.
33007         * math/fsetexcptflg.c: Likewise.
33008         * math/ftestexcept.c: Likewise.
33009         * math/k_cosl.c: Likewise.
33010         * math/k_rem_pio2l.c: Likewise.
33011         * math/k_sinl.c: Likewise.
33012         * math/k_tanl.c: Likewise.
33013         * math/s_asinhl.c: Likewise.
33014         * math/s_atanl.c: Likewise.
33015         * math/s_cbrtl.c: Likewise.
33016         * math/s_erfl.c: Likewise.
33017         * math/s_expm1l.c: Likewise.
33018         * math/s_log1pl.c: Likewise.
33019         * math/s_tanhl.c: Likewise.
33020         * misc/acct.c: Likewise.
33021         * misc/brk.c: Likewise.
33022         * misc/chflags.c: Likewise.
33023         * misc/chroot.c: Likewise.
33024         * misc/fchflags.c: Likewise.
33025         * misc/fgetxattr.c: Likewise.
33026         * misc/flistxattr.c: Likewise.
33027         * misc/fremovexattr.c: Likewise.
33028         * misc/fsetxattr.c: Likewise.
33029         * misc/fsync.c: Likewise.
33030         * misc/ftruncate.c: Likewise.
33031         * misc/futimes.c: Likewise.
33032         * misc/futimesat.c: Likewise.
33033         * misc/getdomain.c: Likewise.
33034         * misc/getdtsz.c: Likewise.
33035         * misc/gethostid.c: Likewise.
33036         * misc/gethostname.c: Likewise.
33037         * misc/getloadavg.c: Likewise.
33038         * misc/getpagesize.c: Likewise.
33039         * misc/getsysstats.c: Likewise.
33040         * misc/getxattr.c: Likewise.
33041         * misc/gtty.c: Likewise.
33042         * misc/ioctl.c: Likewise.
33043         * misc/lgetxattr.c: Likewise.
33044         * misc/listxattr.c: Likewise.
33045         * misc/llistxattr.c: Likewise.
33046         * misc/lremovexattr.c: Likewise.
33047         * misc/lsetxattr.c: Likewise.
33048         * misc/lutimes.c: Likewise.
33049         * misc/madvise.c: Likewise.
33050         * misc/mincore.c: Likewise.
33051         * misc/mlock.c: Likewise.
33052         * misc/mlockall.c: Likewise.
33053         * misc/mmap.c: Likewise.
33054         * misc/mprotect.c: Likewise.
33055         * misc/msync.c: Likewise.
33056         * misc/munlock.c: Likewise.
33057         * misc/munlockall.c: Likewise.
33058         * misc/munmap.c: Likewise.
33059         * misc/preadv.c: Likewise.
33060         * misc/preadv64.c: Likewise.
33061         * misc/ptrace.c: Likewise.
33062         * misc/pwritev.c: Likewise.
33063         * misc/pwritev64.c: Likewise.
33064         * misc/readv.c: Likewise.
33065         * misc/reboot.c: Likewise.
33066         * misc/remap_file_pages.c: Likewise.
33067         * misc/removexattr.c: Likewise.
33068         * misc/revoke.c: Likewise.
33069         * misc/select.c: Likewise.
33070         * misc/setdomain.c: Likewise.
33071         * misc/setegid.c: Likewise.
33072         * misc/seteuid.c: Likewise.
33073         * misc/sethostid.c: Likewise.
33074         * misc/sethostname.c: Likewise.
33075         * misc/setregid.c: Likewise.
33076         * misc/setreuid.c: Likewise.
33077         * misc/setxattr.c: Likewise.
33078         * misc/sstk.c: Likewise.
33079         * misc/stty.c: Likewise.
33080         * misc/swapoff.c: Likewise.
33081         * misc/swapon.c: Likewise.
33082         * misc/sync.c: Likewise.
33083         * misc/syncfs.c: Likewise.
33084         * misc/syscall.c: Likewise.
33085         * misc/truncate.c: Likewise.
33086         * misc/ualarm.c: Likewise.
33087         * misc/usleep.c: Likewise.
33088         * misc/ustat.c: Likewise.
33089         * misc/utimes.c: Likewise.
33090         * misc/vhangup.c: Likewise.
33091         * misc/writev.c: Likewise.
33092         * posix/_exit.c: Likewise.
33093         * posix/alarm.c: Likewise.
33094         * posix/execve.c: Likewise.
33095         * posix/fexecve.c: Likewise.
33096         * posix/fork.c: Likewise.
33097         * posix/fpathconf.c: Likewise.
33098         * posix/getaddrinfo.c: Likewise.
33099         * posix/getegid.c: Likewise.
33100         * posix/geteuid.c: Likewise.
33101         * posix/getgid.c: Likewise.
33102         * posix/getgroups.c: Likewise.
33103         * posix/getlogin.c: Likewise.
33104         * posix/getlogin_r.c: Likewise.
33105         * posix/getpgid.c: Likewise.
33106         * posix/getpid.c: Likewise.
33107         * posix/getppid.c: Likewise.
33108         * posix/getresgid.c: Likewise.
33109         * posix/getresuid.c: Likewise.
33110         * posix/getsid.c: Likewise.
33111         * posix/getuid.c: Likewise.
33112         * posix/glob64.c: Likewise.
33113         * posix/nanosleep.c: Likewise.
33114         * posix/pathconf.c: Likewise.
33115         * posix/pause.c: Likewise.
33116         * posix/posix_madvise.c: Likewise.
33117         * posix/pread.c: Likewise.
33118         * posix/pread64.c: Likewise.
33119         * posix/pwrite.c: Likewise.
33120         * posix/pwrite64.c: Likewise.
33121         * posix/sched_getaffinity.c: Likewise.
33122         * posix/sched_getp.c: Likewise.
33123         * posix/sched_gets.c: Likewise.
33124         * posix/sched_primax.c: Likewise.
33125         * posix/sched_primin.c: Likewise.
33126         * posix/sched_rr_gi.c: Likewise.
33127         * posix/sched_setaffinity.c: Likewise.
33128         * posix/sched_setp.c: Likewise.
33129         * posix/sched_sets.c: Likewise.
33130         * posix/sched_yield.c: Likewise.
33131         * posix/setgid.c: Likewise.
33132         * posix/setlogin.c: Likewise.
33133         * posix/setpgid.c: Likewise.
33134         * posix/setresgid.c: Likewise.
33135         * posix/setresuid.c: Likewise.
33136         * posix/setsid.c: Likewise.
33137         * posix/setuid.c: Likewise.
33138         * posix/sleep.c: Likewise.
33139         * posix/spawni.c: Likewise.
33140         * posix/sysconf.c: Likewise.
33141         * posix/times.c: Likewise.
33142         * posix/wait.c: Likewise.
33143         * posix/wait3.c: Likewise.
33144         * posix/wait4.c: Likewise.
33145         * posix/waitpid.c: Likewise.
33146         * resolv/gai_sigqueue.c: Likewise.
33147         * resource/getpriority.c: Likewise.
33148         * resource/getrlimit.c: Likewise.
33149         * resource/getrusage.c: Likewise.
33150         * resource/nice.c: Likewise.
33151         * resource/setpriority.c: Likewise.
33152         * resource/setrlimit.c: Likewise.
33153         * resource/ulimit.c: Likewise.
33154         * rt/aio_cancel.c: Likewise.
33155         * rt/aio_fsync.c: Likewise.
33156         * rt/aio_read.c: Likewise.
33157         * rt/aio_sigqueue.c: Likewise.
33158         * rt/aio_suspend.c: Likewise.
33159         * rt/aio_write.c: Likewise.
33160         * rt/clock_getres.c: Likewise.
33161         * rt/clock_gettime.c: Likewise.
33162         * rt/clock_nanosleep.c: Likewise.
33163         * rt/clock_settime.c: Likewise.
33164         * rt/lio_listio.c: Likewise.
33165         * rt/mq_close.c: Likewise.
33166         * rt/mq_getattr.c: Likewise.
33167         * rt/mq_notify.c: Likewise.
33168         * rt/mq_open.c: Likewise.
33169         * rt/mq_receive.c: Likewise.
33170         * rt/mq_send.c: Likewise.
33171         * rt/mq_setattr.c: Likewise.
33172         * rt/mq_timedreceive.c: Likewise.
33173         * rt/mq_timedsend.c: Likewise.
33174         * rt/mq_unlink.c: Likewise.
33175         * rt/shm_open.c: Likewise.
33176         * rt/shm_unlink.c: Likewise.
33177         * rt/timer_create.c: Likewise.
33178         * rt/timer_delete.c: Likewise.
33179         * rt/timer_getoverr.c: Likewise.
33180         * rt/timer_gettime.c: Likewise.
33181         * rt/timer_settime.c: Likewise.
33182         * setjmp/__longjmp.c: Likewise.
33183         * setjmp/setjmp.c: Likewise.
33184         * signal/kill.c: Likewise.
33185         * signal/killpg.c: Likewise.
33186         * signal/raise.c: Likewise.
33187         * signal/sigaction.c: Likewise.
33188         * signal/sigaltstack.c: Likewise.
33189         * signal/sigblock.c: Likewise.
33190         * signal/sigignore.c: Likewise.
33191         * signal/sigintr.c: Likewise.
33192         * signal/signal.c: Likewise.
33193         * signal/sigpause.c: Likewise.
33194         * signal/sigpending.c: Likewise.
33195         * signal/sigqueue.c: Likewise.
33196         * signal/sigreturn.c: Likewise.
33197         * signal/sigset.c: Likewise.
33198         * signal/sigsetmask.c: Likewise.
33199         * signal/sigstack.c: Likewise.
33200         * signal/sigsuspend.c: Likewise.
33201         * signal/sigtimedwait.c: Likewise.
33202         * signal/sigvec.c: Likewise.
33203         * signal/sigwait.c: Likewise.
33204         * signal/sigwaitinfo.c: Likewise.
33205         * signal/sysv_signal.c: Likewise.
33206         * socket/accept.c: Likewise.
33207         * socket/accept4.c: Likewise.
33208         * socket/bind.c: Likewise.
33209         * socket/connect.c: Likewise.
33210         * socket/getpeername.c: Likewise.
33211         * socket/getsockname.c: Likewise.
33212         * socket/getsockopt.c: Likewise.
33213         * socket/isfdtype.c: Likewise.
33214         * socket/listen.c: Likewise.
33215         * socket/recv.c: Likewise.
33216         * socket/recvfrom.c: Likewise.
33217         * socket/recvmsg.c: Likewise.
33218         * socket/send.c: Likewise.
33219         * socket/sendmsg.c: Likewise.
33220         * socket/sendto.c: Likewise.
33221         * socket/setsockopt.c: Likewise.
33222         * socket/shutdown.c: Likewise.
33223         * socket/sockatmark.c: Likewise.
33224         * socket/socket.c: Likewise.
33225         * socket/socketpair.c: Likewise.
33226         * stdio-common/ctermid.c: Likewise.
33227         * stdio-common/cuserid.c: Likewise.
33228         * stdio-common/remove.c: Likewise.
33229         * stdio-common/rename.c: Likewise.
33230         * stdio-common/renameat.c: Likewise.
33231         * stdio-common/tempname.c: Likewise.
33232         * stdlib/getcontext.c: Likewise.
33233         * stdlib/makecontext.c: Likewise.
33234         * stdlib/setcontext.c: Likewise.
33235         * stdlib/swapcontext.c: Likewise.
33236         * stdlib/system.c: Likewise.
33237         * streams/fattach.c: Likewise.
33238         * streams/fdetach.c: Likewise.
33239         * streams/getmsg.c: Likewise.
33240         * streams/getpmsg.c: Likewise.
33241         * streams/putmsg.c: Likewise.
33242         * streams/putpmsg.c: Likewise.
33243         * sysdeps/unix/bsd/getpt.c: Likewise.
33244         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33245         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33246         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33248         Likewise.
33249         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33250         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33251         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33252         * sysvipc/msgctl.c: Likewise.
33253         * sysvipc/msgget.c: Likewise.
33254         * sysvipc/msgrcv.c: Likewise.
33255         * sysvipc/msgsnd.c: Likewise.
33256         * sysvipc/semctl.c: Likewise.
33257         * sysvipc/semget.c: Likewise.
33258         * sysvipc/semop.c: Likewise.
33259         * sysvipc/semtimedop.c: Likewise.
33260         * sysvipc/shmat.c: Likewise.
33261         * sysvipc/shmctl.c: Likewise.
33262         * sysvipc/shmdt.c: Likewise.
33263         * sysvipc/shmget.c: Likewise.
33264         * termios/tcdrain.c: Likewise.
33265         * termios/tcflow.c: Likewise.
33266         * termios/tcflush.c: Likewise.
33267         * termios/tcgetattr.c: Likewise.
33268         * termios/tcgetpgrp.c: Likewise.
33269         * termios/tcsendbrk.c: Likewise.
33270         * termios/tcsetattr.c: Likewise.
33271         * termios/tcsetpgrp.c: Likewise.
33272         * time/adjtime.c: Likewise.
33273         * time/clock.c: Likewise.
33274         * time/getitimer.c: Likewise.
33275         * time/gettimeofday.c: Likewise.
33276         * time/setitimer.c: Likewise.
33277         * time/settimeofday.c: Likewise.
33278         * time/stime.c: Likewise.
33279         * time/time.c: Likewise.
33280
33281 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33282
33283         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33284         /usr/old/bin.
33285
33286         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33287         instead of spaces.
33288         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33289
33290 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33291
33292         [BZ #14796]
33293         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33294         FE_TONEAREST before applying Dekker multiplication and Knuth
33295         addition.  Clear inexact exceptions and check for exact zero
33296         results afterwards.
33297         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33298         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33299         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33300         * math/libm-test.inc (fma_test): Add more tests.
33301         (fma_test_towardzero): Likewise.
33302         (fma_test_downward): Likewise.
33303         (fma_test_upward): Likewise.
33304         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33305         function.
33306         (libc_fesetround): New macro.
33307         (libc_fesetroundf): Likewise.
33308         (libc_fesetroundl): Likewise.
33309         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33310         function.
33311         (libc_fesetround_387): Likewise.
33312         (libc_fesetroundf): New macro.
33313         (libc_fesetround): Likewise.
33314         (libc_fesetroundl): Likewise.
33315         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33316         function.
33317         (libc_fesetroundf): New macro.
33318         (libc_fesetround): Likewise.
33319         (libc_fesetroundl): Likewise.
33320         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33321         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33322         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33323         libm_hidden_ver.
33324         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33325         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33326         libm_hidden_def.
33327         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33328         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33329         libm_hidden_ver.
33330         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33331         libm_hidden_def.
33332
33333         [BZ #3439]
33334         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33335         integer constant usable in #if and use that to give value to enum
33336         constant.
33337         (FE_DIVBYZERO): Likewise.
33338         (FE_UNDERFLOW): Likewise.
33339         (FE_OVERFLOW): Likewise.
33340         (FE_INVALID): Likewise.
33341         (FE_INVALID_SNAN): Likewise.
33342         (FE_INVALID_ISI): Likewise.
33343         (FE_INVALID_IDI): Likewise.
33344         (FE_INVALID_ZDZ): Likewise.
33345         (FE_INVALID_IMZ): Likewise.
33346         (FE_INVALID_COMPARE): Likewise.
33347         (FE_INVALID_SOFTWARE): Likewise.
33348         (FE_INVALID_SQRT): Likewise.
33349         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33350         (FE_TONEAREST): Likewise.
33351         (FE_TOWARDZERO): Likewise.
33352         (FE_UPWARD): Likewise.
33353         (FE_DOWNWARD): Likewise.
33354         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33355         (FE_DIVBYZERO): Likewise.
33356         (FE_OVERFLOW): Likewise.
33357         (FE_UNDERFLOW): Likewise.
33358         (FE_INEXACT): Likewise.
33359         (FE_TONEAREST): Likewise.
33360         (FE_DOWNWARD): Likewise.
33361         (FE_UPWARD): Likewise.
33362         (FE_TOWARDZERO): Likewise.
33363         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33364         (FE_UNDERFLOW): Likewise.
33365         (FE_OVERFLOW): Likewise.
33366         (FE_DIVBYZERO): Likewise.
33367         (FE_INVALID): Likewise.
33368         (FE_TONEAREST): Likewise.
33369         (FE_TOWARDZERO): Likewise.
33370         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33371         (FE_OVERFLOW): Likewise.
33372         (FE_UNDERFLOW): Likewise.
33373         (FE_DIVBYZERO): Likewise.
33374         (FE_INEXACT): Likewise.
33375         (FE_TONEAREST): Likewise.
33376         (FE_TOWARDZERO): Likewise.
33377         (FE_UPWARD): Likewise.
33378         (FE_DOWNWARD): Likewise.
33379         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33380         (FE_DIVBYZERO): Likewise.
33381         (FE_OVERFLOW): Likewise.
33382         (FE_UNDERFLOW): Likewise.
33383         (FE_INEXACT): Likewise.
33384         (FE_TONEAREST): Likewise.
33385         (FE_DOWNWARD): Likewise.
33386         (FE_UPWARD): Likewise.
33387         (FE_TOWARDZERO): Likewise.
33388
33389 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33390
33391         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33392
33393 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33394
33395         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33396         commands.  Quote $PWD.
33397         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33398         -x" by "export".
33399         (remove_newlines): Remove.
33400
33401 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33402
33403         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33404         * stdlib/stdlib.h (atof): Moved to ...
33405         * include/bits/stdlib-float.h: Here.  New file.
33406         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33407         * stdlib/bits/stdlib-float.h: New file.
33408         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33409         -mno-sse -mno-mmx.
33410         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33411         <xmmintrin.h>.
33412
33413 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33414
33415         * conform/conformtest.pl (@headers): Add fenv.h.
33416         * conform/data/fenv.h-data: New file.
33417         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33418         include of <math/fenv.h>.
33419
33420         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33421         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33422         && !UNIX98].  Enables tests for XOPEN2K8.
33423         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33424         POSIX2008]: Likewise.
33425
33426         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33427         (struct rusage): Do not expect type or its members.
33428
33429         [BZ #3439]
33430         * math/math.h (FP_NAN): Define macro to integer constant usable in
33431         #if and use that to give value to enum constant.
33432         (FP_INFINITE): Likewise.
33433         (FP_ZERO): Likewise.
33434         (FP_SUBNORMAL): Likewise.
33435         (FP_NORMAL): Likewise.
33436
33437 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33438
33439         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33440         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33441         arguments.
33442
33443 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33444
33445         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33446         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33447         autoconf-time if not.
33448         * configure.in: Remove AC_PREREQ.
33449
33450 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33451
33452         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33453         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33454         of the internal implementation.
33455
33456 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33457
33458         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33459         except include of <misc/sys/syslog.h>.
33460
33461 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33462
33463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33464         function returns with a NULL context exit with zero.
33465
33466 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33467
33468         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33469
33470 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33471
33472         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33473         (run_program_cmd): This.
33474         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33475         (tst_langinfo): New variable.  Use it.
33476
33477 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33478
33479         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33480         floating point opcodes.
33481
33482 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33483
33484         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33485         variable.
33486
33487         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33488
33489         * sysdeps/mach/hurd/powerpc: Remove directory.
33490         * sysdeps/mach/powerpc: Likewise.
33491
33492 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33493
33494         * scripts/check-local-headers.sh: Ignore c++ headers.
33495
33496 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33497
33498         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33499         __libc_cleanup_region_start argument.
33500
33501 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33502
33503         [BZ #14784]
33504         [BZ #14785]
33505         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33506         x * y using scaling, not as x * y + z.
33507         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33508         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33509         * math/libm-test.inc (fma_test): Add more tests.
33510         (fma_test_towardzero): Likewise.
33511         (fma_test_downward): Likewise.
33512         (fma_test_upward): Likewise.
33513
33514 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33515
33516         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33517
33518 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33519
33520         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33521         New variable.
33522
33523 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33524
33525         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33526
33527 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33528
33529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33530         Fix sort order.
33531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33532         Likewise.
33533
33534 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33535
33536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33537         Fix the order of the list for glibc 2.17.
33538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33539         Likewise.
33540
33541 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33542
33543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33544
33545 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33546
33547         [BZ #14610]
33548         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33549         for low part of x being zero before using __atanl (y).
33550         * math/libm-test.inc (atan2_test): Add another test.
33551
33552         * manual/install.texi (Configuring and compiling): Document
33553         general use of test-wrapper and test-wrapper-env.
33554         * INSTALL: Regenerated.
33555
33556         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33557         (__fma): Do not extract and scale down low bits on after-rounding
33558         systems when result rounded to normal precision would have normal
33559         exponent.
33560         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33561         (__fmal): Do not extract and scale down low bits on after-rounding
33562         systems when result rounded to normal precision would have normal
33563         exponent.
33564         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33565         (__fmal): Do not extract and scale down low bits on after-rounding
33566         systems when result rounded to normal precision would have normal
33567         exponent.
33568         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33569         macro.
33570         (fma_test): Add more tests.
33571         (fma_test_towardzero): Likewise.
33572         (fma_test_downward): Likewise.
33573         (fma_test_upward): Likewise.
33574
33575 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33576
33577         * sysdeps/i386/tininess.h: Renamed to ...
33578         * sysdeps/x86/tininess.h: This.
33579         * sysdeps/x86_64/tininess.h: Removed.
33580
33581 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33582
33583         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33584         input.  Use $(build-program-cmd).
33585         ($(objpfx)tst-array1-static.out): Likewise.
33586         ($(objpfx)tst-array2.out): Likewise.
33587         ($(objpfx)tst-array3.out): Likewise.
33588         ($(objpfx)tst-array4.out): Likewise.
33589         ($(objpfx)tst-array5.out): Likewise.
33590         ($(objpfx)tst-array5-static.out): Likewise.
33591
33592 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33593
33594         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33595         if defined.
33596
33597         * nss/nsswitch.h (nss_interface_function): Provide new
33598         macro for use with NSS functions.
33599         * grp/initgroups.c: Use new macro.
33600         * nss/getXXbyYY.c: Likewise.
33601         * nss/getXXbyYY_r.c: Likewise.
33602         * nss/getXXent.c: Likewise.
33603         * nss/getXXent_r.c: Likewise.
33604         * sysdeps/posix/getaddrinfo.c: Likewise.
33605
33606 2012-10-30  Andreas Jaeger  <aj@suse.de>
33607
33608         * po/ru.po: Update Russion translation from translation project.
33609
33610 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33611
33612         [BZ #14152]
33613         [BZ #14783]
33614         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33615         result and shift together with sticky bit instead of replicating
33616         round-to-nearest rounding.
33617         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33618         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33619         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33620         missing underflow exceptions.
33621         (fma_test_towardzero): Add more tests.
33622         (fma_test_downward): Likewise.
33623         (fma_test_upward): Likewise.
33624
33625         [BZ #14047]
33626         * sysdeps/generic/tininess.h: New file.
33627         * sysdeps/i386/tininess.h: Likewise.
33628         * sysdeps/sh/tininess.h: Likewise.
33629         * sysdeps/x86_64/tininess.h: Likewise.
33630         * stdlib/tst-strtod-underflow.c: Likewise.
33631         * stdlib/tst-tininess.c: Likewise.
33632         * stdlib/strtod_l.c: Include <tininess.h>.
33633         (round_and_return): Do not set errno for exact underflow cases.
33634         Force an underflow exception when setting errno for underflow.
33635         Determine underflow based on rounding to normal precision if
33636         TININESS_AFTER_ROUNDING.
33637         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33638         ERANGE for exact underflow cases.
33639         * stdlib/Makefile (tests): Add tst-tininess and
33640         tst-strtod-underflow.
33641         ($(objpfx)tst-tininess): Use $(link-libm).
33642         ($(objpfx)tst-strtod-underflow): Likewise.
33643
33644 2012-10-30  Andreas Jaeger  <aj@suse.de>
33645
33646         [BZ#14767]
33647         * elf/Makefile (tests): Remove conditional for have-initfini-array
33648         since this is now always required and the variable does not exist
33649         anymore.
33650         (tests-static): Likewise.
33651         (modules-names): Likewise.
33652
33653         * po/eo.po: Add Esperanto translation from translation project.
33654
33655         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33656         merged with constructor/destructor.
33657         (init_array): Likewise.
33658         * elf/tst-array2dep.c (fini_array): Likewise.
33659         (init_array): Likewise.
33660
33661 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33662
33663         * manual/message.texi: Delete @cartouche tags.
33664
33665 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33666
33667         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33668         EOPNOTSUPP.
33669         * sysdeps/mach/hurd/fsync.c: Likewise.
33670
33671         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33672         [_POSIX_REALTIME_SIGNALS]: Change condition to
33673         [_POSIX_REALTIME_SIGNALS > 0].
33674
33675 2012-10-27  Andreas Jaeger  <aj@suse.de>
33676
33677         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33678         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33679         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33680         [__WORDSIZE != 64]: Likewise.
33681
33682 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33683
33684         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33685         *  iconvdata/tst-tables.sh: Likewise.
33686
33687 2012-10-25  David S. Miller  <davem@davemloft.net>
33688
33689         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33690         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33691         of strtoull.
33692
33693         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33694         ifunc-impl-list.c
33695         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33696         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33697         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33698         file.
33699
33700 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33701
33702         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33703         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33704         __getdirentries.
33705
33706 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33707             Jim Blandy  <jimb@codesourcery.com>
33708
33709         * scripts/cross-test-ssh.sh: New file.
33710         * manual/install.texi (Configuring and compiling): Document use of
33711         cross-test-ssh.sh.
33712         * INSTALL: Regenerated.
33713
33714 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33715
33716         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33717         EOPNOTSUPP.
33718
33719 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33720
33721         * Makeconfig (run-program-prefix): Fix comment.
33722
33723 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33724             Jim Blandy  <jimb@codesourcery.com>
33725
33726         * Makeconfig (test-wrapper): New variable,
33727         (test-wrapper-env): Likewise.
33728         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33729         (run-built-tests): Define to yes.
33730         (run-program-prefix): Use $(test-wrapper).
33731         (built-program-cmd): Likewise.
33732         * Rules (make-test-out): Use $(test-wrapper-env) and
33733         $(host-built-program-cmd).
33734         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33735         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33736         tst-pathopt.sh.
33737         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33738         $(test-wrapper-env) to tst-rtld-load-self.sh.
33739         ($(objpfx)order2.out): Use $(test-wrapper).
33740         ($(objpfx)tst-initorder.out): Likewise.
33741         ($(objpfx)tst-initorder2.out): Likewise.
33742         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33743         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33744         (test_wrapper_env): New variable.  Use it to run ld.so.
33745         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33746         Use it to run ld.so.
33747         (test_wrapper_env): Likewise.
33748         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33749         $(test-wrapper) to run-iconv-test.sh.
33750         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33751         (ICONV): Use $test_wrapper.
33752         * posix/Makefile ($(objpfx)globtest.out): Pass
33753         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33754         globtest.sh, not $(run-program-prefix).
33755         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33756         (test_wrapper): Likewise.
33757         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33758         set together with run_via_rtld_prefix.
33759         (run_program_prefix): Define in terms of test_wrapper and
33760         run_via_rtld_prefix.
33761
33762 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33763
33764         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33765         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33766         Targets removed.
33767
33768         [BZ #14743]
33769         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33770         Declare __clock_getres, __clock_gettime, __clock_settime,
33771         __clock_nanosleep, and __clock_getcpuclockid.
33772         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33773         Remove librt_hidden_def (clock_gettime).
33774         * sysdeps/unix/clock_gettime.c: Likewise.
33775         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33776         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33777         * rt/clock_getres.c: Define __clock_getres as an alias.
33778         * sysdeps/posix/clock_getres.c: Likewise.
33779         * rt/clock_settime.c: Define __clock_settime as an alias.
33780         * sysdeps/unix/clock_settime.c: Likewise.
33781         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33782         * sysdeps/unix/clock_nanosleep.c: Likewise.
33783         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33784         * rt/clock-compat.c: New file.
33785         * rt/Makefile (librt-routines): Add clock-compat and move
33786         $(clock-routines) to ...
33787         (routines): ... here, new variable.
33788         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33789         Don't add get_clockfreq here.
33790         * rt/Versions (libc: GLIBC_2.17): New version set.
33791         Add clock_* symbols here.
33792         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33793         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33794         (GLIBC_2.17): Add clock_* symbols.
33795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33797         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33799         Likewise.
33800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33801         Likewise.
33802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33806         * NEWS: Mention the move.
33807
33808         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33809         Use __open, __read, __close rather than their public counterparts.
33810         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33811         (__get_clockfreq_via_cpuinfo): Likewise.
33812         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33813         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33814
33815         * config.h.in (HAVE_IFUNC): New #undef.
33816         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33817         was successful.
33818         * configure: Regenerated.
33819
33820 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33821
33822         * configure.in: Move READELF check to start of file.
33823         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33824         libc_cv_asm_gnu_indirect_function in the process.
33825         * configure: Regenerated.
33826
33827 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33828
33829         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33830         send the output to /dev/null.
33831         (libc_cv_cc_with_libunwind): Likewise.
33832         (libc_cv_as_noexecstack): Likewise.
33833         * configure: Regenerate.
33834
33835 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33836
33837         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33838
33839         * posix/globtest.sh (TMPDIR): Do not set.
33840         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33841         (testout): Likewise.
33842
33843 2012-10-24  Andreas Jaeger  <aj@suse.de>
33844
33845         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33846         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33847         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33848         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33849         posix_fadvise64, posix_fallocate64.
33850
33851         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33852         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33853         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33854         Likewise.
33855         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33856         Likewise.
33857         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33858
33859         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33860         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33861         <bits/fcntl-linux.h>.
33862         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33863
33864         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33865         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33866         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33867         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33868         [__WORDSIZE != 64]: Likewise.
33869
33870 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33871
33872         * Makeconfig (run-built-tests): New variable.
33873         * Rules [$(cross-compiling) = yes]: Change condition to
33874         [$(run-built-tests) = no].
33875         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33876         to [$(run-built-tests) = yes].
33877         * elf/Makefile [$(cross-compiling) = no]: Likewise
33878         * grp/Makefile [$(cross-compiling) = no]: Likewise.
33879         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33880         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33881         * intl/Makefile [$(cross-compiling) = no]: Likewise.
33882         * io/Makefile [$(cross-compiling) = no]: Likewise.
33883         * libio/Makefile [$(cross-compiling) = no]: Likewise.
33884         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33885         * misc/Makefile [$(cross-compiling) = no]: Likewise.
33886         * posix/Makefile [$(cross-compiling) = no]: Likewise.
33887         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33888         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33889         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33890         * string/Makefile [$(cross-compiling) = no]: Likewise.
33891
33892         * posix/Makefile ($(objpfx)globtest.out): Pass
33893         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33894         $(rtld-installed-name).
33895         * posix/globtest.sh (elf_objpfx): Remove variable.
33896         (rtld_installed_name): Likewise.
33897         (library_path): Likewise.
33898         (run_program_prefix): New variable.  Use for running globtest
33899         binary.
33900
33901 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
33902             Joseph Myers  <joseph@codesourcery.com>
33903
33904         * Makeconfig (host-built-program-cmd): New variable.
33905         * elf/Makefile (tst-stackguard1-ARGS): Use
33906         $(host-built-program-cmd).
33907         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33908         (tst-spawn-ARGS): Likewise.
33909         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33910
33911 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33912             Jim Blandy  <jimb@codesourcery.com>
33913
33914         * Makeconfig (run-via-rtld-prefix): New variable.
33915         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33916         (built-program-cmd): Likewise.
33917
33918 2012-10-22  Andreas Jaeger  <aj@suse.de>
33919
33920         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33921         __O_RSYNC if it exists, otherwise to O_SYNC.
33922
33923 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
33924             Joseph Myers  <joseph@codesourcery.com>
33925
33926         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33927         /dev/null.
33928         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33929         from /dev/null
33930         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33931         /dev/null.
33932
33933 2012-10-22  Andreas Jaeger  <aj@suse.de>
33934
33935         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33936         Define always.
33937         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33938
33939         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33940         bits/fcntl-linux.h.
33941
33942         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33943         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33944
33945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33946         to __O_LARGEFILE.
33947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33948         to __O_LARGEFILE.
33949
33950 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
33951             Joseph Myers  <joseph@codesourcery.com>
33952
33953         * config.make.in (NM): New variable.
33954
33955 2012-10-21  Andreas Jaeger  <aj@suse.de>
33956
33957         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33958         definitions and declarations that are provided by
33959         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33960
33961 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33962
33963         [BZ #14683]
33964         * elf/Makefile (tests-static): Add tst-leaks1-static.
33965         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33966         ($(objpfx)tst-leaks1-static): New rule.
33967         ($(objpfx)tst-leaks1-static-mem): Likewise.
33968         (tst-leaks1-static-ENV): New macro.
33969         * elf/dl-open.c (dl_open_worker): Check the main application
33970         only if SHARED is defined.
33971         * elf/tst-leaks1-static.c: New file.
33972
33973 2012-10-20  Andreas Jaeger  <aj@suse.de>
33974
33975         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33976         generic values for Linux.
33977         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33978         and declarations that are provided by <bits/fcntl-linux.h> and
33979         include <bits/fcntl-linux.h>.
33980         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33981         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33982
33983 2012-10-20  Roland McGrath  <roland@hack.frob.com>
33984
33985         * io/fcntl.h: Move include of <bits/types.h> to the top and
33986         include it unconditionally.
33987
33988 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33989
33990         * wcsmbs/Makefile (tests-ifunc): New variable.
33991         (tests): Add $(tests-ifunc).
33992         * wcsmbs/test-wcschr-ifunc.c: New file.
33993         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33994         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33995         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33996         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33997         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33998
33999         * string/Makefile (tests-ifunc): New variable.
34000         (tests): Add $(tests-ifunc).
34001         * string/test-memccpy.c (TEST_NAME): New macro.
34002         * string/test-memchr.c (TEST_NAME): Likewise.
34003         * string/test-memcmp.c (TEST_NAME): Likewise.
34004         * string/test-memcpy.c (TEST_NAME): Likewise.
34005         * string/test-memmem.c (TEST_NAME): Likewise.
34006         * string/test-memmove.c (TEST_NAME): Likewise.
34007         * string/test-memset.c (TEST_NAME): Likewise.
34008         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34009         * string/test-stpcpy.c (TEST_NAME): Likewise.
34010         * string/test-stpncpy.c (TEST_NAME): Likewise.
34011         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34012         * string/test-strcasestr.c (TEST_NAME): Likewise.
34013         * string/test-strcat.c (TEST_NAME): Likewise.
34014         * string/test-strchr.c (TEST_NAME): Likewise.
34015         * string/test-strcmp.c(TEST_NAME): Likewise.
34016         * string/test-strcpy.c (TEST_NAME): Likewise.
34017         * string/test-strcspn.c (TEST_NAME): Likewise.
34018         * string/test-strlen.c (TEST_NAME): Likewise.
34019         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34020         * string/test-strncmp.c (TEST_NAME): Likewise.
34021         * string/test-strncpy.c (TEST_NAME): Likewise.
34022         * string/test-strnlen.c (TEST_NAME): Likewise.
34023         * string/test-strpbrk.c (TEST_NAME): Likewise.
34024         * string/test-strrchr.c (TEST_NAME): Likewise.
34025         * string/test-strspn.c (TEST_NAME): Likewise.
34026         * string/test-strstr.c (TEST_NAME): Likewise.
34027         * string/test-bcopy-ifunc.c: New file.
34028         * string/test-bzero-ifunc.c: Likewise.
34029         * string/test-memccpy-ifunc.c: Likewise.
34030         * string/test-memchr-ifunc.c: Likewise.
34031         * string/test-memcmp-ifunc.c: Likewise.
34032         * string/test-memcpy-ifunc.c: Likewise.
34033         * string/test-memmem-ifunc.c: Likewise.
34034         * string/test-memmove-ifunc.c: Likewise.
34035         * string/test-mempcpy-ifunc.c: Likewise.
34036         * string/test-memset-ifunc.c: Likewise.
34037         * string/test-rawmemchr-ifunc.c: Likewise.
34038         * string/test-stpcpy-ifunc.c: Likewise.
34039         * string/test-stpncpy-ifunc.c: Likewise.
34040         * string/test-strcasecmp-ifunc.c: Likewise.
34041         * string/test-strcasestr-ifunc.c: Likewise.
34042         * string/test-strcat-ifunc.c: Likewise.
34043         * string/test-strchr-ifunc.c: Likewise.
34044         * string/test-strchrnul-ifunc.c: Likewise.
34045         * string/test-strcmp-ifunc.c: Likewise.
34046         * string/test-strcpy-ifunc.c: Likewise.
34047         * string/test-strcspn-ifunc.c: Likewise.
34048         * string/test-strlen-ifunc.c: Likewise.
34049         * string/test-strncasecmp-ifunc.c: Likewise.
34050         * string/test-strncat-ifunc.c: Likewise.
34051         * string/test-strncmp-ifunc.c: Likewise.
34052         * string/test-strncpy-ifunc.c: Likewise.
34053         * string/test-strnlen-ifunc.c: Likewise.
34054         * string/test-strpbrk-ifunc.c: Likewise.
34055         * string/test-strrchr-ifunc.c: Likewise.
34056         * string/test-strspn-ifunc.c: Likewise.
34057         * string/test-strstr-ifunc.c: Likewise.
34058
34059         * debug/Makefile (tests-ifunc): New variable.
34060         (tests): Add $(tests-ifunc).
34061         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34062         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34063         * debug/test-stpcpy_chk-ifunc.c: New file.
34064         * debug/test-strcpy_chk-ifunc.c: Likewise.
34065
34066 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34067
34068         [BZ #13601]
34069         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34070         header is not read in.
34071
34072 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34073
34074         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34075         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34076         directly.  Pass built executable to script as
34077         $(built-program-cmd).
34078         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34079         $testprogram without using LD_LIBRARY_PATH and $ldso.
34080
34081         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34082         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34083         $(rtld-installed-name).
34084         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34085         (rtld_installed_name): Likewise.
34086         (library_path): Likewise.
34087         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34088         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34089         $(run-program-prefix) to tst-tables.sh.
34090         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34091         it to run tst-table-from and tst-table-to.
34092         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34093         Pass it to tst-table.sh.
34094         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34095         $(run-program-prefix) to tst-gettext.sh.
34096         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34097         tst-translit.sh.
34098         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34099         tst-gettext2.sh.
34100         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34101         to run tst-gettext.
34102         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34103         to run tst-gettext2.
34104         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34105         to run tst-translit.
34106         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34107         $(run-program-prefix) to tst-mtrace.sh.
34108         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34109         to run tst-mtrace.
34110         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34111         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34112         $(rtld-installed-name).
34113         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34114         (rtld_installed_name): Likewise.
34115         (run_program_prefix): New variable.  Use it to run wordexp-test.
34116
34117         * Makeconfig (ARCH): Remove all definitions.
34118         (machine): Likewise.
34119         [ARCH]: Remove conditional code.
34120         [!objdir]: Give error.
34121         [!objdir] (objpfx): Remove.
34122         [!objdir] (common-objpfx): Likewise.
34123         [!objdir] (common-objdir): Likewise.
34124         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34125         AC_CONFIG_FILES call.
34126         * configure: Regenerated.
34127
34128         [BZ #13888]
34129         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34130         or TMPDIR.
34131         (testout): Likewise.
34132
34133         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34134         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34135         $(rtld-installed-name).
34136         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34137         (rtld_installed_name): Likwise.
34138         (runit): Remove function.
34139         (run_getconf): New variable,  Use it for running getconf binary.
34140
34141 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34142
34143         [BZ #14716]
34144         * string/test-memmem.c (check_result): New function.
34145         (do_one_test): Use it.
34146         (check1): New function.
34147         (test_main): Use it.
34148
34149 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34150
34151         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34152
34153 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34154
34155         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34156         (_G_LSEEK64): Likewise.
34157         (_G_MMAP64): Likewise.
34158         (_G_FSTAT64): Likewise.
34159         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34160         (_G_LSEEK64): Likewise.
34161         (_G_MMAP64): Likewise.
34162         (_G_FSTAT64): Likewise.
34163         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34164         unconditional.  Call __mmap64 directly.
34165         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34166         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34167         __lseek64 directly.
34168         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34169         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34170         __mmap64 directly.
34171         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34172         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34173         __lseek64 directly.
34174         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34175         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34176         __lseek64 directly.
34177         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34178         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34179         __lseek64 directly.
34180         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34181         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34182         __fxstat64 directly.
34183         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34184         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34185         unconditional.
34186         (freopen64) [!_G_OPEN64]: Remove conditional code.
34187         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34188         unconditional.
34189         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34190         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34191         unconditional.
34192         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34193         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34194         unconditional.
34195         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34196         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34197         unconditional.
34198         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34199         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34200         unconditional.
34201         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34202         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34203         unconditional.
34204         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34205         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34206         unconditional.
34207         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34208
34209 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34210
34211         [BZ #12140]
34212         * manual/memory.texi (Malloc Tunable Parameters): Add note
34213         about free list pointers overwriting some perturb bytes.
34214         Wording suggested by Roland McGrath.
34215
34216 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34217
34218         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34219         (lgamma_test): Likewise.
34220         (tgamma_test): Likewise.
34221
34222 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34223
34224         [BZ #14700]
34225         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34226         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34227
34228 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34229
34230         * NEWS: Mention BZ #14716.
34231         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34232         when removing AVAILABLE1_USES_J macro.
34233
34234 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34235
34236         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34237         (__bswap_64): __uint64_t for unsigned 64-bit int.
34238
34239 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34240
34241         * include/string.h (memmem): Declare libc hidden alias.
34242         * string/memmem.c (memmem): Define libc hidden alias.
34243         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34244         __read, __close instead of open, read, close.
34245
34246 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34247
34248         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34249         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34250         global and hidden.
34251         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34252         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34253         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34254         Likewise.
34255         (__rawmemchr_sse2): Likewise.
34256         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34257         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34258         (__strchr_sse2): Likewise.
34259         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34260         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34261         (__strcasecmp_sse2): Likewise.
34262         (__strncasecmp_sse2): Likewise.
34263         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34264         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34265         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34266         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34267         (__strrchr_sse2): Likewise.
34268         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34269         ifunc-impl-list.c.
34270         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34271         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34272         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34273         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34274         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34275         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34276         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34277         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34278         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34279         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34280         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34281         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34282         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34283         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34284         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34285         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34286         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34287         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34288         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34289         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34290         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34291         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34292         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34293         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34294         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34295         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34296         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34297         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34298         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34299         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34300
34301         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34302         global and hidden.
34303         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34304         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34305         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34306         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34307         Likewise.
34308         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34309         Likewise.
34310         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34311         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34312         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34313         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34314         ifunc-impl-list.c.
34315         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34316         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34317         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34318         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34319         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34320         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34321         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34322         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34323         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34324         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34325         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34326         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34327         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34328         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34329         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34330         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34331         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34332         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34333         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34334         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34335         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34336         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34337         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34338         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34339         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34340         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34341         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34342         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34343         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34344         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34345         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34346         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34347         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34348         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34349         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34350         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34351         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34352         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34353         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34354         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34355         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34356
34357         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34358         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34359         * include/ifunc-impl-list.h: New file.
34360         * misc/ifunc-impl-list.c: Likewise.
34361         * misc/Makefile (routines): Add ifunc-impl-list.
34362         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34363         * string/test-string.h: Include <ifunc-impl-list.h>.
34364         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34365         TEST_NAME]: New variables.
34366         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34367         are defined.
34368         (test_init): Call __libc_ifunc_impl_list to initialize
34369         func_list if TEST_IFUNC and TEST_NAME are defined.
34370
34371         * string/Makefile (strop-tests): Add bcopy and bzero.
34372         * string/test-bcopy.c: New file.
34373         * string/test-bzero.c: Likewise.
34374         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34375         defined.
34376         * string/test-memset.c: Support bzero test if TEST_BZERO is
34377         defined.
34378         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34379         __libc_memmove.
34380         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34381         __libc_memset.
34382         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34383         of memset.
34384
34385 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34386
34387         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34388         * configure: Regenerated.
34389
34390         * Makeconfig (+link-static-before-libc): Don't include
34391         $(link-static-libc).
34392
34393         * libio/libio.h (_IO_pos_t): Remove.
34394
34395 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34396
34397         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34398         McGrath.
34399
34400 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34401
34402         * crypt/crypt-entry.c: Include fips-private.h.
34403         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34404         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34405         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34406         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34407
34408 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34409
34410         * crypt/crypt-private.h: Include stdbool.h.
34411         (_ufc_setup_salt_r): Return bool.
34412         * crypt/crypt-entry.c: Include errno.h.
34413         (__crypt_r): Return NULL with EINVAL for bad salt.
34414         * crypt/crypt_util.c (bad_for_salt): New.
34415         (_ufc_setup_salt_r): Check that salt is long enough and within
34416         the specified alphabet.
34417         * crypt/badsalttest.c: New file.
34418         * crypt/Makefile (tests): Add it.
34419         ($(objpfx)badsalttest): New.
34420
34421 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34422
34423         * NEWS: Add entry for BZ #14602.
34424
34425 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34426
34427         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34428         type-generic.
34429         * math/libm-test.inc: Update comment listing what functions and
34430         macros are tested.
34431         (isgreater_test): New function.
34432         (isgreaterequal_test): Likewise.
34433         (isless_test): Likewise.
34434         (islessequal_test): Likewise.
34435         (islessgreater_test): Likewise.
34436         (isunordered_test): Likewise.
34437         (main): Call the new functions.
34438
34439 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34440
34441         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34442         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34443         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34444         * sysdeps/i386/configure: Regenerated.
34445         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34446         * sysdeps/mach/configure: Regenerated.
34447         * sysdeps/mach/hurd/configure: Regenerated.
34448         * sysdeps/powerpc/configure: Regenerated.
34449         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34450         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34451         * sysdeps/s390/s390-32/configure: Regenerated.
34452         * sysdeps/s390/s390-64/configure: Regenerated.
34453         * sysdeps/sh/configure: Regenerated.
34454         * sysdeps/sparc/configure: Regenerated.
34455         * sysdeps/unix/sysv/linux/configure: Regenerated.
34456         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34457         * sysdeps/x86_64/configure: Regenerated.
34458
34459         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34460         defined.  Don't check if MAP is NULL.
34461
34462 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34463
34464         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34465         (_G_stat64): Likewise.
34466         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34467         (_G_stat64): Likewise.
34468         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34469         instead of struct _G_stat64.
34470         * libio/fileops.c (mmap_remap_check): Likewise.
34471         (decide_maybe_mmap): Likewise.
34472         (_IO_new_file_seekoff): Likewise.
34473         (_IO_file_stat): Likewise.
34474         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34475         _G_off64_t.
34476         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34477         instead of struct _G_stat64.
34478         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34479
34480 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34481
34482         [BZ #14602]
34483         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34484         Replace with ...
34485         (CHECK_EOL): New macro.
34486         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34487         CHECK_EOL.
34488         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34489         Replace with CHECK_EOL.
34490         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34491         Replace with CHECK_EOL.
34492
34493 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34494
34495         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34496         type-generic.
34497         * math/libm-test.inc: Update comment listing what functions and
34498         macros are tested.
34499         (finite_test): New function.
34500         (isinf_test): Likewise.
34501         (isnan_test): Likewise.
34502         (fpclassify_test): Test subnormal input.
34503         (isfinite_test): Likewise.
34504         (isnormal_test): Likewise.
34505         (main): Call the new functions.
34506
34507 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34508
34509         [BZ #14660]
34510         * Makerules (%.dynsym): Force C locale when running
34511         $(OBJDUMP) --dynamic-syms.
34512
34513 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34514
34515         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34516         <stdint.h>.
34517
34518 2012-10-06  David S. Miller  <davem@davemloft.net>
34519
34520         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34521         upper 32-bits of the length value in %o2 since we use branch-on-register
34522         tests which consider the entire 64-bit register.
34523
34524 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34525
34526         * string/test-strstr.c (check2): Add a test for page boundary.
34527
34528 2012-10-05  David S. Miller  <davem@davemloft.net>
34529
34530         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34531         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34532         file.
34533         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34534         sysdep_routines.
34535         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34536         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34537         and bzero when HWCAP_SPARC_CRYPTO is present.
34538
34539 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34540
34541         [BZ #14602]
34542         * string/test-strstr.c (check2): New function.
34543         (test_main): Call check2.
34544
34545         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34546         and bug-strchr1.
34547         * string/bug-strcasestr1.c (do_test): Moved to ...
34548         * string/test-strcasestr.c (check1): Here.  New function.
34549         (do_one_test): Break out result checking code into ...
34550         (check_result): This.  New function.
34551         (do_one_test): Call check_result.
34552         (test_main): Call check1.
34553         * string/bug-strchr1.c (do_test): Moved to ...
34554         * string/test-strchr.c (check1): Here.  New function.
34555         (do_one_test): Break out result checking code into ...
34556         (check_result): This.  New function.
34557         (do_one_test): Call check_result.
34558         (test_main): Call check1.
34559         * string/bug-strstr1.c (main): Moved to ...
34560         * string/test-strstr.c (check1): Here.  New function.
34561         (do_one_test): Break out result checking code into ...
34562         (check_result): This.  New function.
34563         (do_one_test): Call check_result.
34564         (test_main): Call check1.
34565         * string/bug-strcasestr1.c: Removed.
34566         * string/bug-strchr1.c: Likewise.
34567         * string/bug-strstr1.c: Likewise.
34568
34569         * elf/Makefile (dl-routines): Add hwcaps.
34570         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34571         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34572         (_dl_important_hwcaps): Moved to ...
34573         * elf/dl-hwcaps.c: Here.  New file.
34574         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34575
34576         [BZ #14557]
34577         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34578         if IS_IN_rtld isn't defined.
34579
34580         * elf/dl-support.c (_dl_sysinfo_map): New.
34581         Include "get-dynamic-info.h" and "setup-vdso.h".
34582         (_dl_non_dynamic_init): Call setup_vdso.
34583         * elf/dynamic-link.h: Don't include <assert.h>.
34584         (elf_get_dynamic_info): Moved to ...
34585         * elf/get-dynamic-info.h: Here.  New file.
34586         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34587         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34588         * elf/setup-vdso.h: Here.  New file.
34589         * elf/rtld.c: Include "setup-vdso.h".
34590         (dl_main): Call setup_vdso.
34591
34592 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34593
34594         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34595         creal in comment listing functions tested.  List finite, isinf,
34596         isnan, isless, islessequal, isgreater, isgreaterequal,
34597         islessgreater, isunordered, lgamma_r and pow10 as functions and
34598         macros not tested.  Mention which functions not tested are aliases
34599         for other functions.  Fix typo.  Note that signs of NaNs are not
34600         tested.
34601
34602         * scripts/config.guess: Update from config.git.
34603         * scripts/config.sub: Likewise.
34604
34605 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34606
34607         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34608         * misc/madvise.c (madvise): Renamed to __madvise.
34609         Make madvise a weak alias.
34610         * include/sys/mman.h: Declare __madvise.
34611         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34612         * sysdeps/unix/syscalls.list
34613         (madvise): Make __madvise the strong name, and madvise a weak alias.
34614         * sysdeps/unix/sysv/linux/syscalls.list
34615         (madvise, mmap): Remove redundant entries.
34616         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34617         * malloc/malloc.c (mtrim): Likewise.
34618         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34619
34620 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34621
34622         * sysdeps/mach/hurd/dl-cache.c: File removed.
34623         * config.h.in (USE_LDCONFIG): New #undef.
34624         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34625         * configure: Regenerated.
34626         * elf/Makefile (dl-routines): Add dl-cache only under
34627         [$(use-ldconfig) = yes].
34628         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34629         cache on [USE_LDCONFIG].
34630         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34631         [USE_LDCONFIG].
34632         * elf/rtld.c (dl_main): Likewise.
34633
34634 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34635
34636         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34637         _SC_LEVEL4_CACHE_LINESIZE.
34638
34639 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34640
34641         * sysdeps/unix/bsd/confstr.h: File removed.
34642
34643 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34644
34645         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34646         sys/sdt-config.h.
34647
34648 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34649
34650         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34651         Make 'mapoff' field ElfW(Off) rather than off_t.
34652
34653 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34654
34655         * nscd/Makefile: Remove nscd-cflags and all its users.
34656         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34657         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34658
34659         [BZ #10631]
34660         * malloc.c (malloc_printerr): Clarify error message.
34661
34662 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34663
34664         [BZ #14648]
34665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34666         Set bit_FMA_Usable if FMA is supported.
34667         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34668         macro.
34669         (bit_FMA4_Usable): Updated.
34670         (index_FMA_Usable): New macro.
34671         (CPUID_FMA): Likewise
34672         (HAS_FMA): Defined with bit_FMA_Usable.
34673
34674 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34675
34676         * bits/types.h (__swblk_t): Type removed.
34677         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34678         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34679         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34680         (__SWBLK_T_TYPE): Likewise.
34681         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34682         (__SWBLK_T_TYPE): Likewise.
34683         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34684         (__SWBLK_T_TYPE): Likewise.
34685         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34686         (__SWBLK_T_TYPE): Likewise.
34687
34688 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34689             Honza Horak <hhorak@redhat.com>
34690
34691         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34692         (xdr_mapname): Use YPMAXMAP as maxsize.
34693         (xdr_peername): Use YPMAXPEER as maxsize.
34694         (xdr_keydat): Use YPAXRECORD as maxsize.
34695         (xdr_valdat): Use YPMAXRECORD as maxsize.
34696
34697 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34698
34699         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34700
34701         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34702         * csu/init-first.c: ... here.
34703         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34704         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34705         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34706         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34707         * sysdeps/i386/init-first.c: File removed.
34708         * sysdeps/sh/init-first.c: File removed.
34709
34710 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34711
34712         [BZ #14645]
34713         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34714         if x * y might underflow to zero and z is zero.
34715         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34716         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34717         * math/libm-test.inc (min_subnorm_value): New variable.
34718         (fma_test): Add more tests.
34719         (fma_test_towardzero): Likewise.
34720         (fma_test_downward): Likewise
34721         (fma_test_upward): Likewise.
34722         (initialize): Set min_subnorm_value.
34723
34724 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34725
34726         [BZ #14638]
34727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34728         0 + 0.
34729         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34730         mode for addition resulting in exact zero.
34731         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34733         exact 0 + 0.
34734         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34735         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34736         * math/libm-test.inc (fma_test): Add more tests.
34737         (fma_test_towardzero): New function.
34738         (fma_test_downward): Likewise.
34739         (fma_test_upward): Likewise.
34740         (main): Call the new functions.
34741
34742 2012-09-28  David S. Miller  <davem@davemloft.net>
34743
34744         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34745
34746 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34747
34748         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34749         instead of SIGALRM.
34750
34751         * sysdeps/gnu/_G_config.h: Moved to ...
34752         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34753         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34754         * sysdeps/generic/_G_config.h: ... here.
34755
34756         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34757
34758         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34759
34760         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34761         Conditionalize target on [libnss_test1.so-version].
34762
34763         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34764
34765         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34766         (elfobjdir): Move out of conditionals.
34767
34768         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34769         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34770         (__nss_lookup_function): Conditionalize label remove_from_tree on
34771         [!DO_STATIC_NSS || SHARED], matching its only use.
34772
34773 2012-09-28  David S. Miller  <davem@davemloft.net>
34774
34775         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34776         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34777         file.
34778         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34779         sysdep_routines.
34780         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34781         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34782         when HWCAP_SPARC_CRYPTO is present.
34783
34784 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34785
34786         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34787
34788 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34789
34790         [BZ #6530]
34791         * stdio-common/vfprintf.c (process_string_arg): Revert
34792         2000-07-22 change.
34793
34794 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34795
34796         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34797         for testcase.
34798         * stdio-common/tst-sprintf.c: Include <locale.h>
34799         (main): Test sprintf's handling of incomplete multibyte
34800         characters.
34801
34802 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34803
34804         * elf/dl-runtime.c (VERSYMIDX): Removed.
34805         * elf/dl-version.c (VERSYMIDX): Likewise.
34806         * elf/do-rel.h (VERSYMIDX): Likewise.
34807         (VALIDX): Likewise.
34808         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34809         * elf/rtld.c (VALIDX): Likewise.
34810         (ADDRIDX): Likewise.
34811         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34812         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34813         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34814         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34815         (VALIDX): Likewise.
34816         (ADDRIDX): Likewise.
34817
34818 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34819
34820         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34821
34822 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34823
34824         [BZ #11438]
34825         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34826         to global scope.
34827         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34828         addresses are in the same scope as 192.0.2/24.
34829         * posix/gai.conf: Document new scope table defaults.
34830
34831 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34832
34833         [BZ #5298]
34834         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34835         for ftell.  Compute offsets from write pointers instead.
34836         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34837
34838 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34839
34840         [BZ #14543]
34841         * libio/Makefile (tests): New test case tst-fseek.
34842         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34843         combination works in wide mode.
34844         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34845         state when the external buffer state changes.
34846
34847 2012-09-27  David S. Miller  <davem@davemloft.net>
34848
34849         [BZ #14376]
34850         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34851         pass reloc->r_addend in as the 'high' argument to
34852         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34853
34854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34855
34856 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34857
34858         * rt/tst-aio2.c: Include <pthread.h>.
34859         * rt/tst-aio3.c: Likewise.
34860
34861 2012-09-27  Steve Ellcey  <sellcey@mips.com>
34862
34863         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34864
34865 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
34866
34867         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34868         contents on [SHARED].
34869
34870 2012-09-26  Marek Polacek  <polacek@redhat.com>
34871
34872         [BZ #14530]
34873         [BZ #13741]
34874         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34875         for C++ and GCC <4.3 as well as for non GCC compilers.
34876
34877 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34878
34879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34880
34881 2012-09-25  Roland McGrath  <roland@hack.frob.com>
34882
34883         * Makefile.in (all, install): Declare with .PHONY.
34884         Reported by Michael Hope <michael.hope@linaro.org>.
34885
34886 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34887
34888         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34889         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34890         system header.
34891         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34892         Likewise.
34893         (sydep_routines): Add the new and the internal functions.
34894         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34895         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34897         (GLIBC_2.17): Add the new function.
34898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34899         (GLIBC_2.17): Likewise.
34900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34901         (GLIBC_2.17): Likewise.
34902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34903         (GLIBC_2.17): Likewise.
34904         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34905
34906 2012-09-25  Alan Modra  <amodra@gmail.com>
34907
34908         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34909         Add release barrier before setting once_control to say
34910         initialisation is done.  Add hints on lwarx.  Use macro in
34911         place of isync.
34912         (clear_once_control): Add release barrier.
34913
34914 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34915
34916         [BZ #13629]
34917         * math/s_clog.c (__clog): Handle more values close to |z| = 1
34918         specially.
34919         * math/s_clog10.c (__clog10): Likewise.
34920         * math/s_clog10f.c (__clog10f): Likewise.
34921         * math/s_clog10l.c (__clog10l): Likewise.
34922         * math/s_clogf.c (__clogf): Likewise.
34923         * math/s_clogl.c (__clogl): Likewise.
34924         * math/Makefile (libm-calls): Add x2y2m1.
34925         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34926         (__x2y2m1): Likewise.
34927         (__x2y2m1l): Likewise.
34928         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34929         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34930         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34931         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34932         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34933         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34934         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34935         * sysdeps/i386/fpu/libm-test-ulps: Update.
34936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34937
34938         [BZ #14621]
34939         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34940         int as type of variable DEPTH.
34941         (glob): Use size_t instead of int as type of variables NEWCOUNT
34942         and OLD_PATHC.
34943
34944 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34945
34946         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34947         Add s_sincosf-sse2.
34948         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34949         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34950         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34951         macros for using routine as __sincosf_ia32.
34952         Use macro for function declaration and weak_alias.
34953         * sysdeps/i386/fpu/libm-test-ulps: Update.
34954
34955         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34957
34958         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34959         subnormal argument.
34960         * math/s_cexpf.c (__cexpf): Likewise.
34961         * math/s_csinf.c (__csinf): Likewise.
34962         * math/s_csinhf.c (__csinhf): Likewise.
34963         * math/s_ctanf.c (__ctanf): Likewise.
34964         * math/s_ctanhf.c (__ctanhf): Likewise.
34965         * math/s_ccosh.c (__ccoshf): Likewise.
34966         * math/s_cexp.c (__cexpl): Likewise.
34967         * math/s_csin.c (__csin): Likewise.
34968         * math/s_csinh.c (__csinh): Likewise.
34969         * math/s_ctan.c (__ctan): Likewise.
34970         * math/s_ctanh.c (ctanh): Likewise.
34971         * math/s_ccoshl.c (__ccoshl): Likewise.
34972         * math/s_cexpl.c (__cexpl): Likewise.
34973         * math/s_csinl.c (__csinl): Likewise.
34974         * math/s_csinhl.c (__csinhl): Likewise.
34975         * math/s_ctanl.c (__ctanl): Likewise.
34976         * math/s_ctanhl.c (__ctanhl): Likewise.
34977
34978 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34979
34980         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34981         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34982         (_IO_off_t): Define to __off_t, not _G_off_t.
34983         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34984         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34985         (_IO_wint_t): Define to wint_t, not _G_wint_t.
34986         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34987         type of __dummy and __dummy2 fields.
34988         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34989         (_G_ssize_t): Likewise.
34990         (_G_off_t): Likewise.
34991         (_G_pid_t): Likewise.
34992         (_G_uid_t): Likewise.
34993         (_G_wchar_t): Likewise.
34994         (_G_wint_t): Likewise.
34995         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34996         (_G_ssize_t): Likewise.
34997         (_G_off_t): Likewise.
34998         (_G_pid_t): Likewise.
34999         (_G_uid_t): Likewise.
35000         (_G_wchar_t): Likewise.
35001         (_G_wint_t): Likewise.
35002         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35003         (_G_ssize_t): Likewise.
35004         (_G_off_t): Likewise.
35005         (_G_pid_t): Likewise.
35006         (_G_uid_t): Likewise.
35007         (_G_wchar_t): Likewise.
35008         (_G_wint_t): Likewise.
35009
35010 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35011
35012         * malloc/arena.c: Include malloc-sysdep.h.
35013         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35014         is sufficient to shrink the heap or an unmap is needed.
35015         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35016         new function check_may_shrink_heap.
35017         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35018         new function check_may_shrink_heap.
35019
35020 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35021
35022         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35023         comments.
35024
35025 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35026
35027         * catgets/test-gencat.sh: Add "set -e".
35028         * elf/tst-pathopt.sh: Likewise.
35029         * grp/tst_fgetgrent.sh: Likewise.
35030         * iconvdata/run-iconv-test.sh: Likewise.
35031         * intl/tst-gettext.sh: Likewise.
35032         * intl/tst-gettext2.sh: Likewise.
35033         * intl/tst-gettext4.sh: Likewise.
35034         * intl/tst-gettext6.sh: Likewise.
35035         * intl/tst-translit.sh: Likewise.
35036         * io/ftwtest-sh: Likewise.
35037         * libio/test-freopen.sh: Likewise.
35038         * malloc/tst-mtrace.sh: Likewise.
35039         * posix/globtest.sh: Likewise.
35040         * posix/tst-getconf.sh: Likewise.
35041         * posix/wordexp-tst.sh: Likewise.
35042         * stdio-common/tst-printf.sh: Likewise.
35043         * stdio-common/tst-unbputc.sh: Likewise.
35044         * stdlib/tst-fmtmsg.sh: Likewise.
35045         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35046         * catgets/Makefile: Do not specify -e option when running
35047         testsuite shell scripts.
35048         * elf/Makefile: Likewise.
35049         * grp/Makefile: Likewise.
35050         * iconvdata/Makefile: Likewise.
35051         * intl/Makefile: Likewise.
35052         * io/Makefile: Likewise.
35053         * libio/Makefile: Likewise.
35054         * malloc/Makefile: Likewise.
35055         * posix/Makefile: Likewise.
35056         * stdio-common/Makefile: Likewise.
35057         * stdlib/Makefile: Likewise.
35058         * sysdeps/x86_64/Makefile: Likewise.
35059
35060         * io/ftwtest-sh: Add copyright header.
35061         * posix/globtest.sh: Likewise.
35062         * posix/tst-getconf.sh: Likewise.
35063         * posix/wordexp-tst.sh: Likewise.
35064         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35065
35066 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35067
35068         [BZ #13679]
35069         * Makeconfig (+link): Defined as $(+link-static) if
35070         $(build-shared) isn't yes.
35071         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35072         isn't yes.
35073         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35074
35075         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35076
35077         [BZ #14562]
35078         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35079         new chunk size with MALLOC_ALIGN_MASK.
35080
35081 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35082
35083         [BZ #5044]
35084         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35085         <rounding-mode.h>.
35086         (__printf_fphex): Determine rounding using get_rounding_mode and
35087         round_away.
35088         * stdio-common/tst-printf-round.c (struct hex_test): New
35089         structure.
35090         (hex_tests): New variable.
35091         (test_hex_in_one_mode): New function.
35092         (do_test): Also run tests for hex float output.
35093
35094 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35095
35096         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35097         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35098         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35099         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35100         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35101         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35102         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35103         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35104
35105 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35106
35107         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35108         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35109         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35110         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35111
35112 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35113
35114         [BZ #14579]
35115         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35116         mode only.
35117         * elf/tst-rtld-load-self.sh: New test.
35118         * elf/Makefile: Run it.
35119
35120 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35121
35122         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35123         (tst-writev-ENV): Remove.
35124         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35125
35126 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35127
35128         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35129
35130 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35131
35132         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35133         unconditional.
35134         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35135         Likewise.
35136         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35137         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35138         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35139         Likewise.
35140
35141 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35142
35143         [BZ #14587]
35144         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35145         * config.make.in (have-cpp-asm-debuginfo): Removed.
35146         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35147         * configure: Regenerated.
35148
35149 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35150
35151         [BZ #5044]
35152         * stdio-common/printf_fp.c: Include <stdbool.h> and
35153         <rounding-mode.h>.
35154         (___printf_fp): Determine rounding using get_rounding_mode and
35155         round_away.
35156         * stdio-common/tst-printf-round.c: New file.
35157         * stdio-common/Makefile (tests): Add tst-printf-round.
35158         (link-libm): New variable.
35159         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35160
35161 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35162
35163         [BZ #14576]
35164         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35165         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35166         Likewise.
35167         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35168         Likewise.
35169
35170 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35171
35172         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35173         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35174         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35175         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35176
35177 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35178
35179         [BZ #14518]
35180         * include/rounding-mode.h: New file.
35181         * sysdeps/generic/get-rounding-mode.h: Likewise.
35182         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35183         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35184         (MAX_VALUE): New macro.
35185         (MIN_VALUE): Likewise.
35186         (overflow_value): New function.
35187         (underflow_value): Likewise.
35188         (round_and_return): Use overflow_value and underflow_value to
35189         determine return values in overflow and underflow cases.  Use
35190         round_away to determine rounding depending on rounding mode.
35191         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35192         determine return values in overflow and underflow cases.
35193         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35194         (struct test_results): New structure.
35195         (struct test): Use struct test_results to store expected results
35196         for all rounding modes.
35197         (TEST): Include expected results for all rounding modes.
35198         (test_in_one_mode): New function.
35199         (do_test): Use test_in_one_mode to compute and check results.
35200         Check results for all rounding modes.
35201         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35202         $(link-libm).
35203
35204 2012-12-09  Allan McRae  <allan@archlinux.org>
35205
35206         * sysdeps/i386/fpu/libm-test-ulps: Update
35207
35208 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35209
35210         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35211         (_G_int32_t): Likewise.
35212         (_G_uint16_t): Likewise.
35213         (_G_uint32_t): Likewise.
35214         (_G_HAVE_BOOL): Likewise.
35215         (_G_HAVE_ATEXIT): Likewise.
35216         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35217         (_G_HAVE_IO_FILE_OPEN): Likewise.
35218         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35219         (_G_int32_t): Likewise.
35220         (_G_uint16_t): Likewise.
35221         (_G_uint32_t): Likewise.
35222         (_G_HAVE_BOOL): Likewise.
35223         (_G_HAVE_ATEXIT): Likewise.
35224         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35225         (_G_HAVE_IO_FILE_OPEN): Likewise.
35226         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35227         (_G_int32_t): Likewise.
35228         (_G_uint16_t): Likewise.
35229         (_G_uint32_t): Likewise.
35230         (_G_HAVE_BOOL): Likewise.
35231         (_G_HAVE_ATEXIT): Likewise.
35232         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35233         (_G_HAVE_IO_FILE_OPEN): Likewise.
35234
35235 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35236
35237         * csu/libc-tls.c: Update copyright years.
35238
35239 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35240
35241         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35242         [!_G_USING_THUNKS]: Remove conditional code.
35243         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35244         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35245
35246         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35247         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35248         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35249         (_G_VTABLE_LABEL_PREFIX): Likewise.
35250         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35251         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35252         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35253         (_G_VTABLE_LABEL_PREFIX): Likewise.
35254         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35255         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35256         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35257         (_G_VTABLE_LABEL_PREFIX): Likewise.
35258         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35259
35260 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35261
35262         * libio/Makefile: Include ../Makeconfig before tests.
35263         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35264         only if $(build-shared) is yes.
35265
35266         * iconv/gconv_db.c: Update copyright years.
35267
35268 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35269
35270         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35271         unwind info if defined PIC. Fix special cases description.
35272         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35273
35274         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35275         DP_HI_MASK entry.
35276         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35277
35278 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35279
35280         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35281
35282         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35283         is NULL.
35284
35285         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35286         (LDLIBS-tst-chk4): This.
35287         (LDFLAGS-tst-chk5): Renamed to ...
35288         (LDLIBS-tst-chk5): This.
35289         (LDFLAGS-tst-chk6): Renamed to ...
35290         (LDLIBS-tst-chk6): This.
35291         (LDFLAGS-tst-lfschk4): Renamed to ...
35292         (LDLIBS-tst-lfschk4): This.
35293         (LDFLAGS-tst-lfschk5): Renamed to ...
35294         (LDLIBS-tst-lfschk5): This.
35295         (LDFLAGS-tst-lfschk6): Renamed to ...
35296         (LDLIBS-tst-lfschk6): This.
35297
35298         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35299         on $(common-objpfx)soversions.mk.
35300
35301 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35302
35303         [BZ #10014]
35304         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35305         example host name.
35306
35307 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35308
35309         * malloc/arena.c (arena_get_retry): New function that gets
35310         another arena for the caller to try its request on.
35311         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35312         current arena cannot fulfill the request.
35313         (__libc_memalign): Likewise.
35314         (__libc_memalign): Likewise.
35315         (__libc_pvalloc): Likewise.
35316         (__libc_calloc): Likewise.
35317
35318 2012-09-05  John Tobey  <john.tobey@gmail.com>
35319
35320         [BZ #13542]
35321         * manual/arith.texi (Operations on Complex): Fix description
35322         of carg branch cut.
35323
35324 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35325
35326         [BZ #10014]
35327         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35328         host name.
35329
35330         [BZ #10038]
35331         * manual/memory.texi (Memory): Make order of menu items match
35332         order of sections.
35333
35334 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35335
35336         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35337         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35338         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35339
35340 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35341
35342         * csu/libc-tls.c (static_dtv): Renamed to ...
35343         (_dl_static_dtv): This.  Make it global.
35344         (_dl_initial_dtv): Removed.
35345         (__libc_setup_tls): Updated.
35346         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35347         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35348         DL_INITIAL_DTV.
35349
35350 2012-09-06  Petr Machata  <pmachata@redhat.com>
35351
35352         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35353         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35354         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35355         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35356
35357 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35358
35359         [BZ #14545]
35360         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35361         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35362         freeing dtv[-1].
35363
35364 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35365
35366         [BZ #14544]
35367         * Makeconfig (link-static-before-libc): Replace $(+prector)
35368         with $(+prectorT).
35369         (link-static-after-libc): Replace $(+postctor) with
35370         $(+postctorT).
35371         (link-bounded): Replace $(+prector)/$(+postctor) with
35372         $(+prectorT)/$(+postctorT).
35373         (+prectorT): New macro.
35374         (+postctorT): Likewise.
35375
35376 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35377
35378         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35379         (round_str): Handle values above the maximum for IBM long double
35380         as inexact.
35381         * stdlib/tst-strtod-round.c (tests): Regenerated.
35382
35383 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35384
35385         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35386         assembler flag.
35387         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35388         zarch_nohighgprs around the zarch optimized routines.
35389         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35390         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35391         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35392         for zarch.
35393
35394 2012-09-05  David S. Miller  <davem@davemloft.net>
35395
35396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35397
35398         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35399         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35400         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35401         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35402         entries.
35403
35404 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35405
35406         * malloc/arena.c: Fold copyright years.
35407         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35408
35409 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35410
35411         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35412
35413 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35414
35415         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35416
35417 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35418
35419         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35420         change internal state upon failure.
35421
35422 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35423
35424         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35425         * malloc/memusage.c (mmap): Likewise.
35426         (mmap64, mremap): Likewise.  Adjust name in comment.
35427
35428 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35429
35430         * libio/fileops.c: Fix typos in comments.
35431         * libio/oldfileops.c: Likewise.
35432         * libio/wfileops.c: Likewise.
35433
35434 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35435
35436         [BZ #1349]
35437         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35438         (tst-malloc-usable-ENV): Set environment for test case.
35439         * malloc/hooks.c (malloc_check_get_size): New function to get
35440         requested size.
35441         * malloc/malloc.c (musable): Use malloc_check_get_size.
35442         * malloc/tst-malloc-usable.c: New test case.
35443
35444 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35445
35446         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35447
35448 2012-09-05  Allan McRae  <allan@archlinux.org>
35449
35450         [BZ #13966]
35451         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35452         determine header location.
35453         * configure: Regenerated.
35454
35455 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35456
35457         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35458         float format.
35459         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35460         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35461         format.
35462         (test): Regenerate.
35463
35464 2012-09-04  David S. Miller  <davem@davemloft.net>
35465
35466         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35467         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35468         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35469
35470 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35471
35472         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35473         failures.
35474
35475         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35476
35477 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35478
35479         [BZ #9914]
35480         * libio/iogetdelim.c: Include <limits.h>.
35481         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35482         + len + 1 would overflow.
35483
35484 2012-09-03  Andreas Jaeger  <aj@suse.de>
35485
35486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35487         * sysdeps/i386/fpu/libm-test-ulps: Update.
35488
35489 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35490
35491         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35492         Add s_sinf-sse2, s_conf-sse2.
35493
35494         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35495         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35496         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35497         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35498
35499         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35500         for using routine as __sinf_ia32.
35501         Use macro for function declaration and weak_alias.
35502         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35503         for using routine as __cosf_ia32.
35504         Use macro for function declaration and weak_alias.
35505
35506         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35507         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35508
35509         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35510         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35511         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35512
35513         * math/libm-test.inc (cos_test): Add more test cases.
35514         (sin_test): Likewise.
35515         (sincos_test): Likewise.
35516
35517 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35518
35519         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35520         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35521         hidden.
35522         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35523
35524 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35525
35526         [BZ #14538]
35527         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35528         first element of the GOT.
35529         (elf_machine_load_address): Return the difference between
35530         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35531
35532 2012-09-01  Allan McRae  <allan@archlinux.org>
35533
35534         [BZ #13412]
35535         * configure.in (AWK): Require gawk version 3.0 or later.
35536         * configure: Regenerated.
35537
35538 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35539
35540         * sysdeps/unix/sysv/linux/kernel-features.h
35541         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35542         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35543         [__NR_clock_getres]: Make code unconditional.
35544         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35545         (clock_getcpuclockid): Remove code left unreachable by removal of
35546         conditionals.
35547         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35548         code unconditional.
35549         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35550         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35551         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35552         Make code unconditional.
35553         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35554         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35555         * sysdeps/unix/sysv/linux/clock_settime.c
35556         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35557         conditional code.
35558         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35559         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35560
35561 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35562
35563         [BZ #14476]
35564         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35565         scripts/test-installation.pl.
35566
35567         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35568         and $ld_so_version if it is set.
35569
35570 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35571
35572         [BZ #14516]
35573         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35574         failure if reading from procfs failed.
35575         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35576
35577 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35578
35579         * sysdeps/unix/sysv/linux/kernel-features.h
35580         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35581         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35582         Remove conditional code.
35583         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35584         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35585         Remove conditional code.
35586         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35587         * sysdeps/unix/sysv/linux/i386/fxstat.c
35588         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35589         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35590         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35591         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35592         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35593         * sysdeps/unix/sysv/linux/i386/lxstat.c
35594         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35595         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35596         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35597         Remove conditional code.
35598         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35599         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35600         Remove conditional code.
35601         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35602         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35603         <kernel-features.h>.
35604         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35605         Remove.
35606         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35607         Remove conditional code.
35608         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35609         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35610         Remove conditional.
35611
35612 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35613
35614         [BZ #5400]
35615         * NEWS: Add fixed bug number.
35616
35617 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35618
35619         [BZ #14519]
35620         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35621         underflowing exponent in case of negative sign.
35622         * stdlib/tst-strtod-round-data: Add more tests.
35623         * stdlib/tst-strtod-round.c (tests): Regenerated.
35624
35625         [BZ #3479]
35626         * stdlib/strtod_l.c (NDIG): Remove.
35627         (HEXNDIG): Likewise.
35628         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35629         smallest representable value.
35630         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35631         lie within an exact representation of 1/2 ulp of the result.
35632         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35633         unconditionally.
35634         (TENS_P9_IDX): Define unconditionally.
35635         (TENS_P9_SIZE): Likewise.
35636         (TENS_P10_IDX): Likewise.
35637         (TENS_P10_SIZE): Likewise.
35638         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35639         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35640         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35641         entries for 10^2^13 and 10^2^14.
35642         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35643         (TENS_P13_IDX): Define.
35644         (TENS_P13_SIZE): Likewise.
35645         (TENS_P14_IDX): Likewise.
35646         (TENS_P14_SIZE): Likewise.
35647         (_fpioconst_pow10): Change array size to
35648         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35649         unconditional.
35650         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35651         1024]: Add entries for 10^2^13 and 10^2^14.
35652         [LAST_POW10 > _LAST_POW10]: Remove #error.
35653         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35654         (_fpioconst_pow10): Change array size to
35655         FPIOCONST_POW10_ARRAY_SIZE.
35656         * stdlib/gen-fpioconst.c: New file.
35657         * stdlib/gen-tst-strtod-round.c: Likewise.
35658         * stdlib/tst-strtod-round-data: Likewise.
35659         * stdlib/tst-strtod-round.c: Likewise.
35660         * stdlib/Makefile (tests): Add tst-strtod-round.
35661
35662         [BZ #14459]
35663         * stdlib/strtod_l.c: Include <stdint.h>.
35664         (NDEBUG): Do not define.
35665         (round_and_return): Change EXPONENT parameter to type intmax_t.
35666         Rearrange calculations to avoid internal overflow possibilities.
35667         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35668         Rearrange calculations to avoid internal overflow possibilities.
35669         Assert that number fits inside MPNSIZE limbs.
35670         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35671         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35672         calculations and add assertions to avoid internal overflow
35673         possibilities.  Add casts to avoid signed/unsigned operations.
35674         * stdlib/tst-strtod-overflow.c: New file.
35675         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35676
35677 2012-08-25  Marek Polacek  <polacek@redhat.com>
35678
35679         * time/time.h: Fix some typos in comments.
35680
35681 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35682
35683         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35684         * posix/tst-rfc3484-2.c: Likewise.
35685         * posix/tst-rfc3484-3.c: Likewise.
35686
35687 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35688
35689         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35690         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35691
35692 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35693
35694         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35695         #include of fxstatat64.c.
35696
35697 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35698
35699         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35700         * shadow/getspent_r.c: Likewise.
35701         * shadow/getspnam.c: Likewise.
35702         * shadow/getspnam_r.c: Likewise.
35703         * gshadow/getsgent.c: Likewise.
35704         * gshadow/getsgent_r.c: Likewise.
35705         * gshadow/getsgnam.c: Likewise.
35706         * gshadow/getsgnam_r.c: Likewise.
35707         * inet/getnetbyad.c: Likewise.
35708         * inet/getnetbyad_r.c: Likewise.
35709         * inet/getnetbynm.c: Likewise.
35710         * inet/getnetbynm_r.c: Likewise.
35711         * inet/getnetent.c: Likewise.
35712         * inet/getnetent_r.c: Likewise.
35713         * inet/getproto.c: Likewise.
35714         * inet/getproto_r.c: Likewise.
35715         * inet/getprtent.c: Likewise.
35716         * inet/getprtent_r.c: Likewise.
35717         * inet/getprtname.c: Likewise.
35718         * inet/getprtname_r.c: Likewise.
35719         * inet/getrpcbyname.c: Likewise.
35720         * inet/getrpcbyname_r.c: Likewise.
35721         * inet/getrpcbynumber.c: Likewise.
35722         * inet/getrpcbynumber_r.c: Likewise.
35723         * inet/getrpcent.c: Likewise.
35724         * inet/getrpcent_r.c: Likewise.
35725         * inet/getaliasent.c: Likewise.
35726         * inet/getaliasent_r.c: Likewise.
35727         * inet/getaliasname.c: Likewise.
35728         * inet/getaliasname_r.c: Likewise.
35729         * nscd/getgrgid_r.c: Likewise.
35730         * nscd/getgrnam_r.c: Likewise.
35731         * nscd/gethstbyad_r.c: Likewise.
35732         * nscd/gethstbynm3_r.c: Likewise.
35733         * nscd/getpwnam_r.c: Likewise.
35734         * nscd/getpwuid_r.c: Likewise.
35735         * nscd/getsrvbynm_r.c: Likewise.
35736         * nscd/getsrvbypt_r.c: Likewise.
35737         * nscd/gai.c: Likewise.
35738
35739         * configure.in (build_nscd): New substituted variable, set
35740         by --disable-build-nscd and defaults to $use_nscd.
35741         * configure: Regenerated.
35742         * config.make.in (build-nscd): New substituted variable.
35743         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35744         Change conditional to require [$(build-nscd) = yes] as well.
35745         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35746
35747         [BZ# 13696]
35748         * configure.in (use_nscd): New substituted variable, set by
35749         --disable-nscd.  If enabled, define USE_NSCD.
35750         * configure: Regenerated.
35751         * config.h.in: Add USE_NSCD.
35752         * config.make.in (use-nscd): New substituted variable.
35753         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35754         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35755         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35756         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35757         (CFLAGS-getgrnam_r.c): Likewise.
35758         (CFLAGS-initgroups.c): Likewise.
35759         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35760         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35761         Variables removed.
35762         * inet/getnetgrent_r.c
35763         (nscd_setnetgrent): New function, broken out of ...
35764         (setnetgrent): ... here.  Call it.
35765         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35766         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35767         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35768         * nscd/Makefile (routines, aux): Move definitions after include of
35769         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35770         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35771         Conditionalize on [USE_NSCD].
35772         (is_nscd, nscd_init_cb): Likewise.
35773         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35774         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35775         * nss/nss_db/db-init.c: Likewise.
35776         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35777         [USE_NSCD].
35778         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35779         (make_request): Use it.
35780         (cache_valid_p): New function.
35781         (__check_pf): Use it.
35782         * NEWS: Add item for --disable-nscd.
35783
35784 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35785
35786         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35787         to support sed >= 4.2.1-20-ga9bf076.
35788         * configure: Regenerated.
35789
35790 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35791
35792         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35793         Conditionalize whole body on [IREL].
35794
35795 2012-08-22  Jeff Law <law@redhat.com>
35796
35797         [BZ #14505]
35798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35799         if the family is PF_UNSPEC.
35800
35801 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35802
35803         * Makerules (lib-version): Rename from V.
35804         (install-lib-nosubdir): Change V to lib-version.
35805
35806 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35807
35808         [BZ #14252]
35809         * powerpc32/power6/wcschr.c: New file.
35810         * powerpc32/power6/wcscpy.c: New file.
35811         * powerpc32/power6/wcsrchr.c: New file.
35812         * powerpc64/power6/wcschr.c: New file.
35813         * powerpc64/power6/wcscpy.c: New file.
35814         * powerpc64/power6/wcsrchr.c: New file.
35815
35816 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35817
35818         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35819         (two_way_short_needle): Use it.
35820         * string/strstr.c (AVAILABLE1_USES_J): Define.
35821         * string/strcasestr.c: Likewise.
35822
35823         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35824         array references.
35825         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35826
35827         [BZ #11607]
35828         * NEWS: Add an entry.
35829         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35830         define their defaults.
35831         (two_way_short_needle): Detect end-of-string on-the-fly.
35832         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35833         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35834         * string/bug-strcasestr1.c: New test.
35835         * string/Makefile: Run it.
35836
35837 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35838
35839         [BZ #11607]
35840         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35841         the first character.
35842
35843 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35844
35845         * csu/elf-init.c (__libc_csu_irel): Function removed.
35846         * csu/libc-start.c (apply_irel): New function.
35847         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35848
35849 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35850
35851         * sysdeps/unix/sysv/linux/kernel-features.h
35852         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35853         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35854         <kernel-features.h>.
35855         [__NR_fadvise64_64]: Make code unconditional.
35856         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35857         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35858         !__NR_fadvise64_64)]: Likewise.
35859         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35860         !__NR_fadvise64_64))]: Likewise.
35861         [__NR_fadvise64]: Make code unconditional.
35862         [!__NR_fadvise64]: Remove conditional code.
35863         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35864         <kernel-features.h>.
35865         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35866         unconditional.
35867         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35868         conditional code.
35869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35870         not include <kernel-features.h>.
35871         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35872         unconditional.
35873         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35874         conditional code.
35875         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35876         include <kernel-features.h>.
35877         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35878         unconditional.
35879         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35880         conditional code.
35881
35882 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35883
35884         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35885         slight instruction rearrangements per scrollpipe analysis.
35886         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35887
35888 2012-08-20  Roland McGrath  <roland@hack.frob.com>
35889
35890         * manual/syslog.texi (syslog; vsyslog, closelog):
35891         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35892         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35893
35894         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35895         DSOCAPS to match condition on defining it.
35896
35897 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
35898
35899         * sysdeps/unix/sysv/linux/kernel-features.h
35900         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35902         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35903         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35905         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35906         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35908         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35909         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35910
35911         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35912         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35913
35914         * sysdeps/unix/sysv/linux/kernel-features.h
35915         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35916         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35917         unconditional.
35918         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35919         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35920         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35921         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35922         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35923         Make code unconditional.
35924         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35925         (__mmap64) [!__NR_mmap2]: Likewise.
35926         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35927         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35928         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35929         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35930         [__NR_mmap2]: Make code unconditional.
35931         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35932         (__mmap64) [!__NR_mmap2]: Likewise.
35933
35934 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35935
35936         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35937
35938 2012-08-18  Andreas Jaeger  <aj@suse.de>
35939
35940         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35941
35942 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35943
35944         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35945         * include/unistd.h (__have_sock_cloexec): Likewise.
35946         (__have_pipe2): Likewise.
35947         (__have_dup3): Likewise.
35948
35949 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35950
35951         [BZ #9685]
35952         * include/unistd.h (__have_pipe2): Change define into an extern int.
35953         (__have_dup3): Likewise.
35954         * socket/have_sock_cloexec.c: Include fcntl.h.
35955         (__have_pipe2): New variable.
35956         (__have_dup3): Likewise.
35957
35958 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
35959
35960         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35961
35962 2012-08-17  Marek Polacek  <polacek@redhat.com>
35963
35964         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35965         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35966
35967 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35968
35969         * configure.in: Add AC_SUBST for sysheaders.
35970         * configure: Regenerated.
35971         * config.make.in (sysheaders): New substituted variable.
35972
35973         * sysdeps/unix/mkfifo.c: Moved ...
35974         * sysdeps/posix/mkfifo.c: ... here.
35975         * sysdeps/unix/mkfifoat.c: Moved ...
35976         * sysdeps/posix/mkfifoat.c: ... here.
35977
35978         * sysdeps/unix/utime.c: Moved ...
35979         * sysdeps/posix/utime.c: ... here.
35980
35981         * sysdeps/unix/time.c: Moved ...
35982         * sysdeps/posix/time.c: ... here.
35983         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35984         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35985
35986         * sysdeps/unix/nice.c: Moved ...
35987         * sysdeps/posix/nice.c: ... here.
35988
35989         * sysdeps/unix/alarm.c: Moved ...
35990         * sysdeps/posix/alarm.c: ... here.
35991
35992         * intl/Makefile ($(codeset_mo)): Depend on the input file.
35993
35994 2012-08-17  Jeff Law <law@redhat.com>
35995
35996         * intl/Makefile (codeset_mo): New variable.
35997         ($(codeset_mo)): New target.
35998         (tst-codeset.out): Depend on that.  Remove explicit rule.
35999         (tst-gettext3.out, tst-gettext5.out): Likewise.
36000         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36001         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36002         * intl/tst-codeset.sh: Remove.
36003         * intl/tst-gettext3.sh: Likewise.
36004         * intl/tst-gettext5.sh: Likewise.
36005
36006 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36007
36008         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36009         * sysdeps/unix/syscalls.list: ... here.
36010
36011         * sysdeps/posix/getaddrinfo.c
36012         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36013         (gaiconf_init, gaiconf_reload): Use them.
36014         [!_STATBUF_ST_NSEC]
36015         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36016         Define using time_t rather than struct timespec.
36017
36018         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36019         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36020         Macros removed.
36021         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36022         [!NO_THREADS].
36023         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36024         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36025         Likewise.
36026
36027         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36028         __libc_cleanup_push argument.
36029
36030         * bits/param.h: New file.
36031         * misc/sys/param.h: New file.
36032         * include/sys/param.h: New file.
36033         * misc/Makefile (headers): Add bits/param.h.
36034         * sysdeps/generic/sys/param.h: File removed.
36035         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36036         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36037         * sysdeps/mach/hurd/bits/param.h: New file.
36038         * sysdeps/mach/hurd/sys/param.h: File removed.
36039
36040         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36041         last change.
36042
36043         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36044         [_IO_MTSAFE_IO].
36045         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36046         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36047         New macros.
36048
36049         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36050         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36051         rather than -D_IO_MTSAFE_IO conditionally.
36052         * stdio-common/Makefile (CPPFLAGS): Likewise.
36053         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36054         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36055         Use $(libio-mtsafe).
36056         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36057         of -D_IO_MTSAFE_IO.
36058         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36059         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36060         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36061         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36062         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36063         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36064         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36065         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36066         (CFLAGS-fread_u_chk.c): Likewise.
36067         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36068         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36069         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36070         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36071         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36072         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36073         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36074         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36075         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36076
36077         * libio/Makefile: Test [$(libc-reentrant) = yes]
36078         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36079
36080         * Makeconfig
36081         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36082         * sysdeps/pthread/configure: File removed.
36083         * sysdeps/pthread/Makeconfig: New file.
36084         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36085         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36086
36087 2012-08-16  Gary Benson  <gbenson@redhat.com>
36088
36089         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36090         unmapping the first object in a namespace.
36091
36092 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36093
36094         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36095         (__internal_setnetgrent): ... this.  Add internal_function to
36096         definition.  Add libc_hidden_def.
36097         (setnetgrent): Update caller.
36098         (internal_endnetgrent): Renamed to ...
36099         (__internal_endnetgrent): ... this.  Add internal_function to
36100         definition.  Add libc_hidden_def.
36101         (endnetgrent): Update caller.
36102         (internal_getnetgrent_r): Renamed to ...
36103         (__internal_getnetgrent_r): ... this.  Add internal_function to
36104         definition.  Add libc_hidden_def.
36105         (__getnetgrent_r): Update caller.
36106         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36107
36108 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36109
36110         * stdlib/longlong.h: Update from GCC.
36111
36112 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36113
36114         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36115         on _QL, which is set by umul_ppmm but never used.
36116         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36117         variables, which are set by GMP macros but never used.
36118         * stdio-common/_itowa.c (_itowa): Likewise.
36119         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36120         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36121
36122 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36123
36124         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36125         struct La_sh_regs is not constant.
36126         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36127         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36128         and struct La_sparc64_regs are not constant.
36129
36130 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36131
36132         * sysdeps/unix/sysv/linux/kernel-features.h
36133         (__ASSUME_POSIX_TIMERS): Remove.
36134         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36135         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36136         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36137         Make code unconditional.
36138         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36139         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36140         Make code unconditional.
36141         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36142         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36143         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36144         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36145         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36146         Make code unconditional.
36147         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36148         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36149         (__libc_missing_posix_timers): Remove.
36150
36151 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36152
36153         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36154         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36155
36156         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36157
36158         * elf/dl-sym.c: Include <stdlib.h>.
36159
36160         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36161         constants, which avoids warnings in 32-bit builds.
36162
36163         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36164         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36165
36166         * misc/lseek.c: File moved to ...
36167         * io/lseek.c: ... here.
36168
36169         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36170
36171         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36172         shifting LEN more than 31 bits at once.
36173
36174 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36175
36176         [BZ #14195]
36177         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36178         segmentation fault for a case of two empty input strings.
36179         * string/test-strncasecmp.c (check1): Renamed to...
36180         (bz12205): ...this.
36181         (bz14195): Add new testcase for two empty input strings and N > 0.
36182         (test_main): Call new testcase, adapt for renamed function.
36183
36184 2012-08-15  Andreas Jaeger  <aj@suse.de>
36185
36186         [BZ #14090]
36187         * crypt/md5test2.c: New test, based on test supplied by Serge
36188         Belyshev <belyshev@depni.sinp.msu.ru>.
36189         * crypt/Makefile (xtests): Add md5test-giant..
36190         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36191
36192 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36193
36194         [BZ #14090]
36195         * crypt/md5.c (md5_process_block): Don't assume the buffer
36196         length is less than 2**32.
36197         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36198         length is less than 2**64.
36199
36200 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36201
36202         * string/str-two-way.h: Include <sys/param.h>.
36203         (MAX): Macro removed.
36204
36205         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36206         Move #define and #undef of memmove to just before and after
36207         including <string.h>.
36208
36209         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36210         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36211         and after including <string.h>.  Move declarations of
36212         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36213         to before #include "string/memmove.c".
36214
36215         * include/dirent.h: Declare __getdirentries.
36216
36217         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36218         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36219
36220 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36221
36222         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36223         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36224         * sysdeps/i386/configure: Regenerated.
36225         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36226         STABS_CURRENT_FILE, and STABS_FUN.
36227         (END): Remove call to STABS_FUN_END.
36228         (STABS_CURRENT_FILE1): Delete.
36229         (STABS_CURRENT_FILE): Likewise.
36230         (STABS_FUN): Likewise.
36231         (STABS_FUN_END): Likewise.
36232         (STABS_FUN2): Likewise.
36233         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36234         * sysdeps/x86_64/configure: Regenerated.
36235
36236 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36237
36238         * elf/dl-open.c: Include <atomic.h>.
36239         * elf/dl-lookup.c: Likewise.
36240
36241 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36242
36243         * sysdeps/unix/sysv/linux/kernel-features.h
36244         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36245         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36246         unconditionally.
36247         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36248         unconditionally.
36249         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36250         condition on __ASSUME_CLONE_THREAD_FLAGS.
36251
36252 2012-08-14  Andreas Jaeger  <aj@suse.de>
36253
36254         * sysdeps/i386/fpu/libm-test-ulps: Update.
36255
36256 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36257
36258         * include/atomic.h (atomic_exchange_and_add): Split into ...
36259         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36260         New atomic macros.
36261
36262 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36263
36264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36265
36266 2012-08-13  Jeff Law <law@redhat.com>
36267
36268         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36269         null byte in the output string.
36270
36271 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36272
36273         * sysdeps/unix/sysv/linux/kernel-features.h
36274         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36275         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36276         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36277         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36278         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36279         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36280         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36281
36282 2012-08-09  Jeff Law <law@redhat.com>
36283
36284         [BZ #13939]
36285         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36286         When avoid_arena is set, don't retry in the that arena.  Pick the
36287         next one, whatever it might be.
36288         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36289         (arena_lock): Pass in new parameter to arena_get2.
36290         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36291         arena_get2.
36292         (__libc_malloc): Unify retrying after main arena failure with
36293         __libc_memalign version.
36294         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36295
36296 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36297
36298         [BZ #14166]
36299         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36300         to __redirect_strstr.
36301         (__strstr_sse42): Use typeof __redirect_strstr.
36302         (__strstr_ia32): Likewise.
36303         (__libc_strstr): New prototype.
36304         (strstr): Renamed to ...
36305         (__libc_strstr): This.
36306         (strstr): New strong alias of __libc_strstr.
36307         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36308         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36309         __redirect_time.
36310         Include <time.h>.
36311         (__libc_time): New prototype.
36312         (time_ifunc): Replace time with __libc_time.
36313         (time): New strong alias and hidden definition of __libc_time.
36314         (__GI_time): Remove strong alias.
36315         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36316         Include <stddef.h>.
36317         (memmove): Redefined to __redirect_memmove.
36318         (__memmove_sse2): Use typeof __redirect_memmove.
36319         (__memmove_ssse3): Likewise.
36320         (__memmove_ssse3_back): Likewise.
36321         (__libc_memmove): New prototype.
36322         (memmove): Renamed to ...
36323         (__libc_memmove): This.
36324         (memmove): New strong alias of __libc_memmove.
36325
36326 2012-08-08  Mark Salter  <msalter@redhat.com>
36327
36328         * elf/elf.h
36329         (R_MN10300_TLS_GD): Define.
36330         (R_MN10300_TLS_LD): Likewise.
36331         (R_MN10300_TLS_LDO): Likewise.
36332         (R_MN10300_TLS_GOTIE): Likewise.
36333         (R_MN10300_TLS_IE): Likewise.
36334         (R_MN10300_TLS_LE): Likewise.
36335         (R_MN10300_TLS_DTPMOD): Likewise.
36336         (R_MN10300_TLS_DTPOFF): Likewise.
36337         (R_MN10300_TLS_TPOFF): Likewise.
36338         (R_MN10300_SYM_DIFF): Likewise.
36339         (R_MN10300_ALIGN): Likewise.
36340         (R_MN10300_NUM): Update.
36341
36342 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36343
36344         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36345         Remove.
36346
36347 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36348
36349         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36350
36351         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36352         sysdeps/unix -> sysdeps/posix move.
36353         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36354
36355 2012-08-07      Allan McRae     <allan@archlinux.org>
36356
36357         [BZ #14303]
36358         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36359         (SUNOS_CPP): Likewise.
36360         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36361         not found.
36362         (open_input): Call CPP using execvp.
36363
36364 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36365
36366         * sysdeps/unix/sysv/linux/kernel-features.h
36367         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36368         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36369         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36370         (__ASSUME_WAITID_SYSCALL): Likewise.
36371         * sysdeps/unix/sysv/linux/dl-execstack.c
36372         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36373         code unconditional.
36374         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36375         conditional code.
36376         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36377         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36378         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36379         code.
36380         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36381         unconditional.
36382         [__ASSUME_WAITID_SYSCALL]: Likewise.
36383         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36384
36385 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36386
36387         * sysdeps/unix/closedir.c: Renamed to ...
36388         * sysdeps/posix/closedir.c: ... here.
36389         * sysdeps/unix/dirfd.c: Renamed to ...
36390         * sysdeps/posix/dirfd.c: ... here.
36391         * sysdeps/unix/dirstream.h: Renamed to ...
36392         * sysdeps/posix/dirstream.h: ... here.
36393         * sysdeps/unix/fdopendir.c: Renamed to ...
36394         * sysdeps/posix/fdopendir.c: ... here.
36395         * sysdeps/unix/opendir.c: Renamed to ...
36396         * sysdeps/posix/opendir.c: ... here.
36397         * sysdeps/unix/readdir.c: Renamed to ...
36398         * sysdeps/posix/readdir.c: ... here.
36399         * sysdeps/unix/readdir_r.c: Renamed to ...
36400         * sysdeps/posix/readdir_r.c: ... here.
36401         * sysdeps/unix/rewinddir.c: Renamed to ...
36402         * sysdeps/posix/rewinddir.c: ... here.
36403         * sysdeps/unix/seekdir.c: Renamed to ...
36404         * sysdeps/posix/seekdir.c: ... here.
36405         * sysdeps/unix/telldir.c: Renamed to ...
36406         * sysdeps/posix/telldir.c: ... here.
36407         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36408         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36409         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36410         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36411
36412         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36413         * bits/fcntl.h: ... here.
36414
36415         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36416         not 0.
36417         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36418         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36419         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36420         (struct flock): Move l_start, l_len to the beginning.
36421         Use __pid_t for l_pid.
36422         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36423         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36424         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36425         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36426         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36427         [__USE_LARGEFILE64] (struct flock64): New type.
36428         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36429
36430         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36431         * bits/dirent.h: ... here.
36432
36433         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36434         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36435
36436 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36437
36438         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36439         Change from 2.6.0 to 2.6.16.
36440         * sysdeps/unix/sysv/linux/configure: Regenerated.
36441         * sysdeps/unix/sysv/linux/kernel-features.h
36442         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36443         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36444         version.
36445         (__ASSUME_UTIMES): Likewise.
36446         (__ASSUME_CLONE_STOPPED): Remove.
36447         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36448         architectures, not kernel version.
36449         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36450         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36451         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36452         (__ASSUME_WAITID_SYSCALL): Likewise.
36453         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36454         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36455         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36456         refer to older versions.
36457
36458 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36459
36460         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36461         Define alphasort64 as an alias.
36462         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36463         Define versionsort64 as an alias.
36464         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36465         Define scandir64 as an alias.
36466         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36467         Define scandirat64 as an alias.
36468         * dirent/alphasort64.c (alphasort64):
36469         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36470         * dirent/versionsort64.c: Likewise.
36471         * dirent/scandir64.c: Likewise.
36472         * dirent/scandirat64.c: Likewise.
36473         * sysdeps/wordsize-64/alphasort.c: File removed.
36474         * sysdeps/wordsize-64/alphasort64.c: File removed.
36475         * sysdeps/wordsize-64/scandir.c: File removed.
36476         * sysdeps/wordsize-64/scandir64.c: File removed.
36477         * sysdeps/wordsize-64/scandirat.c: File removed.
36478         * sysdeps/wordsize-64/scandirat64.c: File removed.
36479         * sysdeps/wordsize-64/versionsort.c: File removed.
36480         * sysdeps/wordsize-64/versionsort64.c: File removed.
36481         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36482         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36483         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36484         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36485         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36486         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36487         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36488         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36489
36490         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36491         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36492         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36493         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36494         [defined __arch64__ || defined __sparcv9]
36495         (__INO_T_MATCHES_INO64_T): New macro.
36496         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36497         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36498         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36499         * sysdeps/unix/sysv/linux/bits/dirent.h
36500         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36501         (_DIRENT_MATCHES_DIRENT64): New macro.
36502
36503         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36504         Define lockf64 as an alias.
36505         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36506         Define fseeko64 as an alias.
36507         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36508         Define ftello64 as an alias.
36509         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36510         Define _IO_fgetpos64 and fgetpos64 as aliases.
36511         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36512         Define _IO_fsetpos64 and fsetpos64 as aliases.
36513         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36514         Conditionalize body on this.
36515         * libio/fseeko64.c: Likewise.
36516         * libio/ftello64.c: Likewise.
36517         * libio/iofgetpos64.c: Likewise.
36518         * libio/iofsetpos64.c: Likewise.
36519         * sysdeps/wordsize-64/lockf.c: File removed.
36520         * sysdeps/wordsize-64/lockf64.c: File removed.
36521         * sysdeps/wordsize-64/fseeko.c: File removed.
36522         * sysdeps/wordsize-64/fseeko64.c: File removed.
36523         * sysdeps/wordsize-64/ftello.c: File removed.
36524         * sysdeps/wordsize-64/ftello64.c: File removed.
36525         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36526         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36527         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36528         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36529         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36530         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36531         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36532         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36533         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36534         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36535         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36536         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36537         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36538         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36539
36540         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36541         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36542         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36543         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36544         [defined __arch64__ || defined __sparcv9]
36545         (__OFF_T_MATCHES_OFF64_T): New macro.
36546         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36547         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36548         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36549         (__OFF_T_MATCHES_OFF64_T): New macro.
36550
36551 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36552
36553         * stdlib/secure-getenv.c (__secure_getenv): Replace
36554         GLIBC_2_16 with GLIBC_2_17.
36555
36556 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36557
36558         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36559         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36560
36561 2012-08-03  David S. Miller  <davem@davemloft.net>
36562
36563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36564
36565 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36566
36567         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36568         Remove.
36569         (__ASSUME_CORRECT_SI_PID): Likewise.
36570         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36571         (__ASSUME_TMPFS_NAME): Likewise.
36572         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36573         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36574         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36575         (HAVE_AUX_SECURE): Make definition unconditional.
36576         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36577         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36578
36579 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36580
36581         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36582         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36583         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36584         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36585         __eloop_threshold instead of SYMLOOP_MAX.
36586
36587         * sysdeps/generic/eloop-threshold.h: New file.
36588         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36589         of MAXSYMLINKS.
36590         * elf/chroot_canon.c (chroot_canon): Likewise.
36591
36592 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36593
36594         [BZ #13717]
36595         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36596         Change to 2.6.0 everywhere.
36597         * sysdeps/unix/sysv/linux/configure: Regenerated.
36598         * sysdeps/unix/sysv/linux/kernel-features.h
36599         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36600         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36601         kernel versions.
36602         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36603         (__ASSUME_FUTEX_REQUEUE): Remove.
36604         (__ASSUME_STATFS64): Define unconditionally.
36605         (__ASSUME_AT_SECURE): Likewise.
36606         (__ASSUME_CORRECT_SI_PID): Likewise.
36607         (__ASSUME_TGKILL): Define without depending on kernel version for
36608         i386.
36609         (__ASSUME_UTIMES): Likewise.
36610         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36611         kernel version.
36612         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36613         (__ASSUME_TMPFS_NAME): Likewise.
36614         * README: Update reference to Linux kernel versions.
36615
36616 2012-08-02  Marek Polacek  <polacek@redhat.com>
36617
36618         [BZ# 14150]
36619         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36620         libc_cv_asm_type_prefix with %.
36621         * configure: Regenerated.
36622         * include/libc-symbols.h: Remove comment about
36623         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36624         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36625         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36626         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36627         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36628         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36629         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36630         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36631         * elf/tst-unique2mod1.c: Likewise.
36632         * elf/tst-unique1mod2.c: Likewise.
36633         * elf/tst-unique1mod1.c: Likewise.
36634         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36635         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36636         Replace ASM_TYPE_DIRECTIVE with .type.
36637         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36638         * sysdeps/i386/sysdep.h: Likewise.
36639         * sysdeps/x86_64/sysdep.h: Likewise.
36640         * sysdeps/sh/sysdep.h: Likewise.
36641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36642         Do not define ASM_TYPE_DIRECTIVE.
36643         * sysdeps/powerpc/sysdep.h: Likewise.
36644         * sysdeps/powerpc/powerpc32/sysdep.h:
36645         Replace ASM_TYPE_DIRECTIVE with .type.
36646         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36647         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36648         * sysdeps/i386/fpu/e_powf.S: Likewise.
36649         * sysdeps/i386/fpu/e_expl.S: Likewise.
36650         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36651         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36652         * sysdeps/i386/fpu/e_pow.S: Likewise.
36653         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36654         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36655         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36656         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36657         * sysdeps/i386/fpu/e_log2.S: Likewise.
36658         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36659         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36660         * sysdeps/i386/fpu/e_powl.S: Likewise.
36661         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36662         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36663         * sysdeps/i386/fpu/e_logl.S: Likewise.
36664         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36665         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36666         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36667         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36668         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36669         * sysdeps/i386/fpu/e_log.S: Likewise.
36670         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36671         * sysdeps/i386/fpu/e_logf.S: Likewise.
36672         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36673         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36674         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36675         * sysdeps/i386/fpu/e_log10.S: Likewise.
36676         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36677         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36678         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36679         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36680         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36681         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36682         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36683         * sysdeps/i386/i686/strtok.S: Likewise.
36684         * sysdeps/i386/i386-mcount.S: Likewise.
36685         * sysdeps/i386/strtok.S: Likewise.
36686         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36687         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36688         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36689         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36690         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36691         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36692         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36693         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36694         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36695         * sysdeps/x86_64/_mcount.S: Likewise.
36696         * sysdeps/x86_64/strtok.S: Likewise.
36697         * sysdeps/sh/_mcount.S: Likewise.
36698
36699 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36700
36701         * libio/iofopen.c: Include <fcntl.h>.
36702         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36703         (_IO_fopen64, fopen64): Define as aliases.
36704         * libio/iofopen64.c: Include <fcntl.h>.
36705         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36706         Conditionalize body on this.
36707         * sysdeps/wordsize-64/iofopen.c: File removed.
36708         * sysdeps/wordsize-64/iofopen64.c: File removed.
36709
36710 2012-08-01  Marek Polacek  <polacek@redhat.com>
36711
36712         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36713         Use dlfcn directly instead of a variable.
36714         (binfmt-subdir): Do not define.
36715         (dlfcn): Likewise.
36716
36717 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36718
36719         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36720         Remove all definitions.
36721         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36722         <kernel-features.h>.
36723         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36724         (miss_F_GETOWN_EX): Remove all definitions.
36725         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36726         macro definition.
36727         [!__ASSUME_FCNTL64]: Remove conditional code.
36728         [__ASSUME_FCNTL64]: Make code unconditional.
36729         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36730         <kernel-features.h>.
36731         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36732         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36733         (lockf64) [__NR_fcntl64]: Make code unconditional.
36734         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36735
36736         * sysdeps/unix/sysv/linux/kernel-features.h
36737         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36738         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36739         Make code unconditional.
36740         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36741         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36743         [__NR_vfork]: Make code unconditional.
36744         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36745         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36747         [__NR_vfork]: Make code unconditional.
36748         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36749         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36750
36751 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36752
36753         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36754         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36755
36756         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36757         Define mkstemp64 as an alias.
36758         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36759         Define mkstemps64 as an alias.
36760         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36761         Define mkostemp64 as an alias.
36762         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36763         Define mkostemps64 as an alias.
36764         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36765         Conditionalize body on this.
36766         * misc/mkostemp64.c: Likewise.
36767         * misc/mkostemps64.c: Likewise.
36768         * misc/mkstemps64.c: Likewise.
36769         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36770         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36771         * sysdeps/wordsize-64/mkostemp.c: File removed.
36772         * sysdeps/wordsize-64/mkstemp.c: File removed.
36773         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36774         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36775         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36776         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36777
36778         [BZ #14138]
36779         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36780         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36781         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36782         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36783
36784         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36785         compat_symbol macros from <shlib-compat.h> rather than the underlying
36786         default_symbol_version and symbol_version macros, so that DEFAULT
36787         lines in shlib-versions are respected.
36788         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36789
36790 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36791
36792         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36793         Declare with warn_unused_result.
36794         (setgid, setregid, setegid, setresgid): Likewise.
36795         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36796         Likewise.
36797         * WUR-REPORT: Remove set*id functions.
36798
36799 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36800
36801         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36802
36803 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36804
36805         [BZ #10191]
36806         * include/sys/socket.h (__libc_accept, __libc_accept4):
36807         Add attribute_hidden.
36808         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36809
36810         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36811         use of PTR_MANGLE.
36812         * inet/getnetgrent_r.c (setup): Likewise.
36813
36814         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36815
36816 2012-07-31  David S. Miller  <davem@davemloft.net>
36817
36818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36819
36820 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36821
36822         [BZ #13629]
36823         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36824         value between 1.0 and 2.0 and smaller part has absolute value less
36825         than 1.0.
36826         * math/s_clog10.c (__clog10): Likewise.
36827         * math/s_clog10f.c (__clog10f): Likewise.
36828         * math/s_clog10l.c (__clog10l): Likewise.
36829         * math/s_clogf.c (__clogf): Likewise.
36830         * math/s_clogl.c (__clogl): Likewise.
36831         * math/libm-test.inc (clog_test): Add more tests.
36832         (clog10_test): Likewise.
36833         * sysdeps/i386/fpu/libm-test-ulps: Update.
36834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36835
36836 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36837
36838         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36839         Exit with zero in case no suitable GID is found, and write a
36840         message to standard error.
36841
36842 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36843
36844         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36845         rather than to 1.
36846         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36847         (MAXPATHLEN): Removed.
36848         (NOGROUP, NODEV): New macros.
36849         (setbit, clrbit, isset, isclr): New macros.
36850         (howmany, roundup, powerof2): New macros.
36851         (DEV_BSIZE): New macro.
36852
36853         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36854         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36855
36856         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36857         definition on [!__NO_LONG_DOUBLE_MATH].
36858
36859         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36860         PTR_MANGLE and PTR_DEMANGLE.
36861
36862         * socket/accept4.c (accept4): Rename to __libc_accept4.
36863         Define accept4 as a weak alias.
36864
36865         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36866         on [_DIRENT_HAVE_D_TYPE].
36867         * io/ftw.c (ftw_dir): Likewise.
36868
36869         * io/xmknod.c (__xmknod): Don't check PATH for being null.
36870
36871         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36872
36873         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36874         Use the BSD numbers rather than the arbitrary ones we had.
36875         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36876         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36877         (SIGXCPU, SIGXFSZ): New macros.
36878         (_NSIG): Now 32.
36879
36880         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36881         initializer on [_LIBC_REENTRANT].
36882
36883         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36884         definitions inside [_POSIX_MAPPED_FILES].
36885
36886         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36887
36888         * dirent/opendir.c: Include <fcntl.h>.
36889
36890         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36891         (__libc_getspecific): Likewise.
36892         (__libc_key_create): Likewise.
36893
36894         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36895         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36896         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36897         (tmpfile64): Define as alias.
36898         * sysdeps/wordsize-64/tmpfile.c: File removed.
36899         * sysdeps/wordsize-64/tmpfile64.c: File removed.
36900         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36901         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36902
36903         * stdio-common/vfscanf.c: Include <stdbool.h>.
36904         * nss/makedb.c: Likewise.
36905         * stdio-common/_i18n_number.h: Likewise.
36906         * argp/argp-help.c: Likewise.
36907         * posix/wordexp.c: Likewise.
36908         * sysdeps/posix/spawni.c: Likewise.
36909         * nss/nss_files/files-initgroups.c: Likewise.
36910         * stdio-common/reg-modifier.c: Include <stdlib.h>.
36911         * nss/nss_files/files-initgroups.c: Likewise.
36912         * nss/nss_db/db-netgrp.c: Likewise.
36913         * nss/nss_db/db-initgroups.c: Likewise.
36914         * io/fchmodat.c: Include <sys/stat.h>.
36915
36916         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36917         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36918
36919         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36920         [HAVE_MMAP].
36921
36922         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36923         Add multiple inclusion protection.
36924
36925 2012-07-27  David S. Miller  <davem@davemloft.net>
36926
36927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36928
36929 2012-07-27  Gary Benson  <gbenson@redhat.com>
36930
36931         [BZ #14298]
36932         * elf/rtld.c: Include <stap-probe.h>.
36933         (dl_main): Added static probes "init_start" and "init_complete".
36934         * elf/dl-load.c: Include <stap-probe.h>.
36935         (lose): Take new parameter "nsid".
36936         Added static probe "map_failed".
36937         (_dl_map_object_from_fd): Pass namespace id to lose.
36938         Added static probe "map_start".
36939         (open_verify): Pass namespace id to lose.
36940         * elf/dl-open.c: Include <stap-probe.h>.
36941         (dl_open_worker) Added static probes "map_complete", "reloc_start"
36942         and "reloc_complete".
36943         * elf/dl-close.c: Include <stap-probe.h>.
36944         (_dl_close_worker): Added static probes "unmap_start" and
36945         "unmap_complete".
36946         * elf/rtld-debugger-interface.txt: New file documenting the above.
36947
36948 2012-07-26  Roland McGrath  <roland@hack.frob.com>
36949
36950         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36951         rather than a string variable.
36952         * sunrpc/rpc_main.c (h_output): Likewise.
36953         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36954
36955 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
36956
36957         * inet/check_native.c: New file.
36958
36959 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
36960
36961         [BZ #13629]
36962         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36963         if larger part has absolute value 1.0.
36964         * math/s_clog10.c (__clog10): Likewise.
36965         * math/s_clog10f.c (__clog10f): Likewise.
36966         * math/s_clog10l.c (__clog10l): Likewise.
36967         * math/s_clogf.c (__clogf): Likewise.
36968         * math/s_clogl.c (__clogl): Likewise.
36969         * math/libm-test.inc (clog_test): Add more tests.
36970         (clog10_test): Likewise.
36971         * sysdeps/i386/fpu/libm-test-ulps: Update.
36972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36973
36974         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36975         (pltexit): Likewise.
36976         (La_regs): Likewise.
36977         (La_retval): Likewise.
36978         (int_retval): Likewise.
36979         Update #error for removed macros to refer only to definitions in
36980         tst-audit.h.
36981         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36982         macro.
36983         (pltexit): Likewise.
36984         (La_regs): Likewise.
36985         (La_retval): Likewise.
36986         (int_retval): Likewise.
36987         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36988         macro.
36989         (pltexit): Likewise.
36990         (La_regs): Likewise.
36991         (La_retval): Likewise.
36992         (int_retval): Likewise.
36993         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36994         macro.
36995         (pltexit): Likewise.
36996         (La_regs): Likewise.
36997         (La_retval): Likewise.
36998         (int_retval): Likewise.
36999         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37000         macro.
37001         (pltexit): Likewise.
37002         (La_regs): Likewise.
37003         (La_retval): Likewise.
37004         (int_retval): Likewise.
37005         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37006         macro.
37007         (pltexit): Likewise.
37008         (La_regs): Likewise.
37009         (La_retval): Likewise.
37010         (int_retval): Likewise.
37011         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37012         macro.
37013         (pltexit): Likewise.
37014         (La_regs): Likewise.
37015         (La_retval): Likewise.
37016         (int_retval): Likewise.
37017         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37018         macro definitions in tst-audit.h.
37019         * sysdeps/i386/tst-audit.h: New file.
37020         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37021         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37022         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37023         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37024         * sysdeps/sh/tst-audit.h: Likewise.
37025         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37026         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37027         * sysdeps/x86_64/tst-audit.h: Likewise.
37028
37029 2012-07-26  Andreas Jaeger  <aj@suse.de>
37030
37031         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37032         ptrace.
37033
37034         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37035         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37036         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37037         PTRACE_O_MASK.
37038         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37039         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37040         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37041
37042         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37043         value.
37044
37045         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37046         _sigsys.
37047         (si_call_addr, si_syscall, si_arch): Define new macro.
37048         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37049         _sigsys.
37050         (si_call_addr, si_syscall, si_arch): Define new marcro.
37051         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37052         _sigsys.
37053         (si_call_addr, si_syscall, si_arch): Define new macro.
37054         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37055         _sigsys.
37056         (si_call_addr, si_syscall, si_arch): Define new macro.
37057
37058 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37059
37060         [BZ #13717]
37061         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37062         Change to 2.4.21 where previously 2.4.1.
37063         * sysdeps/unix/sysv/linux/configure: Regenerated.
37064         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37065         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37066         Linux kernel version.
37067         (__ASSUME_STD_AUXV): Remove.
37068         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37069         kernel version.
37070         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37071         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37072         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37073         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37074         (__ASSUME_NETLINK_SUPPORT): Likewise.
37075         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37076         (__no_netlink_support): Remove conditional definition.
37077         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37078         Remove.
37079         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37080         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37081         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37082         (if_nameindex_ioctl): Remove.
37083         (if_nameindex_netlink): Do not handle __no_netlink_support.
37084         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37085         code.
37086         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37087         Remove conditional code.
37088         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37089         code.
37090         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37091         unconditional.
37092         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37093         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37094         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37095         Remove.
37096         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37097         [!__ASSUME_STD_AUXV]: Remove conditional code.
37098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37099         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37100         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37102         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37103         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37104         code.
37105         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37107         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37108         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37109         conditional code.
37110         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37112         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37113         code.
37114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37115         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37116         conditional code.
37117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37118         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37119         code unconditional.
37120         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37121         conditional code.
37122         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37123         unconditional.
37124         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37125         conditional code.
37126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37127         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37128         unconditional.
37129         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37130         conditional code.
37131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37132         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37133         code unconditional.
37134         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37135         conditional code.
37136         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37137         unconditional.
37138         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37139         conditional code.
37140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37141         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37142         code unconditional.
37143         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37144         conditional code.
37145         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37146         unconditional.
37147         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37148         conditional code.
37149
37150 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37151
37152         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37153         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37154         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37155         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37156         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37157         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37158         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37159         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37160         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37161         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37162         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37163         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37164         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37165         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37166         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37167         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37168         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37169         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37170         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37171         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37172         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37173         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37174         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37175
37176 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37177
37178         * Versions.def: Add GLIBC_2.17.
37179         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37180         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37181         Introduce __libc_secure_getenv.
37182         * stdlib/Versions (2.17): Add secure_getenv
37183         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37184         * stdlib/secure-getenv.c: Rename __secure_getenv to
37185         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37186         symbol __secure_getenv for GLIBC_2.0.
37187         * stdlib/tst-secure-getenv.c: New.
37188         * stdlib/Makefile (tests): Add testcase.
37189         * manual/startup.texi (Environment Access): Document
37190         secure_getenv.
37191         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37192         __libc_secure_getenv.
37193         * inet/ruserpass.c (ruserpass): Likewise.
37194         * malloc/mtrace.c (mtrace): Likewise.
37195         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37196         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37197         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37198         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37199         HAVE_SECURE_GETENV.
37200         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37201         __secure_getenv to __libc_secure_getenv.
37202         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37204         Likewise.
37205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37206         Likewise.
37207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37209         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37214
37215 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37216
37217         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37218         (struct La_i86_retval): Likewise.
37219         (struct La_x86_64_regs): Likewise.
37220         (struct La_x86_64_retval): Likewise.
37221         (struct La_x32_regs): Likewise.
37222         (struct La_x32_retval): Likewise.
37223         (struct La_ppc32_regs): Likewise.
37224         (struct La_ppc32_retval): Likewise.
37225         (struct La_ppc64_regs): Likewise.
37226         (struct La_ppc64_retval): Likewise.
37227         (struct La_sh_regs): Likewise.
37228         (struct La_sh_retval): Likewise.
37229         (struct La_s390_32_regs): Likewise.
37230         (struct La_s390_32_retval): Likewise.
37231         (struct La_s390_64_regs): Likewise.
37232         (struct La_s390_64_retval): Likewise.
37233         (struct La_sparc32_regs): Likewise.
37234         (struct La_sparc32_retval): Likewise.
37235         (struct La_sparc64_regs): Likewise.
37236         (struct La_sparc64_retval): Likewise.
37237         (struct audit_ifaces): Remove architecture-specific pltenter and
37238         pltexit members.
37239         * sysdeps/i386/ldsodefs.h: New file.
37240         * sysdeps/powerpc/ldsodefs.h: Likewise.
37241         * sysdeps/s390/ldsodefs.h: Likewise.
37242         * sysdeps/sh/ldsodefs.h: Likewise.
37243         * sysdeps/sparc/ldsodefs.h: Likewise.
37244         * sysdeps/x86_64/ldsodefs.h: Likewise.
37245
37246 2012-07-25  Marek Polacek  <polacek@redhat.com>
37247
37248         [BZ #6808]
37249         * math/libm-test.inc (yn_test): Add another test.
37250         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37251         to ERANGE when the result is +-Inf.
37252         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37253         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37254         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37255         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37256
37257 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37258
37259         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37260         equal to 0.
37261         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37262         clock_t.
37263         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37264
37265 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37266
37267         * configure.in <sysdeps resolving>: Correct printing
37268         Implies_before.
37269         * configure: Regenerate.
37270
37271 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37272
37273         * math/w_ilogb.c: Include <limits.h>.
37274         * math/w_ilogbl.c: Likewise.
37275
37276 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37277
37278         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37279         va_copy.  Document allowing for unavailable va_copy only as
37280         pre-C99 compatibility.
37281         * manual/string.texi (Copying and Concatenation): Use va_copy
37282         instead of __va_copy in concat example.
37283
37284 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37285
37286         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37287         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37288         it if not null.
37289
37290         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37291         with O_NOLINK passed to __file_name_lookup.
37292
37293         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37294         with O_NOLINK passed to __file_name_lookup.
37295
37296         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37297         negative N or less than NGIDS.
37298
37299         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37300         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37301         enough.  Use memcpy instead of strncpy.
37302
37303 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37304
37305         * elf/Makefile (check-data): Remove.
37306         (localplt.data): New vpath directive.
37307         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37308         instead of $(check-data).
37309         * scripts/data/localplt-generic.data: Move to ...
37310         * sysdeps/generic/localplt.data: ... here.
37311         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37312         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37313         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37315         ... here.
37316         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37318         ... here.
37319         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37321         ... here.
37322         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37324         ... here.
37325         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37327         ... here.
37328         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37330         ... here.
37331
37332 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37333
37334         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37335         PPC32 and PPC64 files.
37336         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37337         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37338
37339 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37340
37341         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37342         __makecontext_ret to ...
37343         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37344         ... here and call exit if uc_link is NULL.  New file.
37345         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37346         __makecontext_ret.S.
37347         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37348         __makecontext_ret to ...
37349         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37350         ... here and call exit if uc_link is NULL.  New file.
37351         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37352         __makecontext_ret.S.
37353
37354 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37355
37356         * elf/elf.h (R_390_IRELATIVE): New definition.
37357         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37358         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37359         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37360         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37361         (elf_machine_lazy_rel): Likewise.
37362         * sysdeps/s390/dl-irel.h: New file.
37363         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37364         * sysdeps/s390/s390-64/memset.S: New asm code.
37365         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37366         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37367         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37368         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37369         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37370         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37371         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37372         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37373         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37374         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37375         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37376         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37377         * sysdeps/s390/s390-32/memset.S: New asm code.
37378         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37379
37380 2012-07-17  Marek Polacek  <polacek@redhat.com>
37381
37382         [BZ #14349]
37383         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37384         * sysdeps/s390/s390-64/configure.in: Likewise.
37385         * sysdeps/sparc/configure.in: Likewise.
37386         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37387         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37388         * sysdeps/i386/configure.in: Likewise.
37389         * sysdeps/x86_64/configure.in: Likewise.
37390         * sysdeps/sh/configure.in: Likewise.
37391         * sysdeps/s390/s390-32/configure: Regenerated.
37392         * sysdeps/s390/s390-64/configure: Likewise.
37393         * sysdeps/x86_64/configure: Likewise.
37394         * sysdeps/sh/configure: Likewise.
37395         * sysdeps/powerpc/powerpc64/configure: Likewise.
37396         * sysdeps/powerpc/powerpc32/configure: Likewise.
37397         * sysdeps/sparc/configure: Likwise.
37398         * sysdeps/i386/configure: Likewise.
37399
37400         * elf/dl-open.c: Comment fixes.
37401
37402 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37403
37404         * Makefile [CXX] (check-data): Remove.
37405         [CXX] (c++-types.data): New vpath directive.
37406         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37407         vpath.  Do not allow for C++ type data being missing.
37408         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37409         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37410         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37411         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37412         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37413         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37414         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37416         ... here.
37417         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37419         ... here.
37420         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37422         ... here.
37423         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37425         ... here.
37426         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37428         ... here.
37429         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37431         ... here.
37432         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37434         ... here.
37435         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37437
37438         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37439         definitions to architecture-specific files.
37440         (TLS_IE): Likewise.
37441         (TLS_LD): Likewise.
37442         (TLS_GD): Likewise.
37443         * sysdeps/i386/tls-macros.h: New file.
37444         * sysdeps/powerpc/tls-macros.h: Likewise.
37445         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37446         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37447         * sysdeps/sh/tls-macros.h: Likewise.
37448         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37449         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37450         * sysdeps/x86_64/tls-macros.h: Likewise.
37451
37452 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37453
37454         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37455         zero value for regular exit case.
37456
37457         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37458         (__start_context): Preserve zero value for regular exit case.
37459
37460 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37461             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37462
37463         * manual/setjmp.texi (setcontext): Clarify normal process
37464         termination when uc_link is the null pointer.
37465         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37466         exit call.
37467
37468 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37469
37470         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37471         preprocessor.  Test for each exception mask separately.
37472
37473 2012-07-16  Andreas Jaeger  <aj@suse.de>
37474
37475         * po/ru.po: Update from translation team.
37476
37477 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37478
37479         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37480         equal to 0.
37481         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37482         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37483         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37484         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37485         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37486
37487 2012-07-13  Andreas Jaeger  <aj@suse.de>
37488
37489         * po/fr.po: Update from translation team.
37490
37491 2012-07-12  Marek Polacek  <polacek@redhat.com>
37492
37493         [BZ #14173]
37494         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37495         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37496         loop condition.
37497
37498 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37499
37500         [BZ #13717]
37501         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37502         Change to 2.4.1 where previously 2.4.0.
37503         * sysdeps/unix/sysv/linux/configure: Regenerated.
37504         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37505         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37506         version.
37507         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37508         (__ASSUME_AT_CLKTCK): Remove.
37509         (__ASSUME_AT_PAGESIZE): Likewise.
37510         (__ASSUME_AT_XID): Likewise.
37511         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37512         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37513         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37514         unconditionally.
37515         (HAVE_AUX_PAGESIZE): Likewise.
37516         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37517         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37518         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37519
37520 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37521
37522         [BZ #14307]
37523         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37524         the temporary buffer used to invoke __gethostbyname2_r,
37525         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37526         host_data / struct gaih_addrtuple.
37527         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37528         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37529         header file nss/nsswitch.h.
37530         * nss/nsswitch.h (global scope): Add definition of implementation
37531         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37532         resolv/nss_dns/dns-host.c).
37533
37534 2012-07-11  Andreas Jaeger  <aj@suse.de>
37535
37536         * po/fr.po: Update from translation team.
37537
37538         * po/sv.po: Update from translation team
37539         * po/fr.po: Another update from translation team.
37540
37541 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37542
37543         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37544         for subnormals or multiply small sinh result by itself.
37545         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37547
37548 2012-07-11  David S. Miller  <davem@davemloft.net>
37549
37550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37551
37552 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37553
37554         [BZ #14347]
37555         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37556         (INTERNAL_MARK): Shift it here.
37557
37558 2012-07-10  Marek Polacek  <polacek@redhat.com>
37559
37560         [BZ #14151]
37561         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37562         libc_cv_asm_global_directive with .globl.
37563         * configure: Regenerated.
37564         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37565         with .globl.
37566         * sysdeps/i386/configure: Regenerated.
37567         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37568         with .globl.
37569         * sysdeps/x86_64/configure: Regenerated.
37570         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37571         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37572         * elf/tst-unique2mod2.c: Likewise.
37573         * elf/tst-unique2mod1.c: Likewise.
37574         * elf/tst-unique1mod2.c: Likewise.
37575         * elf/tst-unique1mod1.c: Likewise.
37576         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37577         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37578         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37579         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37580         * sysdeps/mach/sysdep.h: Likewise.
37581         * sysdeps/i386/sysdep.h: Likewise.
37582         * sysdeps/i386/i386-mcount.S: Likewise.
37583         * sysdeps/x86_64/_mcount.S: Likewise.
37584         * sysdeps/x86_64/sysdep.h: Likewise.
37585         * sysdeps/sh/_mcount.S: Likewise.
37586         * sysdeps/sh/sysdep.h: Likewise.
37587         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37588         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37589         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37590         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37591         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37592         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37593         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37594         * locale/localeinfo.h: Likewise.
37595         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37596         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37597
37598 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37599
37600         [BZ #14336]
37601         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37602         system".
37603         * manual/message.texi (The Uniforum approach): Likewise.
37604         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37605         (glibc iconv Implementation): Likewise.
37606
37607 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37608
37609         [BZ #14337]
37610         * math/s_clog.c (__clog): Avoid scaling a value down where that
37611         could result in underflow.
37612         * math/s_clog10.c (__clog10): Likewise.
37613         * math/s_clog10f.c (__clog10f): Likewise.
37614         * math/s_clog10l.c (__clog10l): Likewise.
37615         * math/s_clogf.c (__clogf): Likewise.
37616         * math/s_clogl.c (__clogl): Likewise.
37617         * math/libm-test.inc (clog_test): Add more tests.
37618         (clog10_test): Likewise.
37619         * sysdeps/i386/fpu/libm-test-ulps: Update.
37620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37621
37622 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37623
37624         [BZ #14283]
37625         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37626         by 7 not 8 to examine high bit of fractional part.
37627
37628         [BZ #14042]
37629         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37630         for call to __mcount_internal.
37631         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37632         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37633         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37634
37635 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37636
37637         [BZ #14154]
37638         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37639         approximation for values within 0x1p-13f of an odd multiple of
37640         pi/4.
37641         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37642         exception.  Add more tests.
37643         * sysdeps/i386/fpu/libm-test-ulps: Update.
37644
37645         [BZ #6778]
37646         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37647         inputs and return -1 for them.  Do not check for +Inf in case not
37648         reachable for +Inf.
37649         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37650         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37651         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37652         and return -1 for them.  Do not check for +Inf in case not
37653         reachable for +Inf.
37654         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37655         define.
37656         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37657         and return -1 for them.  Do not check for +Inf in case not
37658         reachable for +Inf.
37659         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37660         spurious underflow.
37661         * sysdeps/i386/fpu/libm-test-ulps: Update.
37662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37663
37664 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37665
37666         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37667
37668 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37669
37670         [BZ #14157]
37671         [BZ #14331]
37672         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37673         could result in spurious underflow.  Scale down values above
37674         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37675         * math/s_csqrtf.c (__csqrtf): Likewise.
37676         * math/s_csqrtl.c (__csqrtl): Likewise.
37677         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37678         spurious underflow.
37679         * sysdeps/i386/fpu/libm-test-ulps: Update.
37680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37681
37682 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37683
37684         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37685         xopen-msg.sed.
37686         * catgets/xopen-msg.awk: New file.
37687         * catgets/xopen-msg.sed: Removed.
37688
37689         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37690         po2text.sed.
37691         * intl/po2test.awk: New file.
37692         * intl/po2test.sed: Removed.
37693
37694 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37695
37696         [BZ #14328]
37697         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37698         or multiply small sinh result by itself.
37699         * math/s_ctanf.c (__ctanf): Likewise.
37700         * math/s_ctanh.c (__ctanh): Likewise.
37701         * math/s_ctanhf.c (__ctanhf): Likewise.
37702         * math/s_ctanhl.c (__ctanhl): Likewise.
37703         * math/s_ctanl.c (__ctanl): Likewise.
37704         * math/libm-test.inc (ctan_test_tonearest): New function.
37705         (ctan_test_towardzero): Likewise.
37706         (ctan_test_downward): Likewise.
37707         (ctan_test_upward): Likewise.
37708         (ctanh_test_tonearest): Likewise.
37709         (ctanh_test_towardzero): Likewise.
37710         (ctanh_test_downward): Likewise.
37711         (ctanh_test_upward): Likewise.
37712         (main): Call these new functions.
37713         * sysdeps/i386/fpu/libm-test-ulps: Update.
37714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37715
37716 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37717
37718         * .gitignore: Delete /ports entry.
37719
37720 2012-07-03  Andreas Jaeger  <aj@suse.de>
37721
37722         * po/bg.po: Update from translation team.
37723         * po/cs.po: Likewise.
37724         * po/de.po: Likewise.
37725         * po/hr.po: Likewise.
37726         * po/nl.pl: Likewise.
37727         * po/pl.po: Likewise.
37728         * po/vi.po: Likewise.
37729
37730 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37731
37732         * Makeconfig [!+link] (+link-before-libc): New variable.
37733         [!+link] (+link-after-libc): Likewise.
37734         [!+link] (+link-tests): Likewise.
37735         [!+link] (+link): Define in terms of $(+link-before-libc) and
37736         $(+link-after-libc).
37737         [!+link-static] (+link-static-before-libc): New variable.
37738         [!+link-static] (+link-static-after-libc): Likewise.
37739         [!+link-static] (+link-static-tests): Likewise.
37740         [!+link-static] (+link-static): Define in terms of
37741         $(+link-static-before-libc) and $(+link-static-after-libc).
37742         [build-shared] (link-libc-before-gnulib): New variable.
37743         [build-shared] (link-libc-tests): Likewise.
37744         [build-shared] (link-libc): Define in terms of
37745         $(link-libc-before-gnulib).
37746         [!build-shared] (link-libc-tests): New variable.
37747         (link-libc-static-tests): New variable.
37748         [!gnulib] (gnulib-arch): New variable.
37749         [!gnulib] (gnulib-tests): Likewise.
37750         [!gnulib] (static-gnulib-arch): Likewise.
37751         [!gnulib] (static-gnulib-tests): Likewise.
37752         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37753         Define with "=" instead of ":=".
37754         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37755         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37756         * Rules (binaries-all-notests): New variable.
37757         (binaries-all-tests): Likewise.
37758         (binaries-static-notests): Likewise.
37759         (binaries-static-tests): Likewise.
37760         (binaries-all): Define using $(binaries-all-notests) and
37761         $(binaries-all-tests).
37762         (binaries-static): Define using $(binaries-static-notests) and
37763         $(binaries-static-tests).
37764         (binaries-shared-tests): New variable.
37765         (binaries-shared-notests): Likewise.
37766         (binaries-shared): Remove variable.
37767         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37768         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37769         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37770         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37771         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37772         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37773         * elf/Makefile (sln-modules): New variable.
37774         (extra-objs): Add $(sln-modules:=.o).
37775         (ldconfig-modules): Add static-stubs.
37776         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37777         * elf/static-stubs.c: New file.
37778
37779         [BZ #14283]
37780         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37781         by 7 not 8 to examine high bit of fractional part.  Use volatile
37782         variables when splitting into final array of floats if
37783         __FLT_EVAL_METHOD__ != 0.
37784         * math/libm-test.inc (cos_test): Add another test.
37785         (sin_test): Likewise.
37786         * sysdeps/i386/fpu/libm-test-ulps: Update.
37787
37788         [BZ #14273]
37789         * math/libm-test.inc (cosh_test): Add more tests.
37790
37791         * version.h (RELEASE): Set to "development".
37792         (VERSION): Set to "2.16.90".
37793
37794 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37795
37796         * NEWS: Update copyright. Remove last-updated date.
37797         Mention math library bug fixes and timezone data changes.
37798         * README: Mention GNU/Hurd, x32, and HPPA support status.
37799
37800 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37801
37802         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37803
37804 2012-06-27  Andreas Jaeger  <aj@suse.de>
37805
37806         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37807
37808 2012-06-25  Andreas Jaeger  <aj@suse.de>
37809
37810         * sysdeps/s390/fpu/libm-test-ulps: Update.
37811
37812 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37813             Thomas Schwinge  <thomas@codesourcery.com>
37814
37815         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37816         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37817         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37818         fanotify_mark.
37819
37820 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37821
37822         * sysdeps/mach/start.c: Remove file.
37823         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37824         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37825         * sysdeps/sh/init-first.c: Likewise.
37826
37827         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37828         registers for frame unwinding purposes, add CFI directives.
37829         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37830         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37831         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37832         Likewise.
37833
37834         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37835         __fortify_fail returning.
37836         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37837
37838         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37839         sysdeps/sh/____longjmp_chk.S.
37840         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37841         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37842         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37843         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37844
37845         * sysdeps/sh/abort-instr.h: New file.
37846         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37847         process in case exit returns.
37848
37849         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37850         initialize the GOT register before use.
37851
37852         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37853         calculation of ARGC > 4.
37854
37855         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37856         meaningful names to some local labels.
37857
37858 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37859             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37860
37861         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37862         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37863         (__arch_compare_and_exchange_val_16_acq): Likewise.
37864         (__arch_compare_and_exchange_val_32_acq): Likewise.
37865         (atomic_exchange_and_add): Fix gUSA sequence.
37866         (atomic_add): Likewise.
37867         (atomic_add_negative): Likewise.
37868         (atomic_add_zero): Likewise.
37869         (atomic_bit_test_set): Likewise.
37870
37871 2012-06-22  Andreas Schwab  <schwab@redhat.com>
37872
37873         [BZ #13579]
37874         * include/link.h (struct link_map): Add l_free_initfini.
37875         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37876         l_initfini.
37877         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37878         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37879         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37880         set.
37881
37882 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
37883
37884         * configure.in: Use AC_LANG_SOURCE.
37885         * configure: Regenerate.
37886
37887 2012-06-22  Roland McGrath  <roland@hack.frob.com>
37888
37889         * configure.in (libc_cv_localstatedir): New substituted variable.
37890         * configure: Regenerated.
37891         * config.make.in (localstatedir): New variable, substituted from
37892         libc_cv_localstatedir.
37893         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37894         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37895         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37896         * sysdeps/gnu/configure: Regenerated.
37897
37898 2012-06-21  Jeff Law  <law@redhat.com>
37899
37900         [BZ #14277]
37901         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37902         free.  Simplify list management for _LIBC case.
37903
37904 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
37905
37906         [BZ #14273]
37907         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37908         Clear sign bit of 64-bit integer value before comparing against
37909         overflow value.
37910
37911         * sysdeps/mach/configure: Regenerated.
37912
37913 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
37914
37915         [BZ #14278]
37916         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37917
37918 2012-06-21  Jeff Law  <law@redhat.com>
37919
37920         [BZ #13882]
37921         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
37922         uint16_t for elements in the "seen" array to avoid char overflows.
37923         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37924         * elf/dl-open.c (dl_open_worker): Likewise.
37925
37926 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
37927
37928         * scripts/list-sources.sh: Scan PORTS for translations.
37929         * po/libc.pot: Regenerated.
37930
37931 2012-06-21  Andreas Jaeger  <aj@suse.de>
37932
37933         [BZ #12194]
37934         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37935         warning.
37936         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37937         * bits/byteswap-16.h (__bswap_16): Likewise.
37938         * bits/byteswap.h (__bswap_constant_16): Likewise.
37939
37940 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
37941
37942         [BZ #14117]
37943         * sysdeps/i386/fpu_control.h: Removed.
37944         * sysdeps/x86_64/fpu_control.h: Moved to ...
37945         * sysdeps/x86/fpu_control.h: Here.
37946
37947         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37948         (_FPU_SETCW): Likewise.
37949
37950 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
37951
37952         [BZ #14117]
37953         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37954         * sysdeps/x86/fpu/bits/mathinline.h: This.
37955         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37956
37957         [BZ #14050]
37958         [BZ #14117]
37959         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37960         functions if __x86_64__ is defined.
37961
37962 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
37963
37964         * string/endian.h: Add !__ASSEMBLER__ condition for including
37965         conversion interfaces.
37966
37967 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
37968
37969         [BZ #14241]
37970         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37971         of ABS(x) in calculating zero to negative powers other than odd
37972         integers.
37973         * math/libm-test.inc (pow_test): Add more tests.
37974
37975 2012-06-15  Andreas Jaeger  <aj@suse.de>
37976
37977         * manual/contrib.texi (Contributors): Update entry of Liubov
37978         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37979         Machado Filho.
37980
37981 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
37982
37983         * string/string.h: Add __wur to GNU version of strerror_r.
37984
37985 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
37986
37987         [BZ #14229]
37988         * string/Makefile (tests): Add tst-strtok_r.
37989         * string/tst-strtok_r.c: New file.
37990         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37991         RAX_LP/RDX_LP on SAVE_PTR.
37992
37993 2012-06-14  Roland McGrath  <roland@hack.frob.com>
37994
37995         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37996
37997 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
37998
37999         * libm_test.inc (csqrt_test): Allow more spurious underflow
38000         exceptions.
38001         (j0_test): Likewise.
38002         (j1_test): Likewise.
38003         (y0_test): Likewise.
38004         (y1_test): Likewise.
38005
38006 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38007
38008         * po/Makefile (libc.pot): Use UTF-8 charset.
38009
38010 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38011
38012         [BZ #14210]
38013         Suppress sign-conversion warning from FD_SET.
38014         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38015         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38016         not unsigned long int.
38017         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38018
38019 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38020
38021         [BZ #14050]
38022         [BZ #14117]
38023         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38024         __extern_always_inline instead of __extern_inline.
38025         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38026         (__signbit): Likewise.
38027         (__signbitl): Support C++ namespace.
38028         (lrintf): New inline function.
38029         (lrint): Likewise.
38030         (llrintf): Likewise.
38031         (llrint): Likewise.
38032         (fmaxf): Likewise.
38033         (fmax): Likewise.
38034         (fminf): Likewise.
38035         (fmin): Likewise.
38036         (rint): Likewise.
38037         (rintf): Likewise.
38038         (ceil): Likewise.
38039         (ceilf): Likewise.
38040         (floor): Likewise.
38041         (floorf): Likewise.
38042         (nearbyint): Likewise.
38043         (nearbyintf): Likewise.
38044
38045 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38046
38047         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38048         non-default versions.
38049
38050 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38051
38052         [BZ #14218]
38053         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38054
38055 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38056
38057         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38058         (FE_UPWARD, FE_DOWNWARD): Don't define.
38059         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38060         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38061
38062         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38063         reading it.
38064         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38065         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38066
38067 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38068
38069         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38070         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38071         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38072         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38073
38074 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38075
38076         [BZ #14117]
38077         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38078         * sysdeps/i386/fpu/Implies: New file.
38079         * sysdeps/x86_64/fpu/Implies: Likewise.
38080         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38081         * sysdeps/x86/fpu/bits/fenv.h: This.
38082
38083         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38084         __SSE_MATH__.
38085
38086 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38087
38088         [BZ #14134]
38089         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38090         character 0xffff that matches the last element of the
38091         conversion table.
38092
38093 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38094
38095         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38096         fmodl commit.
38097
38098 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38099
38100         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38101         values higher than 25.6283.
38102
38103 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38104
38105         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38106         subnormal exponent extraction and add some __builtin_expect.
38107         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38108         Fix for subnormal mantissa calculation.
38109
38110 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38111
38112         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38113         cpu2 is -1 and errno is not ENOSYS.
38114
38115 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38116
38117         [BZ #14117]
38118         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38119         * sysdeps/x86/bits/string.h: This.
38120         * sysdeps/x86_64/bits/string.h: Removed.
38121
38122         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38123         if not compiling for x86-64, but compiling for >= i486.
38124
38125         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38126         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38127
38128         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38129         New macro from Linux kernel 3.4.0.
38130         (FP_XSTATE_MAGIC2): Likewise.
38131         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38132         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38133         (struct _fpx_sw_bytes): New struct.
38134         (struct _xsave_hdr): Likewise.
38135         (struct _ymmh_state): Likewise.
38136         (struct _xstate): Likewise.
38137
38138         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38139         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38140         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38141         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38142         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38143         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38144
38145         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38146         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38147         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38148         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38149         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38150         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38151
38152 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38153
38154         [BZ #13743]
38155         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38156         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38157         (sysdep_headers): Include sys/platform/ppc.h.
38158         * sysdeps/powerpc/test-gettimebase.c: Test for
38159         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38160         * manual/Makefile (appendices): Include platform.texi.
38161         * manual/contrib.texi (Contributors): Update @node pointers.
38162         * manual/maint.texi (Maintenance): Likewise.
38163         (Platform): New node.
38164         * manual/platform.texi: New file.  Document the new features.
38165
38166 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38167             Jakub Jelinek  <jakub@redhat.com>
38168
38169         [BZ #14188]
38170         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38171         where __builtin_expect is unavailable.
38172
38173 2012-06-03  David S. Miller  <davem@davemloft.net>
38174
38175         * stdlib/longlong.h: Updated from GCC.
38176
38177 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38178
38179         [BZ #14042]
38180         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38181         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38182         __mcount_internal.
38183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38184         (GLIBC_2.16): Likewise.
38185
38186 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38187
38188         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38189
38190 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38191
38192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38193         (default-abi): New variable.
38194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38195         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38196         variable.
38197         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38198         Likewise.
38199         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38200         Likewise.
38201         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38202         Likewise.
38203
38204         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38205         definition.  Document in comment.
38206
38207 2012-06-01  David S. Miller  <davem@davemloft.net>
38208
38209         * stdlib/longlong.h: Updated from GCC.
38210
38211 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38212
38213         [BZ #14117]
38214         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38215         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38216         sys/debugreg.h sys/io.h here.
38217         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38218         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38219         sys/io.h.
38220         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38221         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38222         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38223         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38224         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38225         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38226
38227         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38228         Define only if __x86_64__ is defined.
38229
38230 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38231
38232         [BZ #14048]
38233         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38234         Use int64_t for variable i.
38235         * math/libm-test.inc (fmod_test): Add more tests.
38236
38237         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38238         z computation is not scheduled after fetestexcept.
38239         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38240         Use math_force_eval instead of asm to ensure calculation scheduled
38241         before exception test.
38242         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38243         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38244
38245 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38246
38247         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38248         computation is not scheduled after fetestexcept.
38249
38250 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38251
38252         [BZ #14117]
38253         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38254         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38255
38256 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38257
38258         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38259         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38260
38261 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38262
38263         [BZ #14117]
38264         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38265         <bits/wordsize.h>.
38266         (__WCHAR_MIN): Support __WORDSIZE == 64.
38267         (__WCHAR_MAX): Likewise.
38268
38269         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38270         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38271
38272         [BZ #14183]
38273         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38274         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38275
38276         [BZ #14117]
38277         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38278         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38279
38280         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38281         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38282
38283         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38284         Defined to 1 if __x86_64__ isn't defined.
38285         (_STAT_VER_LINUX_OLD): New.
38286         (st_atime): Remove duplicate.
38287         (st_mtime): Likewise.
38288         (st_ctime): Likewise.
38289
38290 2012-05-31  David S. Miller  <davem@davemloft.net>
38291
38292         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38293         entries.
38294
38295 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38296
38297         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38298         gen-libm-test.pl.
38299
38300         [BZ #14132]
38301         * elf/dl-reloc.c: Include <_itoa.h>.
38302         (_dl_reloc_bad_type): Remove use of INTUSE.
38303         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38304         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38305         * stdio-common/psiginfo.c (psiginfo): Likewise.
38306         * stdio-common/psignal.c (psignal): Likewise.
38307         * string/strsignal.c (strsignal): Likewise.
38308         * include/signal.h (_sys_siglist): Declare hidden proto.
38309         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38310         INTVARDEF with libc_hidden_data_def.
38311         * stdio-common/itoa-udigits.c: Likewise.
38312         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38313         (_itoa_lower_digits_internal): Remove declaration.
38314         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38315         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38316         (_sys_sigabbrev_internal): Remove aliases.
38317         (_sys_siglist): Define hidden alias.
38318
38319 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38320
38321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38322         bits/sysctl.h.
38323
38324 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38325
38326         [BZ #14117]
38327         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38328         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38329
38330         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38331         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38332         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38333         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38334         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38335         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38336
38337         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38338         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38339         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38340
38341         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38342         with __addr.
38343         (insw): Likewise.
38344         (insl): Likewise.
38345         (outsb): Likewise.
38346         (outsw): Likewise.
38347         (outsl): Likewise.
38348
38349         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38350         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38351         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38352
38353         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38354         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38355         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38356         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38357         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38358         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38359
38360         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38361         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38362
38363         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38364         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38365
38366         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38367         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38368         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38369
38370         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38371         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38372         to ...
38373         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38374
38375         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38376         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38377         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38378
38379         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38380         for x86-64.
38381         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38382
38383 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38384
38385         * math/math.h (M_El): Use two more decimal places.
38386         (M_LOG2El): Likewise.
38387         (M_LOG10El): Likewise.
38388         (M_LN2l): Likewise.
38389         (M_LN10l): Likewise.
38390         (M_PIl): Likewise.
38391         (M_PI_2l): Likewise.
38392         (M_PI_4l): Likewise.
38393         (M_1_PIl): Likewise.
38394         (M_2_PIl): Likewise.
38395         (M_2_SQRTPIl): Likewise.
38396         (M_SQRT2l): Likewise.
38397         (M_SQRT1_2l): Likewise.
38398
38399 2012-05-31  David S. Miller  <davem@davemloft.net>
38400
38401         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38402         values between float registers.
38403         * sysdeps/sparc/sparc64/memset.S: Likewise.
38404         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38405
38406 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38407
38408         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38409         -D_FORTIFY_SOURCE=1.
38410         (CPPFLAGS-tst-longjmp_chk.c): Define.
38411         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38412         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38413         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38414         CFLAGS-tst-wchar-h.c.
38415
38416 2012-05-31  Marek Polacek  <polacek@redhat.com>
38417
38418         [BZ #14132]
38419         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38420         __endmntent_internal): Remove declaration.
38421         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38422         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38423         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38424
38425 2012-05-30  David S. Miller  <davem@davemloft.net>
38426
38427         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38428         (___Q_simulate_exceptions): Use real FP ops rather than writing
38429         into the %fsr.
38430         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38431         Likewise.
38432
38433 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38434
38435         [BZ #14117]
38436         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38437         * sysdeps/x86/bits/xtitypes.h: This.
38438
38439         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38440         * sysdeps/x86/bits/wordsize.h: This.
38441
38442         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38443         * sysdeps/x86/bits/huge_vall.h: This.
38444
38445         * sysdeps/i386/bits/select.h: Removed.
38446         * sysdeps/x86_64/bits/select.h: Renamed to ...
38447         * sysdeps/x86/bits/select.h: This.
38448
38449         * sysdeps/i386/bits/setjmp.h: Removed.
38450         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38451         * sysdeps/x86/bits/setjmp.h: This.
38452
38453         * sysdeps/i386/bits/mathdef.h: Removed.
38454         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38455         * sysdeps/x86/bits/mathdef.h: This.
38456
38457 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38458
38459         [BZ #14132]
38460         * include/sys/socket.h (__connect_internal)
38461         (__libc_sa_len_internal): Remove declaration.
38462         (__connect, __libc_sa_len): Declare hidden_proto.
38463         (SA_LEN): Remove use of INTUSE.
38464         * socket/connect.c: Add libc_hidden_def.
38465         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38466         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38467         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38468         alias.
38469         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38470         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38471         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38472         of adding _internal alias.
38473
38474 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38475
38476         [BZ #14117]
38477         * sysdeps/i386/bits/link.h: Removed.
38478         * sysdeps/i386/bits/linkmap.h: Likewise.
38479         * sysdeps/x86_64/bits/link.h: Renamed to ...
38480         * sysdeps/x86/bits/link.h: This.
38481         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38482         * sysdeps/x86/bits/linkmap.h: This.
38483
38484         * sysdeps/i386/bits/endian.h: Removed.
38485         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38486         * sysdeps/x86/bits/endian.h: This.
38487
38488         * sysdeps/i386/bits/byteswap.h: Removed.
38489         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38490         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38491         * sysdeps/x86/bits/byteswap.h: This.
38492         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38493         * sysdeps/x86/bits/byteswap-16.h: This.
38494         * sysdeps/i386/Implies: Add x86.
38495         * sysdeps/x86_64/Implies: Likewise.
38496
38497 2012-05-30  David S. Miller  <davem@davemloft.net>
38498
38499         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38500         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38501         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38502         (FP_TRAPPING_EXCEPTIONS): Define.
38503         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38504         (FP_TRAPPING_EXCEPTIONS): Define.
38505         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38506         subnormals only when inexact has been signalled or underflow
38507         exceptions are enabled.
38508         (_FP_PACK_CANONICAL): Likewise.
38509
38510 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38511
38512         [BZ #14183]
38513         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38514         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38515
38516 2012-05-30  Richard Henderson  <rth@twiddle.net>
38517
38518         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38519         with #ifndef NOT_IN_libc.
38520
38521         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38522         marked to avoid plt entry.
38523
38524 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38525
38526         [BZ #14112]
38527         * Makeconfig (default-abi): New macro.
38528         (abi-includes): Likewise.
38529         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38530         $(abi-$(default-abi)-lib-soname) for soname if defined.
38531         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38532         abi-variants.
38533         * Makefile (installed-stubs): Likewise.
38534         * include/stubs-biarch.h: Removed.
38535         * scripts/lib-names.awk: Only handle one library at a time.
38536         * scripts/soversions.awk: Remove WORDSIZE support.
38537         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38538         entries.
38539         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38540         Removed.
38541         (syscall-list-default-condition): Likewise.
38542         (syscall-list-default-condition): Likewise.
38543         (syscall-list-includes): Likewise.
38544         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38545         syscall-list-* with abi-*.  Handle undefined abi-variants.
38546         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38547         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38548         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38549         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38550         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38551         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38552         Removed.
38553         (syscall-list-32-options): Likewise.
38554         (syscall-list-32-condition): Likewise.
38555         (syscall-list-64-options): Likewise.
38556         (syscall-list-64-condition): Likewise.
38557         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38558         macro.
38559         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38560         Renamed to ...
38561         (abi-*): This.
38562         (abi-64-ld-soname): New macro.
38563         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38564         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38565         Renamed to ...
38566         (abi-*): This.
38567         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38568         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38569
38570 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38571
38572         * sysdeps/unix/sysv/linux/kernel-features.h
38573         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38574         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38575         include <kernel-features.h>.
38576         [!__NR_ftruncate64]: Remove conditional code.
38577         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38578         [__NR_ftruncate64]: Make code unconditional.
38579         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38580         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38581         include <kernel-features.h>.
38582         [!__NR_ftruncate64]: Remove conditional code.
38583         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38584         [__NR_ftruncate64]: Make code unconditional.
38585         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38587         include <kernel-features.h>.
38588         [!__NR_ftruncate64]: Remove conditional code.
38589         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38590         [__NR_ftruncate64]: Make code unconditional.
38591         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38593         include <kernel-features.h>.
38594         [!__NR_ftruncate64]: Remove conditional code.
38595         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38596         [__NR_ftruncate64]: Make code unconditional.
38597         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38598
38599         * configure.in (libc_cv_fpie): Weaken to a compile test using
38600         LIBC_TRY_CC_OPTION.
38601         * configure: Regenerated.
38602
38603 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38604
38605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38609         Refreshed.
38610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38616         Refreshed.
38617
38618 2012-05-27  David S. Miller  <davem@davemloft.net>
38619
38620         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38621         (___Q_zero): New.
38622         (__Q_simulate_exceptions): Return void.  Change to simulate
38623         exceptions by writing into the %fsr.
38624         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38625         (__Qp_handle_exceptions): Likewise.
38626         (numbers): Delete.
38627         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38628         __Qp_handle_exceptions.
38629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38630         __Qp_handle_exceptions.
38631         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38632         as unused and give dummy FP_RND_NEAREST initializer.
38633         (FP_INHIBIT_RESULTS): Define.
38634         (___Q_simulate_exceptions): Update declaration.
38635         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38636         formatting.
38637         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38638         as unused and give dummy FP_RND_NEAREST initializer.
38639         (__Qp_handle_exceptions): Update declaration.
38640         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38641         formatting.
38642
38643 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38644
38645         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38646         the temporary FPU control word.
38647         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38648         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38649         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38650         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38651         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38652         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38653         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38654         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38655         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38656         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38657         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38658
38659 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38660
38661         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38662         fields.
38663
38664 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38665
38666         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38667         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38668         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38669         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38670         Likewise.
38671         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38672         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38673         Likewise.
38674
38675 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38676
38677         * po/h.po: Update from translation team.
38678
38679 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38680
38681         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38682
38683         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38684         handling of denormals.
38685         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38686         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38687         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38688         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38689         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38690         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38691         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38692         Likewise.
38693
38694 2012-05-26  Marek Polacek  <polacek@redhat.com>
38695
38696         [BZ #14152]
38697         * math/libm-test.inc (fma_test): Don't always expect underflow
38698         exception.
38699
38700 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38701
38702         [BZ #12416]
38703         * elf/tst-execstack.c: Include stackinfo.h.
38704         (do_test): Adjust test case to ensure that pthread_getattr_np
38705         behaviour remains the same after marking stack executable.
38706
38707 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38708
38709         * sysdeps/unix/sysv/linux/kernel-features.h
38710         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38711         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38712         kernel-features.h.
38713         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38714         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38715         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38716         kernel-features.h.
38717         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38718         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38719
38720 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38721
38722         * configure.in: Define the default includes to being none.
38723         * configure: Regenerated.
38724
38725 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38726
38727         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38728         * sysdeps/x86_64/setjmp.S: Likewise.
38729         * sysdeps/i386/bsd-setjmp.S: Likewise.
38730         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38731         * sysdeps/i386/setjmp.S: Likewise.
38732         * sysdeps/i386/__longjmp.S: Likewise.
38733         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38734         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38735
38736         * include/stap-probe.h: New file.
38737         * configure.in: Handle --enable-systemtap.
38738         * configure: Regenerated.
38739         * config.h.in (USE_STAP_PROBE): New #undef.
38740         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38741         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38742         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38743
38744 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38745
38746         [BZ #13717]
38747         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38748         to 2.4.0 where earlier.
38749         * sysdeps/unix/sysv/linux/configure: Regenerated.
38750         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38751         <kernel-features.h>.
38752         [__ASSUME_32BITUIDS]: Make code unconditional.
38753         [!__ASSUME_32BITUIDS]: Remove conditional code.
38754         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38755         <kernel-features.h>.
38756         [__ASSUME_32BITUIDS]: Make code unconditional.
38757         [!__ASSUME_32BITUIDS]: Remove conditional code.
38758         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38759         [__ASSUME_32BITUIDS]: Make code unconditional.
38760         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38761         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38762         <kernel-features.h>.
38763         [__ASSUME_32BITUIDS]: Make code unconditional.
38764         [!__ASSUME_32BITUIDS]: Remove conditional code.
38765         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38766         <kernel-features.h>.
38767         [__ASSUME_32BITUIDS]: Make code unconditional.
38768         [!__ASSUME_32BITUIDS]: Remove conditional code.
38769         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38770         <kernel-features.h>.
38771         [__ASSUME_32BITUIDS]: Make code unconditional.
38772         [!__ASSUME_32BITUIDS]: Remove conditional code.
38773         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38774         <kernel-features.h>.
38775         [__ASSUME_32BITUIDS]: Make code unconditional.
38776         [!__ASSUME_32BITUIDS]: Remove conditional code.
38777         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38778         <kernel-features.h>.
38779         [__ASSUME_32BITUIDS]: Make code unconditional.
38780         [!__ASSUME_32BITUIDS]: Remove conditional code.
38781         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38782         <kernel-features.h>.
38783         [__ASSUME_32BITUIDS]: Make code unconditional.
38784         [!__ASSUME_32BITUIDS]: Remove conditional code.
38785         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38786         <kernel-features.h>.
38787         [__ASSUME_32BITUIDS]: Make code unconditional.
38788         [!__ASSUME_32BITUIDS]: Remove conditional code.
38789         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38790         <kernel-features.h>.
38791         [__ASSUME_32BITUIDS]: Make code unconditional.
38792         [!__ASSUME_32BITUIDS]: Remove conditional code.
38793         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38794         <kernel-features.h>.
38795         [__ASSUME_32BITUIDS]: Make code unconditional.
38796         [!__ASSUME_32BITUIDS]: Remove conditional code.
38797         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38798         <kernel-features.h>.
38799         [__ASSUME_32BITUIDS]: Make code unconditional.
38800         [!__ASSUME_32BITUIDS]: Remove conditional code.
38801         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38802         <kernel-features.h>.
38803         [__NR_setresgid] (__setresgid): Do not declare.
38804         [__ASSUME_32BITUIDS]: Make code unconditional.
38805         [!__ASSUME_32BITUIDS]: Remove conditional code.
38806         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38807         <kernel-features.h>.
38808         [__NR_setresuid] (__setresuid): Do not declare.
38809         [__ASSUME_32BITUIDS]: Make code unconditional.
38810         [!__ASSUME_32BITUIDS]: Remove conditional code.
38811         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38812         <kernel-features.h>.
38813         [__ASSUME_32BITUIDS]: Make code unconditional.
38814         [!__ASSUME_32BITUIDS]: Remove conditional code.
38815         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38816         <kernel-features.h>.
38817         [__ASSUME_32BITUIDS]: Make code unconditional.
38818         [!__ASSUME_32BITUIDS]: Remove conditional code.
38819         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38820         <kernel-features.h>.
38821         [__ASSUME_32BITUIDS]: Make code unconditional.
38822         [!__ASSUME_32BITUIDS]: Remove conditional code.
38823         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38824         <kernel-features.h>.
38825         [__ASSUME_32BITUIDS]: Make code unconditional.
38826         [!__ASSUME_32BITUIDS]: Remove conditional code.
38827         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38828         <kernel-features.h>.
38829         [__ASSUME_32BITUIDS]: Make code unconditional.
38830         [!__ASSUME_32BITUIDS]: Remove conditional code.
38831         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38832         <kernel-features.h>.
38833         [__ASSUME_32BITUIDS]: Make code unconditional.
38834         [!__ASSUME_32BITUIDS]: Remove conditional code.
38835         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38836         <kernel-features.h>.
38837         [__ASSUME_32BITUIDS]: Make code unconditional.
38838         [!__ASSUME_32BITUIDS]: Remove conditional code.
38839         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38840         <kernel-features.h>.
38841         [__ASSUME_32BITUIDS]: Make code unconditional.
38842         [!__ASSUME_32BITUIDS]: Remove conditional code.
38843         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38844         <kernel-features.h>.
38845         [__ASSUME_32BITUIDS]: Make code unconditional.
38846         [!__ASSUME_32BITUIDS]: Remove conditional code.
38847         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38848         <kernel-features.h>.
38849         [__ASSUME_32BITUIDS]: Make code unconditional.
38850         [!__ASSUME_32BITUIDS]: Remove conditional code.
38851         * sysdeps/unix/sysv/linux/kernel-features.h
38852         (__ASSUME_SETRESUID_SYSCALL): Remove.
38853         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38854         (__ASSUME_32BITUIDS): Likewise.
38855         (__ASSUME_LDT_WORKS): Likewise.
38856         (__ASSUME_O_DIRECTORY): Likewise.
38857         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38858         architecture but not kernel version.
38859         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38860         (__ASSUME_MMAP2_SYSCALL): Likewise.
38861         (__ASSUME_STAT64_SYSCALL): Likewise.
38862         (__ASSUME_IPC64): Likewise.
38863         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38864         <kernel-features.h>.
38865         [__ASSUME_32BITUIDS]: Make code unconditional.
38866         [!__ASSUME_32BITUIDS]: Remove conditional code.
38867         * sysdeps/unix/sysv/linux/opendir.c: Do not include
38868         <kernel-features.h>.
38869         [__ASSUME_O_DIRECTORY]: Make code unconditional.
38870         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38871         132096]: Remove conditional code.
38872         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38873         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38874         <kernel-features.h>.
38875         [__ASSUME_32BITUIDS]: Make code unconditional.
38876         [!__ASSUME_32BITUIDS]: Remove conditional code.
38877         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38878         <kernel-features.h>.
38879         [__ASSUME_32BITUIDS]: Make code unconditional.
38880         [!__ASSUME_32BITUIDS]: Remove conditional code.
38881         * sysdeps/unix/sysv/linux/setegid.c: Do not include
38882         <kernel-features.h>.
38883         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38884         unconditional.
38885         (__setresgid): Do not declare.
38886         [__ASSUME_32BITUIDS]: Make code unconditional.
38887         [!__ASSUME_32BITUIDS]: Remove conditional code.
38888         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38889         <kernel-features.h>.
38890         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38891         unconditional.
38892         (__setresuid): Do not declare.
38893         [__ASSUME_32BITUIDS]: Make code unconditional.
38894         [!__ASSUME_32BITUIDS]: Remove conditional code.
38895         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38896         <kernel-features.h>.
38897         [__ASSUME_32BITUIDS]: Make code unconditional.
38898         [!__ASSUME_32BITUIDS]: Remove conditional code.
38899         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38900         <kernel-features.h>.
38901         [__ASSUME_32BITUIDS]: Make code unconditional.
38902         [!__ASSUME_32BITUIDS]: Remove conditional code.
38903
38904 2012-05-25  Richard Henderson  <rth@twiddle.net>
38905
38906         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38907         dl_hwcap to ifunc resolver.
38908         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38909         elf_ifunc_invoke.
38910         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38911         dl_hwcap to ifunc resolver.
38912         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38913
38914 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38915
38916         [BZ #14153]
38917         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38918         for |x| <= 2**-26, not 2**-57.
38919         * math/libm-test.inc (acos_test): Do not allow spurious underflow
38920         exception.
38921
38922 2012-05-24  Jeff Law  <law@redhat.com>
38923
38924         * stdio-common/Makefile (tests): Add bug25.
38925         * stdio-common/bug25.c: New test.
38926
38927 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38928
38929         [BZ #13576]
38930         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38931         multiple of MALLOC_ALIGNMENT in size.
38932         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38933
38934 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38935
38936         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38937         Require >= 256.
38938         (FILENAME_MAX): Use macro-int-constant.
38939         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
38940         (_IOFBF): Use macro-int-constant.
38941         (_IOLBF): Likewise.
38942         (_IONBF): Likewise.
38943         (SEEK_CUR): Likewise.
38944         (SEEK_END): Likewise.
38945         (SEEK_SET): Likewise.
38946         (TMP_MAX): Likewise.
38947         (EOF): Use macro-int-constant.  Require < 0.
38948         (NULL): Use macro-constant.  Require == 0.
38949         (stdin): Require type to be FILE *.
38950         (stdout): Likewise.
38951         (stderr): Likewise.
38952         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38953         macro-int-constant.
38954         (EXIT_SUCCESS): Likewise.
38955         (NULL): Use macro-constant.  Require == 0.
38956         (RAND_MAX): Use macro-int-constant.
38957         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38958         [C99-based standards] (strtof): Require function.
38959         [C99-based standards] (strtold): Likewise.
38960         [C99-based standards] (strtoll): Likewise.
38961         [C99-based standards] (strtoull): Likewise.
38962         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38963         [ISO || ISO99 || ISO11] (limits.h): Likewise.
38964         [ISO || ISO99 || ISO11] (math.h): Likewise.
38965         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38966         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38967         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38968
38969 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
38970
38971         [BZ #14132]
38972         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38973         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38974         * intl/dgettext.c (DCGETTEXT): Likewise.
38975         * intl/gettext.c (DCGETTEXT): Likewise.
38976         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38977         * posix/regex_internal.h (gettext): Likewise.
38978         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38979         Remove declaration.
38980         * include/argz.h (__argz_count_internal)
38981         (__argz_stringify_internal): Remove declaration.
38982         (__argz_count, __argz_stringify): Declare hidden proto.
38983         * intl/dcgettext.c: Remove use of INTDEF.
38984         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38985         * string/argz-stringify.c: Likewise.
38986         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38987         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38988         Declare hidden proto.
38989         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38990         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38991         Declare hidden proto.
38992         * include/stdio.h (__asprintf_internal): Don't declare.
38993         (__asprintf): Don't define as macro.  Declare hidden proto.
38994         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38995         (__fsetlocking): Declare hidden proto.
38996         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38997         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38998         hidden proto.
38999         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39000         (_IO_setlinebuf): Remove use of INTUSE.
39001         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39002         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39003         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39004         Remove declaration.
39005         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39006         (_IO_do_flush): Remove use of INTUSE.
39007         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39008         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39009         (_IO_adjust_column, _IO_least_wmarker)
39010         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39011         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39012         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39013         (_IO_default_doallocate, _IO_wdefault_doallocate)
39014         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39015         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39016         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39017         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39018         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39019         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39020         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39021         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39022         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39023         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39024         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39025         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39026         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39027         proto.
39028         (_IO_flush_all_internal, _IO_adjust_column_internal)
39029         (_IO_default_uflow_internal, _IO_default_finish_internal)
39030         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39031         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39032         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39033         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39034         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39035         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39036         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39037         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39038         (_IO_file_close_internal, _IO_file_close_it_internal)
39039         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39040         (_IO_file_init_internal, _IO_file_attach_internal)
39041         (_IO_file_fopen_internal, _IO_file_read_internal)
39042         (_IO_file_sync_internal, _IO_file_seek_internal)
39043         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39044         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39045         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39046         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39047         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39048         (_IO_list_all_internal, _IO_link_in_internal)
39049         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39050         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39051         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39052         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39053         (_IO_do_write_internal, _IO_padn_internal)
39054         (_IO_getline_info_internal, _IO_getline_internal)
39055         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39056         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39057         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39058         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39059         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39060         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39061         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39062         with libc_hidden_ver, remove use of INTUSE.
39063         * libio/genops.c: Likewise.
39064         * libio/freopen.c: Likewise.
39065         * libio/freopen64.c: Likewise.
39066         * libio/iofclose.c: Likewise.
39067         * libio/iofdopen.c: Likewise.
39068         * libio/iofflush.c: Likewise.
39069         * libio/iofflush_u.c: Likewise.
39070         * libio/iofgets.c: Likewise.
39071         * libio/iofgets_u.c: Likewise.
39072         * libio/iofopen.c: Likewise.
39073         * libio/iofopncook.c: Likewise.
39074         * libio/iofread.c: Likewise.
39075         * libio/iofread_u.c: Likewise.
39076         * libio/ioftell.c: Likewise.
39077         * libio/iofwrite.c: Likewise.
39078         * libio/iogetline.c: Likewise.
39079         * libio/iogets.c: Likewise.
39080         * libio/iogetwline.c: Likewise.
39081         * libio/iopadn.c: Likewise.
39082         * libio/iopopen.c: Likewise.
39083         * libio/ioseekoff.c: Likewise.
39084         * libio/ioseekpos.c: Likewise.
39085         * libio/iosetbuffer.c: Likewise.
39086         * libio/iosetvbuf.c: Likewise.
39087         * libio/ioungetc.c: Likewise.
39088         * libio/ioungetwc.c: Likewise.
39089         * libio/iovdprintf.c: Likewise.
39090         * libio/iovsprintf.c: Likewise.
39091         * libio/iovsscanf.c: Likewise.
39092         * libio/memstream.c: Likewise.
39093         * libio/obprintf.c: Likewise.
39094         * libio/oldfileops.c: Likewise.
39095         * libio/oldiofclose.c: Likewise.
39096         * libio/oldiofdopen.c: Likewise.
39097         * libio/oldiofopen.c: Likewise.
39098         * libio/oldiopopen.c: Likewise.
39099         * libio/oldstdfiles.c: Likewise.
39100         * libio/putc.c: Likewise.
39101         * libio/setbuf.c: Likewise.
39102         * libio/setlinebuf.c: Likewise.
39103         * libio/stdfiles.c: Likewise.
39104         * libio/strops.c: Likewise.
39105         * libio/vasprintf.c: Likewise.
39106         * libio/vscanf.c: Likewise.
39107         * libio/vsnprintf.c: Likewise.
39108         * libio/vswprintf.c: Likewise.
39109         * libio/wfiledoalloc.c: Likewise.
39110         * libio/wfileops.c: Likewise.
39111         * libio/wgenops.c: Likewise.
39112         * libio/wmemstream.c: Likewise.
39113         * libio/wstrops.c: Likewise.
39114         * libio/__fpurge.c: Likewise.
39115         * libio/__fsetlocking.c: Likewise.
39116         * assert/assert.c: Likewise.
39117         * debug/fgets_chk.c: Likewise.
39118         * debug/fgets_u_chk.c: Likewise.
39119         * debug/fread_chk.c: Likewise.
39120         * debug/fread_u_chk.c: Likewise.
39121         * debug/gets_chk.c: Likewise.
39122         * debug/obprintf_chk.c: Likewise.
39123         * debug/vasprintf_chk.c: Likewise.
39124         * debug/vdprintf_chk.c: Likewise.
39125         * debug/vsnprintf_chk.c: Likewise.
39126         * debug/vsprintf_chk.c: Likewise.
39127         * malloc/mtrace.c: Likewise.
39128         * misc/error.c: Likewise.
39129         * misc/syslog.c: Likewise.
39130         * stdio-common/asprintf.c: Likewise.
39131         * stdio-common/fxprintf.c: Likewise.
39132         * stdio-common/getw.c: Likewise.
39133         * stdio-common/isoc99_fscanf.c: Likewise.
39134         * stdio-common/isoc99_scanf.c: Likewise.
39135         * stdio-common/isoc99_vfscanf.c: Likewise.
39136         * stdio-common/isoc99_vscanf.c: Likewise.
39137         * stdio-common/isoc99_vsscanf.c: Likewise.
39138         * stdio-common/printf-prs.c: Likewise.
39139         * stdio-common/printf_fp.c: Likewise.
39140         * stdio-common/printf_fphex.c: Likewise.
39141         * stdio-common/printf_size.c: Likewise.
39142         * stdio-common/putw.c: Likewise.
39143         * stdio-common/scanf.c: Likewise.
39144         * stdio-common/sprintf.c: Likewise.
39145         * stdio-common/tmpfile.c: Likewise.
39146         * stdio-common/vfprintf.c: Likewise.
39147         * stdio-common/vfscanf.c: Likewise.
39148         * stdlib/strfmon_l.c: Likewise.
39149         * sunrpc/openchild.c: Likewise.
39150         * sunrpc/xdr_stdio.c: Likewise.
39151         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39152         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39153
39154 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39155
39156         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39157
39158         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39159         in the third column, to generate for the shared library an IFUNC
39160         that uses _dl_vdso_vsym.
39161         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39162         * Makeconfig (object-suffixes-noshared): New variable.
39163
39164         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39165         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39166         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39167         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39168
39169         [BZ #14132]
39170         * include/sys/time.h (__gettimeofday): Remove macro.
39171         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39172         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39173         Remove INTDEF.
39174         (__gettimeofday): Add libc_hidden_def.
39175         (gettimeofday): Add libc_hidden_weak.
39176         * sysdeps/mach/gettimeofday.c: Likewise.
39177         * sysdeps/posix/gettimeofday.c: Likewise.
39178         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39179         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39180         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39181         (__gettimeofday_internal): Remove strong_alias.
39182         (__gettimeofday): Add libc_hidden_def.
39183         (gettimeofday): Add libc_hidden_weak.
39184         * sysdeps/unix/syscalls.list (gettimeofday):
39185         Remove __gettimeofday_internal alias.
39186
39187 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39188             H.J. Lu  <hongjiu.lu@intel.com>
39189
39190         [BZ #12495]
39191         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39192         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39193         (largebin_index_32_big): New.
39194         (largebin_index): Use it for 16-byte alignment.
39195         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39196         correction with front_misalign.
39197
39198 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39199
39200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39202         Likewise.
39203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39204         Likewise.
39205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39206         Likewise.
39207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39208         Likewise.
39209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39210         Likewise.
39211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39212         Likewise.
39213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39214         Likewise.
39215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39216         Likewise.
39217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39218         Likewise.
39219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39220         Likewise.
39221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39222         Likewise.
39223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39224         Likewise.
39225
39226         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39227         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39228
39229 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39230
39231         [BZ #10846]
39232         [BZ #14036]
39233         * math/libm-test.inc (exp_test): Add test from bug 14036.
39234         (pow_test): Add test from bug 10846.
39235
39236         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39237         and other flags.
39238         (special_function): Do not include flags in test name.
39239         (parse_args): Likewise.
39240         * sysdeps/i386/fpu/libm-test-ulps: Update.
39241         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39242         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39243         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39245
39246         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39247         exceptions.
39248         * math/libm-test.inc ("Philosophy"): Update comment about
39249         exception testing.
39250         (UNDERFLOW_EXCEPTION): New macro.
39251         (UNDERFLOW_EXCEPTION_OK): Likewise.
39252         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39253         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39254         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39255         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39256         (INVALID_EXCEPTION_OK): Update value.
39257         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39258         (OVERFLOW_EXCEPTION_OK): Likewise.
39259         (IGNORE_ZERO_INF_SIGN): Likewise.
39260         (test_exceptions): Handle underflow exceptions.
39261         (acos_test): Update for underflow exception expectations.
39262         (cexp_test): Likewise.
39263         (clog_test): Likewise.
39264         (clog10_test): Likewise.
39265         (csqrt_test): Likewise.
39266         (ctan_test): Likewise.
39267         (ctanh_test): Likewise.
39268         (exp_test): Likewise.
39269         (exp10_test): Likewise.
39270         (exp2_test): Likewise.
39271         (expm1_test): Likewise.
39272         (fma_test): Likewise.
39273         (j0_test): Likewise.
39274         (jn_test): Likewise.
39275         (nexttoward_test): Likewise.
39276         (pow_test): Likewise.
39277         (scalbn_test): Likewise.
39278         (scalbln_test): Likewise.
39279         (tan_test): Likewise.
39280         (y1_test): Likewise.
39281         * sysdeps/i386/fpu/libm-test-ulps: Update.
39282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39283
39284 2012-05-23  David S. Miller  <davem@davemloft.net>
39285
39286         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39287         (__libc_sigaction): Remove unused local variables.
39288
39289 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39290
39291         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39292
39293 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39294
39295         mktime: avoid signed integer overflow
39296         * time/mktime.c (__mktime_internal): Do not mishandle the case
39297         where diff == INT_MIN.
39298
39299         mktime: simplify computation of average
39300         * time/mktime.c (ranged_convert): Use new time_t_avg function
39301         instead of rolling our own (probably-slower) code.
39302
39303         mktime: do not assume signed right shift propagates sign bit
39304         * time/mktime.c (isdst_differ): New static function.
39305         (__mktime_internal): No need to normalize tm_isdst now.
39306         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39307         tm_isdst values.
39308
39309         mktime: merge another wrapv change from gnulib
39310         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39311         from some compilers.
39312
39313         mktime: remove incorrect attempt at unusual arithmetics
39314         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39315         The code didn't really work on such machines anyway.
39316         (TYPE_MINIMUM): Assume two's complement.
39317         (twos_complement_arithmetic): Verify that long_int and time_t
39318         are two's complement (or unsigned, in the latter case).
39319
39320         mktime: check signed shifts on long_int and time_t, too
39321         * time/mktime.c (SHR): Check that shifts work as desired
39322         on the types long_int and time_t too, as SHR is used on
39323         such types.
39324
39325         mktime: do not assume 'long' is wide enough
39326         * time/mktime.c (verify): Move decl up.
39327         (long_int): New type.
39328         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39329         to remove assumption in the code that 'long' is wide enough to
39330         store year values.  This assumption is not true on x32 and on
39331         some non-glibc platforms.
39332
39333         mktime: merge wrapv change from gnulib
39334         * time/mktime.c (WRAPV): New macro.
39335         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39336         (guess_time_tm, __mktime_internal): Do not assume that signed
39337         integer overflow wraps around; modern compilers generate code
39338         where this assumption is no longer valid.
39339
39340 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39341
39342         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39343         Replace "jmp L(pseudo_end)" with "ret".
39344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39345         Likewise.
39346
39347 2012-05-23  Andreas Jaeger  <aj@suse.de>
39348
39349         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39350         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39351
39352 2012-05-23  Andreas Jaeger  <aj@suse.de>
39353             Maximilian Attems  <max@stro.at>
39354
39355         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39356         New macros.
39357
39358 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39359
39360         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39361         code so that pseudo_end is just ret and the stack pointer is
39362         correct also for static library in error case.
39363
39364 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39365
39366         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39367         move to syscalls.list.
39368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39372
39373         * manual/install.texi (Running make install): Do not mention Linux
39374         kernel version for which pt_chown is not needed.
39375         (Linux): Do not mention problems with nscd with 2.0 kernels.
39376         * INSTALL: Regenerated.
39377
39378 2012-05-23  Andreas Jaeger  <aj@suse.de>
39379
39380         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39381         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39382         macro.
39383         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39384         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39385         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39386         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39387         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39388         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39389         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39390         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39391         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39392         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39393         * sysdeps/unix/sysv/linux/bits/in.h
39394         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39395
39396 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39397
39398         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39399         (PREPARE_VERSION): Just use assert instead, it will be elided
39400         under [NDEBUG] anyway.
39401
39402 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39403
39404         * sysdeps/unix/sysv/linux/Makefile: Include
39405         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39406         (sysdep_routines): Remove sysctl.
39407         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39408         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39409         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39410         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39411         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39412
39413 2012-05-22  Andreas Jaeger  <aj@suse.de>
39414
39415         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39416         that pseudo_end is just ret and the stack pointer is correct also
39417         for static library in error case.
39418
39419 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39420
39421         [BZ #14122]
39422         * nss/nsswitch.c (defconfig_entries): New variable.
39423         (__nss_database_lookup): Don't leak defconfig entries.
39424         (nss_parse_service_list): Don't leak on error paths.
39425         (free_database_entries): New function.
39426         (free_defconfig): New function.
39427         (free_mem): Move common code to free_database_entries.
39428
39429 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39430
39431         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39432         Add arch_prctl.
39433         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39434
39435         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39436         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39437         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39438         New macro.
39439         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39440         (INTERNAL_SYSCALL_TYPES): Likewise.
39441         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39442         (LOAD_REGS_TYPES_[1-6]): Likewise.
39443         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39444         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39445
39446 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39447
39448         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39449         copysignl for GLIBC_2_0.
39450         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39451         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39452         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39453         logbl for GLIBC_2_0.
39454         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39455         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39456
39457 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39458
39459         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39460         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39461
39462         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39463         Use "neg %eax".
39464
39465         * time/mktime.c: Update copyright years.
39466
39467 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39468
39469         mktime: merge comment-quoting-style change from gnulib
39470         * time/mktime.c: Quote 'like this' in comments.
39471         The GNU coding standards suggest that we no longer quote `like this',
39472         as "`" and "'" are typically rendered asymmetrically nowadays.
39473         The typical gnulib style is to quote 'like this' when quoting
39474         code, and "like this" when quoting English.
39475
39476         * time/mktime.c (compile-command): Add "-I.".
39477
39478         mktime: merge mktime-internal.h change from gnulib
39479         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39480
39481         mktime: merge time_r change from gnulib
39482         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39483
39484         mktime: merge DEBUG change from gnulib
39485         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39486         case system <time.h> has a #define.
39487
39488         mktime: merge <sys/types.h> change from gnulib
39489         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39490         since <time.t> is now guaranteed to define time_t.
39491
39492         mktime: merge HAVE_CONFIG_H change from gnulib
39493         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39494
39495 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39496
39497         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39498         Use "neg %eax".
39499
39500         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39501         __rlim_t cast.
39502         (struct rusage): Use anonymous union to pad each field to
39503         __syscall_slong_t.
39504
39505 2012-05-21  David S. Miller  <davem@davemloft.net>
39506
39507         * Makefules (o-iterator): Remove .s cases.
39508         (compile-command.s): Delete.
39509         (COMPILE.s): Delete.
39510         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39511
39512 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39513
39514         * configure.in (libc_cv_predef_stack_protector): Only consider
39515         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39516         * configure: Regenerated.
39517
39518 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39519
39520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39521         New macro.  Use R*LP on int and pointer.
39522         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39523         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39524         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39525         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39526
39527         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39528         [__WORDSIZE_TIME64_COMPAT32] instead of
39529         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39530         (struct utmp): Likewise.
39531         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39532         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39533         Renamed to ...
39534         (__WORDSIZE_TIME64_COMPAT32): This.
39535         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39536         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39537         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39538         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39539         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39540         (__WORDSIZE_TIME64_COMPAT32): New macro.
39541
39542 2012-05-21  Andreas Jaeger  <aj@suse.de>
39543
39544         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39545         only if [SHARED]. Add prototype for __wcschr_ia32.
39546
39547 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39548
39549         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39550         of %rbp unmolested in the jmp_buf while mangling the low bits.
39551         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39552         unmolested high bits of %rbp while demangling the low bits.
39553         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39554
39555 2012-05-21  Andreas Jaeger  <aj@suse.de>
39556
39557         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39558         * sunrpc/svc_simple.c: Use it for registerrpc.
39559         * sunrpc/xcrypt.c: Use it for passwd2des.
39560
39561         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39562
39563 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39564
39565         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39566         Don't define if [__SYSCALL_WORDSIZE != 32].
39567         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39568         New macro.
39569
39570 2012-05-21  Bruno Haible  <bruno@clisp.org>
39571             Andreas Jaeger  <aj@suse.de>
39572
39573         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39574         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39575         inptr and inend for must_buffer_ch.
39576         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39577         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39578         * stdio-common/Makefile (tests): Remove bug15.
39579         (bug15-ENV): Remove macro.
39580         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39581         anymore.
39582
39583 2012-05-19  Andreas Jaeger  <aj@suse.de>
39584             Roland McGrath  <roland@hack.frob.com>
39585
39586         * manual/contrib.texi: Completely rewritten. It contains now an
39587         alphabetical list of contributors and their contributions.
39588
39589 2012-05-21  Richard Henderson  <rth@twiddle.net>
39590
39591         * misc/getauxval.c (__getauxval): Use unsigned long int.
39592         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39593         (getauxval): Use unsigned long int.
39594
39595 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39596
39597         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39598
39599 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39600
39601         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39602         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39603         __alignof__ (long double).
39604
39605 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39606
39607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39608
39609 2012-05-20  Richard Henderson  <rth@twiddle.net>
39610
39611         * misc/getauxval.c: New file.
39612         * misc/sys/auxv.h: New file.
39613         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39614         (routines): Add getauxval.
39615         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39616         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39617         * elf/dl-sysdep.c (_dl_auxv): Remove.
39618         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39619         * elf/dl-support.c (_dl_auxv): New variable.
39620         (_dl_aux_init): Initialize it.
39621         * manual/startup.texi (Auxiliary Vector): New node.
39622         * sysdeps/generic/bits/hwcap.h: New file.
39623         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39624         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39625         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39626         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39627         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39628         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39630         Update.
39631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39634         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39639
39640 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39641
39642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39643
39644 2012-05-19  David S. Miller  <davem@davemloft.net>
39645
39646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39647
39648 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39649
39650         [BZ #14123]
39651         * math/s_ccosh.c: Include <float.h>
39652         (__ccosh): Avoid internal overflow calculating sinh and cosh
39653         values before multiplying by sin and cos values.
39654         * math/s_ccoshf.c: Likewise.
39655         * math/s_ccoshl.c: Likewise.
39656         * math/s_csin.c: Likewise.
39657         * math/s_csinf.c: Likewise.
39658         * math/s_csinl.c: Likewise.
39659         * math/s_csinh.c: Likewise.
39660         * math/s_csinhf.c: Likewise.
39661         * math/s_csinhl.c: Likewise.
39662         * math/libm-test.inc (ccos_test): Add more tests.
39663         (ccosh_test): Likewise.
39664         (csin_test): Likewise.
39665         (csinh_test): Likewise.
39666         * sysdeps/i386/fpu/libm-test-ulps: Update.
39667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39668
39669 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39670
39671         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39672         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39673
39674         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39675
39676 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39677
39678         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39679         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39680         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39681         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39682         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39683         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39684         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39685         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39686         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39687         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39688         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39689         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39690         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39691         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39692         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39693         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39694         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39695         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39696         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39697         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39698         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39699         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39700         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39701         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39702         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39703         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39704         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39705         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39706         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39707         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39708         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39709
39710 2012-05-18  Andreas Jaeger  <aj@suse.de>
39711
39712         * csu/.gitignore: Delete.
39713
39714 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39715
39716         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39717         (timex): Use __syscall_slong_t.
39718
39719 2012-05-18  Andreas Jaeger  <aj@suse.de>
39720             Carlos O'Donell  <carlos_odonell@mentor.com>
39721
39722         * manual/install.texi (Configuring and compiling): Update
39723         description about files modified in the source directory.
39724         * INSTALL: Regenerated.
39725
39726 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39727
39728         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39729         value.  Use "or" to set return value to -1.
39730         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39731         negate return value.
39732
39733 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39734
39735         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39736         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39737         failure if the compiler has Graphite support disabled.
39738         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39739         Likewise.
39740         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39741         (CFLAGS-memmove.c): Likewise.
39742         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39743         Likewise.
39744
39745 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39746
39747         * sysdeps/x86_64/x32/_itoa.h: New file.
39748
39749         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39750         getdents system call only if kernel and user dirents have the
39751         same d_ino and d_off.
39752
39753         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39754         LLONG_MAX != LONG_MAX.
39755         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39756         (_fitoa_word): Likewise.
39757
39758         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39759         years.
39760         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39761         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39762         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39763
39764         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39765         include <bits/wordsize.h>.  Check __x86_64__ instead of
39766         __WORDSIZE.
39767         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39768         if __x86_64__ is defined.  Use anonymous union on fpstate.
39769
39770         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39771         anonymous union.
39772
39773 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39774
39775         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39776         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39777         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39778         Refer to _rtld_local_ro instead of _rtld_global_ro.
39779         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39780         Likewise.
39781         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39782         Likewise.
39783         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39784         Likewise.
39785         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39786         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39787         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39788
39789         * sysdeps/powerpc/powerpc32/dl-machine.c
39790         (__elf_machine_runtime_setup) [PROF]: Don't reference
39791         _dl_prof_resolve.
39792
39793 2012-05-18  Andreas Jaeger  <aj@suse.de>
39794
39795         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39796         function only available for GCCs before 3.4 since GCC 3.4
39797         introduced a builtin.
39798         (lrint): Likewise.
39799         (llrintf): Likewise.
39800         (llrint): Likewise.
39801         (fmaxf): Likewise.
39802         (fmax): Likewise.
39803         (fminf): Likewise.
39804         (fmin): Likewise.
39805         (rint): Likewise.
39806         (rintf): Likewise.
39807         (nearbyint): Likewise.
39808         (nearbyintf): Likewise.
39809         (ceil): Likewise.
39810         (ceilf): Likewise.
39811         (floor): Likewise.
39812         (floorf): Likewise.
39813
39814 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39815
39816         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39817         on both fields and cast pointer to __syscall_ulong_t.
39818
39819         * bits/types.h (__fsword_t): New type.
39820         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39821         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39822         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39823         (__FSWORD_T_TYPE): Likewise.
39824         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39825         (__FSWORD_T_TYPE): Likewise.
39826         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39827         (__FSWORD_T_TYPE): Likewise.
39828         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39829         (__FSWORD_T_TYPE): Likewise.
39830         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39831         __SWORD_TYPE with __fsword_t.
39832         (statfs64): Likewise.
39833
39834 2012-05-17  David S. Miller  <davem@davemloft.net>
39835
39836         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39837
39838 2012-05-17  Andreas Jaeger  <aj@suse.de>
39839
39840         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39841         warning.
39842
39843 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39844
39845         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39846
39847 2012-05-17  Andreas Jaeger  <aj@suse.de>
39848
39849         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39850         when it is used.
39851
39852 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39853
39854         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39855
39856 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39857
39858         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39859         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39860
39861 2012-05-17  Andreas Jaeger  <aj@suse.de>
39862             Carlos O'Donell  <carlos_odonell@mentor.com>
39863
39864         [BZ #14059]
39865         * sysdeps/x86_64/multiarch/init-arch.h
39866         (bit_YMM_Usable): Rename to...
39867         (bit_AVX_Usable): ... this.
39868         (bit_FMA4_Usable): New macro.
39869         (bit_XMM_state): New macro.
39870         (bit_YMM_state): New macro.
39871         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39872         [__ASSEMBLER__] (index_AVX_Usable): ... this.
39873         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39874         (CPUID_OSXSAVE): New macro.
39875         (CPUID_AVX): New macro.
39876         (CPUID_FMA4): New macro.
39877         (index_YMM_Usable): Rename to...
39878         (index_AVX_Usable): ... this.
39879         (HAS_AVX): Use HAS_ARCH_FEATURE.
39880         (HAS_FMA4): Likewise.
39881         (HAS_YMM_USABLE): Remove.
39882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39883         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39884         are present.
39885         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39886         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39887         * sysdeps/x86_64/multiarch/Makefile: Likewise.
39888         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39889         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39890
39891 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39892
39893         * math/libm-test.c: Support platforms without multiple rounding modes.
39894         * math/bug-nextafter.c: Support platforms without FP exceptions.
39895         * math/bug-nexttoward.c: Likewise.
39896         * math/test-fenv.c: Likewise.
39897         * math/test-misc.c: Likewise.
39898         * stdlib/bug-getcontext.c: Likewise.
39899
39900 2012-05-17  Andreas Jaeger  <aj@suse.de>
39901
39902         * manual/examples/search.c (critter_cmp): Change signature to
39903         avoid warnings.
39904         * manual/string.texi (Collation Functions): Likewise.
39905
39906 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39907
39908         * bits/types.h: Fold copyright years.
39909         * bits/typesizes.h: Likewise.
39910         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39911         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39912         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39913         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39914         * time/time.h: Likewise.
39915
39916 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
39917
39918         [BZ #208]
39919         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39920         in instead of returning them.  Return void.
39921         (__libc_mallinfo): Accumulate over all arenas.
39922         (__malloc_stats): Adjust for change in int_mallinfo interface.
39923
39924 2012-05-16  Roland McGrath  <roland@hack.frob.com>
39925
39926         [BZ #10375]
39927         * configure.in (NM): Add AC_CHECK_TOOL for it.
39928         (libc_extra_cflags): New substituted variable.
39929         Check for -fstack-protector being used implicitly.
39930         * configure: Regenerated.
39931         * config.make.in (config-extra-cflags): New variable,
39932         gets @libc_extra_cflags@.
39933         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39934
39935         [BZ #10375]
39936         * configure.in: Check for _FORTIFY_SOURCE being predefined.
39937         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39938         * configure: Regenerated.
39939         * config.make.in (CPPUNDEFS): New substituted variable.
39940         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39941         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39942         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39943
39944 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39945
39946         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39947         (mq_attr): Use __syscall_slong_t.
39948
39949 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39950
39951         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39952         Check __x86_64__ instead of __WORDSIZE.
39953         (_STAT_VER_LINUX): Likewise.
39954         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
39955         __syscall_ulong_t and __syscall_slong_t.
39956         (stat64): Likewise.
39957
39958 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39959
39960         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39961
39962 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39963
39964         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39965
39966 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39967
39968         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39969         __syscall_ulong_t.
39970
39971         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39972         include <bits/wordsize.h>.  Check __x86_64__ instead of
39973         __WORDSIZE.
39974         (greg_t): Use "__extension__ long long int" if __x86_64__ is
39975         defined.
39976         (mcontext_t): Replace "unsigned long" with "unsigned long long".
39977
39978         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39979         include <bits/wordsize.h>.  Check __x86_64__ instead of
39980         __WORDSIZE.
39981         (user_regs_struct): Use "__extension__ unsigned long long"
39982         instead of "unsigned long" if __x86_64__ is defined.
39983         (user): Likewise.  Pad after pointer field if __ILP32__ is
39984         defined.
39985
39986 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
39987
39988         * configure.in (makeinfo): Require version 4.5 or later.  Allow
39989         versions 5 to 9.
39990         * configure: Regenerated.
39991         * manual/install.texi (texinfo): Increase version requirement to
39992         4.5 or later.
39993         * INSTALL: Regenerated.
39994
39995         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39996
39997 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39998
39999         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40000
40001         * sysdeps/x86_64/x32/ffs.c: New file.
40002
40003         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40004         __syscall_ulong_t.
40005         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40006         defined.  Use __syscall_ulong_t.
40007         (shminfo): Use __syscall_ulong_t.
40008         (shm_info): Likewise.
40009
40010         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40011         __syscall_ulong_t.
40012
40013         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40014         <bits/wordsize.h>.
40015         (msgqnum_t): Use __syscall_ulong_t.
40016         (msglen_t): Likewise.
40017         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40018         __syscall_ulong_t.
40019
40020         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40021         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40022
40023         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40024
40025         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40026         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40027
40028         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40029         __syscall_slong_t.
40030
40031         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40032         include <bits/wordsize.h>.  Check __x86_64__ instead of
40033         __WORDSIZE.
40034
40035         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40036         "unsigned long long int" if __x86_64__ is defined.
40037         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40038
40039         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40040         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40041         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40042
40043         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40044         <stdint.h>.
40045         (GET_PC): Cast to uintptr_t first.
40046         (GET_FRAME): Likewise.
40047         (GET_STACK): Likewise.
40048
40049         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40050         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40051         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40052         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40053         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40054         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40055         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40056         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40057         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40058         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40059         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40060         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40061         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40062         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40063         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40064         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40065         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40066         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40067         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40068         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40069         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40070         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40071         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40072         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40073         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40074         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40075         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40076         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40077         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40078
40079 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40080
40081         * Makerules (+depfiles): Also collect depfiles from .oS in
40082         $(extra-objs).
40083         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40084         .oS, $(libnldbl-routines)).
40085
40086         * Makerules (native-compile-mkdep-flags): Define.
40087         * sunrpc/Makefile (extra-objs): Add $(addprefix
40088         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40089         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40090         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40091         calling $(make-target-directory).
40092
40093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40094
40095         * bits/types.h (__snseconds_t): Removed.
40096         * time/time.h (struct timespec): Replace __snseconds_t with
40097         __syscall_slong_t.
40098         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40099         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40100         Likewise.
40101         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40102         (__SNSECONDS_T_TYPE): Likewise.
40103         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40104         (__SNSECONDS_T_TYPE): Likewise.
40105         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40106         (__SNSECONDS_T_TYPE): Likewise.
40107
40108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40109
40110         * sysdeps/mach/hurd/bits/typesizes.h
40111         (__SYSCALL_SLONG_TYPE): New macro.
40112         (__SYSCALL_ULONG_TYPE): Likewise.
40113
40114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40115
40116         * bits/types.h (__syscall_slong_t): New type.
40117         (__syscall_ulong_t): Likewise.
40118
40119         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40120         (__SYSCALL_ULONG_TYPE): Likewise.
40121         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40122         (__SYSCALL_SLONG_TYPE): Likewise.
40123         (__SYSCALL_ULONG_TYPE): Likewise.
40124         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40125         (__SYSCALL_SLONG_TYPE): Likewise.
40126         (__SYSCALL_ULONG_TYPE): Likewise.
40127         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40128         (__SYSCALL_SLONG_TYPE): Likewise.
40129         (__SYSCALL_ULONG_TYPE): Likewise.
40130
40131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40132
40133         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40134         Add sigaltstack-offsets.sym.
40135         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40136         <sigaltstack-offsets.h>.
40137         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40138         longjmp_msg pointer.
40139         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40140         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40141         signal stack.
40142         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40143
40144 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40145
40146         * elf/stackguard-macros.h: Remove file.
40147         * sysdeps/generic/stackguard-macros.h: New file.
40148         * sysdeps/i386/stackguard-macros.h: Likewise.
40149         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40150         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40151         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40152         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40153         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40154         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40155         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40156         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40157         <elf/stackguard-macros.h>.
40158
40159         [BZ #14109]
40160         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40161         __aligned__ in attribute.
40162         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40163         (gregset_t): Likewise.
40164
40165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40166
40167         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40168         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40169         * sysdeps/x86_64/x32/Implies-after: New file.
40170
40171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40172
40173         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40174         and access return value for _dl_profile_fixup.  Use R10_LP to
40175         load frame size.
40176
40177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40178
40179         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40180
40181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40182
40183         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40184         * sysdeps/x86_64/x32/sysdep.h: New file.
40185
40186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40187
40188         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40189         * sysdeps/x86_64/setjmp.S: Likewise.
40190
40191 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40192
40193         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40194         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40195         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40196         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40197         remove unused global constant.
40198
40199 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40200
40201         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40202         include of <not-cancel.h>.
40203
40204 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40205
40206         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40207
40208 2012-05-15  Jeff Law  <law@redhat.com>
40209             Andreas Jaeger  <aj@suse.de>
40210
40211         [BZ #13594]
40212         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40213         out from...
40214         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40215         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40216         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40217         code changing __hst_map_handle.map.
40218
40219 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40220
40221         * configure.in (sysnames): Look for Implies-before and Implies-after
40222         files.
40223         * configure: Regenerated.
40224
40225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40226
40227         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40228         8-byte data alignment with LP_SIZE alignment.
40229
40230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40231
40232         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40233         into R10_LP.
40234
40235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40236
40237         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40238
40239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40240
40241         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40242         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40243         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40244         Likewise.
40245         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40246
40247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40248
40249         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40250         (stackinfo_sub_sp): Likewise.
40251
40252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40253
40254         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40255         RAX_LP.
40256
40257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40258
40259         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40260         into R*_LP.
40261
40262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40263
40264         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40265         sizes into R*_LP.
40266
40267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40268
40269         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40270
40271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40272
40273         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40274         into R11_LP and load __x86_64_shared_cache_size_half into
40275         R8_LP.
40276
40277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40278
40279         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40280         R8_LP.
40281
40282 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40283
40284         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40285         logb for POWER7.
40286         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40287         logbf for POWER7.
40288         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40289         logbl for POWER7.
40290         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40291         powerpc32/power7/fpu/s_logb.c via #include.
40292         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40293         powerpc32/power7/fpu/s_logbf.c via #include.
40294         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40295         powerpc32/power7/fpu/s_logbl.c via #include.
40296
40297 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40298
40299         * README.libm: Remove file.
40300
40301 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40302
40303         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40304         count for x32.  Use R*_LP and omit operand-size suffix.
40305
40306 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40307
40308         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40309         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40310         * sysdeps/x86_64/x32/shlib-versions: New file.
40311
40312 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40313
40314         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40315         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40316         Use _dl_fatal_printf instead.
40317
40318 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40319
40320         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40321         set if not set by the user.  Do not allow for being unset.
40322         * sysdeps/unix/sysv/linux/configure: Regenerated.
40323
40324 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40325
40326         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40327         the `q' suffix from lea and replace .quad with ASM_ADDR.
40328
40329 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40330
40331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40332         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40333         instead of $17.
40334         (PTR_DEMANGLE): Likewise.
40335
40336 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40337
40338         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40339         (LP_OP): Likewise.
40340         (ASM_ADDR): Likewise.
40341         (RAX_LP): Likewise.
40342         (RBP_LP): Likewise.
40343         (RBX_LP): Likewise.
40344         (RCX_LP): Likewise.
40345         (RDI_LP): Likewise.
40346         (RSI_LP): Likewise.
40347         (RSP_LP): Likewise.
40348         (R8_LP): Likewise.
40349         (R9_LP): Likewise.
40350         (R10_LP): Likewise.
40351         (R10_LP): Likewise.
40352         (R11_LP): Likewise.
40353         (R12_LP): Likewise.
40354         (R13_LP): Likewise.
40355         (R14_LP): Likewise.
40356         (R15_LP): Likewise.
40357
40358 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40359
40360         * sysdeps/x86_64/x32/dl-machine.h: New file.
40361
40362 2012-05-14  Andreas Jaeger  <aj@suse.de>
40363
40364         * manual/Makefile (subdir): Remove export of subdir.
40365         (all): Remove target.
40366         (.PHONY): Remove all from list.
40367         (mkinstalldirs): Remove.
40368         (.PHONY): Remove installdirs from list.
40369         ($(inst_infodir)/libc.info): Use make-target-directory.
40370         (installdirs): Remove.
40371         (subdir_%): Remove.
40372         (glibc-targets): Remove.
40373         (lib): Remove.
40374         (stubs): Remove.
40375         ($(objpfx)stubs ../po/manual.pot): Remove.
40376         ($(objpfx)stamp%): Remove.
40377         (make-target-directory): Remove.
40378         (subdir_install): Remove.
40379         (routines): Remove.
40380         (aux): Remove.
40381         (sources): Remove.
40382         (objects): Remove.
40383         (headers): Remove.
40384
40385         [BZ #13750]
40386         * manual/.gitignore: Remove, it's not needed anymore.
40387         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40388         all files in it.
40389         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40390         directory.
40391         (texis): Renamed to $(objpfx)texis.
40392         (texis-path): New, contains path to generated files.
40393         (chapters.%): Use texis-path for complete path, add extra argument
40394         libc-texinfo.sh.
40395         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40396         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40397         (summary,texi, stamp-summary): Use complete path of
40398         files. Generate files in build dir.
40399         (dir-add.texi): Build in build dir.
40400         (libm-err.texi,stamp-libm-err): Likewise.
40401         (version.texi, stamp-version): Likewise.
40402         (.%c.texi): Likewise.
40403         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40404         (mostlyclean): Remove target.
40405         (realclean): Remove target.
40406         (generated): Add new variable with contents from mostlyclean and
40407         realclean, remove entries duplicated in common-mostlyclean, add
40408         stamp-libm-err and stamp-version.
40409         (generated-dirs): Add libc directory.
40410         ($(inst_infodir)/libc.info): Install files from build dir.
40411
40412         * manual/install.texi (Configuring and compiling): Adjust since
40413         the info files are not part of the tar ball anymore.
40414
40415 2012-05-14  Andreas Jaeger  <aj@suse.de>
40416
40417         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40418         variable.
40419
40420 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40421
40422         [BZ #13717]
40423         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40424         to 2.2.0 where earlier.
40425         * sysdeps/unix/sysv/linux/configure: Regenerated.
40426         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40427         Remove conditional code.
40428         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40429         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40430         Remove conditional code.
40431         [!__NR_lchown]: Likewise.
40432         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40433         [__NR_lchown]: Likewise.
40434         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40435         comment referencing __ASSUME_LCHOWN_SYSCALL.
40436         * sysdeps/unix/sysv/linux/i386/sigaction.c
40437         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40438         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40439         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40440         Remove conditional code.
40441         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40442         (__protocol_available): Remove #if 0 code.
40443         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40444         conditional code.
40445         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40446         * sysdeps/unix/sysv/linux/kernel-features.h
40447         (__ASSUME_GETCWD_SYSCALL): Don't define.
40448         (__ASSUME_REALTIME_SIGNALS): Likewise.
40449         (__ASSUME_PREAD_SYSCALL): Likewise.
40450         (__ASSUME_PWRITE_SYSCALL): Likewise.
40451         (__ASSUME_POLL_SYSCALL): Likewise.
40452         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40453         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40454         non-SPARC.
40455         (__ASSUME_SIOCGIFNAME): Don't define.
40456         (__ASSUME_MSG_NOSIGNAL): Likewise.
40457         (__ASSUME_SENDFILE): Define unconditionally.
40458         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40459         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40460         conditional code.
40461         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40462         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40463         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40464         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40465         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40466         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40467         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40469         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40470         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40472         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40473         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40475         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40476         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40478         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40479         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40481         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40482         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40484         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40485         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40487         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40488         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40490         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40491         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40492         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40493         Remove conditional code.
40494         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40495         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40496         Remove conditional code.
40497         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40498         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40499         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40500         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40501         Remove conditional code.
40502         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40503         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40504         Remove conditional code.
40505         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40506         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40507         Remove conditional code.
40508         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40509         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40510         Remove conditional code.
40511         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40512         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40513         Remove conditional code.
40514         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40515         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40516         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40517         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40518         * sysdeps/unix/sysv/linux/sigaction.c
40519         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40520         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40521         * sysdeps/unix/sysv/linux/sigpending.c
40522         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40523         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40524         * sysdeps/unix/sysv/linux/sigprocmask.c
40525         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40526         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40527         * sysdeps/unix/sysv/linux/sigsuspend.c
40528         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40529         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40530         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40531         (__libc_missing_rt_sigs): Remove.
40532         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40533         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40534         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40535         Remove conditional code.
40536         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40537         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40538         return 1.
40539         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40540         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40541         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40542         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40543
40544 2012-05-14  Andreas Jaeger  <aj@suse.de>
40545
40546         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40547         it's not used in glibc.
40548         (__coshm1): Likewise.
40549         (__acosh1p): Likewise.
40550         (__sgn): Likewise.
40551
40552         * manual/string.texi (Copying and Concatenation): Add missing
40553         variable in concat example.
40554         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40555
40556 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40557
40558         [BZ #14103]
40559         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40560         __builtin_clzl with __builtin_clzll.
40561
40562 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40563
40564         [BZ #14104]
40565         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40566         libc_freeres_ptr.
40567
40568 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40569
40570         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40571         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40572         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40573         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40574
40575 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40576
40577         * NEWS: Update ia64 info.
40578
40579 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40580
40581         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40582         used as bcopy.
40583
40584 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40585
40586         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40587         * sysdeps/unix/syscalls.list (dup3): Likewise.
40588         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40589         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40590
40591 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40592
40593         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40594         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40595
40596 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40597
40598         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40599         thread pointer.
40600         (TLS_IE): Use mov/add instead of movq/addq to load thread
40601         pointer.
40602         (TLS_GD_PREFIX): New.
40603         (TLS_GD): Use it.
40604
40605 2012-05-11  David S. Miller  <davem@davemloft.net>
40606
40607         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40608         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40609         (_FPU_SETCW): Likewise.
40610
40611 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40612
40613         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40614         is 32-byte aligned.
40615
40616 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40617
40618         [BZ #11837]
40619         * iconvdata/gb18030.c: Update tables.
40620         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40621         characters specially.
40622         (BODY for TO_LOOP): Add encoding of missing ranges.
40623
40624 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40625
40626         [BZ #13673]
40627         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40628         * sysdeps/mach/hurd/dup3.c: Likewise.
40629         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40630         * sysdeps/powerpc/memmove.c:: Likewise.
40631
40632 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40633
40634         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40635         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40636
40637 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40638
40639         * elf/elf.h (R_X86_64_RELATIVE64): New.
40640         (R_X86_64_NUM): Updated.
40641         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40642         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40643         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40644         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40645         tst-quad1pie tst-quad2pie
40646         (modules-names): Add tst-quadmod1 tst-quadmod2.
40647         ($(objpfx)tst-quad1): New dependency.
40648         ($(objpfx)tst-quad2): Likewise.
40649         ($(objpfx)tst-quad1pie): Likewise.
40650         ($(objpfx)tst-quad2pie): Likewise.
40651         * sysdeps/x86_64/tst-quad1.c: New file.
40652         * sysdeps/x86_64/tst-quad1pie.c: New file.
40653         * sysdeps/x86_64/tst-quad2.c: Likewise.
40654         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40655         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40656         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40657         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40658         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40659
40660 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40661
40662         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40663         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40664         * streams/stropts.h (t_scalar_t): Define type.
40665
40666         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40667         (_PATH_PRESERVE): Set to "/var/lib".
40668         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40669
40670         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40671         instead of int.
40672
40673         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40674         if __dir_mkfile succeeded.
40675
40676         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40677         checking for _hurd_dtablesize.  Unlock it right after having
40678         finished _hurd_dtable allocation.
40679
40680 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40681
40682         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40683         * sysdeps/mach/hurd/configure: Regenerated.
40684         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40685         special-casing to...
40686         * sysdeps/gnu/configure.in: ... this new file.
40687         * sysdeps/unix/sysv/linux/configure: Regenerated.
40688         * sysdeps/gnu/configure: New generated file.
40689
40690         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40691         for Linux: use nsec instead of usec, as well as:
40692         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40693         members of type struct timespec.
40694         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40695         New macros.
40696         (struct stat64): Likewise.
40697         (_STATBUF_ST_NSEC): New macro.
40698         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40699
40700         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40701         __strtoul_internal rather than strtoul.
40702
40703 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40704
40705         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40706         and reject them.
40707
40708 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40709
40710         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40711         which preserves existing values.
40712         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40713
40714 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40715
40716         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40717         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40718         greater than FD_SETSIZE.
40719
40720 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40721
40722         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40723         allocated, call __vm_protect to finish enabling the existing space, and
40724         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40725         allocate the remainder.
40726
40727 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40728
40729         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40730         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40731
40732 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40733
40734         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40735         sysdeps/mach/hurd/readlink.c.
40736
40737         * posix/tst-sysconf.c (posix_options): Only use
40738         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40739         _POSIX_SYNCHRONIZED_IO when they are defined
40740         * sysdeps/mach/hurd/bits/posix_opt.h:
40741         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40742         (_XOPEN_REALTIME): Undefine macro.
40743         (_XOPEN_REALTIME_THREADS): Undefine macro.
40744         (_XOPEN_SHM): Undefine macro.
40745         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40746         macro to -1.
40747         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40748         macro to -1.
40749         (_POSIX_ASYNC_IO): Undefine macro.
40750         (_POSIX_PRIORITIZED_IO): Undefine macro.
40751         (_POSIX_SPIN_LOCKS): Define macro to -1.
40752
40753         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40754         SA_NODEFER, SA_RESETHAND.
40755         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40756         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40757         F_DUPFD_CLOEXEC.
40758
40759 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40760
40761         * elf/Makefile (pldd-modules): Define unconditionally.
40762
40763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40764
40765         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40766
40767 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40768
40769         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40770         Return ENOENT when name is empty.
40771         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40772
40773 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40774
40775         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40776
40777         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40778
40779 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40780
40781         Fix mlock in all cases except non-readable pages.
40782         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40783         instead of VM_PROT_ALL as parameter to __vm_wire function.
40784
40785         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40786         (__mkdir): When path is `/', just fail with EEXIST.
40787         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40788
40789 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40790
40791         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40792         <sys/uio.h> (for writev).
40793         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40794         and <sys/param.h> (for MIN).
40795
40796 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40797
40798         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40799         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40800         if interrupted.
40801
40802 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40803
40804         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40805         Depend on against $(link-rpcuserlibs).
40806
40807 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40808
40809         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40810         (__libc_stack_end): Do not use attribute_relro.
40811         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40812         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40813         to libthread-provided value.
40814         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40815         attribute_relro.
40816
40817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40818
40819         [BZ #3748]
40820         * bits/libc-lock.h (__libc_once_get): New macro.
40821         * sysdeps/mach/bits/libc-lock.h: Likewise.
40822         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40823         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40824         instead of using implementation details.
40825
40826         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40827         * libio/freopen.c: Likewise.
40828         * libio/freopen64.c: Likewise.
40829         * misc/syslog.c: Likewise.
40830         * nscd/connections.c: Likewise.
40831         * nscd/netgroupcache.c: Likewise.
40832         * sysdeps/posix/getcwd.c: Likewise.
40833
40834 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40835
40836         * math/w_ilogbf.c: Add #include <limits.h>.
40837
40838 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40839
40840         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40841         path instead of returning without unlocking.
40842
40843         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40844         immediate-write ioctls.
40845         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40846
40847 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40848
40849         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40850         __builtin_frame_address instead of making assumptions about the
40851         location of the return address relative to DATA.  Force early load of
40852         the return address.
40853         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40854         __builtin_frame_address.
40855
40856         dup3 for GNU Hurd.
40857         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40858         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40859         implement dup3 and do some further code clean-ups.
40860         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40861         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40862
40863 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40864
40865         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40866
40867         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40868         HURD_CRITICAL_END around holding _hurd_dtable_lock.
40869         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40870         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40871         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40872         d->port.lock.
40873
40874         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40875         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
40876         when handler == SIG_ERR, not when handler != SIG_ERR.
40877
40878 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40879
40880         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40881         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40882         definitions.
40883
40884         accept4 for GNU Hurd.
40885         * include/sys/socket.h (__libc_accept4): New prototype.
40886         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
40887         to implement __libc_accept4.
40888         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40889         __libc_accept4.
40890         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40891
40892         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40893         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40894         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40895         signal-defines.sym.
40896
40897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40898
40899         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40900
40901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40902
40903         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40904         assertion on O_CLOEXEC flag.
40905         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40906         * hurd/intern-fd.c: Likewise.
40907         * hurd/port2fd.c: Likewise.
40908
40909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40910
40911         [BZ #3906]
40912         * bits/in.h (IPV6_PKTINFO): Define new macro.
40913         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40914
40915 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40916
40917         [BZ #13954]
40918         [BZ #13955]
40919         [BZ #13956]
40920         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40921         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40922         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40923         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40924         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40925         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40926         * math/libm-test.inc (logb_test) : Additional logb tests.
40927
40928 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
40929             Andreas Jaeger  <aj@suse.de>
40930
40931         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40932         * configure: Regenerated.
40933         * config.h.in (LINK_OBSOLETE_RPC): New macro.
40934         * config.make.in (link-obsolete-rpc): New substituted variable.
40935         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40936         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40937         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40938         (shared-only-routines): Don't set it under [link-obsolete-rpc],
40939         so that libc.a contains the symbols.
40940         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40941         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40942         * sunrpc/auth_none.c: Likewise.
40943         * sunrpc/auth_unix.c: Likewise.
40944         * sunrpc/authdes_prot.c: Likewise.
40945         * sunrpc/authuxprot.c: Likewise.
40946         * sunrpc/clnt_gen.c: Likewise.
40947         * sunrpc/clnt_perr.c: Likewise.
40948         * sunrpc/clnt_raw.c: Likewise.
40949         * sunrpc/clnt_simp.c: Likewise.
40950         * sunrpc/clnt_tcp.c: Likewise.
40951         * sunrpc/clnt_udp.c: Likewise.
40952         * sunrpc/clnt_unix.c: Likewise.
40953         * sunrpc/des_crypt.c: Likewise.
40954         * sunrpc/des_soft.c: Likewise.
40955         * sunrpc/get_myaddr.c: Likewise.
40956         * sunrpc/key_call.c: Likewise.
40957         * sunrpc/key_prot.c: Likewise.
40958         * sunrpc/netname.c: Likewise.
40959         * sunrpc/pm_getmaps.c: Likewise.
40960         * sunrpc/pm_getport.c: Likewise.
40961         * sunrpc/pmap_clnt.c: Likewise.
40962         * sunrpc/pmap_prot.c: Likewise.
40963         * sunrpc/pmap_prot2.c: Likewise.
40964         * sunrpc/pmap_rmt.c: Likewise.
40965         * sunrpc/publickey.c: Likewise.
40966         * sunrpc/rpc_cmsg.c: Likewise.
40967         * sunrpc/rpc_common.c: Likewise.
40968         * sunrpc/rpc_dtable.c: Likewise.
40969         * sunrpc/rpc_prot.c: Likewise.
40970         * sunrpc/rpc_thread.c: Likewise.
40971         * sunrpc/rtime.c: Likewise.
40972         * sunrpc/svc.c: Likewise.
40973         * sunrpc/svc_auth.c: Likewise.
40974         * sunrpc/svc_raw.c: Likewise.
40975         * sunrpc/svc_run.c: Likewise.
40976         * sunrpc/svc_tcp.c: Likewise.
40977         * sunrpc/svc_udp.c: Likewise.
40978         * sunrpc/svc_unix.c: Likewise.
40979         * sunrpc/svcauth_des.c: Likewise.
40980         * sunrpc/xcrypt.c: Likewise.
40981         * sunrpc/xdr.c: Likewise.
40982         * sunrpc/xdr_array.c: Likewise.
40983         * sunrpc/xdr_float.c: Likewise.
40984         * sunrpc/xdr_intXX_t.c: Likewise.
40985         * sunrpc/xdr_mem.c: Likewise.
40986         * sunrpc/xdr_rec.c: Likewise.
40987         * sunrpc/xdr_ref.c: Likewise.
40988         * sunrpc/xdr_sizeof.c: Likewise.
40989         * sunrpc/xdr_stdio.c: Likewise.
40990
40991 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40992
40993         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40994         change.  Update copyright years.
40995
40996 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40997
40998         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40999
41000 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41001             Joseph Myers  <joseph@codesourcery.com>
41002             Paul Pluzhnikov  <ppluzhnikov@google.com>
41003
41004         [BZ #14012]
41005         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41006         requiring rpcgen.
41007         [cross-compiling] (extra-libs): Likewise.
41008         [cross-compiling] (extra-libs-others): Likewise.
41009         [cross-compiling] (librpcsvc-routines): Likewise.
41010         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41011         [cross-compiling] (omit-deps): Likewise.
41012         (sunrpc-CPPFLAGS): New variable.
41013         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41014         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41015         (cross-rpcgen-objs): New variable.
41016         (extra-objs): Append $(cross-rpcgen-objs).
41017         ($(cross-rpcgen-objs)): New rule.
41018         ($(objpfx)cross-rpcgen): Likewise.
41019         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41020         comment.
41021         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41022         ($(objpfx)x%.stmp): Likewise.
41023         * sunrpc/proto.h [IS_IN_build] (_): Define.
41024         [IS_IN_build] (_libc_intl_domainname): Likewise.
41025
41026 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41027
41028         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41029         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41030         and R_X86_64_TPOFF64.
41031
41032 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41033
41034         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41035         sysdeps/unix/sysv/syscalls.list.
41036         (stime): Likewise.
41037         (utime): Likewise.
41038         * sysdeps/unix/sysv/syscalls.list: Remove file.
41039
41040 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41041
41042         [BZ #3440]
41043         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41044         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41045         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41046         (__LC_IDENTIFICATION): Make these macros useful in #if
41047         expressions, as required by C99.
41048
41049 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41050
41051         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41052         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41053         after this.
41054
41055 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41056
41057         * stdlib/longlong.h: Updated from GCC.
41058
41059 2012-05-09  Andreas Jaeger  <aj@suse.de>
41060
41061         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41062         default is first entry.
41063         (run_mode): Set type.
41064         (main): Remove informal message about syslog.
41065         (options): Fix typo.
41066
41067         [BZ #14053]
41068         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41069         to asm.
41070         (lrint): Likewise.
41071         (llrintf): Likewise.
41072         (llrint): Likewise.
41073         (rint): Likewise.
41074         (rintf): Likewise.
41075         (nearbyint): Likewise.
41076         (nearbyintf): Likewise.
41077
41078 2012-05-09  Andreas Jaeger  <aj@suse.de>
41079             Pedro Alves  <palves@redhat.com>
41080
41081         * nscd/nscd.c (run_mode): Use enum.
41082         (main): Cleanup coding style issue.
41083
41084 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41085             Andreas Jaeger  <aj@suse.de>
41086
41087         * nscd/nscd.c (go_background): Replaced with...
41088         (run_mode): ... this.
41089         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41090         (options): Add -F --foreground.
41091         (main): Implement it.
41092         (parse_opt): Parse it.
41093
41094 2012-05-09  Andreas Jaeger  <aj@suse.de>
41095
41096         [BZ #14083]
41097         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41098         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41099         -Wconversion warning.
41100         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41101         Likewise.
41102
41103 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41104
41105         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41106         == 0.
41107         (LC_ALL): Use macro-int-constant.
41108         (LC_COLLATE): Likewise.
41109         (LC_CTYPE): Likewise.
41110         (LC_MESSAGES): Likewise.
41111         (LC_MONETARY): Likewise.
41112         (LC_NUMERIC): Likewise.
41113         (LC_TIME): Likewise.
41114         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41115         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41116         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41117         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41118         Specify type.
41119         [C99-based standards] (float_t): Expect type.
41120         [C99-based standards] (double_t): Expect type.
41121         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41122         type.
41123         [C99-based standards] (HUGE_VALL): Likewise.
41124         [C99-based standards] (INFINITY): Likewise.
41125         [C99-based standards] (NAN): Likewise.
41126         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41127         [C99-based standards] (FP_NAN): Likewise.
41128         [C99-based standards] (FP_NORMAL): Likewise.
41129         [C99-based standards] (FP_SUBNORMAL): Likewise.
41130         [C99-based standards] (FP_ZERO): Likewise.
41131         [C99-based standards] (FP_FAST_FMA): Use
41132         optional-macro-int-constant.  Specify type.  Require == 1.
41133         [C99-based standards] (FP_FAST_FMAF): Likewise.
41134         [C99-based standards] (FP_FAST_FMAL): Likewise.
41135         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41136         [C99-based standards] (FP_ILOGBNAN): Likewise.
41137         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41138         Specify type.
41139         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41140         [C99-based standards] (math_errhandling): Specify type.
41141         [ISO99 || ISO11] (signgam): Do not allow.
41142         [non-C99-based standards] (copysignf): Do not allow.
41143         [non-C99-based standards] (exp2f): Likewise.
41144         [non-C99-based standards] (log2f): Likewise.
41145         [non-C99-based standards] (modff): Allow.
41146         [non-C99-based standards] (erff): Do not allow.
41147         [non-C99-based standards] (erfcf): Likewise.
41148         [non-C99-based standards] (gammaf): Likewise.
41149         [non-C99-based standards] (hypotf): Likewise.
41150         [non-C99-based standards] (j0f): Likewise.
41151         [non-C99-based standards] (j1f): Likewise.
41152         [non-C99-based standards] (jnf): Likewise.
41153         [non-C99-based standards] (lgammaf): Likewise.
41154         [non-C99-based standards] (tgammaf): Likewise.
41155         [non-C99-based standards] (y0f): Likewise.
41156         [non-C99-based standards] (y1f): Likewise.
41157         [non-C99-based standards] (ynf): Likewise.
41158         [non-C99-based standards] (isnanf): Likewise.
41159         [non-C99-based standards] (acoshf): Likewise.
41160         [non-C99-based standards] (asinhf): Likewise.
41161         [non-C99-based standards] (atanhf): Likewise.
41162         [non-C99-based standards] (cbrtf): Likewise.
41163         [non-C99-based standards] (expm1f): Likewise.
41164         [non-C99-based standards] (ilogbf): Likewise.
41165         [non-C99-based standards] (log1pf): Likewise.
41166         [non-C99-based standards] (logbf): Likewise.
41167         [non-C99-based standards] (nextafterf): Likewise.
41168         [non-C99-based standards] (remainderf): Likewise.
41169         [non-C99-based standards] (rintf): Likewise.
41170         [non-C99-based standards] (scalbf): Likewise.
41171         [non-C99-based standards] (copysignl): Likewise.
41172         [non-C99-based standards] (exp2l): Likewise.
41173         [non-C99-based standards] (log2l): Likewise.
41174         [non-C99-based standards] (modfl): Allow.
41175         [non-C99-based standards] (erfl): Do not allow.
41176         [non-C99-based standards] (erfcl): Likewise.
41177         [non-C99-based standards] (gammal): Likewise.
41178         [non-C99-based standards] (hypotl): Likewise.
41179         [non-C99-based standards] (j0l): Likewise.
41180         [non-C99-based standards] (j1l): Likewise.
41181         [non-C99-based standards] (jnl): Likewise.
41182         [non-C99-based standards] (lgammal): Likewise.
41183         [non-C99-based standards] (tgammal): Likewise.
41184         [non-C99-based standards] (y0l): Likewise.
41185         [non-C99-based standards] (y1l): Likewise.
41186         [non-C99-based standards] (ynl): Likewise.
41187         [non-C99-based standards] (isnanl): Likewise.
41188         [non-C99-based standards] (acoshl): Likewise.
41189         [non-C99-based standards] (asinhl): Likewise.
41190         [non-C99-based standards] (atanhl): Likewise.
41191         [non-C99-based standards] (cbrtl): Likewise.
41192         [non-C99-based standards] (expm1l): Likewise.
41193         [non-C99-based standards] (ilogbl): Likewise.
41194         [non-C99-based standards] (log1pl): Likewise.
41195         [non-C99-based standards] (logbl): Likewise.
41196         [non-C99-based standards] (nextafterl): Likewise.
41197         [non-C99-based standards] (remainderl): Likewise.
41198         [non-C99-based standards] (rintl): Likewise.
41199         [non-C99-based standards] (scalbl): Likewise.
41200         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41201         [non-C99-based standards] (FP_*): Do not allow.
41202         [C99-based standards] (FP_*): Change to
41203         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41204         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41205         allow.
41206         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41207         (SIG_ERR): Likewise.
41208         [X/Open-based standards] (SIG_HOLD): Likewise.
41209         (SIG_IGN): Likewise.
41210         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41211         positive value.
41212         (SIGFPE): Likewise.
41213         (SIGILL): Likewise.
41214         (SIGINT): Likewise.
41215         (SIGSEGV): Likewise.
41216         (SIGTER): Likewise.
41217         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41218         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41219         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41220         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41221         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41222         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41223         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41224         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41225         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41226         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41227         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41228         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41229         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41230         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41231         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41232         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41233         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41234         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41235         [X/Open-based standards] (SIGTRAP): Likewise.
41236         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41237         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41238         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41239         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41240         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41241         allow.
41242
41243 2012-05-08  Ian Wienand  <ianw@vmware.com>
41244
41245         [BZ #14080]
41246         * time/tzset.c (__tzset_parse_tz): Update default rules for
41247         daylight time changes in the Energy Policy Act of 2005.
41248
41249 2012-05-09  Andreas Jaeger  <aj@suse.de>
41250
41251         [BZ #13983]
41252         * elf/ldconfig.c (parse_conf): Change string to make clear that
41253         ldconfig only issued a warning if ld.so.conf does not exist.
41254
41255 2012-05-08  David S. Miller  <davem@davemloft.net>
41256
41257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41258         movxtod instead of popping the value on the stack.
41259
41260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41261
41262 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41263
41264         * config.h.in: Add HAVE_ARM_PCS_VFP.
41265
41266 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41267
41268         [BZ #13979]
41269         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41270         checking but the checks are disabled for any reason.
41271
41272 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41273
41274         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41275         and ELF64_R_TYPE with ELFW(R_TYPE).
41276
41277 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41278
41279         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41280         (ulimit): Likewise.
41281
41282         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41283         (settimeofday): Likewise.
41284
41285 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41286
41287         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41288         a struct th_u2 inside the union, and move tu_block/tu_code into
41289         a new th_u3 union of tu_block/tu_code inside of that.  Move
41290         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41291         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41292         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41293         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41294         (th_stuff): Change to th_u1.tu_stuff.
41295         (th_data): Define.
41296         (th_msg): Change to th_u1.th_u2.tu_data.
41297
41298 2012-05-07  David S. Miller  <davem@davemloft.net>
41299
41300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41301
41302         [BZ #14074]
41303         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41304         (SETUP_PIC_REG): Use it.
41305         (SETUP_PIC_REG_LEAF): Use it.
41306
41307 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41308
41309         [BZ #13885]
41310         [BZ #13923]
41311         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41312         USE_AS_EXPM1L.
41313         (EXPL_FINITE): Likewise.
41314         (FLDLOG): Likewise.
41315         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41316         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41317         e_expl.S.
41318         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41319         USE_AS_EXPM1L.
41320         (EXPL_FINITE): Likewise.
41321         (FLDLOG): Likewise.
41322         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41323         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41324         e_expl.S.
41325         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41326         test of -max_value argument for long double.
41327         * sysdeps/i386/fpu/libm-test-ulps: Update.
41328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41329
41330 2012-05-06  David S. Miller  <davem@davemloft.net>
41331
41332         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41333         quad soft-float symbols whose references which are compiler
41334         generated.
41335         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41336
41337 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41338
41339         [BZ #13884]
41340         [BZ #13914]
41341         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41342         USE_AS_EXP10L.
41343         (EXPL_FINITE): Likewise.
41344         (FLDLOG): Likewise.
41345         (c0): Likewise.
41346         (c1): Likewise.
41347         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41348         Adjust comments for base varying.
41349         (__expl_finite): Change alias to EXPL_FINITE.
41350         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41351         e_expl.S.
41352         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41353         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41354         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41355         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41356         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41357         USE_AS_EXP10L.
41358         (EXPL_FINITE): Likewise.
41359         (FLDLOG): Likewise.
41360         (c0): Likewise.
41361         (c1): Likewise.
41362         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41363         Adjust comments for base varying.
41364         (__expl_finite): Change alias to EXPL_FINITE.
41365         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41366         tests for bugs.
41367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41368
41369         [BZ #14064]
41370         * math/libm-test.inc (check_float_internal): Correct ulp
41371         calculation for subnormal expected results.
41372
41373 2012-05-06  Andreas Jaeger  <aj@suse.de>
41374
41375         * Makeconfig (+math-flags): New, set to -frounding-math.
41376         (+cflags): Add +math-flags so that all of glibc gets compiled with
41377         it.
41378
41379         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41380
41381 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41382
41383         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41384         Disable one test.
41385
41386         [BZ #13787]
41387         [BZ #13922]
41388         [BZ #14036]
41389         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41390         (__ieee754_expl): Allow for and saturate large arguments.
41391         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41392         (u_threshold): Likewise.
41393         (__exp): Call __ieee754_exp before checking for overflow and
41394         underflow.
41395         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41396         (u_threshold): Likewise.
41397         (__expf): Call __ieee754_expf before checking for overflow and
41398         underflow.
41399         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41400         (u_threshold): Likewise.
41401         (__expl): Call __ieee754_expl before checking for overflow and
41402         underflow.
41403         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41404         (__ieee754_expl): Allow for and saturate large arguments.
41405         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41406         missing overflow exception on overflow.
41407         (expm1_test): Do not allow missing overflow exception on overflow.
41408
41409         * sysdeps/i386/fpu/e_expl.c: Move to ...
41410         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41411         rather than using inline asm.
41412         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41413         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41414         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41415
41416         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41417         (nice): Likewise.
41418         (poll): Likewise.
41419         (signal): Likewise.
41420         (time): Likewise.
41421         (times): Likewise.
41422
41423 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41424
41425         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41426         sysdeps/unix/common/syscalls.list.
41427         (fchmod): Likewise.
41428         (fchown): Likewise.
41429         (ftruncate): Likewise.
41430         (getrusage): Likewise.
41431         (gettimeofday): Likewise.
41432         (setpgid): Likewise.
41433         (setregid): Likewise.
41434         (setreuid): Likewise.
41435         (sigaction): Likewise.
41436         (truncate): Likewise.
41437         (vhangup): Likewise.
41438         * sysdeps/unix/common/syscalls.list: Remove file.
41439         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41440         * sysdeps/unix/sysv/linux/Implies: Likewise.
41441
41442 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41443
41444         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41446         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41447         Moved to ...
41448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41449         Here.
41450         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41451         to ...
41452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41453         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41454         to ...
41455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41456         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41457         to ...
41458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41459         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41460         to ...
41461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41462         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41463         to ...
41464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41465         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41466         to ...
41467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41468         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41469         to ...
41470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41471         Here.
41472         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41473         to ...
41474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41475         Here.
41476         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41477         to ...
41478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41479         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41480         Moved to ...
41481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41482         Here.
41483         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41484         to ...
41485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41486
41487 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41488
41489         * sysdeps/unix/common/bits/dirent.h: Remove file.
41490         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41491
41492         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41493         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41494         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41495         * sysdeps/unix/bsd/isatty.c: Likewise.
41496         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41497         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41498         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41499
41500 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41501
41502         [BZ #13563]
41503         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41504         long double comparison inaccuracies.
41505         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41507
41508 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41509
41510         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41511         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41512
41513 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41514
41515         [BZ #14049]
41516         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41517         nonzero digits before rounding a hex value.
41518         * stdlib/tst-strtod.c (tests): Add another test.
41519
41520 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41521
41522         * sysdeps/s390/fpu/libm-test-ulps: Update.
41523
41524 2012-05-03  Andreas Jaeger  <aj@suse.de>
41525
41526         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41527         does not get optimized out.
41528         (malloc_opt_barrier): New.
41529
41530 2012-05-03  Andreas Jaeger  <aj@suse.de>
41531             Roland McGrath  <roland@hack.frob.com>
41532
41533         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41534         intermediate file deletion.
41535         (generated): Add .symlist files.
41536
41537 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41538
41539         [BZ #13775]
41540         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41541         Redirect under this condition.
41542         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41543         [__USE_GNU] (__dprintf_chk): Not under this condition.
41544         [__USE_GNU] (__vdprintf_chk): Likewise.
41545         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41546         under this condition.
41547         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41548         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41549         [__USE_XOPEN2K8] (vdprintf): Likewise.
41550         [__USE_GNU] (__dprintf_chk): Not under this condition.
41551         [__USE_GNU] (__vdprintf_chk): Likewise.
41552         [__USE_GNU] (dprintf): Likewise.
41553         [__USE_GNU] (vdprintf): Likewise.
41554
41555 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41556
41557         * elf/Makefile (common-generated): Set this instead of generated for
41558         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41559         $(all-built-dso)-derived lists.
41560
41561 2012-05-03  Andreas Jaeger  <aj@suse.de>
41562
41563         * sysdeps/i386/fpu/libm-test-ulps: Update.
41564
41565         * FAQ: Removed.
41566         * FAQ.in: Likewise.
41567         * scripts/gen-FAQ.pl: Likewise.
41568         * manual/install.texi (Installation): Point to online location of
41569         FAQ.
41570         * Makefile (files-for-dist): Remove FAQ.
41571         (FAQ): Remove.
41572
41573 2012-05-02  Allan McRae  <allan@archlinux.org>
41574
41575         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41576         (LDFLAGS-reldepmod5.so): Likewise.
41577         (LDFLAGS-reldep6mod1.so): Likewise.
41578         (LDFLAGS-reldep6mod4.so): Likewise.
41579         (LDFLAGS-reldep8mod3.so): Likewise.
41580         (LDFLAGS-unload4mod1.so): Likewise.
41581         (LDFLAGS-unload4mod2.so): Likewise.
41582         (LDFLAGS-tst-initorder): Likewise.
41583         (LDFLAGS-tst-initordera2.so): Likewise.
41584         (LDFLAGS-tst-initordera3.so): Likewise.
41585         (LDFLAGS-tst-initordera4.so): Likewise.
41586         (LDFLAGS-tst-initorderb2.so): Likewise.
41587         (LDFLAGS-noload): Likewise.
41588         (LDFLAGS-next): Likewise.
41589         (LDFLAGS-order2mod1.so): Likewise.
41590         (LDFLAGS-order2mod2.so): Likewise.
41591         (LDFLAGS-tst-initorder2): Likewise.
41592         (LDFLAGS-tst-initorder2a.so): Likewise.
41593         (LDFLAGS-tst-initorder2b.so): Likewise.
41594         (LDFLAGS-tst-initorder2c.so): Likewise.
41595         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41596
41597 2012-05-02  David S. Miller  <davem@davemloft.net>
41598
41599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41600
41601 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41602
41603         [BZ #14055]
41604         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41605
41606 2012-05-02  Andreas Jaeger  <aj@suse.de>
41607
41608         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41609         since we manipulate rounding mode.
41610         (CPPFLAGS-test-idouble.c): Likewise.
41611         (CPPFLAGS-test-ifloat.c): Likewise.
41612         (CFLAGS-test-ldouble.c): Likewise.
41613         (CFLAGS-test-double.c): Likewise.
41614         (CFLAGS-test-float.c): Likewise.
41615         (CFLAGS-test-misc.c): Likewise.
41616         (CFLAGS-test-test-fenv.c): Likewise.
41617
41618 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41619
41620         [BZ #2550]
41621         [BZ #2570]
41622         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41623         comparisons to determine direction to adjust input.
41624
41625 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41626
41627         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41628         output to the target.
41629
41630         * scripts/localplt.awk: New file.
41631         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41632         (check-localplt-CFLAGS): Variable removed.
41633         ($(all-built-dso:=.jmprel)): New static pattern rule.
41634         (generated): Add those targets.
41635         (localplt-built-dso): New variable.
41636         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41637
41638         * elf/check-localplt.c: File removed.
41639
41640         * scripts/check-execstack.awk: New file.
41641         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41642         (check-execstack-CFLAGS): Variable removed.
41643         ($(objpfx)check-execstack.h): Target removed.
41644         ($(objpfx)execstack-default): New target.
41645         (generated): Add that instead of check-execstack.h.
41646         ($(all-built-dso:=.phdr)): New static pattern rule.
41647         (generated): Add those targets.
41648         * elf/check-execstack.c: File removed.
41649
41650         * scripts/check-textrel.awk: New file.
41651         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41652         (check-textrel-CFLAGS): Variable removed.
41653         (all-built-dso): Use := to define.o
41654         ($(all-built-dso:=.dyn)): New static pattern rule.
41655         (generated): Add those targets.
41656         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41657         * config.make.in (READELF): New substituted variable.
41658         * elf/check-textrel.c: File removed.
41659
41660 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41661
41662         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41663         allow.
41664         * conform/data/ctype.h-data [C99-based standards] (isblank):
41665         Expect function.
41666         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41667         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41668         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41669         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41670         Specify type.  Require positive value.
41671         (EILSEQ): Likewise.
41672         (ERANGE): Likewise.
41673         [ISO || POSIX] (EILSEQ): Do not expect.
41674         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41675         Specify type.  Require positive value.
41676         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41677         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41678         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41679         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41680         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41681         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41682         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41683         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41684         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41685         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41686         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41687         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41688         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41689         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41690         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41691         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41692         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41693         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41694         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41695         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41696         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41697         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41698         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41699         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41700         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41701         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41702         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41703         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41704         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41705         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41706         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41707         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41708         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41709         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41710         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41711         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41712         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41713         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41714         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41715         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41716         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41717         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41718         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41719         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41720         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41721         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41722         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41723         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41724         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41725         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41726         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41727         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41728         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41729         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41730         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41731         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41732         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41733         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41734         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41735         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41736         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41737         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41738         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41739         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41740         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41741         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41742         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41743         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41744         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41745         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41746         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41747         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41748         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41749         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41750         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41751         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41752         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41753         Require >= 2.
41754         (FLT_ROUNDS): Expect as macro, not constant.
41755         (FLT_MANT_DIG): Use macro-int-constant.
41756         (DBL_MANT_DIG): Likewise.
41757         (LDBL_MANT_DIG): Likewise.
41758         (FLT_DIG): Likewise.
41759         (DBL_DIG): Likewise.
41760         (LDBL_DIG): Likewise.
41761         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41762         (DBL_MIN_EXP): Likewise.
41763         (LDBL_MIN_EXP): Likewise.
41764         (FLT_MAX_EXP): Use macro-int-constant.
41765         (DBL_MAX_EXP): Likewise.
41766         (LDBL_MAX_EXP): Likewise.
41767         (FLT_MAX_10_EXP): Likewise.
41768         (DBL_MAX_10_EXP): Likewise.
41769         (LDBL_MAX_10_EXP): Likewise.
41770         (FLT_MAX): Use macro-constant.
41771         (DBL_MAX): Likewise.
41772         (LDBL_MAX): Likewise.
41773         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41774         (DBL_EPSILON): Likewise.
41775         (LDBL_EPSILON): Likewise.
41776         (FLT_MIN): Likewise.
41777         (DBL_MIN): Likewise.
41778         (LDBL_MIN): Likewise.
41779         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41780         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41781         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41782         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41783         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41784         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41785         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41786         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41787         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41788         [ISO11] (FLT_TRUE_MIN): Likewise.
41789         [ISO11] (LDBL_TRUE_MIN): Likewise.
41790         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41791         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41792         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41793         (SCHAR_MAX): Likewise.
41794         (UCHAR_MAX): Likewise.
41795         (CHAR_MIN): Likewise.
41796         (CHAR_MAX): Likewise.
41797         (MB_LEN_MAX): Use macro-int-constant.
41798         (SHRT_MIN): Use macro-int-constant.  Specify type.
41799         (SHRT_MAX): Likewise.
41800         (USHRT_MAX): Likewise.
41801         (INT_MAX): Likewise.
41802         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41803         bound negative.
41804         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41805         bound with "U".
41806         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41807         bound with "L".
41808         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41809         bound negative.  Suffix upper bound with "L".
41810         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41811         bound with "UL".
41812         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41813         Specify type.
41814         [C99-based standards] (LLONG_MAX): Likewise.
41815         [C99-based standards] (ULLONG_MAX): Likewise.
41816         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41817         == 0.
41818         [ISO11] (max_align_t): Require type.
41819         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41820
41821         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41822         from $CFLAGS, without defining away __attribute__ calls.
41823         (checknamespace): Use $CFLAGS_namespace.
41824
41825         * conform/conformtest.pl (@keywords): Only include C99 keywords
41826         for standards based on C99 or C11.
41827
41828         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41829         Disable tests.
41830         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41831         UNIX98]: Likewise.
41832
41833         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41834         usability of symbols in #if.
41835
41836         * conform/conformtest.pl: If macro or constant types start
41837         "promoted:", expect the symbol to be of the following type
41838         promoted by the integer promotions.
41839
41840         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41841         in one place.  Also handle "macro-constant".
41842
41843         * conform/conformtest.pl: Only accept expected macro values with
41844         "==".  Parse all "macro" lines in one place.
41845         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41846
41847         * conform/conformtest.pl: Handle braced types on "constant" lines
41848         instead of handling "typed-constant".
41849         * conform/data/signal.h-data: Use "constant" instead of
41850         "typed-constant".
41851
41852         * conform/conformtest.pl: Handle "optional-" at start of lines in
41853         one place rather than duplicating several cases.  Handle each
41854         format of "macro" line with initial "optional-".
41855
41856         * conform/conformtest.pl: Only accept expected constant or
41857         optional-constant values with "==".  Parse all "constant" lines in
41858         one place.  Parse all "optional-constant" lines in one place.
41859         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41860         * conform/data/fmtmsg.h-data: Likewise.
41861         * conform/data/netinet/in.h-data: Likewise.
41862         * conform/data/tar.h-data: Likewise.
41863         * conform/data/limits.h-data: Use "==" form on "constant" and
41864         "optional-constant" lines.
41865
41866         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41867         Use -std=c99 for XOPEN2K.
41868         (@knownproblems): Remove.
41869         (newtoken): Don't check %isknown.
41870
41871         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41872         Do not expect macro.
41873         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41874         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41875         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41876         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41877         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41878         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41879         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41880         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41881         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41882         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41883         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41884         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41885         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41886         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41887         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41888         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41889         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41890         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41891         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41892         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41893         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41894         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41895         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41896         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41897         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41898         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41899         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41900         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41901         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41902         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41903         [XPG3] (acosh): Likewise.
41904         [XPG3] (asinh): Likewise.
41905         [XPG3] (atanh): Likewise.
41906         [XPG3] (cbrt): Likewise.
41907         [XPG3] (expm1): Likewise.
41908         [XPG3] (ilogb): Likewise.
41909         [XPG3] (log1p): Likewise.
41910         [XPG3] (logb): Likewise.
41911         [XPG3] (nextafter): Likewise.
41912         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41913         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41914         [XPG3] (remainder): Likewise.
41915         [XPG3] (rint): Likewise.
41916         [XPG3 || XPG4 || UNIX98] (round): Likewise.
41917         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41918         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41919         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41920         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41921         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41922         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41923         [UNIX98 || XOPEN2K] (scalb): Expect.
41924         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41925         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41926         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41927         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41928         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41929         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41930         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41931         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41932         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41933         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41934         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41935         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41936         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41937         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41938         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41939         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41940         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41941         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41942         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41943         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41944         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41945         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41946         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41947         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41948         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41949         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41950         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41951         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41952         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41953         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41954         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41955         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41956         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41957         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41958         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41959         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41960         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41961         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41962         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41963         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41964         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41965         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41966         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41967         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41968         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41969         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41970         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41971         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41972         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41973         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41974         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41975         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41976         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41977         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41978         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41979         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41980         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41981         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41982         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41983         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41984         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41985         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41986         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41987         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41988         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41989         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41990         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41991         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41992         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41993         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41994         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41995         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41996         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41997         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41998         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41999         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42000         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42001         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42002         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42003         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42004         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42005         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42006         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42007         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42008         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42009         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42010         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42011         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42012         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42013         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42014         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42015         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42016         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42017         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42018         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42019         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42020         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42021         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42022         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42023         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42024         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42025         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42026         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42027         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42028         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42029         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42030         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42031         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42032         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42033         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42034         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42035         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42036         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42037         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42038         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42039         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42040         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42041         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42042         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42043         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42044         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42045         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42046         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42047         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42048         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42049         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42050         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42051         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42052         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42053         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42054         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42055         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42056         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42057         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42058         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42059         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42060         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42061
42062         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42063         _XOPEN_SOURCE_EXTENDED for XPG4.
42064
42065         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42066
42067         * Makeconfig (localtime): Remove variable.
42068         (inst_localtime-file): Likewise.
42069
42070 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42071
42072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42073         Update.
42074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42075         Update.
42076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42077         Update.
42078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42079         Update.
42080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42081         Update.
42082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42083         Update.
42084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42085         Update.
42086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42087         Update.
42088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42089         Update.
42090
42091 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42092
42093         [BZ #2550]
42094         [BZ #2570]
42095         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42096         comparisons to determine direction to adjust input.
42097         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42098         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42099         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42100         Likewise.
42101         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42102         Likewise.
42103         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42104         Likewise.
42105         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42106         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42107         Likewise.
42108         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42109         Likewise.
42110         * math/libm-test.inc (nexttoward_test): Add more tests.
42111
42112 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42113
42114         [BZ #14040]
42115         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42116         in version GLIBC_2.1, not GLIBC_2.0.
42117         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42118         Likewise.
42119
42120 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42121
42122         [BZ #13942]
42123         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42124         (1 - x) * (1 + x).
42125         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42126         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42127         * math/libm-test.inc (acos_test): Add more tests.
42128         (asin_test): Likewise.
42129         * sysdeps/i386/fpu/libm-test-ulps: Update.
42130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42131
42132         [BZ #14034]
42133         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42134         of square root.
42135         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42136         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42137         * math/libm-test.inc (acos_test_tonearest): New function.
42138         (acos_test_towardzero): Likewise.
42139         (acos_test_downward): Likewise.
42140         (acos_test_upward): Likewise.
42141         (asin_test_tonearest): Likewise.
42142         (asin_test_towardzero): Likewise.
42143         (asin_test_downward): Likewise.
42144         (asin_test_upward): Likewise.
42145         (main): Call the new functions.
42146         * sysdeps/i386/fpu/libm-test-ulps: Update.
42147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42148
42149         [BZ #13884]
42150         [BZ #13924]
42151         * math/e_exp10.c: Include <float.h>.
42152         (__ieee754_exp10): Handle underflow here rather than multiplying
42153         large negative argument by M_LN10.
42154         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42155         of __ieee754_expf.
42156         * math/e_exp10l.c: Include <float.h>.
42157         (__ieee754_exp10l): Handle underflow here rather than multiplying
42158         large negative argument by M_LN10l.
42159         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42160         spurious overflow exception on underflow.
42161
42162 2012-04-29  Marek Polacek  <polacek@redhat.com>
42163
42164         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42165         (__fortify_function): New macro.
42166         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42167         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42168         __extern_always_inline.
42169         * libio/bits/stdio2.h: Likewise.
42170         * libio/bits/stdio.h: Likewise.
42171         * string/string.h: Likewise.
42172         * string/bits/string3.h: Likewise.
42173         * include/stdio.h: Likewise.
42174         * stdlib/bits/stdlib.h: Likewise.
42175         * stdlib/stdlib.h: Likewise.
42176         * rt/bits/mqueue2.h: Likewise.
42177         * rt/mqueue.h: Likewise.
42178         * posix/bits/unistd.h: Likewise.
42179         * posix/unistd.h: Likewise.
42180         * io/bits/poll2.h: Likewise.
42181         * io/bits/fcntl2.h: Likewise.
42182         * io/fcntl.h: Likewise.
42183         * io/sys/poll.h: Likewise.
42184         * misc/bits/syslog.h: Likewise.
42185         * misc/bits/syslog-ldbl.h: Likewise.
42186         * misc/sys/syslog.h: Likewise.
42187         * socket/bits/socket2.h: Likewise.
42188         * socket/sys/socket.h: Likewise.
42189         * debug/tst-chk1.c: Likewise.
42190         * wcsmbs/bits/wchar2.h: Likewise.
42191         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42192         * wcsmbs/wchar.h: Likewise.
42193
42194 2012-04-29  Andreas Jaeger  <aj@suse.de>
42195
42196         * Makerules (tests): Remove enable-check-abi protection.
42197         (check-abi-warn): Remove.
42198         (check-abi-%): Remove check-abi-warn usage.
42199
42200         * configure.in: Remove check-abi configure option.
42201         * configure: Regenerated.
42202         * config.make.in (enable-check-abi): Remove.
42203
42204 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42205
42206         [BZ #14033]
42207         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42208         double functions to double *_finite functions.
42209
42210         [BZ #13941]
42211         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42212         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42213         LDBL_MIN_EXP.
42214         * stdio-common/Makefile (tests): Add tst-sprintf3.
42215         * stdio-common/tst-sprintf3.c: New file.
42216
42217         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42218         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42219
42220 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42221
42222         * conform/conformtest.pl: Remove duplicate typed-constant
42223         handling.
42224
42225 2012-04-28  David S. Miller  <davem@davemloft.net>
42226
42227         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42228         (check-abi-%): Remove AWK script prerequisite and explicit
42229         abilist directory.
42230         (check-abi): Rewrite to just diff the symlist with the abilist.
42231         (config-tls, config-abi-config): Delete, no longer used.
42232         (update-abi-%): Remove AWK script and explicit abilist directory.
42233         (update-abi): Rewrite to simply compare and conditionally copy the
42234         symlist and the sysdep abilist file.  Remove update-abi-config
42235         checks.
42236         * abilist/ld.abilist: Remove.
42237         * abilist/libBrokenLocale.abilist: Remove.
42238         * abilist/libanl.abilist: Remove.
42239         * abilist/libcrypt.abilist: Remove.
42240         * abilist/libdl.abilist: Remove.
42241         * abilist/librt.abilist: Remove.
42242         * abilist/libthread_db.abilist: Remove.
42243         * abilist/libutil.abilist: Remove.
42244         * scripts/extract-abilist.awk: Remove.
42245         * scripts/merge-abilist.awk: Remove.
42246         * sysdeps/generic/libcidn.abilist: New file.
42247         * sysdeps/generic/libnss_compat.abilist: New file.
42248         * sysdeps/generic/libnss_db.abilist: New file.
42249         * sysdeps/generic/libnss_dns.abilist: New file.
42250         * sysdeps/generic/libnss_files.abilist: New file.
42251         * sysdeps/generic/libnss_hesiod.abilist: New file.
42252         * sysdeps/generic/libnss_nis.abilist: New file.
42253         * sysdeps/generic/libnss_nisplus.abilist: New file.
42254         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42255         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42256         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42257         file.
42258         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42259         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42260         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42261         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42262         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42263         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42264         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42265         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42266         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42267         file.
42268         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42269         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42270         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42271         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42272         file.
42273         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42274         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42275         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42276         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42277         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42278         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42279         file.
42280         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42281         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42282         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42283         file.
42284         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42285         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42286         New file.
42287         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42288         New file.
42289         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42290         New file.
42291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42292         New file.
42293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42294         New file.
42295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42296         New file.
42297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42298         New file.
42299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42300         New file.
42301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42302         New file.
42303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42304         New file.
42305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42306         New file.
42307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42308         New file.
42309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42310         New file.
42311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42312         file.
42313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42314         New file.
42315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42316         New file.
42317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42318         file.
42319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42320         New file.
42321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42322         New file.
42323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42324         file.
42325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42326         New file.
42327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42328         New file.
42329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42330         New file.
42331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42332         New file.
42333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42334         New file.
42335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42336         New file.
42337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42339         file.
42340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42341         New file.
42342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42343         file.
42344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42345         file.
42346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42347         file.
42348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42349         file.
42350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42351         file.
42352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42353         New file.
42354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42355         file.
42356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42357         file.
42358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42359         New file.
42360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42361         file.
42362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42364         file.
42365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42366         New file.
42367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42368         file.
42369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42370         file.
42371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42372         file.
42373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42374         file.
42375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42376         file.
42377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42378         New file.
42379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42380         file.
42381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42382         file.
42383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42384         New file.
42385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42386         file.
42387         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42388         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42389         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42390         file.
42391         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42392         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42393         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42394         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42395         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42396         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42397         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42398         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42399         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42400         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42403         file.
42404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42405         New file.
42406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42407         file.
42408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42409         file.
42410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42411         file.
42412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42413         file.
42414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42415         file.
42416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42417         New file.
42418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42419         New file.
42420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42421         file.
42422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42423         New file.
42424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42425         file.
42426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42428         file.
42429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42430         New file.
42431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42432         file.
42433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42434         file.
42435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42436         file.
42437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42438         file.
42439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42440         file.
42441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42442         New file.
42443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42444         New file.
42445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42446         file.
42447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42448         New file.
42449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42450         file.
42451
42452 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42453
42454         * conform/conformtest.pl: Fix typo in handling typed-constant from
42455         allow-header.
42456
42457 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42458
42459         * README: Cut down references to pre-2.6 Linux kernels and
42460         Linuxthreads.  Update lists of configurations in libc and ports
42461         and sort alphabetically.  Say "or newer" with Linux kernel version
42462         requirements.
42463
42464         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42465
42466 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42467
42468         [BZ #887]
42469         * math/libm-test.inc (logb_test_downward): New test to expose
42470         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42471         rounding mode.
42472
42473 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42474
42475         [BZ #14027]
42476         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42477         to be done.
42478         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42479         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42480
42481 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42482
42483         * sysdeps/unix/i386/brk.S: Remove file.
42484         * sysdeps/unix/i386/dl-brk.S: Likewise.
42485         * sysdeps/unix/i386/pipe.S: Likewise.
42486         * sysdeps/unix/i386/sigreturn.S: Likewise.
42487         * sysdeps/unix/i386/syscall.S: Likewise.
42488         * sysdeps/unix/i386/vfork.S: Likewise.
42489         * sysdeps/unix/i386/wait.S: Likewise.
42490
42491         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42492         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42493
42494         * configure.in (arm*-none*): Do not allow without
42495         --enable-hacker-mode.
42496         (netbsd*): Remove case setting base_os.
42497         (386bsd*): Likewise.
42498         (freebsd*): Likewise.
42499         (bsdi*): Likewise.
42500         (osf*): Likewise.
42501         (sunos*): Likewise.
42502         (ultrix*): Likewise.
42503         (newsos*): Likewise.
42504         (dynix*): Likewise.
42505         (*bsd*): Likewise.
42506         (sysv*): Likewise.
42507         (isc*): Likewise.
42508         (esix*): Likewise.
42509         (sco*): Likewise.
42510         (minix*): Likewise.
42511         (irix4*): Likewise.
42512         (irix6*): Likewise.
42513         (solaris[2-9]*): Likewise.
42514         (none): Likewise.
42515         * configure: Regenerated.
42516
42517 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42518
42519         [BZ #11521]
42520         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42521         overflow or cancellation in calculating denominator.
42522         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42523         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42524         down expression to avoid unexpected rounding in newer GCCs.
42525         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42526
42527 2012-04-26  David S. Miller  <davem@davemloft.net>
42528
42529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42530         long-double compat symbols.
42531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42544
42545 2012-04-25  David S. Miller  <davem@davemloft.net>
42546
42547         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42548         HWCAP_* values only after the memory barriers have been defined.
42549         (atomic_full_barrier): Define.
42550         (atomic_read_barrier): Define.
42551         (atomic_write_barrier): Define.
42552
42553 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42554
42555         * shlib-versions: Add libgcc_s version information.
42556         * sysdeps/generic/libgcc_s.h: Remove.
42557         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42558         libgcc_s.h.
42559         * sysdeps/gnu/unwind-resume.c: Likewise.
42560         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42561
42562 2012-04-25  David S. Miller  <davem@davemloft.net>
42563
42564         * sysdeps/unix/sparc/brk.S: Delete.
42565         * sysdeps/unix/sparc/dl-brk.S: Delete.
42566         * sysdeps/unix/sparc/pipe.S: Delete.
42567         * sysdeps/unix/sparc/sysdep.S: Delete.
42568         * sysdeps/unix/sparc/sysdep.h: Delete.
42569         * sysdeps/unix/sparc/vfork.S: Delete.
42570         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42571         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42572         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42573         (ret_ERRVAL, r0, r1, MOVE): Define.
42574         (JUMPTARGET): Remove.
42575         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42576         sysdeps/unix/sparc/sysdep.h
42577         (ENTRY, END): Remove.
42578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42579
42580 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42581
42582         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42583         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42584         -DIS_IN_build.
42585
42586         * timezone/README: Update upstream location and email address for
42587         tzcode and tzdata.
42588         * timezone/zdump.c: Update from tzcode 2012b.
42589         * timezone/zic.c: Likewise.
42590
42591         * configure.in (libc_cv_as_needed): Remove test.
42592         * configure: Regenerated.
42593         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42594         conditional definition.
42595         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42596         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42597         * config.make.in (have-as-needed): Remove variable.
42598
42599 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42600             Paul Pluzhnikov  <ppluzhnikov@google.com>
42601
42602         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42603         strings correctly.
42604
42605 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42606
42607         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42608         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42609         * sysdeps/sh/strlen.S: Likewise.
42610
42611 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42612
42613         * sysdeps/unix/fork.S: Remove file.
42614         * sysdeps/unix/i386/fork.S: Likewise.
42615         * sysdeps/unix/sparc/fork.S: Likewise.
42616
42617         * sysdeps/unix/system.c: Remove file.
42618         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42619
42620         * sysdeps/unix/getegid.S: Remove file.
42621         * sysdeps/unix/geteuid.S: Likewise.
42622
42623 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42624
42625         * scripts/check-localplt.awk: New file.
42626         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42627         of diff.
42628         * scripts/data/localplt-generic.data: Add a comment.
42629
42630         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42631         NODE when __dir_mkfile failed.
42632         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42633         Reported by Ludovic Courtès <ludo@gnu.org>.
42634
42635 2012-04-24  Andreas Jaeger  <aj@suse.de>
42636
42637         * Makerules (common-clean): Also remove gen-as-const-headers
42638         files.
42639
42640 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42641
42642         * Makerules (native-compile): Do not change working directory for
42643         build.  Use $(OUTPUT_OPTION) in command.
42644         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42645
42646 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42647
42648         [BZ #13886]
42649         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42650         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42651         * math/libm-test.inc (floor_test): Add more tests.
42652         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42653
42654 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42655
42656         * sysdeps/unix/getdents.c: Remove file.
42657         * sysdeps/unix/sysv/getdents.c: Likewise.
42658         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42659
42660         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42661         sysdeps/unix/mman/syscalls.list.
42662         (mmap): Likewise.
42663         (mprotect): Likewise.
42664         (msync): Likewise.
42665         (munmap): Likewise.
42666         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42667         * sysdeps/unix/mman/syscalls.list: Remove.
42668         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42669
42670         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42671         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42672         * configure: Regenerated.
42673         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42674         $(libgcc_s_suffix).
42675         * config.make.in (libgcc_s_suffix): Remove variable.
42676
42677 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42678
42679         * sysdeps/unix/sysv/gethostname.c: Move to ...
42680         * sysdeps/posix/gethostname.c: ... here.
42681
42682         * sysdeps/unix/execve.S: Remove file.
42683
42684         * sysdeps/unix/_exit.S: Remove file.
42685
42686 2012-04-23  Andreas Jaeger  <aj@suse.de>
42687
42688         [BZ #13739]
42689         * manual/Makefile: Remove make dist support, there's no
42690         need for a stand-alone documentation tar ball.
42691         (TEXI2DVI): Define always, it's not in Makeconfig.
42692         (dist): Removed.
42693         (tar-it): Removed.
42694         (edition): Removed.
42695         (glibc-doc-$(edition).tar): Removed
42696         (%.Z): Removed.
42697         (%.gz): Removed.
42698         (%.uu): Removed.
42699         (ETAGS): Remove, it's in Makeconfig.
42700         (move-if-change): Remove, it's in Makeconfig.
42701
42702 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42703
42704         [BZ #13970]
42705         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42706         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42707         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42708         (strtod_l, strtof_l, strtold_l): Remove __wur.
42709         It is not necessarily an error to ignore strtol's return value.
42710         One can reliably look at the stored endptr to decide whether
42711         the number had valid syntax.
42712
42713 2012-04-21  Andreas Jaeger  <aj@suse.de>
42714
42715         [BZ #13739]
42716         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42717
42718 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42719
42720         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42721         * sysdeps/unix/sysv/Versions: Remove file.
42722
42723 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42724
42725         [BZ #13927]
42726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42727
42728 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42729
42730         [BZ #7064]
42731         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42732         version from __vm86.
42733
42734 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42735
42736         * sysdeps/unix/common/lxstat.c: Remove file.
42737         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42738
42739         * sysdeps/unix/sysv/Makefile: Remove file.
42740
42741         * sysdeps/unix/sysv/direct.h: Remove file.
42742
42743         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42744         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42745         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42746         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42747         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42748         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42749         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42750
42751         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42752
42753         * sysdeps/unix/xmknod.c: Remove file.
42754         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42755
42756         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42757
42758         * sysdeps/unix/sysv/i386/time.S: Remove file.
42759
42760         * sysdeps/unix/fxstat.c: Remove file.
42761         * sysdeps/unix/xstat.c: Likewise.
42762         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42763
42764         * sysdeps/unix/sysv/sigaction.c: Remove file.
42765
42766         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42767         (sysdep_headers): Remove variable.
42768         [termio.h not in sysdep_headers] (generated): Likewise.
42769         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42770         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42771         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42772         * sysdeps/unix/sysv/tcflow.c: Likewise.
42773         * sysdeps/unix/sysv/tcflush.c: Likewise.
42774         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42775         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42776         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42777         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42778         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42779
42780         * sysdeps/unix/siglist.c: Remove file.
42781
42782         * sysdeps/unix/getppid.S: Remove file.
42783
42784         * sysdeps/unix/mkdir.c: Remove file.
42785         * sysdeps/unix/rmdir.c: Likewise.
42786
42787 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42788
42789         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42790         ERR_MAX value.
42791         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42792         errlist-compat value.
42793
42794 2012-04-18  David S. Miller  <davem@davemloft.net>
42795
42796         * sysdeps/generic/memcopy.h (reg_char): Delete.
42797         * debug/strcat_chk.c: Use char, not reg_char.
42798         * debug/strcpy_chk.c: Likewise.
42799         * debug/strncat_chk.c: Likewise.
42800         * debug/strncpy_chk.c: Likewise.
42801         * string/memchr.c: Likewise.
42802         * string/memrchr.c: Likewise.
42803         * string/rawmemchr.c: Likewise.
42804         * string/strcat.c: Likewise.
42805         * string/strchr.c: Likewise.
42806         * string/strchrnul.c: Likewise.
42807         * string/strcmp.c: Likewise.
42808         * string/strcpy.c: Likewise.
42809         * string/strncat.c: Likewise.
42810         * string/strncmp.c: Likewise.
42811         * string/strncpy.c: Likewise.
42812
42813 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42814
42815         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42816         __builtin_memcopy is called when src and dest ranges are known to not
42817         overlap.
42818
42819 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42820
42821         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42822         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42823         fwd_align_merge macro call.
42824         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42825         bwd_align_merge macro call.
42826         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42827
42828 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42829
42830         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42831         bwd_align_merge macros.
42832         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42833         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42834         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42835
42836 2012-04-18  David S. Miller  <davem@davemloft.net>
42837
42838         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42839
42840 2012-04-18  Andreas Jaeger  <aj@suse.de>
42841
42842         [BZ# 6794]
42843         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42844         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42845         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42846
42847         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42848         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42849         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42850
42851         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42852         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42853         Adjust for changed ldbl-128 files.
42854
42855         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42856         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42857         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42858
42859 2012-04-17  David S. Miller  <davem@davemloft.net>
42860
42861         * sysdeps/sparc/sparc32/memcopy.h: Delete.
42862
42863 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
42864
42865         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42866         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42867         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42868         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42869         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42870         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42871
42872 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42873
42874         [BZ #6794]
42875         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42876         * math/libm-test.inc: Add ilogb errno and exception tests.
42877         * math/w_ilogb.c: New file: ilogb wrapper.
42878         * math/w_ilogbf.c: New file: ilogbf wrapper.
42879         * math/w_ilogbl.c: New file: ilogbl wrapper.
42880         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42881         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42882         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42883         exception being thrown with 0.0 as argument.
42884         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42885         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42886         exception being thrown with 0.0 as argument.
42887         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42888         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42889         exception being thrown with 0.0 as argument.
42890         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42891         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42892         exception being thrown with 0.0 as argument.
42893         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42894         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42895         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42896         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42897         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42898         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42899         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42900         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42901         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42902
42903 2012-04-17  Petr Baudis  <pasky@ucw.cz>
42904
42905         * include/sys/uio.h: Change __vector to __iovec to avoid clash
42906         with altivec.
42907
42908 2012-04-16  Marek Polacek  <polacek@redhat.com>
42909
42910         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42911
42912 2012-04-16  Marek Polacek  <polacek@redhat.com>
42913
42914         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42915         operands of fdivp instruction.
42916
42917 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42918
42919         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42920         * elf/tst-auditmod3b.c: Likewise.
42921         * elf/tst-auditmod4b.c: Likewise.
42922         * elf/tst-auditmod5b.c: Likewise.
42923         * elf/tst-auditmod6b.c: Likewise.
42924         * elf/tst-auditmod6c.c: Likewise.
42925         * elf/tst-auditmod7b.c: Likewise.
42926         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42927         * sysdeps/x86_64/preconfigure.in: Likewise.
42928         * sysdeps/x86_64/preconfigure: Regenerated.
42929
42930 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42931
42932         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42933         __ILP32__.
42934
42935 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
42936
42937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42938         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42939
42940 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
42941
42942         [BZ #13973]
42943         * locale/iso-639.def: Fix gl language name. Spotted by
42944         Yaron Shahrabani.
42945
42946 2012-04-12  Roland McGrath  <roland@hack.frob.com>
42947
42948         [BZ #2074]
42949         * libio/libio.h (__io_write_fn): Update comment.
42950
42951 2012-04-12  Petr Baudis  <pasky@ucw.cz>
42952
42953         [BZ #2074]
42954         * stdio.texi (Hook Functions): The user provided writer function
42955         is not allowed to return -1.
42956
42957 2012-04-11  David S. Miller  <davem@davemloft.net>
42958
42959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42960
42961 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
42962
42963         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42964         Add a leading slash to rtkaio.
42965
42966 2012-04-11  Jim Meyering  <meyering@redhat.com>
42967
42968         [BZ #11959]
42969         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42970         It is not necessarily an error to ignore fwrite's return
42971         value.  One can reliably use ferror to test for errors after
42972         the fact.
42973
42974 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42975
42976         * bits/types.h (__snseconds_t): New type.
42977         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42978
42979         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42980         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42981         (__SNSECONDS_T_TYPE): Likewise.
42982         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42983         (__SNSECONDS_T_TYPE): Likewise.
42984         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42985         (__SNSECONDS_T_TYPE): Likewise.
42986
42987 2012-04-10  Andreas Jaeger  <aj@suse.de>
42988
42989         [BZ #2636]
42990         * manual/time.texi (Processor Time): Return type of times is
42991         elapsed real time since an arbitrary point in the past.
42992         (CPU Time): Move CLK_TCK from here...
42993         (Processor Time): ...to here.  Correct description.
42994         * manual/conf.texi (Constants for Sysconf): Correct description of
42995         _SC_CLK_TCK.
42996
42997 2012-04-10  David S. Miller  <davem@davemloft.net>
42998
42999         [BZ #13967]
43000         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43001         where the is a gap between DT_REL(A) and DT_JMPREL.
43002
43003 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43004
43005         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43006         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43007         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43008
43009 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43010
43011         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43012         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43013         (dl_main): Handle --inhibit-cache.
43014         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43015         _dl_inhibit_cache.
43016         * elf/dl-load.c (_dl_map_object): Use it.
43017         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43018
43019 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43020
43021         [BZ #13872]
43022         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43023         (__ieee754_powl): Saturate large exponents rather than testing for
43024         overflow of y*log2(x).
43025         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43026         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43027         exceptions.
43028
43029         [BZ #11521]
43030         * math/s_ctan.c: Include <float.h>.
43031         (__ctan): Avoid internal overflow or cancellation in calculating
43032         denominator.
43033         * math/s_ctanf.c: Likewise.
43034         * math/s_ctanl.c: Likewise.
43035         * math/s_ctanh.c: Likewise.
43036         * math/s_ctanhf.c: Likewise.
43037         * math/s_ctanhl.c: Likewise.
43038         * math/libm-test.inc (ctan_test): Add more tests.
43039         (ctanh_test): Likewise.
43040         * sysdeps/i386/fpu/libm-test-ulps: Update.
43041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43042
43043 2012-04-09  Andreas Jaeger  <aj@suse.de>
43044
43045         [BZ #6894]
43046         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43047         is an optional BSD extension.
43048
43049         [BZ #10254]
43050         * manual/stdio.texi (Opening Streams): Document additional fopen
43051         parameters.
43052
43053 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43054
43055         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43056         %eax without telling the compiler.
43057
43058 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43059
43060         [BZ # 13963]
43061         * manual/install.texi: Use sourceware.org.
43062
43063 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43064
43065         [BZ #13873]
43066         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43067         (__ieee754_pow): Generate overflow and underflow using huge*huge
43068         and tiny*tiny rather than just returning constant infinity or zero
43069         for large exponents.
43070         * math/libm-test.inc (pow_test): Require overflow exceptions for
43071         applicable cases of large exponents.
43072
43073         [BZ #706]
43074         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43075         (__ieee754_pow): Use iterative multiplication algorithm only for
43076         integer exponents with absolute value below 1024.  Check for odd
43077         integer exponents when using algorithm for real exponents.
43078         * math/libm-test.inc (pow_test): Add more tests.
43079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43080
43081 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43082
43083         [BZ #13705]
43084         * math/libm-test.inc (exp_test): Do not allow overflow exception
43085         on underflow test.
43086
43087 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43088
43089         [BZ #13705]
43090         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43091         instead of __kernel_standard_f.
43092
43093 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43094
43095         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43096         * sysdeps/x86_64/memset_chk.S: Likewise.
43097
43098 2012-04-08  Andreas Jaeger  <aj@suse.de>
43099
43100         [BZ #10153]
43101         * manual/startup.texi (Environment Access): Describe return value
43102         for putenv and setenv.
43103
43104         [BZ #6895]
43105         * manual/filesys.texi (Directory Entries): Add description for
43106         DT_LNK.
43107
43108         [BZ #6890]
43109         * manual/filesys.texi (Directory Entries): Clarify that it's file
43110         system not operating system in the description of DT_UNKNOWN.
43111
43112         [BZ #6578]
43113         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43114
43115 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43116
43117         [BZ #6649]
43118         * manual/llio.texi (Opening and Closing Files): Add cross
43119         reference to explain mode argument.
43120
43121 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43122
43123         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43124         * sysdeps/x86_64/memset_chk.S: Likewise.
43125
43126 2012-04-07  David S. Miller  <davem@davemloft.net>
43127
43128         * elf/elf.h (R_SPARC_WDISP10): Define.
43129         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43130         R_SPARC_SIZE32.
43131         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43132         R_SPARC_SIZE64 and R_SPARC_H34.
43133
43134 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43135
43136         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43137         conditions and remove no longer applicable assertion.
43138
43139 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43140
43141         * bits/byteswap.h: Include <features.h>.
43142         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43143         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43144
43145 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43146
43147         * bits/byteswap.h (__bswap_16): Removed.
43148         Include <bits/byteswap-16.h> to get __bswap_16.
43149         * sysdeps/i386/bits/byteswap.h: Likewise.
43150         * sysdeps/s390/bits/byteswap.h: Likewise.
43151         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43152         * bits/byteswap-16.h: New file.
43153         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43154         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43155         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43156         * string/Makefile (headers): Add bits/byteswap-16.h.
43157
43158 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43159
43160         [BZ #13895]
43161         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43162         extra indirection.
43163         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43164         * nss/tst-nss-static.c: New.
43165
43166 2012-04-06  Robert Millan  <rmh@gnu.org>
43167
43168         [BZ #6486]
43169         * manual/llio.texi (File Position Primitive): lseek
43170         refers to WHENCE when it really means OFFSET.
43171
43172 2012-04-06  Andreas Jaeger  <aj@suse.de>
43173
43174         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43175         strncmp declarations.
43176
43177         * abilist/libc.abilist: Add __poll and __ppoll.
43178
43179 2012-04-05  David S. Miller  <davem@davemloft.net>
43180
43181         * scripts/check-local-headers.sh: Accept a host triplet in the
43182         path matched by the exclude regexp.
43183
43184         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43185         definition.
43186         * sysdeps/powerpc/powerpc32/dl-machine.h
43187         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43188         * sysdeps/s390/s390-32/dl-machine.h
43189         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43190         * sysdeps/sparc/sparc32/dl-machine.h
43191         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43192         * sysdeps/sparc/sparc64/dl-machine.h
43193         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43194
43195         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43196         lazy binding.
43197         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43198         undefined symbol errors.
43199
43200         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43201         DT_NEEDED entries.
43202
43203 2012-04-05  Michael Matz  <matz@suse.de>
43204
43205         [BZ #13592]
43206         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43207
43208 2012-04-05  Andreas Jaeger  <aj@suse.de>
43209
43210         [BZ #13908]
43211         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43212         comment.
43213
43214 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43215
43216         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43217         which ROUND is no valid rounding mode.
43218
43219 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43220
43221         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43222         read again.
43223         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43224
43225 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43226
43227         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43228         an exception using FPU order intentionally.
43229
43230 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43231
43232         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43233         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43234         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43235         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43236
43237 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43238
43239         [BZ #12340]
43240         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43241         EINVAL when BUFLEN is too smal.
43242
43243 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43244
43245         [BZ #13553]
43246         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43247         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43248
43249 2012-04-03  Andreas Jaeger  <aj@suse.de>
43250
43251         [BZ #13938]
43252         * manual/setjmp.texi (System V contexts): Fix sentence.
43253
43254         [BZ #13926]
43255         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43256         New macro for this case.
43257         [!__GNUC__] (__bswap_64): New inline function for this case.
43258         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43259         * bits/byteswap.h: Likewise.
43260         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43261         ull, guard with __GLIBC_HAVE_LONG_LONG.
43262
43263         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43264         __GLIBC_HAVE_LONG_LONG.
43265
43266         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43267         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43268
43269 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43270
43271         [BZ #13691]
43272         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43273         inptr and inend, rather than using last_ch.
43274
43275 2012-04-02  David S. Miller  <davem@davemloft.net>
43276
43277         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43278         * stdio-common/printf-parse.h (read_int): Change return type to
43279         'int', return -1 on INT_MAX overflow.
43280         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43281         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43282         overflows INT_MAX.  Check for overflow of in-format-string precision
43283         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43284         SIZE_MAX not INT_MAX for integer overflow test.
43285         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43286         skip the construct in the format string but do not record anything.
43287         * stdio-common/bug22.c: Adjust to test both width/prevision
43288         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43289         explicitly for proper errno values.
43290
43291 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43292
43293         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43294         CHAR_MAX.
43295         * string/test-strcmp.c [! WIDE]: Likewise.
43296         * time/tst-mktime2.c: Likewise for INT_MAX.
43297         * string/test-string.h: #include <sys/param.h> for MIN.
43298
43299         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43300         * sysdeps/i386/init-first.c (init): Likewise.
43301         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43302         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43303         * sysdeps/sh/init-first.c (init): Likewise.
43304
43305 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43306
43307         * po/ru.po: Update from translation team.
43308         * po/vi.po: Likewise.
43309
43310 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43311
43312         * resolv/nss_dns/dns-host.c: Merge copyright years.
43313
43314 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43315
43316         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43317         Optimize memcpy with prefetch if
43318         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43319         src, dst pointers have unequal 16 byte alignments.
43320
43321 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43322
43323         [BZ #13928]
43324         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43325         from a CNAME entry and return the minimum ttl for the query.
43326         (gaih_getanswer_slice): Likewise.
43327
43328 2012-03-30  Jeff Law  <law@redhat.com>
43329
43330         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43331         due to long keys.
43332         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43333         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43334
43335         * resolv/nss_dns/dns-host.c: Update copyright year.
43336
43337 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43338
43339         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43340         requests to save a system call.  Fix check that all bytes are sent.
43341
43342         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43343         comments for sendmmsg.
43344
43345 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43346
43347         [BZ #13691]
43348         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43349         with only 1 character between 0x0041 and 0x01b0.
43350         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43351         * wcsmbs/tst-mbsnrtowcs.c: New file.
43352
43353 2012-03-29  David S. Miller  <davem@davemloft.net>
43354
43355         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43356         small copies by hand.
43357
43358 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43359
43360         [BZ #13761]
43361         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43362         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43363         group memberships.
43364
43365 2012-03-28  David S. Miller  <davem@davemloft.net>
43366
43367         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43368         that branches into memcpy.
43369         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43370         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43371         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43372         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43373         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43374         bits.
43375         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43376         implementation too.
43377         * sysdeps/sparc/mempcpy.S: New file.
43378
43379         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43380         the IFUNC routine in the libc case.
43381         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43382
43383         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43384         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43385         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43386         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43387         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43388         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43389         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43390         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43391
43392         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43393         loop to 256 bytes instead of 64 bytes and fix test signedness.
43394
43395         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43396         * sysdeps/sparc/sparc32/Makefile: rather than here...
43397         * sysdeps/sparc/sparc64/Makefile: and here.
43398
43399 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43400
43401         * malloc/mallocbug.c: Avoid warnings about unused variables.
43402
43403 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43404
43405         [BZ #13760]
43406         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43407         in the right place. Discard and retry query if response is
43408         larger than input buffer size.
43409
43410 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43411
43412         [BZ #369]
43413         [BZ #2678]
43414         [BZ #3866]
43415         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43416         x for large integer exponent.
43417         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43418         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43419         sign of result as needed afterwards.
43420         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43421         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43422         result for underflowing pow the same as for overflow.
43423         (__kernel_standard_l): Handle powl overflow and underflow here
43424         rather than calling __kernel_standard.
43425         * math/libm-test.inc (pow_test): Add more tests.
43426
43427         [BZ #3868]
43428         [BZ #13879]
43429         [BZ #13910]
43430         [BZ #13911]
43431         [BZ #13912]
43432         [BZ #13913]
43433         [BZ #13915]
43434         [BZ #13916]
43435         [BZ #13917]
43436         [BZ #13918]
43437         [BZ #13919]
43438         [BZ #13920]
43439         [BZ #13921]
43440         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43441         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43442         (__kernel_standard_l): New function.
43443         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43444         __kernel_standard.
43445         * math/w_acosl.c (__acosl): Likewise.
43446         * math/w_asinl.c (__asinl): Likewise.
43447         * math/w_atan2l.c (__atan2l): Likewise.
43448         * math/w_atanhl.c (__atanhl): Likewise.
43449         * math/w_coshl.c (__coshl): Likewise.
43450         * math/w_exp10l.c (__exp10l): Likewise.
43451         * math/w_exp2l.c (__exp2l): Likewise.
43452         * math/w_fmodl.c (__fmodl): Likewise.
43453         * math/w_hypotl.c (__hypotl): Likewise.
43454         * math/w_j0l.c (__j0l, __y0l): Likewise.
43455         * math/w_j1l.c (__j1l, __y1l): Likewise.
43456         * math/w_jnl.c (__jnl, __ynl): Likewise.
43457         * math/w_lgammal.c (__lgammal): Likewise.
43458         * math/w_log10l.c (__log10l): Likewise.
43459         * math/w_log2l.c (__log2l): Likewise.
43460         * math/w_logl.c (__logl): Likewise.
43461         * math/w_powl.c (__powl): Likewise.
43462         * math/w_remainderl.c (__remainderl): Likewise.
43463         * math/w_scalbl.c (sysv_scalbl): Likewise.
43464         * math/w_sinhl.c (__sinhl): Likewise.
43465         * math/w_sqrtl.c (__sqrtl): Likewise.
43466         * math/w_tgammal.c (__tgammal): Likewise.
43467         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43468         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43469         * math/libm-test.inc (acos_test): Add more tests.
43470         (acosh_test): Likewise.
43471         (asin_test): Likewise.
43472         (atanh_test): Likewise.
43473         (exp_test): Likewise.
43474         (exp10_test): Likewise.
43475         (exp2_test): Likewise.
43476         (expm1_test): Likewise.
43477         (lgamma_test): Likewise.
43478         (log_test): Likewise.
43479         (log10_test): Likewise.
43480         (log1p_test): Likewise.
43481         (log2_test): Likewise.
43482         (pow_test): Do not allow some spurious overflow exceptions.
43483         (sqrt_test): Add more tests.
43484         (tgamma_test): Likewise.
43485         (y0_test): Likewise.
43486         (y1_test): Likewise.
43487         (yn_test): Likewise.
43488
43489 2012-03-27  Anton Blanchard  <anton@samba.org>
43490
43491         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43492         MAP_HUGETLB.
43493         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43494         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43495         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43496
43497 2012-03-27  David S. Miller  <davem@davemloft.net>
43498
43499         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43500
43501         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43502         have-as-vis3 check.
43503
43504 2012-03-27  Andreas Jaeger  <aj@suse.de>
43505
43506         * sysdeps/x86_64/elf/configure.in: Moved to ...
43507         * sysdeps/x86_64/configure.in: ... here.
43508         * sysdeps/x86_64/elf/start.S: Moved to ...
43509         * sysdeps/x86_64/start.S: ... here.
43510         * sysdeps/x86_64/elf/configure: Delete.
43511
43512         * sysdeps/x86_64/configure.in: Merge contents from
43513         sysdeps/i386/configure.in (without i686 check).
43514
43515         * sysdeps/i386/elf/Versions: Merge into ...
43516         * sysdeps/i386/Versions: ... this.
43517         * sysdeps/i386/elf/Versions: Delete file.
43518         * sysdeps/i386/elf/start.S: Moved to ...
43519         * sysdeps/i386/start.S: ...here.
43520         * sysdeps/i386/elf/configure.in: Merge into...
43521         * sysdeps/i386/configure.in: ...here.
43522         * sysdeps/i386/elf/configure.in: Delete file.
43523         * sysdeps/i386/elf/configure: Delete file.
43524
43525         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43526         * debug/backtracesyms.c: ... here.
43527         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43528         * debug/backtracesymsfd.c: ... here.
43529         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43530         * sysdeps/generic/ifunc-sel.h: ... here.
43531
43532         * sysdeps/unix/i386/start.c: Delete file.
43533         * sysdeps/unix/sparc/start.c: Delete file.
43534         * sysdeps/unix/start.c: Delete file.
43535
43536         * sysdeps/sh/elf/configure.in: Moved to ...
43537         * sysdeps/sh/configure.in: ... here.
43538         * sysdeps/sh/elf/start.S: Moved to ...
43539         * sysdeps/sh/start.S: ... here.
43540         * sysdeps/sh/elf/configure: Delete file.
43541
43542         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43543         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43544         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43545         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43546         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43547         * sysdeps/powerpc/powerpc64/start.S: here.
43548         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43549         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43550         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43551         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43552         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43553
43554         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43555         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43556         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43557         * sysdeps/powerpc/powerpc32/start.S: ... here.
43558         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43559         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43560         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43561
43562         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43563         * sysdeps/powerpc/ifunc-sel.h: ... here.
43564         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43565         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43566
43567         * sysdeps/sparc/elf/configure.in: Moved to ...
43568         * sysdeps/sparc/configure.in: ... here.
43569         * sysdeps/sparc/elf/configure: Delete file.
43570         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43571         * sysdeps/sparc/sparc32/start.S: ... here.
43572         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43573         * sysdeps/sparc/sparc64/start.S: ... here.
43574         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43575         * sysdeps/sparc/sparc32/Makefile: ... this.
43576         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43577         * sysdeps/sparc/sparc64/Makefile: ... this.
43578
43579         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43580         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43581         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43582         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43583         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43584         * sysdeps/s390/s390-32/setjmp.S: ... here.
43585         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43586         * sysdeps/s390/s390-32/configure.in: ... here.
43587         * sysdeps/s390/s390-32/elf/configure: Delete file.
43588         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43589         * sysdeps/s390/s390-32/start.S: ... here.
43590
43591         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43592         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43593         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43594         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43595         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43596         * sysdeps/s390/s390-64/setjmp.S: ... here.
43597         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43598         * sysdeps/s390/s390-64/configure.in: ... here
43599         * sysdeps/s390/s390-64/elf/configure: Delete file.
43600         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43601         * sysdeps/s390/s390-64/start.S: ... here.
43602         * sysdeps/s390/s390-64/elf/configure: Delete.
43603
43604         * configure.in: Remove support for elf directories in sysdeps.
43605
43606         * configure: Regenerated.
43607         * sysdeps/i386/configure: Regenerated.
43608         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43609         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43610         * sysdeps/s390/s390-32/configure: Regenerated.
43611         * sysdeps/s390/s390-64/configure: Regenerated.
43612         * sysdeps/sh/configure: Regenerated.
43613         * sysdeps/sparc/configure: Regenerated.
43614         * sysdeps/x86_64/configure: Regenerated.
43615
43616 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43617
43618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43619
43620         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43621         denormal result into account.
43622
43623 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43624
43625         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43626         Reported by Allan McRae <allan@archlinux.org>.
43627
43628 2012-03-23  Jeff Law  <law@redhat.com>
43629
43630         * nss/getnssent.c (__nss_getent): Fix typo.
43631
43632 2012-03-23  David S. Miller  <davem@davemloft.net>
43633
43634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43635
43636 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43637
43638         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43639         to pad to uint64_t for each field.
43640         (dl_tls_index): Replace unsigned long with uint64_t.
43641
43642 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43643         Paul Pluzhnikov  <ppluzhnikov@google.com>
43644
43645         [BZ #6528]
43646         * grp/Makefile (otherlibs): Don't set it.
43647         * inet/Makefile (otherlibs): Likewise.
43648         * login/Makefile (otherlibs): Likewise.
43649         * nscd/Makefile (otherlibs): Likewise.
43650         * posix/Makefile (otherlibs): Likewise.
43651         * pwd/Makefile (otherlibs): Likewise.
43652         * rt/Makefile (otherlibs): Likewise.
43653         * sunrpc/Makefile (otherlibs): Likewise.
43654         * nss/Makefile (otherlibs): Likewise.
43655         Add libnss_files to routines and static-only-routines.
43656         ($(objpfx)getent): Remove rule.
43657         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43658         static-only-routines.
43659
43660 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43661
43662         [BZ #13892]
43663         * math/s_cexp.c: Include <float.h>.
43664         (__cexp): Handle exp result overflowing not necessarily
43665         overflowing both real and imaginary parts of result.
43666         * math/s_cexpf.c: Likewise.
43667         * math/s_cexpl.c: Likewise.
43668         * math/libm-test.inc (cexp_test): Add more tests.
43669         * sysdeps/i386/fpu/libm-test-ulps: Update.
43670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43671
43672 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43673
43674         * include/link.h (ELFW): New macro.
43675         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43676         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43677
43678 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43679
43680         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43681         with uint64_t.
43682
43683 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43684
43685         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43686         declaration.
43687         (struct La_x32_retval): Likewise.
43688
43689 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43690
43691         * sysdeps/x86_64/preconfigure.in: New file.
43692         * sysdeps/x86_64/preconfigure: New generated file.
43693
43694 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43695
43696         [BZ #13824]
43697         * math/e_exp2l.c: Include <float.h>.
43698         (__ieee754_exp2l): Handle overflow and underflow cases
43699         separately.  Only pass fractional part of argument to
43700         __ieee754_expl.
43701         * math/libm-test.inc (exp2_test): Add more tests.
43702
43703         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43704         negating x to take absolute value.
43705         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43706         Likewise.
43707         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43708         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43709         Likewise.
43710         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43711         computing low part if x was negated.
43712         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43713
43714 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43715
43716         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43717         la_x32_gnu_pltexit.
43718         (pltexit): Cast int_retval to ptrdiff_t.
43719         * elf/tst-auditmod3b.c: Likewise.
43720         * elf/tst-auditmod4b.c: Likewise.
43721         * elf/tst-auditmod5b.c: Likewise.
43722         * elf/tst-auditmod6b.c: Likewise.
43723         * elf/tst-auditmod6c.c: Likewise.
43724         * elf/tst-auditmod7b.c: Likewise.
43725
43726         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43727         and x32_gnu_pltexit.
43728
43729         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43730         __ELF_NATIVE_CLASS.
43731         (La_x32_regs): New macro.
43732         (La_x32_retval): Likewise.
43733         (la_x32_gnu_pltenter): New function prototype.
43734         (la_x32_gnu_pltexit): Likewise.
43735
43736 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43737
43738         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43739         exponent.
43740
43741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43742
43743         * configure.in (libc_cv_cc_nofma): Check for option to disable
43744         generation of FMA instructions.
43745         * configure: Regenerate.
43746         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43747         * sysdeps/ieee754/dbl-64/Makefile: New file.
43748         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43749         Remove brandred-fma4.
43750         (CFLAGS-brandred-fma4.c): Remove.
43751         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43752         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43753         define.
43754         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43755         define.
43756
43757 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43758
43759         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43760         LLONG_MAX != LONG_MAX.
43761         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43762         (_fitoa_word): Likewise.
43763         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43764         LLONG_MAX != LONG_MAX.
43765         * stdio-common/_itowa.h: Include <_itoa.h>.
43766         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43767         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43768         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43769         only if not defined.
43770         (_ITOA_WORD_TYPE): Likewise.
43771         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43772         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43773
43774 2012-03-21  David S. Miller  <davem@davemloft.net>
43775
43776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43777
43778 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43779
43780         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43781         of x86_64 when setting libc_cv_slibdir, libdir and
43782         libc_cv_localedir.
43783         * sysdeps/unix/sysv/linux/configure: Regenerated.
43784
43785 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43786
43787         * manual/lang.texi (Old Varargs): Remove section.
43788         (How Variadic): Update menu.
43789         (va_start): Do not mention varargs.h.
43790
43791 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43792             Joseph Myers  <joseph@codesourcery.com>
43793
43794         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43795         link test.
43796         * configure: Regenerated.
43797
43798 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43799
43800         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43801         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43802         conformtest.pl
43803
43804 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43805
43806         * NOTES: Remove.
43807         * Makefile (files-for-dist): Remove NOTES.
43808         (NOTES): Remove rule.
43809         * README: Don't refer to NOTES.
43810         * manual/creature.texi: Don't include macros.texi.
43811         * manual/intro.texi (creature.texi): Remove comment referring to
43812         NOTES.
43813
43814         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43815         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43816         * configure: Regenerated.
43817         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43818         LIBC_TRY_CC_OPTION.
43819         (libc_cv_as_i686): Likewise.
43820         (libc_cv_cc_avx): Likewise.
43821         (libc_cv_cc_sse2avx): Likewise.
43822         (libc_cv_cc_fma4): Likewise.
43823         (libc_cv_cc_novzeroupper): Likewise.
43824         * sysdeps/i386/configure: Regenerated.
43825
43826         [BZ #13883]
43827         * sysdeps/i386/fpu/s_cexp.S: Remove.
43828         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43829         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43830         * math/libm-test.inc (cexp_test): Add more tests.
43831         * sysdeps/i386/fpu/libm-test-ulps: Update.
43832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43833
43834 2012-03-21  Allan McRae  <allan@archlinux.org>
43835
43836         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43837
43838 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43839
43840         [BZ #13871]
43841         * math/w_exp2.c: Do not include <float.h>.
43842         (o_threshold, u_threshold): Remove.
43843         (__exp2): Calculate result before checking finiteness and calling
43844         __kernel_standard.
43845         * math/w_exp2f.c: Likewise.
43846         * math/w_exp2l.c: Likewise.
43847         * math/libm-test.inc (exp2_test): Require overflow exception for
43848         1e6 input.
43849
43850         [BZ #3866]
43851         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43852         range of signed 64-bit integers before using fistpll.  Remove
43853         checks for whether integers fit in mantissa bits.
43854         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43855         the range of signed 32-bit integers before using fistpl.  Remove
43856         checks for whether integers fit in mantissa bits.
43857         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43858         (__ieee754_powl): Test for y outside the range of signed 64-bit
43859         integers before using fistpll.  Reduce 64-bit values to 63-bit
43860         ones as needed.
43861         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43862         divide-by-zero is raised for zero to large negative powers.
43863         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43864         (__ieee754_powl): Test for y outside the range of signed 64-bit
43865         integers before using fistpll.  Reduce 64-bit values to 63-bit
43866         ones as needed.
43867         * math/libm-test.inc (pow_test): Add more tests.
43868
43869 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43870
43871         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43872         <stdio-common/_itoa.h>.
43873         * debug/segfault.c: Likewise.
43874         * elf/dl-cache.c: Likewise.
43875         * elf/dl-minimal.c: Likewise.
43876         * elf/dl-misc.c: Likewise.
43877         * elf/dl-sysdep.c: Likewise.
43878         * elf/dl-version.c: Likewise.
43879         * elf/rtld.c: Likewise.
43880         * hurd/hurdsock.c: Likewise.
43881         * hurd/lookup-retry.c: Likewise.
43882         * malloc/malloc.c: Likewise.
43883         * malloc/mtrace.c: Likewise.
43884         * nscd/nscd_getgr_r.c: Likewise.
43885         * nscd/nscd_getpw_r.c: Likewise.
43886         * nscd/nscd_getserv_r.c: Likewise.
43887         * posix/getopt_init.c: Likewise.
43888         * posix/wordexp.c: Likewise.
43889         * stdio-common/_itoa.c: Likewise.
43890         * stdio-common/printf_fphex.c: Likewise.
43891         * stdio-common/vfprintf.c: Likewise.
43892         * string/_strerror.c: Likewise.
43893         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43894         * sysdeps/i386/i686/hp-timing.h: Likewise.
43895         * sysdeps/mach/_strerror.c: Likewise.
43896         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43897         * sysdeps/mach/hurd/sethostid.c: Likewise.
43898         * sysdeps/mach/hurd/xmknodat.c: Likewise.
43899         * sysdeps/mach/xpg-strerror.c: Likewise.
43900         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43901         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43902         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43903         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43904         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43905         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43906         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43907         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43908         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43909         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43910         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43911         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43912         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43913         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43914         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43915         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43916         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43917         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43918         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43919         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43920         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43921
43922         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43923
43924         * stdio-common/_itoa.h: Moved to ...
43925         * sysdeps/generic/_itoa.h: Here.
43926
43927         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43928
43929         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43930         instead of "_itoa.h" and "_itowa.h".
43931         * stdio-common/vfprintf.: Likewise.
43932
43933 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43934
43935         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43936         <bits/wordsize.h>.
43937         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43938         (__signbit): Likwise.
43939         (llrintf): Likwise.
43940         (llrint): Likwise.
43941
43942 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43943
43944         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43945         __WORDSIZE != 64.
43946
43947 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
43948
43949         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43950         OVERFLOW_EXCEPTION_OK.
43951         * math/libm-test.inc ("Philosophy"): Update comment about
43952         exception testing.
43953         (OVERFLOW_EXCEPTION): Define.
43954         (OVERFLOW_EXCEPTION_OK): Likewise.
43955         (INVALID_EXCEPTION_OK): Renumber.
43956         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43957         (IGNORE_ZERO_INF_SIGN): Likewise.
43958         (test_exceptions): Handle FE_OVERFLOW.
43959         (exp10_test): Expect overflow exceptions.
43960         (exp2_test): Likewise.
43961         (expm1_test): Likewise.
43962         (nextafter_test): Likewise.
43963         (pow_test): Likewise.
43964         (scalbn_test): Likewise.
43965         (scalbln_test): Likewise.
43966
43967 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43968
43969         * sysdeps/x86_64/bits/atomic.h
43970         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43971         64bit integer.
43972         (atomic_exchange_acq): Likewise.
43973         (__arch_exchange_and_add_body): Likewise.
43974         (__arch_add_body): Likewise.
43975         (atomic_add_negative): Likewise.
43976         (atomic_add_zero): Likewise.
43977
43978 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43979
43980         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43981         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43982
43983 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43984
43985         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43986         Check __x86_64__ instead of __WORDSIZE.
43987
43988 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43989
43990         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43991
43992 2012-03-19  David S. Miller  <davem@davemloft.net>
43993
43994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43995
43996         * sysdeps/sparc/fpu/fenv_private.h: New file.
43997         * sysdeps/sparc/fpu/math_private.h: Use it.
43998         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43999         Remove.
44000         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44001         (libc_feholdexcept_setroundl): Remove.
44002         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44003         Remove.
44004         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44005         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44006
44007 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44008
44009         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44010         int64_t instead of long int.
44011         (INSERT_WORDS64): Likwise.
44012
44013 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44014
44015         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44016         _Unwind_GetCFA return to _Unwind_Ptr first.
44017
44018 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44019
44020         [BZ #13629]
44021         * math/s_clog.c: Include <float.h>.
44022         (__clog): Scale large or subnormal inputs.
44023         * math/s_clogf.c: Likewise.
44024         * math/s_clogl.c: Likewise.
44025         * math/s_clog10.c: Include <float.h>.
44026         (M_LOG10_2): Define.
44027         (__clog10): Scale large or subnormal inputs.
44028         * math/s_clog10f.c: Likewise.
44029         * math/s_clog10l.c: Likewise.
44030         * math/libm-test.inc (clog_test): Add more tests.
44031         (clog10_test): Likewise.
44032         * sysdeps/i386/fpu/libm-test-ulps: Update.
44033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44034
44035         [BZ #11451]
44036         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44037         x and y.
44038         * math/libm-test.inc (atan2_test): Add another test.
44039
44040         * Makerules (common-objdir-compile): Remove.
44041         * sysdeps/unix/Makefile (config-generated): Do not add
44042         $(unix-generated) to variable.
44043         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44044         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44045         Remove rule.
44046         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44047         Likewise.
44048         [generic bits/local_lim.h] (before-compile): Do not append to
44049         variable.
44050         [generic bits/local_lim.h] (common-generated): Likewise.
44051         [generic sys/param.h] (before-compile): Do not append to variable.
44052         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44053         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44054         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44055         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44056         include.
44057         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44058         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44059         [generic sys/param.h] ($(addprefix
44060         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44061         [generic sys/param.h] (common-generated): Do not append to
44062         variable.
44063         [generic sys/param.h] (sysdep_headers): Likewise.
44064         [generic bits/errno.h] (before-compile): Do not append to
44065         variable.
44066         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44067         rule.
44068         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44069         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44070         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44071         [generic bits/errno.h] (common-generated): Do not append to
44072         variable.
44073         [generic bits/ioctls.h] (before-compile): Do not append to
44074         variable.
44075         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44076         rule.
44077         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44078         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44079         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44080         rule.
44081         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44082         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44083         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44084         [generic bits/ioctls.h] (common-generated): Do not append to
44085         variable.
44086         [generic sys/syscall.h] (syscall.h): Remove variable.
44087         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44088         rule.
44089         [generic sys/syscall.h] (before-compile): Do not append to
44090         variable.
44091         [generic sys/syscall.h] (common-generated): Likewise.
44092         * sysdeps/unix/errnos-tmpl.c: Remove file.
44093         * sysdeps/unix/errnos.awk: Likewise.
44094         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44095         * sysdeps/unix/ioctls.awk: Likewise.
44096         * sysdeps/unix/mk-local_lim.c: Likewise.
44097         * sysdeps/unix/snarf-ioctls: Likewise.
44098
44099 2012-03-19  Richard Henderson  <rth@twiddle.net>
44100
44101         * sysdeps/i386/fpu/fenv_private.h: New file.
44102         * sysdeps/i386/fpu/math_private.h: Use it.
44103         (math_opt_barrier, math_force_eval): Remove.
44104         (libc_feholdexcept_setround_53bit): Remove.
44105         (libc_feupdateenv_53bit): Remove.
44106         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44107         (math_opt_barrier, math_force_eval): Remove.
44108         (libc_feholdexcept): Remove.
44109         (libc_feholdexcept_setround): Remove.
44110         (libc_fetestexcept, libc_fesetenv): Remove.
44111         (libc_feupdateenv_test): Remove.
44112         (libc_feupdateenv, libc_feholdsetround): Remove.
44113         (libc_feresetround): Remove.
44114
44115         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44116         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44117
44118         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44119         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44120         (libc_feupdateenv_testl): New.
44121         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44122         (libc_feupdateenv_testf): New.
44123         (libc_feupdateenv): Use libc_feupdateenv_test.
44124         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44125         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44126
44127         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44128         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44129         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44130         (libc_feresetround_noex): New.
44131         (libc_feresetround_noexf): New.
44132         (libc_feresetround_noexl): New.
44133         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44134         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44135         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44136         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44137         SET_RESTORE_ROUND.
44138         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44139         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44140         (__cos): Likewise.
44141         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44142         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44143         SET_RESTORE_ROUND_NOEX.
44144         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44145         SET_RESTORE_ROUND_NOEXF.
44146         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44147         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44148         (libc_feholdsetroundf): New.
44149         (libc_feresetround, libc_feresetroundf): New.
44150
44151         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44152         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44153         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44154
44155         * sysdeps/generic/math_private.h: Include <fenv.h>.
44156         (default_libc_feholdexcept): New.
44157         (default_libc_feholdexcept_setround): New.
44158         (default_libc_fesetenv, default_libc_feupdateenv): New.
44159         (libc_feholdexcept): Only define if undefined.
44160         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44161         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44162         (libc_feholdexcept_setroundl): Likewise.
44163         (libc_feholdexcept_setround_53bit): Likewise.
44164         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44165         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44166         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44167         (libc_feupdateenv_53bit): Likewise.
44168         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44169         (libc_feholdexcept): Convert from macro to inline function.
44170         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44171         (libc_fesetenv, libc_feupdateenv): Likewise.
44172
44173         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44174         not previously defined.
44175         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44176         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44177         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44178         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44179         * sysdeps/ieee754/flt-32/math_private.h: New file.
44180         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44181         math_private.h below SET_FLOAT_WORD.
44182         (__isnan, __isinf_ns, __finite): Remove.
44183         (__isnanf, __isinf_nsf, __finitef): Remove.
44184
44185 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44186
44187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44188
44189 2012-03-17  David S. Miller  <davem@davemloft.net>
44190
44191         [BZ #6471]
44192         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44193         for 2.16.
44194
44195 2012-03-16  David S. Miller  <davem@davemloft.net>
44196
44197         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44198         warnings.
44199
44200         [BZ #6471]
44201         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44202         properly.
44203         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44204         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44205         sysdep_routines when subdir is sysvipc.
44206         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44207         __getshmlba helper.
44208
44209         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44210
44211 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44212
44213         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44214         [__LP64__].
44215
44216 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44217
44218         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44219         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44220         (__lround): Renamed to ...
44221         (__llround): This.  Replace long int with long long int.
44222         Define lround functions as aliases of llround functions.
44223         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44224
44225 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44226
44227         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44228         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44229         adresses to uintptr_t.  Replace "long int" and "unsigned long
44230         int" with "greg_t" on va_arg.
44231
44232 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44233
44234         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44235         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44236
44237         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44238         Move e_machine check before EI_CLASS check.  Handle x32
44239         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44240         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44241         SKIP_EM_IA_64 and include
44242         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44243
44244         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44245         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44246         (add_system_dir): New macro.
44247
44248         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44249         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44250
44251 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44252
44253         [BZ #2551]
44254         [BZ #2552]
44255         [BZ #2553]
44256         [BZ #2554]
44257         [BZ #2562]
44258         [BZ #2563]
44259         [BZ #2565]
44260         [BZ #2566]
44261         [BZ #2576]
44262         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44263         (y0): Likewise.
44264         * math/w_j0f.c (j0f): Likewise.
44265         (y0f): Likewise.
44266         * math/w_j0l.c (__j0l): Likewise.
44267         (__y0l): Likewise.
44268         * math/w_j1.c (j1): Likewise.
44269         (y1): Likewise.
44270         * math/w_j1f.c (j1f): Likewise.
44271         (y1f): Likewise.
44272         * math/w_j1l.c (__j1l): Likewise.
44273         (__y1l): Likewise.
44274         * math/w_jn.c (jn): Likewise.
44275         (yn): Likewise.
44276         * math/w_jnf.c (jnf): Likewise.
44277         (ynf): Likewise.
44278         * math/w_jnl.c (__jnl): Likewise.
44279         (__ynl): Likewise.
44280         * math/libm-test.inc (j0_test): Add more tests.
44281         (j1_test): Likewise.
44282         (jn_test): Likewise.  Add trailing semicolon to existing test.
44283         (y0_test): Likewise.
44284         (y1_test): Likewise.
44285         * sysdeps/i386/fpu/libm-test-ulps: Update.
44286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44287
44288         [BZ #13851]
44289         [BZ #13854]
44290         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44291         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44292         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44293         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44294         (__tanl): Set errno for infinite argument.
44295         * sysdeps/i386/fpu/mptan.c: Remove.
44296         * sysdeps/i386/fpu/s_tan.S: Likewise.
44297         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44298         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44299         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44300         * math/libm-test.inc (tan_test): Add more tests and enable more
44301         tests for double and long double.
44302         * sysdeps/i386/fpu/libm-test-ulps: Update.
44303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44304
44305 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44306
44307         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44308         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44309
44310 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44311
44312         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44313         * configure.in: Use it for both main tree and add-ons.
44314         * configure: Regenerated.
44315
44316 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44317
44318         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44319
44320 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44321
44322         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44323         in comment.
44324
44325         [BZ #13851]
44326         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44327         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44328         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44329         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44330         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44331         infinite argument.
44332         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44333         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44334         != 0 for prec == 2.
44335         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44336         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44337         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44338         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44339         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44340         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44341         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44342         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44343         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44344         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44345         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44346         * math/libm-test.inc (cos_test): Add more tests and enable more
44347         tests for long double.
44348         (sin_test): Likewise.
44349         (sincos_test): Likewise.
44350         * sysdeps/i386/fpu/libm-test-ulps: Update.
44351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44352
44353 2012-03-16  David S. Miller  <davem@davemloft.net>
44354
44355         * sysdeps/sparc/fpu/math_private.h: New file.
44356
44357 2012-03-15  David S. Miller  <davem@davemloft.net>
44358
44359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44360         file.
44361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44363         file.
44364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44367         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44368         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44369         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44370         sysdep routines.
44371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44372
44373         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44374         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44375
44376         * sysdeps/sparc/sparc-ifunc.h: New file.
44377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44378         sparc-ifunc.h
44379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44381         Likewise.
44382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44383         Likewise.
44384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44388         Likewise.
44389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44394         Likewise.
44395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44396         Likewise.
44397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44401         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44403         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44404         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44406         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44409         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44410         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44411         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44412         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44413         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44414         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44415         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44416         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44417         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44418         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44419         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44420         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44421
44422 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44423
44424         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44425         scaling.
44426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44427
44428 2012-03-15  Andreas Jaeger  <aj@suse.de>
44429
44430         [BZ #13852]
44431         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44432         ieee754/flt-32 implementation for sin, cos and sincos.
44433         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44434         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44435         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44436         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44437         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44438         ieee754/flt-32 implementation for tan.
44439
44440         * math/libm-test.inc (cos_test): Enable some large input tests for
44441         float as well
44442         (sin_test): Likewise.
44443         (sincos_test): Likewise.
44444         (tan_test): Add tests for large input.
44445
44446         * sysdeps/i386/fpu/libm-test-ulps: Update.
44447
44448 2012-03-15  Andreas Jaeger  <aj@suse.de>
44449
44450         [BZ #13658]
44451         * math/libm-test.inc (cos_test): Add more test cases.
44452         (sin_test): Likewise.
44453         (sincos_test): Likewise.
44454
44455 2012-03-15  Andreas Jaeger  <aj@suse.de>
44456
44457         [BZ #13837]
44458         * math/libm-test.inc (cos_test): Add a test case for large input
44459         value.
44460         (sin_test): Likewise.
44461         (sincos_test): Likewise.
44462
44463 2012-03-15  Andreas Jaeger  <aj@suse.de>
44464             Joseph Myers  <joseph@codesourcery.com>
44465
44466         [BZ #13658]
44467         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44468         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44469         * sysdeps/i386/fpu/branred.c: Likewise.
44470         * sysdeps/i386/fpu/dosincos.c: Likewise.
44471         * sysdeps/i386/fpu/mpa.c: Likewise.
44472         * sysdeps/i386/fpu/s_cos.S: Likewise.
44473         * sysdeps/i386/fpu/s_sin.S: Likewise.
44474         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44475         * sysdeps/i386/fpu/sincos32.c: Likewise.
44476
44477         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44478         Define.
44479         (libc_feupdateenv_53bit): Define.
44480         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44481         Define.
44482         (libc_feupdateenv_53bit): Define.
44483
44484         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44485         53 bit (without extend i386 double precision).
44486
44487         * math/libm-test.inc (sincos_test): Add tests for large input.
44488         (sin): Likewise.
44489         (cos): Likewise.
44490
44491         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44492
44493 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44494
44495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44496
44497 2012-03-15  David S. Miller  <davem@davemloft.net>
44498
44499         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44500         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44501         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44502         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44507         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44508         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44509         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44510         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44511         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44512         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44513         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44515         file.
44516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44518         file.
44519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44521         file.
44522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44524         file.
44525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44526         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44527         fmin/fmax sysdep routines.
44528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44529
44530 2012-03-14  David S. Miller  <davem@davemloft.net>
44531
44532         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44533         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44534         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44535         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44536         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44537         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44538         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44539         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44540         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44541         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44542         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44543         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44544         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44545         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44546         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44547         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44548         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44549         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44552         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44553         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44554         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44555         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44556         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44557         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44558         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44559         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44560         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44561         routines.
44562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44563         file.
44564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44566         file.
44567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44569         file.
44570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44572         file.
44573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44575         file.
44576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44578         file.
44579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44580         file.
44581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44582         file.
44583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44584         file.
44585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44586         New file.
44587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44588         file.
44589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44590         file.
44591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44593         file.
44594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44596         file.
44597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44599         file.
44600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44602         VIS3 routines.
44603
44604         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44605         New file.
44606
44607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44608
44609         * sysdeps/sparc/configure.in: New file.
44610         * sysdeps/sparc/configure: Generate.
44611         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44612         * configure: Regenerate.
44613         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44614         * config.make.in (have-as-vis3): New.
44615         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44616         available use -Av9d instead of -Av9a.
44617         * sysdeps/sparc/sparc64/Makefile: Likewise.
44618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44620         New file.
44621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44622         file.
44623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44624         New file.
44625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44626         file.
44627         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44628         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44629         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44630         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44631         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44632
44633         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44634         fzeros/fnegs to load 0x80000000 into a float register instead of
44635         using the stack.
44636         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44637
44638 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44639
44640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44641         bits/syscall.h.
44642         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44643         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44644         ($(inst_includedir)/bits/syscall.h): Remove rule.
44645         ($(objpfx)bits/syscall.d): Include instead of
44646         $(objpfx)syscall-list.d.
44647         (generated): Change syscall-list.h and syscall-list.d to
44648         bits/syscall.h and bits/syscall.d.
44649
44650 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44651
44652         [BZ #13846]
44653         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44654
44655 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44656
44657         [BZ #13841]
44658         * math/s_csqrt.c: Include <float.h>.
44659         (__csqrt): Scale large or subnormal inputs.
44660         * math/s_csqrtf.c: Likewise.
44661         * math/s_csqrtl.c: Likewise.
44662         * math/libm-test.inc (csqrt_test): Add more tests.
44663         * sysdeps/i386/fpu/libm-test-ulps: Update.
44664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44665
44666         [BZ #13840]
44667         * math/libm-test.inc (hypot_test): Add more tests.
44668
44669 2012-03-13  David S. Miller  <davem@davemloft.net>
44670
44671         [BZ #13840]
44672         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44673         double-precision for the calculation instead of scaling.
44674
44675 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44676
44677         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44678         manipulate bits before adding and subtracting TWO52[sx].
44679         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44680         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44681         Likewise.
44682         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44683
44684 2012-03-13  David S. Miller  <davem@davemloft.net>
44685
44686         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44687         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44688         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44689         rtld-global-offsets.h
44690         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44691
44692         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44693         large parameters.
44694
44695         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44696
44697         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44698         'err' in the ifdef scope in which it is actually used.
44699
44700         * nss/nss_db/db-init.c: Include string.h
44701
44702 2012-03-12  David S. Miller  <davem@davemloft.net>
44703
44704         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44705         masking out of the most significant byte of random value used.
44706         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44707         Fix coding style in previous change.
44708
44709         * sysdeps/unix/sysv/linux/kernel-features.h
44710         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44711         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44712         expression.
44713         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44714         later.
44715
44716 2012-03-11  David S. Miller  <davem@davemloft.net>
44717
44718         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44719         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44720         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44721         for 'resultvar' otherwise things get truncated on 64-bit.
44722
44723         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44724         Fix masking out of the most significant byte of random value used.
44725
44726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44727
44728 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44729
44730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44731
44732 2012-03-09  David S. Miller  <davem@davemloft.net>
44733
44734         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44735         variables with appropriate CPP guards.
44736         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44737         from the frame pointer, not the stack pointer.  Correct layout
44738         comments.  Fix test on resulting framesize and the management of
44739         the outregs buffer for pltexit.  Preserve floating point return
44740         values across _dl_call_pltexit call.
44741         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44742         framesize and the management of the outregs buffer for pltexit.
44743         Preserve floating point return values across _dl_call_pltexit
44744         call.
44745         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44746         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44747         (la_sparc64_gnu_pltexit): New functions.
44748         (print_exit): Fix format string for return register value.
44749
44750 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44751
44752         * sunrpc/Makefile (others): Add rpcgen.
44753         ($(objpfx)rpcgen): Remove special build rule and dependency on
44754         libc.
44755         * sunrpc/rpcgen.c: New file.
44756
44757 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44758
44759         [BZ #13673]
44760         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44761         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44762         * sysdeps/i386/crti.S: Likewise.
44763         * sysdeps/i386/crtn.S: Likewise.
44764         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44765         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44766         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44767         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44768         * sysdeps/sh/crti.S: Likewise.
44769         * sysdeps/sh/crtn.S: Likewise.
44770         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44771
44772         [BZ #13673]
44773         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44774         with URL.
44775         * locale/programs/locfile-kw.gperf: Likewise.
44776         * locale/programs/charmap-kw.h: Regenerated.
44777         * locale/programs/locfile-kw.h: Likewise.
44778
44779         [BZ #13673]
44780         * intl/plural.y: Replace FSF snail mail address with URL.
44781         * intl/plural.c: Regenerated.
44782
44783 2012-03-09  Richard Henderson  <rth@twiddle.net>
44784
44785         * include/math_private.h: Remove file.
44786         * math/math_private.h: Move file ...
44787         * sysdeps/generic/math_private.h: ... here.
44788
44789         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44790         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44791         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44792
44793         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44794         and <math_private.h>.
44795         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44796         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44797         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44798         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44799         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44800         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44801         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44802         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44803         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44804         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44805         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44806         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44807         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44808         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44809         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44810         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44811         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44812         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44813         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44814         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44815         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44816         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44817         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44818         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44819         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44820         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44821         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44822         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44823         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44824         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44825         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44826         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44827         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44828         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44829         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44830         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44831         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44832         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44833         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44834         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44835         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44836         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44837         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44838         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44839         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44840         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44841         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44842         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44843         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44844         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44845         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44846         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44847         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44848         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44849         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44850         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44851         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44852         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44853         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44854         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44855         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44856         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44857         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44858         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44859         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44860         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44861         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44862         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44863         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44864         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44865         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44866         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44867         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44868         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44869         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44870         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44871         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44872         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44873         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44874         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44875         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44876         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44877         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44878         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44879         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44880         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44881         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44882         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44883         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44884         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44885         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44886         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44887         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44888         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44889         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44890         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44891         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44892         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44893         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44894         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44895         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44896         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44897         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44898         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44899         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44900         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44901         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44902         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44903         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44904         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44905         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44906         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44907         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44908         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44909         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44910         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44911         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44912         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44913         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44914         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44915         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44916         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44917         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44918         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44919         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44920         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44921         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44922         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44923         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44924         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44925         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44926         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44927         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44928         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44929         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44930         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44931         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44932         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44933         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44934         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44935         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44936         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44937         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44938         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44939         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44940         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44941         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44942         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44943         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44944         * sysdeps/ieee754/k_standard.c: Likewise.
44945         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44946         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44947         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44948         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44949         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44950         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44951         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44952         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44953         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44954         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44955         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44956         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44957         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44958         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44959         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44960         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44961         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44962         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44963         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44964         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44965         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44966         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44967         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44968         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44969         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44970         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44971         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44972         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44973         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44974         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44975         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44976         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44977         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44978         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44979         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44980         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44981         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44982         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44983         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44984         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44985         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44986         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44987         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44988         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44989         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44990         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44991         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44992         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44993         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44994         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44995         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44996         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44997         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44998         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44999         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45000         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45001         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45002         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45003         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45004         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45005         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45006         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45007         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45008         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45009         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45010         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45011         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45012         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45013         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45014         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45015         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45016         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45017         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45018         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45019         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45020         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45021         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45022         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45023         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45024         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45025         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45026         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45027         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45028         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45029         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45030         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45031         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45032         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45033         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45034         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45035         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45036         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45037         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45038         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45039         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45040         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45041         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45042         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45043         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45044         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45045         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45046         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45047         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45048         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45049         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45050         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45051         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45052         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45053         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45054         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45055         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45056         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45057         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45058         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45059         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45060         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45061         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45062         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45063         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45064         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45065         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45066         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45067         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45068         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45069         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45070         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45071         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45072         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45073         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45074         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45075         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45076         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45077         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45078         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45079         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45080         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45081         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45082         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45083         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45084         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45085         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45086         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45087         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45088         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45089         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45090         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45091         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45092         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45093         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45094         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45095         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45096         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45097         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45098         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45099         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45100         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45101         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45102         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45103         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45104         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45105         * sysdeps/ieee754/s_lib_version.c: Likewise.
45106         * sysdeps/ieee754/s_matherr.c: Likewise.
45107         * sysdeps/ieee754/s_signgam.c: Likewise.
45108         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45109         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45110         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45111         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45112         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45113         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45114         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45115         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45116         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45117         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45118         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45119         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45120         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45121         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45122         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45123         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45124         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45125         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45126         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45127         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45128         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45129
45130 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45131
45132         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45133         * sunrpc/rpc_main.c: Likewise.
45134         * sunrpc/rpc_svcout.c: Likewise.
45135
45136 2012-03-09  David S. Miller  <davem@davemloft.net>
45137
45138         * include/math_private.h: New file.
45139
45140 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45141
45142         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45143         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45144         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45145         from <bits/socket_type.h>.
45146         (enum __socket_type): Don't define here.
45147         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45148         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45149         bits/socket_type.h.
45150
45151         [BZ #13566]
45152         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45153         checking __USE_GNU.
45154
45155         * Makerules ($(inst_includedir)/%.h): New rule.
45156         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45157         (install-others): Remove variable setting.
45158         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45159
45160 2012-03-08  Richard Henderson  <rth@twiddle.net>
45161
45162         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45163         from macro to inline function; merge with the
45164         !__LIBC_INTERNAL_MATH_INLINES version.
45165         (__ieee754_sqrtf): Likewise.
45166
45167         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45168         to inline function.
45169         (__rintf, __floor, __floorf): Likewise.
45170
45171         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45172         macro to inline function.
45173         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45174
45175         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45176         not <math/math_private.h>.
45177
45178 2012-03-08  David S. Miller  <davem@davemloft.net>
45179
45180         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45181         copyright year.
45182         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45183
45184 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45185
45186         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45187         normalization.
45188         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45189         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45190
45191 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45192
45193         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45194         be defined individually, they must be defined as a block.  Define
45195         S for printing a string instead of hidint the different by using a
45196         macro for adding the 'l'.
45197         * stdio-common/tst-fphex-wide.c: Adjust.
45198
45199 2012-03-07  Marek Polacek  <polacek@redhat.com>
45200
45201         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45202
45203 2012-03-08  Marek Polacek  <polacek@redhat.com>
45204
45205         [BZ #13806]
45206         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45207         * stdio-common/tst-fphex.c: Define a few macros to make the
45208         test reusable.  Use them.
45209         * stdio-common/tst-fphex-wide.c: New file.
45210
45211 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45212
45213         [BZ #6911]
45214         * manual/macros.texi (gnusystems): New macro.
45215         (nongnusystems): Likewise.
45216         (gnulinuxhurdsystems): Likewise.
45217         (gnuhurdsystems): Likewise..
45218         (gnulinuxsystems): Likewise.
45219         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45220         variants of the GNU system, not "GNU system".
45221         * manual/conf.texi: Likewise.
45222         * manual/errno.texi: Likewise.  Update example of errno macro
45223         expansion.
45224         * manual/filesys.texi: Likewise.
45225         (getumask): Document as specific to GNU/Hurd.
45226         * manual/install.texi: Likewise.  Reword some references to
45227         GNU/Linux.
45228         * manual/intro.texi: Likewise.
45229         * manual/io.texi: Likewise.
45230         (File Name Portability): Detail which constraints are inapplicable
45231         to all GNU systems and which are only inapplicable to GNU/Hurd.
45232         * manual/job.texi: Likewise.
45233         * manual/llio.texi: Likewise.
45234         (O_NOCTTY): Document as present on GNU/Linux.
45235         * manual/maint.texi: Likewise.
45236         * manual/memory.texi: Likewise.
45237         * manual/pattern.texi: Likewise.
45238         * manual/pipe.texi: Likewise.
45239         * manual/process.texi: Likewise.
45240         * manual/resource.texi: Likewise.
45241         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45242         child on GNU/Hurd.
45243         * manual/setjmp.texi: Likewise.
45244         * manual/signal.texi: Likewise.
45245         * manual/startup.texi: Likewise.
45246         * manual/stdio.texi: Likewise.
45247         * manual/terminal.texi: Likewise.
45248         (ONLCR): Document as POSIX.
45249         (OXTABS): Document availability on GNU/Linux as XTABS.
45250         (ONOEOT): Document availability separately from other bits.
45251         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45252         * manual/time.texi: Likewise.
45253         * manual/users.texi: Likewise.
45254         * INSTALL: Regenerated.
45255         * sysdeps/gnu/errlist.c: Regenerated.
45256
45257         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45258         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45259         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45260         puts.
45261         * configure: Regenerated.
45262
45263 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45264
45265         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45266         default includes instead of AC_HEADER_CHECK.
45267         * sysdeps/i386/configure: Regenerated.
45268
45269         [BZ #10716]
45270         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45271         * math/s_cacoshf.c (__cacoshf): Likewise.
45272         * math/s_cacoshl.c (__cacoshl): Likewise.
45273         * math/s_casinh.c (__casinh): Set signs of result from argument.
45274         * math/s_casinhf.c (__casinhf): Likewise.
45275         * math/s_casinhl.c (__casinhl): Likewise.
45276         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45277         (casinh_test): Add more tests.
45278         * sysdeps/i386/fpu/libm-test-ulps: Update.
45279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45280
45281 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45282
45283         * po/zh_TW.po: Update from translation team.
45284
45285         * login/Makefile (distribute): Remove variable.
45286         * catgets/Makefile: Likewise.
45287         * mach/Makefile: Likewise.
45288         * malloc/Makefile: Likewise.
45289         * misc/Makefile: Likewise.
45290         * iconv/Makefile: Likewise.
45291         * nscd/Makefile: Likewise.
45292         * hurd/Makefile: Likewise.
45293         * manual/Makefile: Likewise.
45294         * locale/Makefile: Likewise.
45295         * intl/Makefile: Likewise.
45296         * conform/Makefile: Likewise.
45297         * nss/Makefile: Likewise.
45298         * time/Makefile: Likewise.
45299         * soft-fp/Makefile: Likewise.
45300         * dirent/Makefile: Likewise.
45301         * gmon/Makefile: Likewise.
45302         * po/Makefile: Likewise.
45303         * rt/Makefile: Likewise.
45304         * socket/Makefile: Likewise.
45305         * math/Makefile: Likewise.
45306         * signal/Makefile: Likewise.
45307         * debug/Makefile: Likewise.
45308         * elf/Makefile: Likewise.
45309         * timezone/Makefile: Likewise.
45310         * stdlib/Makefile: Likewise.
45311         * iconvdata/Makefile: Likewise.
45312         * sunrpc/Makefile: Likewise.
45313         * io/Makefile: Likewise.
45314         * argp/Makefile: Likewise.
45315         * inet/Makefile: Likewise.
45316         * hesiod/Makefile: Likewise.
45317         * grp/Makefile: Likewise.
45318         * csu/Makefile: Likewise.
45319         * wctype/Makefile: Likewise.
45320         * crypt/Makefile: Likewise.
45321         * libio/Makefile: Likewise.
45322         * string/Makefile: Likewise.
45323         * nis/Makefile: Likewise.
45324         * resolv/Makefile: Likewise.
45325         * stdio-common/Makefile: Likewise.
45326         * wcsmbs/Makefile: Likewise.
45327         * dlfcn/Makefile: Likewise.
45328         * posix/Makefile: Likewise.
45329
45330         [BZ #6959]
45331         * timezone/Makefile: Don't install timezone files, just the programs
45332         and scripts.
45333
45334 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45335
45336         * nss/databases.def: Add missing gshadow entry.
45337
45338         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45339
45340 2012-03-06  Marek Polacek  <polacek@redhat.com>
45341
45342         [BZ #13726]
45343         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45344         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45345         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45346         * stdio-common/tst-long-dbl-fphex.c: New file.
45347
45348 2012-03-06  David S. Miller  <davem@davemloft.net>
45349
45350         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45351         (set_obp_int): New function.
45352         (get_obp_int): New function.
45353         (__get_clockfreq_via_dev_openprom): Likewise.
45354         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45355         Avoid unused variable warnings on 'val' and use builtin_expect.
45356         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45357         __builtin_expect.
45358         (INLINE_CLONE_SYSCALL): Likewise.
45359
45360 2012-03-05  David S. Miller  <davem@davemloft.net>
45361
45362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45363
45364 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45365
45366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45367
45368         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45369         only for |x| >= 40.
45370         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45371
45372 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45373
45374         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45375         Replace gettimeofday with __vdso_gettimeofday.
45376
45377         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45378         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45379         __vdso_clock_gettime and __vdso_getcpu.
45380
45381         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45382         time with __vdso_time.
45383
45384 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45385
45386         * manual/lang.texi (size_t): Note types to which size_t may be
45387         equivalent with the GNU C Library, but do not describe when
45388         differences between them are significant.
45389
45390 2012-03-05  Andreas Jaeger  <aj@suse.de>
45391
45392         * sysdeps/i386/fpu/libm-test-ulps: Update.
45393
45394 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45395
45396         [BZ #3976]
45397         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45398         (__ieee754_pow): Save and restore rounding mode and use
45399         round-to-nearest for main computations.
45400         * math/libm-test.inc (pow_test_tonearest): New function.
45401         (pow_test_towardzero): Likewise.
45402         (pow_test_downward): Likewise.
45403         (pow_test_upward): Likewise.
45404         (main): Call the new functions.
45405         * sysdeps/i386/fpu/libm-test-ulps: Update.
45406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45407
45408         [BZ #3976]
45409         * math/libm-test.inc (cosh_test_tonearest): New function.
45410         (cosh_test_towardzero): Likewise.
45411         (cosh_test_downward): Likewise.
45412         (cosh_test_upward): Likewise.
45413         (sinh_test_tonearest): Likewise.
45414         (sinh_test_towardzero): Likewise.
45415         (sinh_test_downward): Likewise.
45416         (sinh_test_upward): Likewise.
45417         (main): Call the new functions.
45418         * sysdeps/i386/fpu/libm-test-ulps: Update.
45419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45420
45421 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45422
45423         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45424         default stack guard is set in last bytes.
45425         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45426
45427 2012-03-05  Kees Cook  <keescook@chromium.org>
45428
45429         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45430
45431         [BZ #13656]
45432         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45433         possibly allocate from heap instead of stack.
45434         * stdio-common/bug-vfprintf-nargs.c: New file.
45435         * stdio-common/Makefile (tests): Add nargs overflow test.
45436
45437 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45438
45439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45440
45441 2012-03-03  Marek Polacek  <polacek@redhat.com>
45442
45443         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45444         * math/math_private.h: Likewise.
45445         * stdlib/tst-strtod.c: Likewise.
45446         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45447         * sysdeps/x86_64/bits/atomic.h: Likewise.
45448
45449 2012-03-02  David S. Miller  <davem@davemloft.net>
45450
45451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45455         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45456         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45457         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45458         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45459
45460 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45461
45462         [BZ #13792]
45463         * manual/examples/README: New file, says the example source files
45464         can be used under GPL>=2.
45465         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45466         line containing just "*/".
45467         * manual/examples/add.c: Add copyright header (GPL>=2).
45468         * manual/examples/argp-ex1.c: Likewise.
45469         * manual/examples/argp-ex2.c: Likewise.
45470         * manual/examples/argp-ex3.c: Likewise.
45471         * manual/examples/argp-ex4.c: Likewise.
45472         * manual/examples/atexit.c: Likewise.
45473         * manual/examples/db.c: Likewise.
45474         * manual/examples/dir.c: Likewise.
45475         * manual/examples/dir2.c: Likewise.
45476         * manual/examples/execinfo.c: Likewise.
45477         * manual/examples/filecli.c: Likewise.
45478         * manual/examples/filesrv.c: Likewise.
45479         * manual/examples/fmtmsgexpl.c: Likewise.
45480         * manual/examples/genpass.c: Likewise.
45481         * manual/examples/inetcli.c: Likewise.
45482         * manual/examples/inetsrv.c: Likewise.
45483         * manual/examples/isockad.c: Likewise.
45484         * manual/examples/longopt.c: Likewise.
45485         * manual/examples/memopen.c: Likewise.
45486         * manual/examples/memstrm.c: Likewise.
45487         * manual/examples/mkfsock.c: Likewise.
45488         * manual/examples/mkisock.c: Likewise.
45489         * manual/examples/mygetpass.c: Likewise.
45490         * manual/examples/pipe.c: Likewise.
45491         * manual/examples/popen.c: Likewise.
45492         * manual/examples/rprintf.c: Likewise.
45493         * manual/examples/search.c: Likewise.
45494         * manual/examples/select.c: Likewise.
45495         * manual/examples/setjmp.c: Likewise.
45496         * manual/examples/sigh1.c: Likewise.
45497         * manual/examples/sigusr.c: Likewise.
45498         * manual/examples/stpcpy.c: Likewise.
45499         * manual/examples/strdupa.c: Likewise.
45500         * manual/examples/strftim.c: Likewise.
45501         * manual/examples/strncat.c: Likewise.
45502         * manual/examples/subopt.c: Likewise.
45503         * manual/examples/swapcontext.c: Likewise.
45504         * manual/examples/termios.c: Likewise.
45505         * manual/examples/testopt.c: Likewise.
45506         * manual/examples/testpass.c: Likewise.
45507         * manual/examples/timeval_subtract.c: Likewise.
45508
45509         [BZ #13792]
45510         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45511         function to ...
45512         * manual/timeval_subtract.c.texi: ... here, new file.
45513
45514 2012-03-02  David S. Miller  <davem@davemloft.net>
45515
45516         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45517
45518 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45519
45520         [BZ #3976]
45521         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45522         (__sin): Save and restore rounding mode and use round-to-nearest
45523         for all computations.
45524         (__cos): Save and restore rounding mode and use round-to-nearest
45525         for all computations.
45526         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45527         <fenv.h>.
45528         (tan): Save and restore rounding mode and use round-to-nearest for
45529         all computations.
45530         * math/libm-test.inc (cos_test_tonearest): New function.
45531         (cos_test_towardzero): Likewise.
45532         (cos_test_downward): Likewise.
45533         (cos_test_upward): Likewise.
45534         (sin_test_tonearest): Likewise.
45535         (sin_test_towardzero): Likewise.
45536         (sin_test_downward): Likewise.
45537         (sin_test_upward): Likewise.
45538         (tan_test_tonearest): Likewise.
45539         (tan_test_towardzero): Likewise.
45540         (tan_test_downward): Likewise.
45541         (tan_test_upward): Likewise.
45542         (main): Call the new functions.
45543         * sysdeps/i386/fpu/libm-test-ulps: Update.
45544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45545
45546         [BZ #10135]
45547         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45548         small n, then large n, before computing and testing k+n.
45549         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45550         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45551         Likewise.
45552         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45553         Likewise.
45554         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45555         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45556         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45557         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45558         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45559         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45560         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45561         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45562         * math/libm-test.inc (scalbn_test): Add more tests.
45563         (scalbln_test): Likewise.
45564
45565         * manual/filesys.texi (mode_t): Describe constraints on size and
45566         signedness, not exact equivalence to a particular type.
45567         (ino_t): Likewise.
45568         (ino64_t): Likewise.
45569         (dev_t): Likewise.
45570         (nlink_t): Likewise.
45571         (blkcnt_t): Likewise.
45572         (blkcnt64_t): Likewise.
45573         * manual/llio.texi (off_t): Likewise.
45574
45575         [BZ #3976]
45576         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45577         (__ieee754_exp): Save and restore rounding mode and use
45578         round-to-nearest for all computations.
45579         * math/libm-test.inc (exp_test_tonearest): New function.
45580         (exp_test_towardzero): Likewise.
45581         (exp_test_downward): Likewise.
45582         (exp_test_upward): Likewise.
45583         (main): Call the new functions.
45584         * sysdeps/i386/fpu/libm-test-ulps: Update.
45585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45586
45587 2012-03-01  Chris Demetriou  <cgd@google.com>
45588
45589         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45590         have predictable order.
45591
45592 2012-03-01  David S. Miller  <davem@davemloft.net>
45593
45594         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45595
45596         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45597         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45598         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45599         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45600
45601         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45602         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45603         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45605         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45606         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45607         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45608         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45609         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45610
45611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45612
45613         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45614         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45615         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45616
45617         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45618         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45619         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45620         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45621         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45622         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45623         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45624         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45625         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45626         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45627         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45628         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45629         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45630         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45631         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45632         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45633         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45634         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45635         * sysdeps/sparc/elf/configure: Regenerated.
45636
45637 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45638
45639         * configure.in (AS, LD): Require binutils 2.20 or later.
45640         * configure: Regenerated.
45641         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45642         as required minimum version.
45643         * INSTALL: Regenerated.
45644
45645         [BZ #2541]
45646         [BZ #4108]
45647         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45648         before squaring exponent.
45649         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45650         bottom long double and 27 bits of top long double before squaring
45651         exponent.
45652         * math/libm-test.inc (erfc_test): Add more tests.
45653         * sysdeps/i386/fpu/libm-test-ulps: Update.
45654         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45656
45657 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45658
45659         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45660         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45661         containing bit-fields.
45662         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45663         * soft-fp/single.h (_FP_UNION_S): Likewise.
45664         * soft-fp/double.h (_FP_UNION_D): Likewise.
45665
45666 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45667
45668         [BZ #13786]
45669         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45670         not include ../strcmp.S.
45671         [USE_AS_STRNCASECMP_L]: Likewise.
45672         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45673         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45674         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45675         (__strncasecmp_l_ia32): Define as alias to
45676         __strncasecmp_l_nonascii.
45677
45678         [BZ #5794]
45679         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45680         * sysdeps/i386/fpu/libm-test-ulps: Update.
45681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45682
45683         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45685
45686 2012-02-29  Jeff Law  <law@redhat.com>
45687
45688         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45689         out of bounds read.
45690
45691 2012-02-29  Marek Polacek  <polacek@redhat.com>
45692
45693         [BZ #13706]
45694         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45695         * elf/Makefile: Add rules to run tst-unused-dep.out.
45696
45697 2012-02-28  David S. Miller  <davem@davemloft.net>
45698
45699         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45700         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45701         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45702         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45703         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45704         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45705
45706 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45707
45708         * math/libm-test.inc (llround_test): Move one test from
45709         lround_test.  Use TEST_f_L in moved test.
45710         (lround_test): Move misplaced test to llround_test.  Add testcase
45711         from bug 2561.
45712
45713 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45714
45715         * sysdeps/x86_64/fpu/e_expf.S: New file.
45716         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45717
45718 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45719
45720         [BZ #13637]
45721         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45722         of remain_len that may cause incomplete multi-byte character and
45723         false match.
45724         * posix/bug-regex33.c: New file.
45725         * posix/Makefile (tests): Add bug-regex33.
45726
45727 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45728
45729         * manual/macros.texi: New file.
45730         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45731         * manual/libc.texinfo: Include macros.texi.
45732         * manual/creatute.texi: Likewise.
45733         * manual/install.texi: Likewise.
45734         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45735         @glibcadj{} in references to the GNU C Library.
45736         * manual/charset.texi: Likewise.
45737         * manual/conf.texi: Likewise.
45738         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45739         when not using those macros.
45740         * manual/creature.texi: Likewise.
45741         * manual/crypt.texi: Likewise.
45742         * manual/errno.texi: Likewise.
45743         * manual/filesys.texi: Likewise.
45744         * manual/header.texi: Likewise.
45745         * manual/install.texi: Likewise.
45746         * manual/intro.texi: Likewise.
45747         * manual/io.texi: Likewise.
45748         * manual/job.texi: Likewise.
45749         * manual/lang.texi: Likewise.
45750         * manual/libc.texiinfo: Likewise.
45751         * manual/llio.texi: Likewise.
45752         * manual/locale.texi: Likewise.
45753         * manual/maint.texi: Likewise.
45754         * manual/math.texi: Likewise.
45755         * manual/memory.texi: Likewise.
45756         * manual/message.texi: Likewise.
45757         * manual/nss.texi: Likewise.
45758         * manual/pattern.texi: Likewise.
45759         * manual/process.texi: Likewise.
45760         * manual/resource.texi: Likewise.
45761         * manual/search.texi: Likewise.
45762         * manual/setjmp.texi: Likewise.
45763         * manual/signal.texi: Likewise.
45764         * manual/socket.texi: Likewise.
45765         * manual/startup.texi: Likewise.
45766         * manual/stdio.texi: Likewise.
45767         * manual/string.texi: Likewise.
45768         * manual/sysinfo.texi: Likewise.
45769         * manual/syslog.texi: Likewise.
45770         * manual/terminal.texi: Likewise.
45771         * manual/time.texi: Likewise.
45772         * manual/users.texi: Likewise.
45773         * INSTALL: Regenerated.
45774         * NOTES: Regenerated.
45775         * sysdeps/gnu/errlist.c: Regenerated.
45776
45777 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45778
45779         * include/dirent.h: Include <dirstream.h> before
45780         <dirent/dirent.h>.
45781
45782 2012-02-28  David S. Miller  <davem@davemloft.net>
45783
45784         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45785         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45786         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45787         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45788
45789 2012-02-27  David S. Miller  <davem@davemloft.net>
45790
45791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45793         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45794         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45795
45796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45797         frame pointer instead of stack pointer relative arg slot.
45798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45799         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45800         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45801
45802 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45803
45804         [BZ #3992]
45805         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45806
45807 2012-02-27  David S. Miller  <davem@davemloft.net>
45808
45809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45813         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45814         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45815         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45816         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45817
45818 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45819
45820         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45821         later.  Allow versions 5-9.
45822         * configure: Regenerated.
45823         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45824         required minimum version and 4.6 as recommended version.  Do not
45825         mention bugs in GCC 2.7 and 2.8.
45826         * INSTALL: Regenerated.
45827
45828 2012-02-27  David S. Miller  <davem@davemloft.net>
45829
45830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45834         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45835         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45836         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45837         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45838
45839         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45840         manipulate bits before adding and subtracting TWO112[sx].
45841         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45842
45843 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45844
45845         [BZ #13775]
45846         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45847         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45848         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45849         being in POSIX, because they are in 1003.1-2008.
45850
45851         * rt/tst-aio.c: Include <fcntl.h>.
45852         * rt/tst-aio7.c: Likewise.
45853         * rt/tst-aio64.c: Likewise.
45854
45855         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45856
45857 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45858
45859         * manual/install.texi (--with-headers): Describe headers as
45860         interface headers, not private headers.
45861         (Specific advice for GNU/Linux systems): Describe use of headers
45862         from "make headers_install", not private headers from older
45863         kernels.
45864         * INSTALL: Regenerated.
45865         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45866         Change to 2.6.19.
45867         * sysdeps/unix/sysv/linux/configure: Regenerated.
45868
45869         * manual/llio.texi (fclean): Remove documentation.
45870
45871         * manual/Makefile (libc-texi-generated): New variable.  Include
45872         version.texi.
45873         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45874         $(libc-texi-generated), not duplicated list of files.
45875         (version.texi, stamp-version): New rules.
45876         (realclean): Remove $(libc-texi-generated), not individual files
45877         from that list.  Do not remove dir-add.texinfo.
45878         * manual/libc.texinfo: Comment out uses of edition numbers and
45879         references to printed manual.  Remove last-updated dates.
45880         (EDITION): Comment out.
45881         (ISBN): Likewise.
45882         (VERSION, UPDATED): Remove.
45883         (version.texi): Include.
45884
45885 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
45886
45887         * sysdeps/posix/spawni.c: Include <signal.h>.
45888         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45889         * sysdeps/pthread/aio_fsync.c: Likewise.
45890
45891 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
45892
45893         * conform/Makefile (tests): Run only when not cross-compiling and
45894         when fast-check is not defined.
45895
45896         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45897         * conform/data/limits.h-data: Fixes for POSIX2008.
45898         * conform/run-conformtest.sh: Run all tests.
45899         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45900         headers.
45901         * include/bits/dlfcn.h: Likewise.
45902         * include/langinfo.h: Likewise.
45903         * include/monetary.h: Likewise.
45904         * include/sys/poll.h: Likewise.
45905
45906         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45907         for __USE_GNU.
45908         * posix/spawn.h: Define __need_sigset_t.
45909         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45910         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45911         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
45912         to get sigevent_t only.
45913         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45914         only for __USE_GNU.
45915         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45916         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45917         process_vm_writev only for __USE_GNU.
45918         * termios/termios.h: Declare tcgetsid also for POSIX2008.
45919
45920         * conform/Makefile: For now ignore errors from run-conformtest.
45921         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
45922         POSIX to avoid namespace pollution.  Don't prepend headers.
45923         * conform/data/aio.h-data: Fixes for POSIX testing.
45924         * conform/data/fcntl.h-data: Likewise.
45925         * conform/data/glob.h-data: Likewise.
45926         * conform/data/grp.h-data: Likewise.
45927         * conform/data/pthread.h-data: Likewise.
45928         * conform/data/pwd.h-data: Likewise.
45929         * conform/data/signal.h-data: Likewise.
45930         * conform/data/spawn.h-data: Likewise.
45931         * conform/data/stdio.h-data: Likewise.
45932         * conform/data/stdlib.h-data: Likewise.
45933         * conform/data/stropts.h-data: Likewise.
45934         * conform/data/sys/mman.h-data: Likewise.
45935         * conform/data/sys/stat.h-data: Likewise.
45936         * conform/data/sys/types.h-data: Likewise.
45937         * conform/data/sys/wait.h-data: Likewise.
45938         * conform/data/time.h-data: Likewise.
45939         * conform/data/unistd.h-data: Likewise.
45940         * conform/data/utime.h-data: Likewise.
45941
45942         * io/sys/stat.h: fchmod was always in POSIX.
45943         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45944         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45945         * rt/aio.h: Define __need_timespec before including <time.h>.
45946         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45947         struct.  Add forward declaration of pthread_attr_t and use it in
45948         sigevent.
45949         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45950         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45951         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45952         always remove CLK_TCK definition.
45953
45954 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
45955
45956         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45957
45958 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
45959
45960         * conform/run-conformtest.sh: New file.
45961         * conform/Makefile: Run run-conformtest for tests.
45962         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
45963         support.
45964
45965         * conform/data/uchar.h-data: New file.
45966         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45967         * conform/data/arpa/inet.h-data: Likewise.
45968         * conform/data/assert.h-data: Likewise.
45969         * conform/data/complex.h-data: Likewise.
45970         * conform/data/cpio.h-data: Likewise.
45971         * conform/data/ctype.h-data: Likewise.
45972         * conform/data/dirent.h-data: Likewise.
45973         * conform/data/dlfcn.h-data: Likewise.
45974         * conform/data/errno.h-data: Likewise.
45975         * conform/data/fcntl.h-data: Likewise.
45976         * conform/data/float.h-data: Likewise.
45977         * conform/data/fmtmsg.h-data: Likewise.
45978         * conform/data/fnmatch.h-data: Likewise.
45979         * conform/data/ftw.h-data: Likewise.
45980         * conform/data/glob.h-data: Likewise.
45981         * conform/data/grp.h-data: Likewise.
45982         * conform/data/iconv.h-data: Likewise.
45983         * conform/data/inttypes.h-data: Likewise.
45984         * conform/data/langinfo.h-data: Likewise.
45985         * conform/data/libgen.h-data: Likewise.
45986         * conform/data/limits.h-data: Likewise.
45987         * conform/data/locale.h-data: Likewise.
45988         * conform/data/math.h-data: Likewise.
45989         * conform/data/monetary.h-data: Likewise.
45990         * conform/data/mqueue.h-data: Likewise.
45991         * conform/data/ndbm.h-data: Likewise.
45992         * conform/data/net/if.h-data: Likewise.
45993         * conform/data/netdb.h-data: Likewise.
45994         * conform/data/netinet/in.h-data: Likewise.
45995         * conform/data/nl_types.h-data: Likewise.
45996         * conform/data/poll.h-data: Likewise.
45997         * conform/data/pthread.h-data: Likewise.
45998         * conform/data/pwd.h-data: Likewise.
45999         * conform/data/regex.h-data: Likewise.
46000         * conform/data/sched.h-data: Likewise.
46001         * conform/data/search.h-data: Likewise.
46002         * conform/data/semaphore.h-data: Likewise.
46003         * conform/data/setjmp.h-data: Likewise.
46004         * conform/data/signal.h-data: Likewise.
46005         * conform/data/spawn.h-data: Likewise.
46006         * conform/data/stdarg.h-data: Likewise.
46007         * conform/data/stdio.h-data: Likewise.
46008         * conform/data/stdlib.h-data: Likewise.
46009         * conform/data/string.h-data: Likewise.
46010         * conform/data/strings.h-data: Likewise.
46011         * conform/data/stropts.h-data: Likewise.
46012         * conform/data/sys/ipc.h-data: Likewise.
46013         * conform/data/sys/mman.h-data: Likewise.
46014         * conform/data/sys/msg.h-data: Likewise.
46015         * conform/data/sys/resource.h-data: Likewise.
46016         * conform/data/sys/select.h-data: Likewise.
46017         * conform/data/sys/sem.h-data: Likewise.
46018         * conform/data/sys/shm.h-data: Likewise.
46019         * conform/data/sys/socket.h-data: Likewise.
46020         * conform/data/sys/stat.h-data: Likewise.
46021         * conform/data/sys/statvfs.h-data: Likewise.
46022         * conform/data/sys/time.h-data: Likewise.
46023         * conform/data/sys/timeb.h-data: Likewise.
46024         * conform/data/sys/times.h-data: Likewise.
46025         * conform/data/sys/types.h-data: Likewise.
46026         * conform/data/sys/uio.h-data: Likewise.
46027         * conform/data/sys/un.h-data: Likewise.
46028         * conform/data/sys/utsname.h-data: Likewise.
46029         * conform/data/sys/wait.h-data: Likewise.
46030         * conform/data/syslog.h-data: Likewise.
46031         * conform/data/tar.h-data: Likewise.
46032         * conform/data/termios.h-data: Likewise.
46033         * conform/data/utime.h-data: Likewise.
46034         * conform/data/utmpx.h-data: Likewise.
46035         * conform/data/varargs.h-data: Likewise.
46036         * conform/data/wchar.h-data: Likewise.
46037         * conform/data/wctype.h-data: Likewise.
46038         * conform/data/wordexp.h-data: Likewise.
46039
46040         * include/stropts.h: New file.
46041         * include/uchar.h: New file.
46042         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46043         * include/assert.h: Likewise.
46044         * include/ctype.h: Likewise.
46045         * include/dirent.h: Likewise.
46046         * include/dlfcn.h: Likewise.
46047         * include/fcntl.h: Likewise.
46048         * include/fnmatch.h: Likewise.
46049         * include/glob.h: Likewise.
46050         * include/grp.h: Likewise.
46051         * include/libio.h: Likewise.
46052         * include/locale.h: Likewise.
46053         * include/math.h: Likewise.
46054         * include/net/if.h: Likewise.
46055         * include/netdb.h: Likewise.
46056         * include/netinet/in.h: Likewise.
46057         * include/pthread.h: Likewise.
46058         * include/pwd.h: Likewise.
46059         * include/regex.h: Likewise.
46060         * include/sched.h: Likewise.
46061         * include/search.h: Likewise.
46062         * include/setjmp.h: Likewise.
46063         * include/signal.h: Likewise.
46064         * include/stdio.h: Likewise.
46065         * include/stdlib.h: Likewise.
46066         * include/string.h: Likewise.
46067         * include/sys/cdefs.h: Likewise.
46068         * include/sys/mman.h: Likewise.
46069         * include/sys/msg.h: Likewise.
46070         * include/sys/resource.h: Likewise.
46071         * include/sys/select.h: Likewise.
46072         * include/sys/socket.h: Likewise.
46073         * include/sys/stat.h: Likewise.
46074         * include/sys/statvfs.h: Likewise.
46075         * include/sys/time.h: Likewise.
46076         * include/sys/times.h: Likewise.
46077         * include/sys/uio.h: Likewise.
46078         * include/sys/utsname.h: Likewise.
46079         * include/sys/wait.h: Likewise.
46080         * include/termios.h: Likewise.
46081         * include/time.h: Likewise.
46082         * include/ulimit.h: Likewise.
46083         * include/unistd.h: Likewise.
46084         * include/utime.h: Likewise.
46085         * include/wchar.h: Likewise.
46086         * include/wctype.h: Likewise.
46087         * include/wordexp.h: Likewise.
46088
46089         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46090
46091         * time/time.h: TIME_UTC must be a macro.
46092         Make timespec_get available for ISO C11 only as well.
46093
46094 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46095
46096         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46097         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46098
46099 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46100
46101         * configure.in: Use -o not -a in test for unsupported multi-arch.
46102
46103 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46104
46105         * manual/texinfo.tex: Update to version 2012-01-19.16.
46106
46107 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46108
46109         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46110
46111 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46112
46113         [BZ #13738]
46114         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46115         * manual/fdl-1.3.texi: New file.
46116         * manual/fdl-1.1.texi: File removed.
46117
46118         [BZ #13738]
46119         * manual/libc.texinfo (FDL_VERSION): New @set.
46120         Use it for mention of FDL in cover text.
46121         (Documentation License): Use it in @include file name.
46122
46123 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46124             Roland McGrath  <roland@hack.frob.com>
46125
46126         [BZ #5461]
46127         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46128         (not LONG_LONG_MAX and LONG_LONG_MIN.
46129         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46130         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46131         name.
46132         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46133
46134 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46135
46136         [BZ #2547]
46137         [BZ #11365]
46138         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46139         manipulate bits before adding and subtracting TWO23[sx].
46140         * math/libm-test.inc (nearbyint_test): Add more tests.
46141
46142 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46143
46144         [BZ #2548]
46145         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46146         bits before adding and subtracting TWO23[sx].
46147         * math/libm-test.inc (rint_test): Add more tests.
46148         (rint_test_tonearest): Likewise.
46149         (rint_test_towardzero): Likewise.
46150         (rint_test_downward): Likewise.
46151         (rint_test_upward: Likewise.
46152
46153 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46154
46155         [BZ #10110]
46156         * include/stdc-predef.h: New file.  Extracted from features.h.
46157         * include/features.h: Include stdc-predef.h.
46158         * Makefile (headers): Add stdc-predef.h.
46159         * CONFORMANCE (Compiler limitations): Update.
46160
46161 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46162
46163         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46164
46165 2012-02-21  David S. Miller  <davem@davemloft.net>
46166
46167         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46168         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46169
46170 2012-02-20  David S. Miller  <davem@davemloft.net>
46171
46172         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46173         using a normal save/restore sequence, rather than allocating a
46174         dummy stack frame just to store a frame pointer and restore.
46175         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46176
46177 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46178
46179         * manual/install.texi: Fix stray word in line-wrapped comment.
46180
46181 2012-02-20  David S. Miller  <davem@davemloft.net>
46182
46183         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46184         both binutils and gcc support GOTDATA.
46185
46186         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46187         "rd %pc" in the PIC register setup sequences.
46188
46189         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46190         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46191         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46192         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46193         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46194         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46195         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46196         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46197         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46198         (SYSCALL_ERROR_HANDLER): Likewise.
46199         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46200         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46201         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46202         (SYSCALL_ERROR_HANDLER): Likewise.
46203
46204         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46205         (HAVE_GCC_GOTDATA): New.
46206         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46207         relocation support in both binutils and gcc.
46208         * sysdeps/sparc/elf/configure: Regenerate.
46209
46210         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46211         * sysdeps/sparc/sparc32/elf/configure: Delete.
46212         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46213         * sysdeps/sparc/sparc64/elf/configure: Delete.
46214         * sysdeps/sparc/elf/configure.in: New file.
46215         * sysdeps/sparc/elf/configure: Generate.
46216
46217         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46218         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46219         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46220         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46221         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46222
46223 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46224
46225         * manual/install.texi: Do not mention specific glibc version
46226         numbers.
46227         * manual/libc.texinfo (VERSION, UPDATED): Update.
46228         (@copying): Use @copyright{} and range of years.
46229
46230 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46231
46232         [BZ #13695]
46233         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46234         [crti.S not in sysdirs] (generated): Do not append.
46235         [crti.S not in sysdirs] (omit-deps): Likewise.
46236         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46237         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46238         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46239         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46240         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46241         Likewise.
46242         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46243         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46244         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46245         * csu/defs.awk: Remove file.
46246         * sysdeps/generic/initfini.c: Likewise.
46247         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46248         variable.
46249         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46250         Likewise.
46251
46252 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46253
46254         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46255         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46256         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46257         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46258         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46259         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46260         <bits/epoll.h>.
46261         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46262         (__EPOLL_PACKED): Define to empty if not defined by
46263         <bits/epoll.h>.
46264         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46265         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46266         bits/epoll.h.
46267
46268 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46269
46270         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46271         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46272         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46273         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46274         <bits/timerfd.h>.
46275         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46276         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46277         bits/timerfd.h.
46278
46279 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46280
46281         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46282         in C locale.
46283         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46284         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46285         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46287
46288 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46289
46290         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46291         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46292
46293 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46294
46295         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46296         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46297         defined.
46298         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46299         Likewise.
46300         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46301         entry for 2.16.
46302
46303 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46304
46305         * math/w_acos.c: Use non-signaling floating-point comparisons.
46306         * math/w_acosf.c: Likewise.
46307         * math/w_acosh.c: Likewise.
46308         * math/w_acoshf.c: Likewise.
46309         * math/w_acoshl.c: Likewise.
46310         * math/w_acosl.c: Likewise.
46311         * math/w_asin.c: Likewise.
46312         * math/w_asinf.c: Likewise.
46313         * math/w_asinl.c: Likewise.
46314         * math/w_atanh.c: Likewise.
46315         * math/w_atanhf.c: Likewise.
46316         * math/w_atanhl.c: Likewise.
46317         * math/w_exp2.c: Likewise.
46318         * math/w_exp2f.c: Likewise.
46319         * math/w_exp2l.c: Likewise.
46320         * math/w_j0.c: Likewise.
46321         * math/w_j0f.c: Likewise.
46322         * math/w_j0l.c: Likewise.
46323         * math/w_j1.c: Likewise.
46324         * math/w_j1f.c: Likewise.
46325         * math/w_j1l.c: Likewise.
46326         * math/w_jn.c: Likewise.
46327         * math/w_jnf.c: Likewise.
46328         * math/w_log.c: Likewise.
46329         * math/w_log10.c: Likewise.
46330         * math/w_log10f.c: Likewise.
46331         * math/w_log10l.c: Likewise.
46332         * math/w_log2.c: Likewise.
46333         * math/w_log2f.c: Likewise.
46334         * math/w_log2l.c: Likewise.
46335         * math/w_logf.c: Likewise.
46336         * math/w_logl.c: Likewise.
46337         * math/w_sqrt.c: Likewise.
46338         * math/w_sqrtf.c: Likewise.
46339         * math/w_sqrtl.c: Likewise.
46340         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46341         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46342         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46343         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46344         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46345
46346 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46347
46348         [BZ #9739]
46349         * manual/string.texi (strnlen): Use correct parameter name in
46350         equivalent expression.
46351
46352 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46353
46354         [BZ #11174]
46355         * manual/users.texi (seteuid): Consistently use neweuid for
46356         argument name.
46357
46358 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46359
46360         [BZ #13704]
46361         * manual/nss.texi (Services in the NSS configuration): Correct
46362         list of services in example configuration file.
46363
46364 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46365
46366         [BZ #11322]
46367         * manual/arith.texi: Remove statements about negative zero
46368         behaving identically to zero.
46369
46370 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46371
46372         [BZ #5993]
46373         * manual/install.texi: Do not document upgrading from libc5.
46374
46375 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46376
46377         [BZ #4596]
46378         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46379
46380 2012-02-18  David S. Miller  <davem@davemloft.net>
46381
46382         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46383         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46384         %o7 across the call.
46385         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46386         instead.
46387         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46388         SETUP_PIC_REG_LEAF.
46389         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46390         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46391         * sysdeps/sparc/crtn.S: Likewise.
46392
46393 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46394
46395         * aout/Makefile: Remove.
46396
46397 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46398
46399         [BZ #13058]
46400         * manual/examples/argp-ex1.c (main): Format definition in GNU
46401         style.
46402         * manual/examples/argp-ex2.c (main): Likewise.
46403         * manual/examples/argp-ex3.c (main): Likewise.
46404         * manual/examples/argp-ex4.c (main): Likewise.
46405         * manual/examples/longopt.c (main): Use new-style prototype
46406         definition.
46407         * manual/examples/strncat.c (main): Specify return type and use
46408         (void) for arguments.
46409         * manual/examples/subopt.c (main): Use char **argv argument.
46410
46411 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46412
46413         [BZ #5077]
46414         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46415         rounding modes.
46416
46417 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46418
46419         [BZ #6907]
46420         * manual/string.texi (strchr): Change when strchrnul is
46421         recommended.
46422
46423 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46424
46425         [BZ #174]
46426         * manual/locale.texi (setlocale): Document LOCPATH.
46427
46428 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46429
46430         [BZ #10210]
46431         * manual/process.texi (execle): Move @dots{} before last argument.
46432
46433 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46434
46435         [BZ #12047]
46436         * manual/charset.texi (Generic Charset Conversion): Fix typo
46437         (LC_TYPE -> LC_CTYPE).
46438
46439 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46440
46441         [BZ #5805]
46442         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46443         (scalbnf): Likewise.
46444         (scalbnl): Likewise.
46445         (scalbln): Likewise.
46446         (scalblnf): Likewise.
46447         (scalblnl): Likewise.
46448         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46449         (vwarnx): Likewise.
46450         (verr): Likewise.
46451         (verrx): Likewise.
46452         * manual/filesys.texi (telldir): Use braces around return type.
46453         * manual/llio.texi (mmap): Add space after comma.
46454         (mmap64): Likewise.
46455         * manual/math.texi (jn): Use @var{} on parameter names.
46456         (jnf): Likewise.
46457         (jnl): Likewise.
46458         (yn): Likewise.
46459         (ynf): Likewise.
46460         (ynl): Likewise.
46461         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46462         line.
46463         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46464         "...".
46465         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46466         (sched_get_priority_max): Likewise.
46467         * manual/signal.texi (sigvec): Add space after comma.
46468         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46469         names.
46470         (if_indextoname): Likewise.
46471         (if_freenameindex): Likewise.
46472         (sendto): Use ',' instead of '.' in prototype.
46473         * manual/startup.texi (syscall): Use @dots{} instead of literal
46474         "...".
46475         * manual/stdio.texi (__fpending): Separate initial words of
46476         paragraph from @deftypefun line.
46477         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46478         "...".
46479         (vsyslog): Use @var{} on parameter names.
46480         * manual/terminal.texi (stty): Use @var{} on parameter names.
46481         * manual/users.texi (getutmp): Use @var{} on parameter names.
46482         (getutmpx): Likewise.
46483
46484 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46485
46486         [BZ #6884]
46487         * manual/stdio.texi (fopen): Fix typos in description of
46488         ",ccs=STRING".
46489
46490 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46491
46492         [BZ #4026]
46493         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46494         get clock_id definition.
46495
46496 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46497
46498         [BZ #4822]
46499         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46500         (madvise): Cast every argument to void on its own.
46501
46502 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46503
46504         [BZ #9902]
46505         * manual/startup.texi (Exit Status): Fix typo.
46506
46507 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46508
46509         [BZ #10140]
46510         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46511         * manual/examples/argp-ex2.c: Likewise.
46512         * manual/examples/argp-ex3.c: Likewise.
46513
46514 2012-02-16  Richard Henderson  <rth@redhat.com>
46515
46516         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46517         * sysdeps/s390/s390-32/initfini.c: Remove.
46518         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46519         * sysdeps/s390/s390-64/initfini.c: Remove.
46520
46521 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46522
46523         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46524         compiler output for sysdeps/generic/initfini.c.
46525         * sysdeps/sh/elf/initfini.c: Remove file.
46526
46527 2012-02-16  David S. Miller  <davem@davemloft.net>
46528
46529         [BZ #11494]
46530         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46531
46532         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46533         * sysdeps/sparc/crti.S: New file.
46534         * sysdeps/sparc/crtn.S: New file.
46535         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46536         * sysdeps/sparc/sparc64/Makefile: Likewise.
46537
46538 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46539
46540         [BZ #3335]
46541         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46542
46543 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46544
46545         [BZ #4822]
46546         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46547
46548         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46549         (write, read, close): Likewise.
46550         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46551
46552 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46553
46554         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46555         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46556         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46557         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46558         <bits/signalfd.h>.
46559         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46560         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46561         bits/signalfd.h.
46562
46563 2012-02-14  Marek Polacek  <polacek@redhat.com>
46564
46565         * sysdeps/x86_64/crti.S: New file.
46566         * sysdeps/x86_64/crtn.S: New file.
46567         * sysdeps/x86_64/elf/initfini.c: Remove file.
46568
46569 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46570
46571         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46572         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46573         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46574         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46575         <bits/inotify.h>.
46576         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46577         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46578         bits/inotify.h.
46579
46580 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46581
46582         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46583         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46584         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46585         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46586         <bits/eventfd.h>.
46587         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46588         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46589         bits/eventfd.h.
46590
46591 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46592
46593         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46594         __feraiseexcept instead of feraiseexcept.
46595
46596         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46597         nanosleep invocations.
46598         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46599         strings, and add error checking for a nanosleep invocations.
46600
46601 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46602
46603         Replace FSF snail mail address with URLs, as per GNU coding standards.
46604         Most of the snail mail addresses were wrong anyway, and omitting
46605         them makes the source code easier to maintain.  Almost all of the
46606         changes are to license notices and to locale LC_IDENTIFICATION
46607         addresses, except for this one:
46608         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46609         not its snail mail address.
46610
46611 2012-02-09  Richard Henderson  <rth@twiddle.net>
46612
46613         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46614         of kernel-features.h.
46615
46616         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46617
46618 2012-02-08  Marek Polacek  <polacek@redhat.com>
46619
46620         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46621         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46622         * sysdeps/gnu/_G_config.h: Likewise.
46623         * sysdeps/generic/_G_config.h: Likewise.
46624
46625 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46626
46627         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46628         tests.
46629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46630
46631         * sysdeps/powerpc/powerpc32/crti.S: New file.
46632         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46633         * sysdeps/powerpc/powerpc64/crti.S: New file.
46634         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46635
46636         * Makeconfig (have-initfini): Don't set.
46637         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46638         * configure.in (nopic_initfini): Don't substitute.
46639         * config.h.in (HAVE_INITFINI): Don't #undef.
46640         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46641         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46642
46643 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46644
46645         Support crti.S and crtn.S provided directly by architectures.
46646         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46647         [crti.S in sysdirs] (omit-deps): Likewise.
46648         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46649         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46650         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46651         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46652         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46653         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46654         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46655         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46656         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46657         compiler output for sysdeps/generic/initfini.c.
46658         * sysdeps/i386/elf/Makefile: Remove file.
46659         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46660
46661 2012-02-07  Marek Polacek  <polacek@redhat.com>
46662
46663         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46664         * sysdeps/gnu/_G_config.h: Likewise.
46665         * sysdeps/mach/hurd/_G_config.h: Likewise.
46666
46667 2012-02-07  Marek Polacek  <polacek@redhat.com>
46668
46669         * math/Makefile (tests): Add tst-CMPLX2.
46670         * math/tst-CMPLX2.c: New file.
46671
46672 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46673
46674         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46675
46676         * math/libm-test.inc (jn_test): Add missing L suffix.
46677
46678 2012-02-06  Marek Polacek  <polacek@redhat.com>
46679
46680         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46681         * sysdeps/i386/fpu/e_powf.S: Likewise.
46682         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46683         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46684         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46685         * sysdeps/i386/fpu/e_pow.S: Likewise.
46686         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46687         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46688         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46689         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46690         * sysdeps/i386/fpu/e_log2.S: Likewise.
46691         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46692         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46693         * sysdeps/i386/fpu/e_powl.S: Likewise.
46694         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46695         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46696         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46697         * sysdeps/i386/fpu/e_logl.S: Likewise.
46698         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46699         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46700         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46701         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46702         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46703         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46704         * sysdeps/i386/fpu/e_log.S: Likewise.
46705         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46706         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46707         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46708         * sysdeps/i386/fpu/e_logf.S: Likewise.
46709         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46710         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46711         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46712         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46713         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46714         * sysdeps/i386/fpu/e_log10.S: Likewise.
46715         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46716         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46717         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46718         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46719         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46720         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46721         * sysdeps/i386/asm-syntax.h: Likewise.
46722         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46723         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46724         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46725         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46726         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46727         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46728         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46729         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46730         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46731         * sysdeps/powerpc/sysdep.h: Likewise.
46732         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46733         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46734
46735 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46736
46737         [BZ #411]
46738         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46739
46740 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46741
46742         * sysdeps/i386/sysdep.h: Include <features.h>.
46743         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46744         version.
46745
46746 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46747
46748         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46749         Define.
46750         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46751         LOAD_PIC_REG_STR.
46752
46753 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46754
46755         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46756         (SETUP_PIC_REG): Use GET_PC_THUNK.
46757         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46758         macro.
46759
46760 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46761
46762         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46763         for non-PIC compilation.
46764         (SETUP_PIC_REG): Add .p2align directive.
46765         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46766         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46767         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46768         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46769         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46770         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46771         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46772         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46773         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46774         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46775         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46776         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46777         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46778         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46779         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46780         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46781         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46782         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46783         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46784         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46785         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46786         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46787         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46788         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46789         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46790         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46791         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46792         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46793         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46794         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46795         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46796         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46797         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46798         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46799         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46800         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46801         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46802         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46803         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46804         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46805         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46806
46807 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46808
46809         * math/tst-CMPLX.c: Include <stdio.h>.
46810
46811 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46812
46813         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46814         float.
46815         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46816         * sysdeps/sparc/bits/mathdef.h: Likewise.
46817
46818 2012-01-31  Marek Polacek  <polacek@redhat.com>
46819
46820         * libio/libio.h: Don't define _PARAMS.
46821         * locale/programs/config.h: Don't define PARAMS.
46822         * stdlib/strtol_l.c: Likewise.
46823         (__strtol_l): Remove PARAMS from the prototype.
46824
46825 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46826
46827         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46828         names.  Just use the correct names.  Remove unnecessary wrapper
46829         functions.
46830         * malloc/arena.c: Likewise.
46831         * malloc/hooks.c: Likewise.
46832
46833         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46834         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46835         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46836
46837 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46838
46839         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46840         into tail calls.
46841         (update_get_addr): New function.
46842         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46843         GET_ADDR_MODULE parameter.
46844
46845 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46846
46847         * crypt/cert.c: Remove __STDC__ conditionals.
46848         * crypt/crypt-entry.c: Likewise.
46849         * crypt/crypt_util.c: Likewise.
46850         * libio/filedoalloc.c: Likewise.
46851         * libio/fileops.c: Likewise.
46852         * libio/genops.c: Likewise.
46853         * libio/iofclose.c: Likewise.
46854         * libio/iofdopen.c: Likewise.
46855         * libio/iofopen.c: Likewise.
46856         * libio/iofopen64.c: Likewise.
46857         * libio/iogetdelim.c: Likewise.
46858         * libio/iopopen.c: Likewise.
46859         * libio/obprintf.c: Likewise.
46860         * libio/oldfileops.c: Likewise.
46861         * libio/oldiofclose.c: Likewise.
46862         * libio/oldiofdopen.c: Likewise.
46863         * libio/oldiofopen.c: Likewise.
46864         * libio/oldiopopen.c: Likewise.
46865         * libio/wfiledoalloc.c: Likewise.
46866         * libio/wgenops.c: Likewise.
46867         * locale/programs/xmalloc.c: Likewise.
46868         * misc/syslog.c: Likewise.
46869         * stdio-common/xbug.c: Likewise.
46870         * string/memchr.c: Likewise.
46871         * string/memcmp.c: Likewise.
46872         * string/memrchr.c: Likewise.
46873         * string/rawmemchr.c: Likewise.
46874         * sysdeps/posix/getcwd.c: Likewise.
46875         * time/strftime_l.c: Likewise.
46876
46877 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46878
46879         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46880         * config.make.in (config-cflags-sse2avx): Define.
46881         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46882         Fix typo.
46883
46884 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
46885
46886         * scripts/config.guess: Update from upstream config git repository.
46887         * scripts/config.sub: Likewise.
46888
46889 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
46890
46891         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46892         (EM_NUM): Update.
46893         (R_TILEPRO_*, R_TILEGX_*): New macros.
46894
46895         * scripts/firstversions.awk: Fix bug in version range handling.
46896
46897         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46898
46899         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46900
46901         * include/sys/epoll.h: New file.
46902         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46903         libc_hidden_def.
46904
46905 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
46906
46907         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46908         Avoid unnecessary __WORDSIZE == 64 test.
46909         (fmaxf): Use VEX format if possible.
46910         (fmax): Likewise.
46911         (fminf): Likewise.
46912         (fmin): Likewise.
46913
46914         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46915         * math/math_private.h: Remove libc_fegetround* and
46916         libc_fesetround*.
46917         * sysdeps/i386/configure.in: Check for -msse2avx.
46918         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46919         also if SSE2AVX is defined.
46920         Remove libc_fegetround* and libc_fesetround*.
46921         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46922         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
46923         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46924         of HAS_YMM_USABLE.
46925         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46926         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46927         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46928         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46929         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46930
46931         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46932
46933 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46934
46935         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46936         size is not set.
46937         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46938
46939 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
46940
46941         [BZ #13618]
46942         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46943         relocation.
46944         * Makeconfig (libm): Define.
46945         * elf/Makefile: Add rules to build and run tst-relsort1.
46946         * elf/tst-relsort1.c: New file.
46947         * elf/tst-relsort1mod1.c: New file.
46948         * elf/tst-relsort1mod2.c: New file.
46949
46950 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
46951
46952         * math/s_ldexp.c: Remove __STDC__ conditionals.
46953         * math/s_ldexpf.c: Likewise.
46954         * math/s_ldexpl.c: Likewise.
46955         * math/s_nextafter.c: Likewise.
46956         * math/s_nexttowardf.c: Likewise.
46957         * math/s_significand.c: Likewise.
46958         * math/s_significandf.c: Likewise.
46959         * math/s_significandl.c: Likewise.
46960         * math/w_jnl.c: Likewise.
46961         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46962         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46963         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46964         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46965         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46966         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46967         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46968         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46969         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46970         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46971         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46972         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46973         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46974         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46975         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46976         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46977         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46978         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46979         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46980         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46981         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46982         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46983         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46984         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46985         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46986         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46987         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46988         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46989         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46990         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46991         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46992         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46993         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46994         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46995         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46996         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46997         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46998         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46999         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47000         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47001         * sysdeps/ieee754/k_standard.c: Likewise.
47002         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47003         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47004         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47005         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47006         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47007         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47008         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47009         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47010         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47011         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47012         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47013         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47014         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47015         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47016         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47017         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47018         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47019         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47020         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47021         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47022         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47023         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47024         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47025         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47026         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47027         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47028         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47029         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47030         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47031         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47032         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47033         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47034         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47035         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47036         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47037         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47038         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47039         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47040         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47041         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47042         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47043         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47044         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47045         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47046         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47047         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47048         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47049         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47050         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47051         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47052         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47053         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47054         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47055         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47056         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47057         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47058         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47059         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47060         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47061         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47062         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47063         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47064         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47065         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47066         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47067         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47068         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47069         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47070         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47071         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47072         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47073         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47074         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47075         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47076         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47077         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47078         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47079         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47080         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47081         * sysdeps/ieee754/s_matherr.c: Likewise.
47082         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47083         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47084         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47085         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47086
47087 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47088
47089         * crypt/md5.h: Remove __STDC__ conditionals.
47090         * libio/libioP.h: Likewise.
47091         * locale/programs/config.h: Likewise.
47092         * sysdeps/generic/sysdep.h: Likewise.
47093         * sysdeps/i386/asm-syntax.h: Likewise.
47094         * sysdeps/s390/asm-syntax.h: Likewise.
47095         * sysdeps/unix/sysdep.h: Likewise.
47096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47098
47099 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47100
47101         * libio/libio.h: Remove __STDC__ conditionals.
47102         * malloc/obstack.h: Likewise.
47103         * math/complex.h: Likewise.
47104         * math/math.h: Likewise.
47105         * sysdeps/generic/_G_config.h: Likewise.
47106         * sysdeps/gnu/_G_config.h: Likewise.
47107         * sysdeps/mach/hurd/_G_config.h: Likewise.
47108         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47109         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47110         * sysdeps/sparc/bits/mathdef.h: Likewise.
47111
47112 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47113
47114         [BZ #13583]
47115         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47116         Clean up HAS_* macros.
47117         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47118         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47119         possible.
47120         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47121         HAS_AVX.
47122         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47123         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47124         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47125         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47126         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47127
47128 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47129
47130         * elf/tst-unique3.cc (gets): Remove declaration.
47131         * elf/tst-unique3lib.cc (gets): Likewise.
47132         * elf/tst-unique3lib2.cc (gets): Likewise.
47133         * elf/tst-unique4.cc (gets): Likewise.
47134
47135 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47136
47137         * include/stdio.h: Add C++ protection.  Add gets declarations and
47138         definitions.
47139         * debug/tst-chk1.c: Don't declare gets here.
47140         * stdio-common/tst-gets.c: Likewise.
47141
47142 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47143
47144         * posix/glob: Remove directory.
47145
47146 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47147
47148         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47149
47150 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47151
47152         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47153         of the non-standard EPFNOSUPPORT.
47154
47155 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47156
47157         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47158         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47159         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47160
47161 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47162
47163         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47164
47165 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47166
47167         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47168         transient errors.
47169         * nscd/grpcache.c (cache_addgr): Likewise.
47170         * nscd/hstcache.c (cache_addhst): Likewise.
47171         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47172         * nscd/pwdcache.c (cache_addpw): Likewise.
47173         * nscd/servicescache.c (cache_addserv): Likewise.
47174
47175 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47176
47177         * malloc/malloc.c: Various cleanups.
47178         * malloc/hooks.c: Likewise.
47179
47180         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47181         * stdlib/bug-fmtmsg1.c: New file.
47182
47183         * stdlib/fmtmsg.c (init): Add missing unlock.
47184         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47185
47186 2012-01-12  Marek Polacek  <polacek@redhat.com>
47187
47188         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47189         and _GNU_SOURCE.
47190
47191 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47192
47193         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47194         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47195         macro to ensure uniqueness of label name.
47196         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47197         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47198
47199 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47200
47201         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47202
47203         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47204         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47205         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47206         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47207
47208 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47209
47210         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47211
47212         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47213         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47214         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47215
47216         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47217
47218         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47219         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47220         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47221         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47222
47223         * math/bits/math-finite.h: Add ldexp support.
47224
47225 2012-01-10  Marek Polacek  <polacek@redhat.com>
47226
47227         * locale/programs/localedef.h (show_archive_content): Add noreturn
47228         attribute.
47229
47230 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47231
47232         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47233
47234 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47235
47236         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47237
47238         * io/Makefile (headers): Add bits/poll2.h.
47239
47240 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47241
47242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47243         typo #include statement.
47244
47245 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47246
47247         * include/sys/cdefs.h: Define __attribute_alloc_size.
47248         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47249         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47250         * elf/pldd.c: Likewise.
47251         * iconv/iconv_charmap.c: Likewise.
47252         * iconv/iconvconfig.c: Likewise.
47253         * iconv/strtab.c: Likewise.
47254         * locale/programs/locale.c: Likewise.
47255         * locale/programs/localedef.h: Likewise.
47256         * locale/programs/simple-hash.c: Likewise.
47257         * nscd/nscd.h: Likewise.
47258         * nss/makedb.c: Likewise.
47259         * sysdeps/generic/ldconfig.h: Likewise.
47260         * locale/programs/localedef.c: Remove xmalloc prototype.
47261         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47262
47263 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47264
47265         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47266         appropriate.
47267
47268 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47269
47270         * math/Makefile (tests): Add tst-CMPLX.
47271         * math/tst-CMPLX.c: New file.
47272
47273         * math/complex.h (CMPLXL): Fix typo.
47274
47275         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47276         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47277         GLIBC_2.16.
47278         * debug/tst-chk1.c: Add poll and ppoll tests.
47279         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47280         * include/sys/poll.h: Add hidden proto for ppoll.
47281         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47282         * sysdeps/mach/hurd/ppoll.c: Likewise.
47283         * io/ppoll.c: Likewise.
47284         * debug/poll_chk.c: New file.
47285         * debug/ppoll_chk.c: New file.
47286         * include/bits/poll2.h: New file.
47287         * io/bits/poll2.h: New file.
47288
47289         [BZ #1350]
47290         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47291
47292         * configure.in: static is always set to yes.  Remove.
47293         * config.make.in: Don't set build-static.
47294         * Makeconfig: Remove use of build-static.
47295         * dlfcn/Makefile: Likewise.
47296         * elf/Makefile: Likewise.
47297         * math/Makefile: Likewise.
47298         * misc/Makefile: Likewise.
47299         * nptl/Makefile: Likewise.
47300         * sysdeps/mach/hurd/Makefile: Likewise.
47301
47302         * configure.in: PWD_P is not used anymore.
47303         * config.make.in: Remove PWD_P entry.
47304
47305         * configure.in: Remove last remnants of RANLIB.
47306         No need to check for signed size_t anymore.
47307         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47308         and IA-64.
47309         Remove __builtin_expect test because we require at least gcc 3.4.
47310         * aclocal.m4: Likewise.
47311
47312         * wcsmbs/mbrtoc16.c: Implement using towc function.
47313         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47314         * wcsmbs/wcsmbsload.c: Likewise.
47315         * iconv/gconv_simple.c: Likewise.
47316         * iconv/gconv_int.h: Likewise.
47317         * iconv/gconv_builtin.h: Likewise.
47318         * iconv/iconv_prog.c: Remove CHAR16 handling.
47319
47320         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47321
47322         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47323
47324         * configure.in: Remove --with-elf and --enable-bounded options.
47325         Dont set base_machine for ia64.  More non-ELF conditions removed.
47326         Remove testing and setting of leading underscore information.
47327         * config.make.in (build-bounded): Set to no.
47328         * config.h.in: Remove NO_UNDERSCORES entry.
47329         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47330         them.
47331         * csu/start.c: Remove !NO_UNDERSCORE code.
47332         * locale/localeinfo.h: Likewise.
47333         * sysdeps/generic/machine-gmon.h: Likewise.
47334         * sysdeps/generic/sysdep.h: Likewise.
47335         * sysdeps/i386/sysdep.h: Likewise.
47336         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47337         * sysdeps/mach/sysdep.h: Likewise.
47338         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47339         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47340         * sysdeps/sh/sysdep.h: Likewise.
47341         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47342         * sysdeps/unix/i386/sysdep.S: Likewise.
47343         * sysdeps/unix/sparc/start.c: Likewise.
47344         * sysdeps/unix/sparc/sysdep.S: Likewise.
47345         * sysdeps/unix/sparc/sysdep.h: Likewise.
47346         * sysdeps/unix/start.c: Likewise.
47347         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47348         * sysdeps/x86_64/sysdep.h: Likewise.
47349
47350 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47351
47352         [BZ #13553]
47353         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47354         for non-gcc.
47355         * argp/argp-fmtstream.h: Use const instead __const.
47356         * argp/argp.h: Likewise.
47357         * assert/assert.h: Likewise.
47358         * bits/fenv.h: Likewise.
47359         * bits/sched.h: Likewise.
47360         * bits/sigset.h: Likewise.
47361         * bits/sigthread.h: Likewise.
47362         * catgets/nl_types.h: Likewise.
47363         * conform/data/pthread.h-data: Likewise.
47364         * crypt/crypt-private.h: Likewise.
47365         * crypt/crypt.h: Likewise.
47366         * crypt/crypt_util.c: Likewise.
47367         * ctype/ctype.h: Likewise.
47368         * debug/execinfo.h: Likewise.
47369         * debug/mbsnrtowcs_chk.c: Likewise.
47370         * debug/mbsrtowcs_chk.c: Likewise.
47371         * debug/wcsnrtombs_chk.c: Likewise.
47372         * debug/wcsrtombs_chk.c: Likewise.
47373         * debug/wcstombs_chk.c: Likewise.
47374         * dirent/dirent.h: Likewise.
47375         * dlfcn/dlfcn.h: Likewise.
47376         * elf/neededtest4.c: Likewise.
47377         * grp/grp.h: Likewise.
47378         * gshadow/gshadow.h: Likewise.
47379         * iconv/gconv.h: Likewise.
47380         * iconv/gconv_int.h: Likewise.
47381         * iconv/gconv_simple.c: Likewise.
47382         * iconv/iconv.h: Likewise.
47383         * iconv/loop.c: Likewise.
47384         * iconv/skeleton.c: Likewise.
47385         * include/aio.h: Likewise.
47386         * include/aliases.h: Likewise.
47387         * include/argz.h: Likewise.
47388         * include/arpa/inet.h: Likewise.
47389         * include/assert.h: Likewise.
47390         * include/dirent.h: Likewise.
47391         * include/dlfcn.h: Likewise.
47392         * include/execinfo.h: Likewise.
47393         * include/fcntl.h: Likewise.
47394         * include/fenv.h: Likewise.
47395         * include/glob.h: Likewise.
47396         * include/grp.h: Likewise.
47397         * include/libintl.h: Likewise.
47398         * include/mntent.h: Likewise.
47399         * include/netdb.h: Likewise.
47400         * include/pwd.h: Likewise.
47401         * include/rpc/netdb.h: Likewise.
47402         * include/sched.h: Likewise.
47403         * include/search.h: Likewise.
47404         * include/shadow.h: Likewise.
47405         * include/signal.h: Likewise.
47406         * include/stdio.h: Likewise.
47407         * include/stdlib.h: Likewise.
47408         * include/string.h: Likewise.
47409         * include/sys/socket.h: Likewise.
47410         * include/sys/stat.h: Likewise.
47411         * include/sys/statfs.h: Likewise.
47412         * include/sys/statvfs.h: Likewise.
47413         * include/sys/syslog.h: Likewise.
47414         * include/sys/time.h: Likewise.
47415         * include/sys/uio.h: Likewise.
47416         * include/time.h: Likewise.
47417         * include/unistd.h: Likewise.
47418         * include/utmp.h: Likewise.
47419         * include/wchar.h: Likewise.
47420         * include/wctype.h: Likewise.
47421         * inet/aliases.h: Likewise.
47422         * inet/arpa/inet.h: Likewise.
47423         * inet/netinet/ether.h: Likewise.
47424         * inet/netinet/in.h: Likewise.
47425         * intl/libintl.h: Likewise.
47426         * io/bits/fcntl2.h: Likewise.
47427         * io/fcntl.h: Likewise.
47428         * io/ftw.h: Likewise.
47429         * io/sys/poll.h: Likewise.
47430         * io/sys/stat.h: Likewise.
47431         * io/sys/statfs.h: Likewise.
47432         * io/sys/statvfs.h: Likewise.
47433         * io/utime.h: Likewise.
47434         * libio/bits/stdio.h: Likewise.
47435         * libio/bits/stdio2.h: Likewise.
47436         * libio/libio.h: Likewise.
47437         * libio/libioP.h: Likewise.
47438         * libio/stdio.h: Likewise.
47439         * locale/lc-ctype.c: Likewise.
47440         * locale/locale.h: Likewise.
47441         * login/utmp.h: Likewise.
47442         * malloc/arena.c: Likewise.
47443         * malloc/malloc.c: Likewise.
47444         * malloc/malloc.h: Likewise.
47445         * malloc/mcheck.c: Likewise.
47446         * malloc/mtrace.c: Likewise.
47447         * math/bits/mathcalls.h: Likewise.
47448         * math/fenv.h: Likewise.
47449         * math/math_private.h: Likewise.
47450         * misc/bits/error.h: Likewise.
47451         * misc/bits/syslog.h: Likewise.
47452         * misc/err.h: Likewise.
47453         * misc/error.h: Likewise.
47454         * misc/fstab.h: Likewise.
47455         * misc/mntent.h: Likewise.
47456         * misc/regexp.h: Likewise.
47457         * misc/search.h: Likewise.
47458         * misc/sgtty.h: Likewise.
47459         * misc/sys/mman.h: Likewise.
47460         * misc/sys/syslog.h: Likewise.
47461         * misc/sys/uio.h: Likewise.
47462         * misc/sys/xattr.h: Likewise.
47463         * misc/ttyent.h: Likewise.
47464         * nis/rpcsvc/ypclnt.h: Likewise.
47465         * nss/nss.h: Likewise.
47466         * posix/bits/unistd.h: Likewise.
47467         * posix/fnmatch.h: Likewise.
47468         * posix/glob.h: Likewise.
47469         * posix/sched.h: Likewise.
47470         * posix/spawn.h: Likewise.
47471         * posix/sys/wait.h: Likewise.
47472         * posix/unistd.h: Likewise.
47473         * posix/wordexp.h: Likewise.
47474         * pwd/pwd.h: Likewise.
47475         * resolv/netdb.h: Likewise.
47476         * resource/sys/resource.h: Likewise.
47477         * rt/aio.h: Likewise.
47478         * rt/bits/mqueue2.h: Likewise.
47479         * rt/mqueue.h: Likewise.
47480         * shadow/shadow.h: Likewise.
47481         * signal/signal.h: Likewise.
47482         * socket/send.c: Likewise.
47483         * socket/sendto.c: Likewise.
47484         * socket/sys/socket.h: Likewise.
47485         * stdio-common/printf.h: Likewise.
47486         * stdlib/bits/stdlib.h: Likewise.
47487         * stdlib/fmtmsg.h: Likewise.
47488         * stdlib/monetary.h: Likewise.
47489         * stdlib/stdlib.h: Likewise.
47490         * stdlib/ucontext.h: Likewise.
47491         * streams/stropts.h: Likewise.
47492         * string/argz.h: Likewise.
47493         * string/bits/string2.h: Likewise.
47494         * string/string.h: Likewise.
47495         * string/strings.h: Likewise.
47496         * sunrpc/rpc/auth.h: Likewise.
47497         * sunrpc/rpc/auth_des.h: Likewise.
47498         * sunrpc/rpc/clnt.h: Likewise.
47499         * sunrpc/rpc/netdb.h: Likewise.
47500         * sunrpc/rpc/pmap_clnt.h: Likewise.
47501         * sunrpc/rpc/xdr.h: Likewise.
47502         * sysdeps/generic/inttypes.h: Likewise.
47503         * sysdeps/generic/net/if.h: Likewise.
47504         * sysdeps/generic/sys/swap.h: Likewise.
47505         * sysdeps/gnu/net/if.h: Likewise.
47506         * sysdeps/gnu/utmpx.h: Likewise.
47507         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47508         * sysdeps/i386/i486/bits/string.h: Likewise.
47509         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47510         * sysdeps/s390/bits/string.h: Likewise.
47511         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47512         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47513         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47514         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47515         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47516         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47517         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47518         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47519         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47520         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47521         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47522         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47523         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47524         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47525         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47526         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47527         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47528         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47529         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47530         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47531         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47532         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47533         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47534         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47535         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47536         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47537         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47538         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47539         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47540         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47541         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47542         * sysvipc/sys/ipc.h: Likewise.
47543         * sysvipc/sys/msg.h: Likewise.
47544         * sysvipc/sys/sem.h: Likewise.
47545         * sysvipc/sys/shm.h: Likewise.
47546         * termios/termios.h: Likewise.
47547         * time/sys/time.h: Likewise.
47548         * time/time.h: Likewise.
47549         * wcsmbs/bits/wchar2.h: Likewise.
47550         * wcsmbs/uchar.h: Likewise.
47551         * wcsmbs/wchar.h: Likewise.
47552         * wctype/wctype.h: Likewise.
47553
47554         [BZ #13551]
47555         * Makeconfig: Remove all but ELF support including AIX support.
47556         * Makerules: Likewise.
47557         * config.h.in: Likewise.
47558         * config.make.in: Likewise.
47559         * configure: Likewise.
47560         * configure.in: Likewise.
47561         * csu/Makefile: Likewise.
47562         * csu/version.c: Likewise.
47563         * debug/Makefile: Likewise.
47564         * dlfcn/Makefile: Likewise.
47565         * elf/Makefile: Likewise.
47566         * extra-lib.mk: Likewise.
47567         * iconv/Makefile: Likewise.
47568         * include/libc-symbols.h: Likewise.
47569         * include/shlib-compat.h: Likewise.
47570         * resolv/Makefile: Likewise.
47571         * resolv/res_libc.c: Likewise.
47572         * rt/Makefile: Likewise.
47573         * sysdeps/i386/asm-syntax.h: Likewise.
47574         * sysdeps/i386/sysdep.h: Likewise.
47575         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47576         * sysdeps/mach/sysdep.h: Likewise.
47577         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47578         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47579         * sysdeps/s390/asm-syntax.h: Likewise.
47580         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47581         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47582         * sysdeps/sh/sysdep.h: Likewise.
47583         * sysdeps/unix/sparc/sysdep.h: Likewise.
47584         * sysdeps/wordsize-32/divdi3.c: Likewise.
47585         * sysdeps/x86_64/sysdep.h: Likewise.
47586
47587         * argp/Versions: Remove _argp_unlock_xxx.
47588
47589         [BZ #13559]
47590         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47591         * abilist/libBrokenLocale.abilist: Likewise.
47592         * abilist/libanl.abilist: Likewise.
47593         * abilist/libc.abilist: Likewise.
47594         * abilist/libcrypt.abilist: Likewise.
47595         * abilist/libdl.abilist: Likewise.
47596         * abilist/libm.abilist: Likewise.
47597         * abilist/libnsl.abilist: Likewise.
47598         * abilist/libpthread.abilist: Likewise.
47599         * abilist/libresolv.abilist: Likewise.
47600         * abilist/librt.abilist: Likewise.
47601         * abilist/libthread_db.abilist: Likewise.
47602         * abilist/libutil.abilist: Likewise.
47603         * abilist/libnss_db.abilist: New file.
47604
47605         * scripts/abilist.awk: Add support for indirect functions.
47606
47607         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47608
47609         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47610
47611         * shlib-versions: Remove entries for ports architectures.
47612
47613         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47614         files in ports.
47615         * elf/stackguard-macros.h: Remove support for IA-64.
47616         * elf/tst-auditmod1.c: Likewise.
47617         * sysdeps/generic/ldsodefs.h: Likewise.
47618
47619         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47620         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47621         configure files.
47622
47623         [BZ #13552]
47624         * configure.in: Remove --enable-omitfp support.
47625         * FAQ.in: Adjust.
47626         * config.make.in: Likewise.
47627         * Makeconfig: Likewise.
47628         * manual/install.texi: Likewise.
47629
47630         In case anyone cares, the IA-64 architecture could move to ports.
47631         * sysdeps/ia64/*: Removed.
47632         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47633         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47634
47635         [BZ #13555]
47636         * configure.in: Remove entries for unsupported architectures.
47637
47638         [BZ #13533]
47639         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47640         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47641         routines.
47642         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47643         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47644         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47645         fall back to using wcrtomb.
47646         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47647         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47648         renaming.
47649         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47650         * wcsmbs/tst-c16c32-1.c: New file.
47651
47652         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47653         local variable.
47654
47655         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47656
47657         * elf/tst-unique3.cc: Add explicit declaration of gets.
47658         * elf/tst-unique3lib.cc: Likewise.
47659         * elf/tst-unique3lib2.cc: Likewise.
47660         * elf/tst-unique4.cc: Likewise.
47661
47662         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47663
47664 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47665
47666         [BZ #13566]
47667         * assert/assert.h (static_assert): Don't define for C++.
47668         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47669         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47670
47671 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47672
47673         * iconv/loop.c (single loop): Fix assertion in storing of
47674         remaining bytes.
47675
47676         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47677
47678 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47679
47680         * posix/getconf.c: Update copyright year.
47681         * nss/getent.c: Likewise.
47682         * nss/makedb.c: Likewise.
47683         * iconv/iconvconfig.c: Likewise.
47684         * iconv/iconv_prog.c: Likewise.
47685         * elf/ldconfig.c: Likewise.
47686         * elf/pldd.c: Likewise.
47687         * elf/sotruss.ksh: Likewise.
47688         * catgets/gencat.c: Likewise.
47689         * csu/version.c: Likewise.
47690         * elf/ldd.bash.in: Likewise.
47691         * elf/sprof.c (print_version): Likewise.
47692         * locale/programs/locale.c: Likewise.
47693         * locale/programs/localedef.c: Likewise.
47694         * login/programs/pt_chown.c: Likewise.
47695         * nscd/nscd.c (print_version): Likewise.
47696         * debug/xtrace.sh: Likewise.
47697         * malloc/memusage.sh: Likewise.
47698         * malloc/mtrace.pl: Likewise.
47699         * debug/catchsegv.sh: Likewise.
47700
47701 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47702
47703         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47704         pure attribute.
47705
47706 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47707
47708         [BZ #13533]
47709         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47710         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47711         transformations.
47712         * iconv/gconv_int.h: Likewise.
47713         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47714         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47715         from libc for GLIBC_2.16.
47716         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47717         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47718         * wcsmbs/uchar.h: Really define mbstate_t.
47719         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47720         * wcsmbs/c16rtomb.c: New file.
47721         * wcsmbs/mbrtoc16.c: New file.
47722         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47723         for C/POSIX locale.
47724         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47725         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47726
47727         * wcsmbs/wchar.h: Add missing __restrict.
47728
47729 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47730
47731         [BZ #13532]
47732         * time/Makefile (routines): Add timespec_get.
47733         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47734         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47735         timespec for ISO C11.
47736         * time/timespec_get.c: New file.
47737         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47738         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47739
47740         [BZ #13531]
47741         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47742         * stdlib/stdlib.h: Declare aligned_alloc.
47743         * Versions.def: Add GLIBC_2.16 for libc.
47744         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47745
47746         [BZ 13527]
47747         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47748         ISO C11.
47749
47750         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47751         code.
47752
47753         [BZ #13528]
47754         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47755
47756         [BZ #13529]
47757         * assert/assert.h (static_assert): Define.
47758
47759         * version.h: Update for 2.16 development version.
47760
47761         [BZ #13526]
47762         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47763         _ISOC11_SOURCE.
47764
47765         * version.h (RELEASE): Bump for 2.15 release.
47766         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47767
47768         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47769         Patch by Marek Polacek <mpolacek@redhat.com>.
47770
47771         * bits/byteswap.h: Protect long long constants with __extension__.
47772         * sysdeps/i386/bits/byteswap.h: Likewise.
47773         * sysdeps/ia64/bits/byteswap.h: Likewise.
47774         * sysdeps/s390/bits/byteswap.h: Likewise.
47775         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47776
47777 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47778
47779         [BZ #13540]
47780         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47781         destination buffer.
47782         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47783
47784 2011-12-23  Marek Polacek  <polacek@redhat.com>
47785
47786         * elf/dl-addr.c (determine_info): Add inline keyword.
47787         * elf/tst-auditmod4b.c (check_avx): Likewise.
47788         * elf/tst-auditmod6b.c (check_avx): Likewise.
47789         * elf/tst-auditmod6c.c (check_avx): Likewise.
47790         * elf/tst-auditmod7b.c (check_avx): Likewise.
47791
47792 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47793
47794         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47795         !__SSE_MATH__.
47796
47797 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47798
47799         [BZ #13540]
47800         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47801         processing for last bytes.
47802
47803 2011-08-06  Bruno Haible  <bruno@clisp.org>
47804
47805         [BZ #13061]
47806         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47807         U+0385, not to U+1FEE.
47808
47809         [BZ #13062]
47810         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47811         entry for U+00A5 U+0301.
47812
47813 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47814
47815         [BZ #13166]
47816         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47817         buffer for the output is too small.
47818
47819         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47820         optimization.
47821
47822         [BZ #13185]
47823         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47824         SSE flags if possible.
47825
47826 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47827
47828         [BZ #13540]
47829         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47830         processing for last bytes.
47831
47832 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47833
47834         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47835         (syscall-list-default-options, syscall-list-default-condition)
47836         (syscall-list-includes): Define.
47837         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47838         list of ABIs and options and #if conditions for each ABI.  Do not
47839         handle common syscalls between ABIs specially.
47840         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47841         Remove.
47842         (syscall-list-variants, syscall-list-32bit-options)
47843         (syscall-list-32bit-condition, syscall-list-64bit-options)
47844         (syscall-list-64bit-condition): Define.
47845         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47850         Remove.
47851         (syscall-list-variants, syscall-list-32bit-options)
47852         (syscall-list-32bit-condition, syscall-list-64bit-options)
47853         (syscall-list-64bit-condition): Define.
47854         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47855         Remove.
47856         (syscall-list-variants, syscall-list-32bit-options)
47857         (syscall-list-32bit-condition, syscall-list-64bit-options)
47858         (syscall-list-64bit-condition): Define.
47859
47860 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47861
47862         * locale/iso-639.def: Add brx entry.
47863
47864         [BZ #13328]
47865         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47866         Proposed by Mariusz_Cukr <marcukr@op.pl>.
47867
47868         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47869         __feraiseexcept_renamed.
47870
47871 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47872
47873         [BZ #13538]
47874         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47875         EPOLLET with unsigned values.
47876         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47877         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47878
47879         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47880         to large cancellation.
47881         * math/s_cacoshf.c: Likewise.
47882         * math/s_cacoshl.c: Likewise.
47883
47884 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
47885
47886         [BZ #13305]
47887         [BZ #12786]
47888         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47889         * math/s_cacoshf.c: Likewise.
47890         * math/s_cacoshl.c: Likewise.
47891
47892 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47893
47894         [BZ #13439]
47895         * iconv/gconv.h: Define __GCONV_SWAP.
47896         * iconvdata/unicode.c: The swap bit must be stored in __flags.
47897         * iconvdata/utf-16.c: Likewise.
47898         * iconvdata/utf-32.c: Likewise.
47899
47900 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
47901
47902         [BZ #13524]
47903         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47904         numerator after shifting it by one limb.
47905
47906 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
47907
47908         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47909         under [__USE_EXTERN_INLINES].
47910
47911 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47912
47913         [BZ #13446]
47914         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47915
47916 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47917
47918         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47919         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47920         optimized code.
47921         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47922         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47923         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47924         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47925         for strncasecmp/strncasecmp_l compilation.
47926         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47927         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47928
47929 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
47930
47931         [BZ #13484]
47932         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47933         of __asm__.
47934
47935 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47936
47937         [BZ #13506]
47938         * time/tzfile.c (__tzfile_read): Check values from file header.
47939
47940 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47941
47942         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47943         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47944         * powerpc/powerpc32/dl-start.S: Likewise.
47945         * powerpc/powerpc32/elf/start.S: Likewise.
47946         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47947         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47948         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47949         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47950         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47951         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47952         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47953         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47954         * powerpc/powerpc32/fpu/s_round.S: Likewise.
47955         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47956         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47957         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47958         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47959         * powerpc/powerpc32/memset.S: Likewise.
47960         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47961         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47962         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47963         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47964         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47965         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47966         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47967         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47968         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47969         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47970         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47971         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47972         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47973
47974 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47975
47976         * math/libm-test.inc: Added more nearbyint tests.
47977         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47978         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47979         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47980         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47981
47982 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
47983
47984         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47985         FD_CLOEXEC.
47986
47987 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47988
47989         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47990         Add wcscpy-ssse3 wcscpy-c.
47991         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47992         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47993         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47994         * sysdeps/x86_64/wcschr.S: New file.
47995         * sysdeps/x86_64/wcsrchr.S: New file.
47996         * string/test-strcmp.c: Remove checking of wcscmp function for
47997         wrong alignments.
47998         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47999         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48000         wcsrchr-sse2 wcsrchr-c.
48001         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48002         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48003         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48004         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48005         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48006         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48007         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48008         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48009         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48010         * wcsmbc/wcschr.c (WCSCHR): New macro.
48011
48012 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48013
48014         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48015         * wcsmbs/test-wcsrchr.c: New file.
48016         * string/test-strrchr.c: Add wcsrchr support.
48017         (WIDE): New macro.
48018         * wcsmbs/test-wcscpy.c: New file.
48019         * string/test-strcpy.c: Add wcscpy support.
48020         (WIDE): New macro.
48021
48022 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48023
48024         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48025         the inner loop.
48026
48027 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48028
48029         [BZ #13472]
48030         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48031
48032 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48033
48034         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48035         Minor optimizations.
48036
48037         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48038         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48039         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48040
48041 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48042
48043         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48044         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48045         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48046         for gcc to avoid warnings.
48047         * inet/Makefile (tests): Add tst-checks.
48048         * inet/tst-checks.c: New file.
48049
48050         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48051         warning.
48052
48053         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48054         __wmemcmp_sse2.
48055
48056         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48057         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48058
48059         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48060
48061 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48062
48063         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48064         problem.
48065
48066         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48067
48068 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48069
48070         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48071         conditional on GCC version.
48072         (__arch_compare_and_exchange_val_8_acq)
48073         (__arch_compare_and_exchange_val_16_acq)
48074         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48075         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48076         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48077
48078 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48079
48080         * sysdeps/sh/backtrace.c: New file.
48081
48082 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48083
48084         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48085         parenthesis.
48086
48087 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48088
48089         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48090         falling back to utime.
48091
48092 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48093
48094         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48095         expectations for float.
48096
48097 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48098
48099         * locale/weight.h (findidx): Add parameter len.
48100         * locale/weightwc.h (findidx): Likewise.
48101         * posix/fnmatch_loop.c (FCT): Adjust caller.
48102         * posix/regcomp.c (build_equiv_class): Likewise.
48103         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48104         * posix/regexec.c (check_node_accept_bytes): Likewise.
48105         * string/strcoll_l.c (STRCOLL): Likewise.
48106         * string/strxfrm_l.c (STRXFRM): Likewise.
48107
48108 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48109
48110         * Makefile.in: Remove CVSOPT handling.
48111         * configure.in: Remove use of AC_REVISION.
48112         * iconvdata/Makefile (distribute): No need to filter out CVS.
48113         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48114         handling.
48115
48116 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48117
48118         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48119         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48120         [USE_AS_STRNCASECMP_L]: Likewise.
48121         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48122         NO_TLS_DIRECT_SEG_REFS.
48123         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48124         Fix argument offsets for non-PIC.
48125         [USE_AS_STRNCASECMP_L]: Likewise.
48126         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48127         NO_TLS_DIRECT_SEG_REFS.
48128
48129 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48130
48131         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48132         O_CLOEXEC.
48133         * locale/loadlocale.c (_nl_load_locale): Likewise.
48134
48135 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48136
48137         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48138         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48139         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48140         (SYSCALL_GETTIME): Set errno on error.
48141
48142         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48143         count references to noai6ai_cached.
48144
48145 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48146
48147         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48148
48149         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48150         FD_CLOEXEC for /proc/self/maps.
48151
48152         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48153         FD_CLOEXEC for /proc/meminfo.
48154
48155         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48156         gai.conf.
48157
48158         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48159         FD_CLOEXEC for given file.
48160
48161         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48162
48163         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48164         FD_CLOEXEC for /etc/hosts.
48165         (_gethtent): Likewise.
48166
48167         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48168
48169         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48170         cancellation and set FD_CLOEXEC for /etc/netgroup.
48171
48172         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48173         reading /etc/publickey.
48174
48175         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48176         allow cancellation when reading /etc/group.
48177
48178         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48179         cancellation.
48180         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48181
48182         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48183         when using data file.
48184
48185         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48186
48187         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48188         (write_nis_obj): Use "c" and "e" in fopen.
48189
48190         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48191
48192         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48193
48194         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48195
48196         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48197
48198         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48199         locale.alias.
48200
48201         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48202
48203         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48204
48205         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48206
48207         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48208         file parsing and set FD_CLOEXEC.
48209
48210 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48211
48212         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48213
48214 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48215
48216         * malloc/arena.c (arena_get2): Don't call reused_arena when
48217         _int_new_arena failed.
48218
48219 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48220
48221         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48222         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48223         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48224         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48225         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48226         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48227         to compile strcasecmp and strncasecmp.
48228         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48229         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48230
48231         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48232
48233 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48234
48235         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48236         locale-defines.sym to gen-as-const-headers.
48237         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48238         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48239         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48240         to compile strcasecmp and strncasecmp.
48241         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48242         strcasecmp_l and strncasecmp_l.
48243         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48244         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48245         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48246         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48247         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48248         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48249         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48250         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48251         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48252         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48253         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48254
48255 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48256
48257         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48258         result of SYSDEP_GETTIME_CPU to retval.
48259         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48260         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48261
48262         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48263         variable.
48264
48265         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48266         mantissa words.
48267         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48268
48269         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48270         from unused variable.
48271
48272         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48273         DWARF definitions.
48274         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48275         for assembling.
48276
48277         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48278         over namespaces.
48279
48280         * sunrpc/rpc_prot.c (rejected): Fix case value.
48281
48282         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48283         unsigned long long int to avoid warnings in shift.
48284
48285         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48286         of use of trans.
48287         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48288         variable tmp.
48289
48290         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48291         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48292         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48293
48294         * nis/nis_table.c (nis_list): Use variable of correct type for
48295         result of __follow_path call.
48296
48297 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48298
48299         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48300         of math functions ceil, trunc, floor, round, and sqrt, when
48301         avaliable on the platform.
48302         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48303         name clash.
48304         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48305         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48306         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48307
48308 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48309
48310         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48311         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48312
48313 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48314
48315         * include/unistd.h: Fix __readlink return type.
48316         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48317
48318 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48319
48320         * stdlib/ucontext.h: Undo last change for makecontext.
48321
48322 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48323
48324         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48325
48326         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48327         * setjmp/setjmp.h: Mark functions as non-leaf.
48328         * setjmp/bits/setjmp2.h: Likewise.
48329         * stdlib/ucontext.h: Likewise.
48330
48331 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48332
48333         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48334         (reused_arena): Don't check arena limit.
48335         (arena_get2): Atomically check arena limit.
48336
48337 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48338
48339         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48340         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48341
48342         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48343         instructions.
48344
48345 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48346
48347         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48348         handler when locking.
48349
48350         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48351         Fix size of allocated buffer.
48352
48353 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48354
48355         [BZ #10103]
48356         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48357         declarations for long double functions.
48358         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48359
48360         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48361
48362 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48363
48364         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48365         installed.
48366
48367         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48368         is disabled.
48369
48370 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48371
48372         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48373
48374 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48375
48376         * include/alloca.h (stackinfo_alloca_round): Define.
48377         (extend_alloca): Use it.
48378         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48379         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48380         here.
48381
48382         * scripts/check-local-headers.sh: Ignore libaudit.h.
48383
48384         * nscd/Makefile (extra-objs): Make recursively expanded.
48385
48386 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48387
48388         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48389         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48390
48391         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48392         * posix/tst-rfc3484-2.c: Likewise.
48393         * posix/tst-rfc3484-3.c: Likewise.
48394
48395         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48396         process_vm_writev.
48397         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48398         process_vm_writev.
48399         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48400         process_vm_writev from libc using GLIBC_2.15 version.
48401
48402         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48403
48404 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48405
48406         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48407         stack usage.
48408
48409 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48410
48411         [BZ #13367]
48412         * nss/getent.c (initgroups_keys): Show error message in case no group
48413         names are given.
48414
48415         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48416         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48417         __bump_nl_timestamp.
48418         * nscd/connections (nscd_init): When host database is served open
48419         netlink socket and request notification about configuration changes.
48420         (main_loop_poll): Track netlink file descriptor and bump timestamp
48421         in case data becomes available.
48422         (main_loop_epoll): Likewise.
48423         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48424         (database_pers_head): Add extra_data fileds.
48425         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48426         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48427         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48428         Adjust caller.
48429         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48430         in6ai data, call __free_in6ai.
48431         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48432         Add -DHAVE_NETLINK.
48433         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48434         interface information.  Reuse previous data if netlink timestamp
48435         is not changed.
48436         (__bump_nl_timestamp): New function.
48437         (__free_in6ai): New function.
48438
48439 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48440
48441         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48442         close_not_cancel_no_status here.
48443         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48444
48445 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48446
48447         [BZ #13276]
48448         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48449         return value.
48450
48451         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48452         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48453         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48454
48455 2011-07-03  Andreas Jaeger  <aj@suse.de>
48456
48457         [BZ #10709]
48458         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48459         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48460         * math/libm-test.inc (sin_test): Add test case.
48461
48462 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48463
48464         [BZ #13337]
48465         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48466         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48467
48468         * elf/chroot_canon.c (chroot_canon): Cleanups.
48469
48470         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48471
48472         [BZ #13335]
48473         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48474         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48475
48476         * string/test-strchr.c: Make usable for strchrnul testing.
48477         * string/test-strchrnul.c: New file.
48478         * string/Makefile (strop-tests): Add strchrnul.
48479
48480         * po/it.po: Update from translation team.
48481         * po/es.po: Likewise.
48482
48483 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48484
48485         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48486         the three constants needed as parameters.  Drop the others.
48487         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48488         __m128i_strloadu_tolower.
48489         Create and initialize variable zero and use it in all the places
48490         where _mm_setzero_si128 was used.
48491
48492         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48493         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48494         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48495         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48496         anymore.
48497         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48498         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48499         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48500         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48501         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48502         __mpranred, __mptan.
48503         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48504         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48505         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48506         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48507         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48508         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48509         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48510         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48511         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48512
48513 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48514
48515         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48516         redefine if SHARED.
48517         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48518
48519         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48520         wide char related routines to wcsmbs subdir.
48521
48522 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48523
48524         [BZ #13344]
48525         * misc/sys/cdefs.h (__THROWNL): Define.
48526         * posix/unistd.h: Use __THREADNL instead of __THREAD
48527         for memory synchronization functions.
48528
48529 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48530
48531         [BZ #13349]
48532         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48533         doesn't exist.
48534         * manual/stdio.texi (Obstack Streams): Node removed.
48535
48536 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48537
48538         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48539         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48540         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48541
48542         * math/math_private.h (math_force_eval): Allow non-addressable
48543         arguments.
48544         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48545
48546 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48547
48548         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48549         file is not needed.
48550
48551         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48552         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48553         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48554         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48555         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48556         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48557         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48558         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48559         Add AVX variants.
48560         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48561         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48562         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48563         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48564         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48565         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48566         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48567         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48568         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48569         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48570         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48571         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48572         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48573         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48574         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48575         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48576         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48577         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48578         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48579
48580         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48581         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48582
48583         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48584         place.  Use VEX encoding when compiling for AVX.
48585
48586 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48587
48588         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48589         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48590
48591         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48592
48593 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48594
48595         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48596         useless if() expression.
48597         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48598         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48599         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48600         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48601         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48602         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48603         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48604         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48605         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48606         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48607         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48608         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48609         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48610         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48611         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48612         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48613         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48614         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48615         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48616
48617         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48618
48619 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48620
48621         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48622         condition.
48623         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48624
48625 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48626
48627         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48628         .text section.  Avoid duplicate constants.
48629         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48630         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48631         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48632         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48633         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48634         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48635         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48636         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48637         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48638         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48639         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48640         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48641         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48642         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48643         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48644         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48645         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48646         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48647         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48648         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48649         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48650         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48651         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48652         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48653         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48654         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48655         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48656         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48657         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48658         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48659         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48660         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48661         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48662         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48663         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48664         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48665         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48666         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48667         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48668         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48669         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48670         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48671         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48672         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48673         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48674
48675 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48676
48677         * sysdeps/x86_64/dla.h: Move to ...
48678         * sysdeps/x86_64/fpu/dla.h: ...here.
48679         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48680         situations.  Use __builtin_fma only for gcc 4.6 and up.
48681
48682         * config.make.in: Add have-mfma4 entry.
48683         * configure.in: Substitute libc_cv_cc_fma4.
48684         * math/Makefile (dbl-only-routines): Add sincostab.
48685         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48686         Use __sincostab not sincos.
48687         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48688         name is a macro.
48689         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48690         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48691         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48692         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48693         using __copysign.
48694         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48695         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48696         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48697         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48698         and __inv.
48699         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48700         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48701         __copysign.
48702         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48703         define aliases when function name is a macro.
48704         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48705         sysdeps/ieee754/dbl-64/sincos.tbl.
48706         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48707         fma4-enabled routines.
48708         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48709         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48710         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48711         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48712         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48713         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48714         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48715         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48716         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48717         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48718         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48719         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48720         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48721         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48722         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48723         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48724         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48725         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48726         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48727         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48728         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48729         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48730         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48731         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48732         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48733         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48734         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48735         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48736         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48737         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48738
48739         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48740         rename.
48741         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48742         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48743         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48745         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48746         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48747         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48748         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48749
48750 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48751
48752         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48753
48754 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48755
48756         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48757
48758         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48759         prediction.
48760         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48761
48762         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48763         Remove unused variable magic_bits.
48764         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48765
48766         * string/strnlen.c: Define and use STRNLEN macro.
48767         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48768         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48769         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48770         * wcsmbs/wcslen.c: Define and use WCSLEN.
48771         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48772         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48773         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48774         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48775         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48776         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48777         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48778
48779 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48780
48781         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48782         strnlen-sse2-no-bsf.
48783         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48784         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48785         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48786         Add strnlen support.
48787         (USE_AS_STRNLEN): New macro.
48788         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48789         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48790         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48791         * sysdeps/x86_64/wcslen.S: New file.
48792
48793 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48794
48795         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48796         XMM-moves are used for copying on small sizes.
48797
48798 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48799
48800         * wcsmbs/Makefile (strop-tests): Add wcschr.
48801         * wcsmbs/test-wcschr.c: New file.
48802         * string/test-strchr.c: Update.
48803         Add wcschr support.
48804         (WIDE): New macro.
48805
48806 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48807
48808         * wcsmbs/Makefile (strop-tests): Add wcslen.
48809         * wcsmbs/test-wcslen.c: New file.
48810         * string/test-strlen.c: Update.
48811         Add wcslen support.
48812         (WIDE): New macro.
48813
48814 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48815
48816         * po/it.po: Update from translation team.
48817
48818 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48819
48820         * sysdeps/x86_64/wcscmp.S: Update.
48821         Fix wrong comparison semantics.
48822         wcscmp shall use signed comparison not unsigned.
48823         Don't use substraction to avoid overflow bug.
48824         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48825         * wcsmbc/wcscmp.c: Likewise.
48826         * string/test-strcmp.c: Likewise.
48827         Add new tests to check cases with negative values.
48828
48829 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48830
48831         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48832         * sysdeps/x86_64/dla.h: ...here.  New file.
48833         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48834         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48835         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48836         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48837         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48838         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48839         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48840         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48841         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48842
48843 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48844
48845         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48846         __ynl_finite aliases.
48847
48848 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48849
48850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48851
48852         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48853         define DLA_FMA.
48854         [DLA_FMA] (EMULV): Use DLA_FMA.
48855         [DLA_FMA] (MUL12): Use EMULV.
48856         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48857         that are not needed.
48858         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48859         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48860         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48861         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48862         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48863         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48864         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48865
48866 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
48867
48868         * math/s_nan.c: Undef __nan.
48869         * math/s_nanf.c: Undef __nanf.
48870         * math/s_nanl.c: Undef __nanl.
48871         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48872         "math_private.h".
48873
48874 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48875
48876         * math/s_catan.c: Add branch predictions.
48877         * math/s_catanf.c: Likewise.
48878         * math/s_catanh.c: Likewise.
48879         * math/s_catanhf.c: Likewise.
48880         * math/s_catanhl.c: Likewise.
48881         * math/s_catanl.c: Likewise.
48882         * math/s_cexp.c: Likewise.
48883         * math/s_cexpf.c: Likewise.
48884         * math/s_cexpl.c: Likewise.
48885         * math/s_clog.c: Likewise.
48886         * math/s_clog10.c: Likewise.
48887         * math/s_clog10f.c: Likewise.
48888         * math/s_clog10l.c: Likewise.
48889         * math/s_clogf.c: Likewise.
48890         * math/s_clogl.c: Likewise.
48891         * math/s_csqrt.c: Likewise.
48892         * math/s_csqrtf.c: Likewise.
48893         * math/s_csqrtl.c: Likewise.
48894         * math/s_ctanf.c: Likewise.
48895         * math/s_ctanh.c: Likewise.
48896         * math/s_ctanhf.c: Likewise.
48897         * math/s_ctanhl.c: Likewise.
48898         * math/s_ctanl.c: Likewise.
48899
48900         * math/math_private.h: Define __nan, __nanf, __nanl.
48901         * math/s_cacosh.c: Include <math_private.h>.
48902         * math/s_cacoshl.c: Likewise.
48903         * math/s_casinh.c: Likewise.
48904         * math/s_casinhf.c: Likewise.
48905         * math/s_casinhl.c: Likewise.
48906         * math/s_ccos.c: Rely entire on ccosh.
48907         * math/s_ccosf.c: Rely entire on ccoshf.
48908         * math/s_ccosl.c: Rely entirely on ccoshl.
48909         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
48910         Remove tests for FE_INVALID.
48911         * math/s_ccoshf.c: Likewise.
48912         * math/s_ccoshl.c: Likewise.
48913         * math/s_csin.c: Likewise.
48914         * math/s_csinf.c: Likewise.
48915         * math/s_csinh.c Likewise.
48916         * math/s_csinhf.c: Likewise.
48917         * math/s_csinhl.c: Likewise.
48918         * math/s_csinl.c: Likewise.
48919         * math/s_ctan.c: Likewise.
48920         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48921         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48922         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48923
48924 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
48925
48926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48927         compilation problems.
48928
48929         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48930         __builtin_expect.
48931
48932 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
48933
48934         * sysdeps/i386/configure.in: Test for -mfma4 option.
48935         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48936         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48937         COMMON_CPUID_INDEX_80000001.
48938         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48939         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48940         use it if FMA3 is not supported.
48941         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48942
48943         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48944         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48945
48946 2011-10-20  Andreas Schwab  <schwab@redhat.com>
48947
48948         [BZ #12892]
48949         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48950         it would create a cycle with a link time dependency.
48951
48952 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
48953
48954         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48955         instruction.
48956         * string/Makefile (strop-tests): Add rawmemchr.
48957         * string/test-rawmemchr.c: New file.
48958
48959         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48960         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
48961         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
48962         when compiling str{,n}casecmp and when AVX is available.  Hook up
48963         new optimized code in initializers.
48964
48965 2011-10-19  Andreas Schwab  <schwab@redhat.com>
48966
48967         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48968         __feraiseexcept instead of feraiseexcept.
48969
48970 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
48971
48972         * math/math_private.h: Define defaults for libc_fetestexcept and
48973         libc_feupdateenv.
48974         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48975         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48976         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48977         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48978         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48979         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48980         libc_fetestexcept and libc_feupdateenv.
48981
48982         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48983         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48984         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48985         * sysdeps/x86_64/fpu/math_private.h: Define special version of
48986         libc_feholdexcept_setround.
48987
48988         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48989         Add s_nearbyint-c and s_nearbyintf-c.
48990         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48991         nearbyintf inlines.
48992         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48993         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48994         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48995         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48996
48997         * math/math_private.h: Define defaults for libc_fegetround,
48998         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48999         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49000         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49001         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49002         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49003         standard functions.
49004         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49005         Remove comments and hacks for old compiler versions.
49006         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49007         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49008         libc_feholdexceptl.
49009
49010 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49011
49012         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49013         (__feraiseexcept_renamed): Add __NTH.
49014         (feraiseexcept): Add __NTH.  Rename local variables to fix
49015         namespace violations.
49016
49017 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49018
49019         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49020
49021         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49022
49023         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49024         recently added interfaces.
49025         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49026
49027         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49028         about macro parameter expansion.
49029
49030         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49031         __NO_MATH_INLINES is defined.  Cleanups.
49032
49033         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49034         and __floorf is target has SSE4.1.
49035         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49036         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49037         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49038         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49039
49040         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49041         name.
49042         (floorf): Likewise.
49043
49044         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49045
49046 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49047
49048         * misc/sys/cdefs.h: Fix last change.
49049
49050         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49051         database lookup.
49052
49053 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49054
49055         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49056
49057         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49058         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49059         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49060         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49061         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49062         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49063         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49064         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49065         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49066         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49067         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49068         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49069         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49070         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49071         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49072         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49073         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49074         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49075         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49076         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49077         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49078         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49079
49080         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49081         ceil, ceilf, floor, floorf.
49082
49083         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49084         Perform IRELATIVE relocations last.
49085
49086         * elf/do-rel.h: Add another parameter nrelative, replacing the
49087         local variable with the same name.  Change name of the function
49088         to end in Rel or Rela (uppercase).
49089         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49090         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49091         elf_dynamic_do_##reloc function.
49092
49093 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49094
49095         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49096         is sufficient, at least on modern CPUs.
49097
49098         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49099
49100         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49101         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49102
49103         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49104         __expl_finite.
49105         * math/bits/math-finite.h: Add entries for exp.
49106         * math/e_expl.c: Add __*_finite alias.
49107         * sysdeps/i386/fpu/e_exp.S: Likewise.
49108         * sysdeps/i386/fpu/e_expf.S: Likewise.
49109         * sysdeps/i386/fpu/e_expl.c: Likewise.
49110         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49111         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49112         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49113         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49114         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49115         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49116         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49117
49118         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49119         is sufficient, at least on modern CPUs.
49120
49121         * ctype/ctype-info.c (__ctype_init): Define.
49122         * include/ctype.h (__ctype_init): Declare.
49123         (__ctype_b_loc): The variable is always initialized.
49124         (__ctype_toupper_loc): Likewise.
49125         (__ctype_tolower_loc): Likewise.
49126         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49127         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49128
49129 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49130
49131         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49132
49133         * configure.in: Also look in $cxxmachine/include for C++ system
49134         headers.
49135
49136 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49137
49138         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49139         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49140         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49141         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49142         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49143         (USE_AS_WMEMCMP): New macro.
49144         Fixing indents.
49145         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49146         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49147         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49148         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49150         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49151         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49152         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49153         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49154         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49155         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49156         (USE_AS_WMEMCMP): New macro.
49157         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49158         * sysdeps/string/test-memcmp.c: Update.
49159         Fix simple_wmemcmp.
49160         Add new tests.
49161         * wcsmbs/wmemcmp.c: Update.
49162         (WMEMCMP): New macro.
49163         Fix overflow bug.
49164
49165 2011-10-12  Andreas Jaeger  <aj@suse.de>
49166
49167         [BZ #13268]
49168         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49169
49170 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49171
49172         * libio/iofwide.c (do_length): Avoid warning.
49173
49174         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49175
49176 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49177
49178         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49179
49180         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49181         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49182         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49183         * sysdeps/i386/i686/fpu/e_log.S: New file.
49184         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49185         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49186
49187         * ctype/ctype.h: Add support for inlined isXXX functions when
49188         compiling C++ code.
49189
49190 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49191
49192         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49193
49194         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49195
49196 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49197
49198         [BZ #13291]
49199         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49200
49201 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49202
49203         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49204         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49205         feraiseexcept.
49206
49207         * sysdeps/x86_64/memrchr.S: Check for zero size.
49208
49209         * string/stratcliff.c: Add memrchr tests.
49210
49211 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49212
49213         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49214         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49215         rawmemchr-sse2 rawmemchr-sse2-bsf.
49216         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49217         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49218         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49219         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49220         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49221         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49222         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49223         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49224         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49225         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49226         * string/memrchr.c (MEMRCHR): New macro.
49227
49228 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49229
49230         Add integration with gcc's -ffinite-math-only and optimize wrapper
49231         functions in libm.
49232         * Versions.def: Define GLIBC_2.15 version for libm.
49233         * math/Makefile (headers): Add bits/math-finite.h.
49234         * math/bits/math-finite.h: New file.
49235         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49236         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49237         * math/e_acoshl.c: Add __*_finite alias.
49238         * math/e_acosl.c: Likewise.
49239         * math/e_asinl.c: Likewise.
49240         * math/e_atan2l.c: Likewise.
49241         * math/e_atanhl.c: Likewise.
49242         * math/e_coshl.c: Likewise.
49243         * math/e_exp10.c: Likewise.
49244         * math/e_exp10f.c: Likewise.
49245         * math/e_exp10l.c: Likewise.
49246         * math/e_exp2l.c: Likewise.
49247         * math/e_fmodl.c: Likewise.
49248         * math/e_gammal_r.c: Likewise.
49249         * math/e_hypotl.c: Likewise.
49250         * math/e_j0l.c: Likewise.
49251         * math/e_j1l.c: Likewise.
49252         * math/e_jnl.c: Likewise.
49253         * math/e_lgammal_r.c: Likewise.
49254         * math/e_log10l.c: Likewise.
49255         * math/e_log2l.c: Likewise.
49256         * math/e_logl.c: Likewise.
49257         * math/e_powl.c: Likewise.
49258         * math/e_sinhl.c: Likewise.
49259         * math/e_sqrtl.c: Likewise.
49260         * math/e_scalb.c: Completely rewritten and optimized.
49261         * math/e_scalbf.c: Likewise.
49262         * math/e_scalbl.c: Likewise.
49263         * math/w_acos.c: Likewise.
49264         * math/w_acosf.c: Likewise.
49265         * math/w_acosl.c: Likewise.
49266         * math/w_acosh.c: Likewise.
49267         * math/w_acoshf.c: Likewise.
49268         * math/w_acoshl.c: Likewise.
49269         * math/w_asin.c: Likewise.
49270         * math/w_asinf.c: Likewise.
49271         * math/w_asinl.c: Likewise.
49272         * math/w_atan2.c: Likewise.
49273         * math/w_atan2f.c: Likewise.
49274         * math/w_atan2l.c: Likewise.
49275         * math/w_atanh.c: Likewise.
49276         * math/w_atanhf.c: Likewise.
49277         * math/w_atanhl.c: Likewise.
49278         * math/w_exp10.c: Likewise.
49279         * math/w_exp10f.c: Likewise.
49280         * math/w_exp10l.c: Likewise.
49281         * math/w_fmod.c: Likewise.
49282         * math/w_fmodf.c: Likewise.
49283         * math/w_fmodl.c: Likewise.
49284         * math/w_j0.c: Likewise.
49285         * math/w_j0f.c: Likewise.
49286         * math/w_j0l.c: Likewise.
49287         * math/w_j1.c: Likewise.
49288         * math/w_j1f.c: Likewise.
49289         * math/w_j1l.c: Likewise.
49290         * math/w_jn.c: Likewise.
49291         * math/w_jnf.c: Likewise.
49292         * math/w_log.c: Likewise.
49293         * math/w_logf.c: Likewise.
49294         * math/w_logl.c: Likewise.
49295         * math/w_log10.c: Likewise.
49296         * math/w_log10f.c: Likewise.
49297         * math/w_log10l.c: Likewise.
49298         * math/w_log2.c: Likewise.
49299         * math/w_log2f.c: Likewise.
49300         * math/w_log2l.c: Likewise.
49301         * math/w_pow.c: Likewise.
49302         * math/w_powf.c: Likewise.
49303         * math/w_powl.c: Likewise.
49304         * math/w_remainder.c: Likewise.
49305         * math/w_remainderf.c: Likewise.
49306         * math/w_remainderl.c: Likewise.
49307         * math/w_scalb.c: Likewise.
49308         * math/w_scalbf.c: Likewise.
49309         * math/w_scalbl.c: Likewise.
49310         * math/w_sqrt.c: Likewise.
49311         * math/w_sqrtf.c: Likewise.
49312         * math/w_sqrtl.c: Likewise.
49313         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49314         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49315         used.
49316         * math/math_private.h: Declare __kernel_standard_f.
49317         * math/w_cosh.c: Remove cruft and optimize a bit.
49318         * math/w_coshf.c: Likewise.
49319         * math/w_coshl.c: Likewise.
49320         * math/w_exp2.c: Likewise.
49321         * math/w_exp2f.c: Likewise.
49322         * math/w_exp2l.c: Likewise.
49323         * math/w_hypot.c: Likewise.
49324         * math/w_hypotf.c: Likewise.
49325         * math/w_hypotl.c: Likewise.
49326         * math/w_lgamma.c: Likewise.
49327         * math/w_lgamma_r.c: Likewise.
49328         * math/w_lgammaf.c: Likewise.
49329         * math/w_lgammaf_r.c: Likewise.
49330         * math/w_lgammal.c: Likewise.
49331         * math/w_lgammal_r.c: Likewise.
49332         * math/w_sinh.c: Likewise.
49333         * math/w_sinhf.c: Likewise.
49334         * math/w_sinhl.c: Likewise.
49335         * math/w_tgamma.c: Likewise.
49336         * math/w_tgammaf.c: Likewise.
49337         * math/w_tgammal.c: Likewise.
49338         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49339         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49340         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49341         Minor optimizations.  Pretty printing.  Remove cruft.
49342         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49343         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49344         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49345         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49346         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49347         * sysdeps/i386/fpu/e_asin.S: Likewise.
49348         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49349         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49350         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49351         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49352         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49353         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49354         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49355         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49356         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49357         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49358         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49359         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49360         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49361         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49362         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49363         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49364         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49365         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49366         * sysdeps/i386/fpu/e_log.S: Likewise.
49367         * sysdeps/i386/fpu/e_log10.S: Likewise.
49368         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49369         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49370         * sysdeps/i386/fpu/e_log2.S: Likewise.
49371         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49372         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49373         * sysdeps/i386/fpu/e_logf.S: Likewise.
49374         * sysdeps/i386/fpu/e_logl.S: Likewise.
49375         * sysdeps/i386/fpu/e_pow.S: Likewise.
49376         * sysdeps/i386/fpu/e_powf.S: Likewise.
49377         * sysdeps/i386/fpu/e_powl.S: Likewise.
49378         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49379         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49380         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49381         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49382         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49383         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49384         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49385         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49386         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49387         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49388         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49389         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49390         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49391         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49392         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49393         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49394         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49395         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49396         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49397         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49398         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49399         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49400         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49401         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49402         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49403         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49404         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49405         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49406         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49407         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49408         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49409         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49410         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49411         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49412         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49413         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49414         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49415         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49416         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49417         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49418         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49419         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49420         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49421         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49422         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49423         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49424         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49425         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49426         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49427         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49428         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49429         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49430         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49431         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49432         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49433         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49434         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49435         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49436         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49437         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49438         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49439         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49440         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49441         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49442         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49443         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49444         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49445         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49446         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49447         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49448         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49449         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49450         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49451         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49452         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49453         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49454         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49455         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49456         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49457         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49458         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49459         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49460         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49461         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49462         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49463         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49464         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49465         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49466         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49467         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49468         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49469         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49470         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49471         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49472         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49473         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49474         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49475         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49476         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49477         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49478         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49479         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49480         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49481         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49482         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49483         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49484         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49485         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49486         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49487         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49488         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49489         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49490         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49491         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49492         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49493         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49494         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49495         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49496         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49497         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49498         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49499         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49500         (__isnanf): Likewise.
49501         (__isinf_ns): Likewise.
49502         (__isinf_nsf): Likewise.
49503         (__finite): Likewise.
49504         (__finitef): Likewise.
49505         (__ieee754_sqrt): Define as macro.
49506         (__ieee754_sqrtf): Define as macro.
49507         (__ieee754_sqrtl): Define as macro.
49508         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49509         inlined copy.
49510         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49511         __FINITE_MATH_ONLY__ consistent.
49512         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49513
49514 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49515
49516         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49517         of rawmemchr.
49518
49519         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49520
49521 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49522
49523         * po/ja.po: Update from translation team.
49524
49525 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49526
49527         * locale/programs/locarchive.c (prepare_address_space): New function.
49528         (create_archive, enlarge_archive, open_archive): Use it.
49529
49530         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49531         inside [SHARED], where it is used.
49532
49533         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49534
49535         * nss/getent.c (netgroup_keys): Remove unused variable.
49536         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49537
49538 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49539
49540         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49541         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49542         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49543         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49544         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49545         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49546         * math/Makefile (libm-calls): Add s_isinf_ns.
49547         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49548         * math/multc3.c: Likewise.
49549         * math/s_casin.c: Likewise.
49550         * math/s_casinf.c: Likewise.
49551         * math/s_casinl.c: Likewise.
49552         * math/s_ccos.c: Likewise.
49553         * math/s_ccosf.c: Likewise.
49554         * math/s_ccosl.c: Likewise.
49555         * math/s_ctan.c: Likewise.
49556         * math/s_ctanf.c: Likewise.
49557         * math/s_ctanh.c: Likewise.
49558         * math/s_ctanhf.c: Likewise.
49559         * math/s_ctanhl.c: Likewise.
49560         * math/s_ctanl.c: Likewise.
49561         * math/w_fmod.c: Likewise.
49562         * math/w_fmodf.c: Likewise.
49563         * math/w_fmodl.c: Likewise.
49564         * math/w_remainder.c: Likewise.
49565         * math/w_remainderf.c: Likewise.
49566         * math/w_remainderl.c: Likewise.
49567         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49568         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49569         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49570         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49571         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49572         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49573         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49574         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49575
49576         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49577         of the number.
49578         * stdio-common/printf_fphex.c: Likewise.
49579         * stdio-common/printf_size.c: Likewise.
49580
49581         * math/e_exp10.c: Include math_private.h using <...> not "...".
49582         * math/e_exp10f.c: Likewise.
49583         * math/e_exp10l.c: Likewise.
49584         * math/e_exp2l.c: Likewise.
49585         * math/e_j0l.c: Likewise.
49586         * math/e_j1l.c: Likewise.
49587         * math/e_jnl.c: Likewise.
49588         * math/e_lgammal_r.c: Likewise.
49589         * math/e_rem_pio2l.c: Likewise.
49590         * math/e_scalb.c: Likewise.
49591         * math/e_scalbf.c: Likewise.
49592         * math/e_scalbl.c: Likewise.
49593         * math/k_cosl.c: Likewise.
49594         * math/k_sinl.c: Likewise.
49595         * math/k_tanl.c: Likewise.
49596         * math/s_cacoshf.c: Likewise.
49597         * math/s_catan.c: Likewise.
49598         * math/s_catanf.c: Likewise.
49599         * math/s_catanh.c: Likewise.
49600         * math/s_catanhf.c: Likewise.
49601         * math/s_catanhl.c: Likewise.
49602         * math/s_catanl.c: Likewise.
49603         * math/s_ccosh.c: Likewise.
49604         * math/s_ccoshf.c: Likewise.
49605         * math/s_ccoshl.c: Likewise.
49606         * math/s_cexp.c: Likewise.
49607         * math/s_cexpf.c: Likewise.
49608         * math/s_cexpl.c: Likewise.
49609         * math/s_clog.c: Likewise.
49610         * math/s_clog10.c: Likewise.
49611         * math/s_clog10f.c: Likewise.
49612         * math/s_clog10l.c: Likewise.
49613         * math/s_clogf.c: Likewise.
49614         * math/s_clogl.c: Likewise.
49615         * math/s_csin.c: Likewise.
49616         * math/s_csinf.c: Likewise.
49617         * math/s_csinh.c: Likewise.
49618         * math/s_csinhf.c: Likewise.
49619         * math/s_csinhl.c: Likewise.
49620         * math/s_csinl.c: Likewise.
49621         * math/s_csqrt.c: Likewise.
49622         * math/s_csqrtf.c: Likewise.
49623         * math/s_csqrtl.c: Likewise.
49624         * math/s_ctan.c: Likewise.
49625         * math/s_ctanf.c: Likewise.
49626         * math/s_ctanh.c: Likewise.
49627         * math/s_ctanhf.c: Likewise.
49628         * math/s_ctanhl.c: Likewise.
49629         * math/s_ctanl.c: Likewise.
49630         * math/s_ldexp.c: Likewise.
49631         * math/s_ldexpf.c: Likewise.
49632         * math/s_ldexpl.c: Likewise.
49633         * math/s_significand.c: Likewise.
49634         * math/s_significandf.c: Likewise.
49635         * math/s_significandl.c: Likewise.
49636         * math/w_acos.c: Likewise.
49637         * math/w_acosf.c: Likewise.
49638         * math/w_acosh.c: Likewise.
49639         * math/w_acoshf.c: Likewise.
49640         * math/w_acoshl.c: Likewise.
49641         * math/w_acosl.c: Likewise.
49642         * math/w_asin.c: Likewise.
49643         * math/w_asinf.c: Likewise.
49644         * math/w_asinl.c: Likewise.
49645         * math/w_atan2.c: Likewise.
49646         * math/w_atan2f.c: Likewise.
49647         * math/w_atan2l.c: Likewise.
49648         * math/w_atanh.c: Likewise.
49649         * math/w_atanhf.c: Likewise.
49650         * math/w_atanhl.c: Likewise.
49651         * math/w_cosh.c: Likewise.
49652         * math/w_coshf.c: Likewise.
49653         * math/w_coshl.c: Likewise.
49654         * math/w_dremf.c: Likewise.
49655         * math/w_exp10.c: Likewise.
49656         * math/w_exp10f.c: Likewise.
49657         * math/w_exp10l.c: Likewise.
49658         * math/w_exp2.c: Likewise.
49659         * math/w_exp2f.c: Likewise.
49660         * math/w_fmod.c: Likewise.
49661         * math/w_fmodf.c: Likewise.
49662         * math/w_fmodl.c: Likewise.
49663         * math/w_hypot.c: Likewise.
49664         * math/w_hypotf.c: Likewise.
49665         * math/w_hypotl.c: Likewise.
49666         * math/w_j0.c: Likewise.
49667         * math/w_j0f.c: Likewise.
49668         * math/w_j0l.c: Likewise.
49669         * math/w_j1.c: Likewise.
49670         * math/w_j1f.c: Likewise.
49671         * math/w_j1l.c: Likewise.
49672         * math/w_jn.c: Likewise.
49673         * math/w_jnf.c: Likewise.
49674         * math/w_jnl.c: Likewise.
49675         * math/w_lgamma.c: Likewise.
49676         * math/w_lgamma_r.c: Likewise.
49677         * math/w_lgammaf.c: Likewise.
49678         * math/w_lgammaf_r.c: Likewise.
49679         * math/w_lgammal.c: Likewise.
49680         * math/w_lgammal_r.c: Likewise.
49681         * math/w_log.c: Likewise.
49682         * math/w_log10.c: Likewise.
49683         * math/w_log10f.c: Likewise.
49684         * math/w_log10l.c: Likewise.
49685         * math/w_log2.c: Likewise.
49686         * math/w_log2f.c: Likewise.
49687         * math/w_log2l.c: Likewise.
49688         * math/w_logf.c: Likewise.
49689         * math/w_logl.c: Likewise.
49690         * math/w_pow.c: Likewise.
49691         * math/w_powf.c: Likewise.
49692         * math/w_powl.c: Likewise.
49693         * math/w_remainder.c: Likewise.
49694         * math/w_remainderf.c: Likewise.
49695         * math/w_remainderl.c: Likewise.
49696         * math/w_scalb.c: Likewise.
49697         * math/w_scalbf.c: Likewise.
49698         * math/w_scalbl.c: Likewise.
49699         * math/w_sinh.c: Likewise.
49700         * math/w_sinhf.c: Likewise.
49701         * math/w_sinhl.c: Likewise.
49702         * math/w_sqrt.c: Likewise.
49703         * math/w_sqrtf.c: Likewise.
49704         * math/w_sqrtl.c: Likewise.
49705         * math/w_tgamma.c: Likewise.
49706         * math/w_tgammaf.c: Likewise.
49707         * math/w_tgammal.c: Likewise.
49708
49709         * po/ja.po: Update from translation team.
49710
49711 2011-09-29  Andreas Jaeger  <aj@suse.de>
49712
49713         [BZ #13179]
49714         * sunrpc/netname.c (netname2host): Fix logic.
49715
49716         [BZ #6779]
49717         [BZ #6783]
49718         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49719         correctly.
49720         * math/w_remainder.c (__remainder): Likewise.
49721         * math/w_remainderf.c (__remainderf): Likewise.
49722         * math/libm-test.inc (remainder_test): Add test cases.
49723
49724 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49725
49726         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49727         sdiv_qrnnd.
49728
49729 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49730
49731         * string/test-memcmp.c: Avoid unncessary #defines.
49732         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49733
49734 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49735
49736         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49737         Use new sse2 version for core i3 - i7 as it's faster
49738         than sse42 version.
49739         (bit_Prefer_PMINUB_for_stringop): New.
49740         * sysdeps/x86_64/rawmemchr.S: Update.
49741         Replace with faster SSE2 version.
49742         * sysdeps/x86_64/memrchr.S: New file.
49743         * sysdeps/x86_64/memchr.S: Update.
49744         Replace with faster SSE2 version.
49745
49746 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49747
49748         * elf/dl-load.c (lose): Add cast to avoid warning.
49749
49750 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49751
49752         * po/ca.po: Update from translation team.
49753
49754         * inet/getnetgrent_r.c: Hook up nscd.
49755         * nscd/Makefile (routines): Add nscd_netgroup.
49756         (nscd-modules): Add netgroupcache.
49757         (CFLAGS-netgroupcache.c): Define.
49758         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49759         (cache_search): Add const to second parameter.
49760         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49761         INNETGR.
49762         (dbs): Add netgrdb entry.
49763         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49764         (verify_persistent_db): Handle netgrdb.
49765         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49766         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49767         GETFDNETGR.
49768         (netgroup_response_header): Define.
49769         (innetgroup_response_header): Define.
49770         (datahead): Add netgroup_response_header and innetgroup_response_header
49771         elements.
49772         * nscd/nscd.conf: Add entries for netgroup cache.
49773         * nscd/nscd.h (dbtype): Add netgrdb.
49774         (_PATH_NSCD_NETGROUP_DB): Define.
49775         (netgroup_iov_disabled): Declare.
49776         (xmalloc, xcalloc, xrealloc): Move declarations here.
49777         (cache_search): Adjust prototype.
49778         Add netgroup-related prototypes.
49779         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49780         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49781         (__nscd_innetgr): Declare.
49782         * nscd/selinux.c (perms): Use access_vector_t as element type and
49783         add netgroup-related initializers.
49784         * nscd/netgroupcache.c: New file.
49785         * nscd/nscd_netgroup.c: New file.
49786         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49787         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49788         For four parameters use innetgr.
49789         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49790         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49791         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49792         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49793
49794         * nscd/connections.c (register_traced_file): Don't register file
49795         for disabled databases.
49796
49797 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49798
49799         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49800
49801         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49802         from tree and freeing node.
49803
49804 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49805
49806         * nss/nsswitch.c (__nss_database_lookup): Handle
49807         nss_parse_service_list out of memory case.
49808
49809 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49810
49811         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49812         out of memory case.
49813
49814 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49815
49816         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49817         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49818         pass it down.
49819         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49820         elf_machine_rela, elf_machine_lazy_rel.
49821         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49822         (ELF_DYNAMIC_DO_REL): Likewise.
49823         (ELF_DYNAMIC_DO_RELA): Likewise.
49824         (ELF_DYNAMIC_RELOCATE): Likewise.
49825         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49826         to ELF_DYNAMIC_DO_REL.
49827         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49828         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49829         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49830         elf_machine_rela.
49831         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49832         skip_ifunc, don't call ifunc function if non-zero.
49833         (elf_machine_rela): Likewise.
49834         (elf_machine_lazy_rel): Likewise.
49835         (elf_machine_lazy_rela): Likewise.
49836         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49837         (elf_machine_lazy_rel): Likewise.
49838         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49839         Likewise.
49840         (elf_machine_lazy_rel): Likewise.
49841         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49842         Likewise.
49843         (elf_machine_lazy_rel): Likewise.
49844         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49845         (elf_machine_lazy_rel): Likewise.
49846         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49847         (elf_machine_lazy_rel): Likewise.
49848         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49849         (elf_machine_lazy_rel): Likewise.
49850         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49851         (elf_machine_lazy_rel): Likewise.
49852         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49853         (elf_machine_lazy_rel): Likewise.
49854         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49855         (elf_machine_lazy_rel): Likewise.
49856
49857 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49858
49859         * nss/nss_files/files-init.c (_nss_files_init): Use static
49860         initialization for all the *_traced_file variables.
49861
49862 2011-09-28  Andreas Schwab  <schwab@redhat.com>
49863
49864         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49865
49866 2011-09-27  Roland McGrath  <roland@hack.frob.com>
49867
49868         [BZ #13226]
49869         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49870
49871 2011-09-27  Andreas Schwab  <schwab@redhat.com>
49872
49873         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49874         Reread the line before reparsing it.
49875
49876 2011-09-26  Andreas Schwab  <schwab@redhat.com>
49877
49878         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49879
49880 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
49881             Maxim Kuvyrkov  <maxim@codesourcery.com>
49882             Joseph Myers  <joseph@codesourcery.com>
49883
49884         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49885         if needed for __stack_chk_guard.
49886
49887 2011-09-19  Roland McGrath  <roland@hack.frob.com>
49888
49889         * sysdeps/posix/spawni.c (script_execute): Always define it.
49890         It will be optimized away if unused.
49891         (maybe_script_execute): New function.
49892         (__spawni): Call it.
49893
49894         * Makerules: Don't include tls.make.
49895         (config-tls): Always set to thread.
49896         * tls.make.c: File removed.
49897
49898 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
49899
49900         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49901         * config.make.in (CPPFLAGS-config): New substituted variable.
49902
49903 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49904
49905         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49906
49907         [BZ #13192]
49908         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49909         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49910
49911 2011-09-15  Roland McGrath  <roland@hack.frob.com>
49912
49913         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49914         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49915         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49916         (CALL_FAIL): Likewise.
49917         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49918         (CALL_FAIL): Macro removed.
49919         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49920
49921 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49922
49923         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49924         for __FINITE_MATH_ONLY__ == 1.
49925
49926 2011-09-15  Andreas Schwab  <schwab@redhat.com>
49927
49928         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49929         __ieee754_sqrt instead of sqrt.
49930         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49931         __ieee754_sqrtf instead of sqrtf.
49932         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49933         __floorf instead of floorf.
49934         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49935         __floorf, __truncf instead of floorf, truncf.
49936
49937 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
49938
49939         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49940
49941         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49942         __extern_always_inline.
49943         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49944         32-bit.
49945
49946 2011-09-14  Andreas Schwab  <schwab@redhat.com>
49947
49948         * elf/rtld.c (dl_main): Also relocate in dependency order when
49949         doing symbol dependency testing.
49950
49951 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
49952
49953         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49954         Always define `refsym'.
49955
49956 2011-09-13  Andreas Schwab  <schwab@redhat.com>
49957
49958         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49959         (__FD_ELT): Renamed from __FDELT.
49960         * misc/bits/select2.h (__FD_ELT): Likewise.
49961         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49962         __FD_MASK instead of __FDELT, __FDMASK.
49963         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49964         Likewise.
49965         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49966         Likewise.
49967
49968         * elf/Makefile (gen-ldd): Fix pattern.
49969
49970         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49971         (init_tls): Likewise.
49972
49973 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
49974
49975         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49976
49977 2011-09-12  Andreas Schwab  <schwab@redhat.com>
49978
49979         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49980         `struct cmsghdr *' instead of `void *'.
49981         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49982         Likewise.
49983
49984 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
49985
49986         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49987         if non-absolute.
49988         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49989         ldd_rewrite_script.
49990
49991 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
49992
49993         * configure.in: Remove --with-tls option.
49994         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49995         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49996         out in case it is missing.
49997         * sysdeps/ia64/elf/configure.in: Likewise.
49998         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49999         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50000         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50001         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50002         * sysdeps/sh/elf/configure.in: Likewise.
50003         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50004         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50005         * sysdeps/x86_64/elf/configure.in: Likewise.
50006         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50007         * sysdeps/mach/hurd/tls.h: Likewise.
50008
50009         [BZ #13067]
50010         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50011
50012         [BZ #13090]
50013         * configure.in: Fix use of AC_INIT.
50014
50015         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50016
50017 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50018
50019         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50020         __set_errno.
50021         * malloc/hooks.c: Likewise.
50022
50023         [BZ #11929]
50024         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50025         variables statically.
50026         (narenas): Initialize.
50027         (list_lock): Initialize.
50028         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50029         initializtion of main_arena and list_lock.  Small cleanups.
50030         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50031         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50032         Add initializers to main_arena and mp_.
50033         (malloc_state): Remove pagesize member.  Change all users to use
50034         GLRO(dl_pagesize).
50035
50036         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50037         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50038         is always initialized.
50039
50040         * malloc/malloc.c: Removed unused configurations and dead code.
50041         * malloc/arena.c: Likewise.
50042         * malloc/hooks.c: Likewise.
50043         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50044
50045         * include/tls.h: Removed.  USE___THREAD must always be defined.
50046         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50047         * elf/dl-libc.c: Likewise.
50048         * elf/dl-tsd.c: Likewise.
50049         * include/errno.h: Likewise.
50050         * include/netdb.h: Likewise.
50051         * include/resolv.h: Likewise.
50052         * inet/herrno-loc.c: Likewise.
50053         * inet/herrno.c: Likewise.
50054         * malloc/arena.c: Likewise.
50055         * malloc/hooks.c: Likewise.
50056         * malloc/malloc.c: Likewise.
50057         * resolv/res-state.c: Likewise.
50058         * resolv/res_libc.c: Likewise.
50059         * sysdeps/i386/dl-machine.h: Likewise.
50060         * sysdeps/ia64/dl-machine.h: Likewise.
50061         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50062         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50063         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50064         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50065         * sysdeps/sh/dl-machine.h: Likewise.
50066         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50067         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50068         * sysdeps/unix/i386/sysdep.S: Likewise.
50069         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50070         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50071         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50072         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50073         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50074         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50075         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50077         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50079         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50080         * sysdeps/x86_64/dl-machine.h: Likewise.
50081         * tls.make.c: Likewise.
50082
50083         * configure.in: Remove --with-__thread option.  Make tests for
50084         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50085         tls_model attribute fail if no support is available.  Remove
50086         USE_IN_LIBIO.
50087         * Makeconfig: Adjust for dropped configure option.  All features are
50088         now mandatory.
50089         * Makerules: Likewise.
50090         * Versions.def: Likewise.
50091         * argp/argp-fmtstream.c: Likewise.
50092         * argp/argp-fmtstream.h: Likewise.
50093         * argp/argp-help.c: Likewise.
50094         * assert/assert.c: Likewise.
50095         * config.h.in: Likewise.
50096         * config.make.in: Likewise.
50097         * configure: Likewise.
50098         * configure.in: Likewise.
50099         * csu/Versions: Likewise.
50100         * csu/init.c: Likewise.
50101         * elf/tst-audit2.c: Likewise.
50102         * elf/tst-tls10.c: Likewise.
50103         * elf/tst-tls10.h: Likewise.
50104         * elf/tst-tls11.c: Likewise.
50105         * elf/tst-tls12.c: Likewise.
50106         * elf/tst-tls14.c: Likewise.
50107         * elf/tst-tlsmod11.c: Likewise.
50108         * elf/tst-tlsmod12.c: Likewise.
50109         * elf/tst-tlsmod13.c: Likewise.
50110         * elf/tst-tlsmod13a.c: Likewise.
50111         * elf/tst-tlsmod14a.c: Likewise.
50112         * elf/tst-tlsmod15b.c: Likewise.
50113         * elf/tst-tlsmod16a.c: Likewise.
50114         * elf/tst-tlsmod16b.c: Likewise.
50115         * elf/tst-tlsmod7.c: Likewise.
50116         * elf/tst-tlsmod8.c: Likewise.
50117         * elf/tst-tlsmod9.c: Likewise.
50118         * gmon/gmon.c: Likewise.
50119         * grp/fgetgrent_r.c: Likewise.
50120         * grp/putgrent.c: Likewise.
50121         * hurd/fopenport.c: Likewise.
50122         * include/libc-symbols.h: Likewise.
50123         * include/tls.h: Likewise.
50124         * intl/gettextP.h: Likewise.
50125         * intl/loadinfo.h: Likewise.
50126         * locale/global-locale.c: Likewise.
50127         * locale/localeinfo.h: Likewise.
50128         * mach/devstream.c: Likewise.
50129         * malloc/arena.c: Likewise.
50130         * malloc/set-freeres.c: Likewise.
50131         * misc/err.c: Likewise.
50132         * misc/getttyent.c: Likewise.
50133         * misc/mntent_r.c: Likewise.
50134         * posix/getopt.c: Likewise.
50135         * posix/wordexp.c: Likewise.
50136         * pwd/fgetpwent_r.c: Likewise.
50137         * resolv/Versions: Likewise.
50138         * resolv/res_hconf.c: Likewise.
50139         * shadow/fgetspent_r.c: Likewise.
50140         * shadow/putspent.c: Likewise.
50141         * stdio-common/printf_fphex.c: Likewise.
50142         * stdio-common/tmpfile.c: Likewise.
50143         * stdlib/abort.c: Likewise.
50144         * stdlib/fmtmsg.c: Likewise.
50145         * sunrpc/auth_unix.c: Likewise.
50146         * sunrpc/clnt_perr.c: Likewise.
50147         * sunrpc/clnt_tcp.c: Likewise.
50148         * sunrpc/clnt_udp.c: Likewise.
50149         * sunrpc/clnt_unix.c: Likewise.
50150         * sunrpc/openchild.c: Likewise.
50151         * sunrpc/svc_simple.c: Likewise.
50152         * sunrpc/svc_tcp.c: Likewise.
50153         * sunrpc/svc_udp.c: Likewise.
50154         * sunrpc/svc_unix.c: Likewise.
50155         * sunrpc/xdr.c: Likewise.
50156         * sunrpc/xdr_array.c: Likewise.
50157         * sunrpc/xdr_rec.c: Likewise.
50158         * sunrpc/xdr_ref.c: Likewise.
50159         * sunrpc/xdr_stdio.c: Likewise.
50160
50161 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50162
50163         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50164
50165 2011-07-03  Andreas Jaeger  <aj@suse.de>
50166
50167         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50168         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50169         regenerate with gen-libm-tests.pl.
50170
50171 2010-05-12  Petr Baudis  <pasky@suse.cz>
50172
50173         [BZ #11589]
50174         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50175         around j0() zero points by switching to j1().
50176         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50177         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50178         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50179         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50180
50181 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50182
50183         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50184         instead of 0.
50185         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50186         instead of 0.
50187         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50188         Patch in part by Pavel Roskin <proski@gnu.org>.
50189
50190         [BZ #13138]
50191         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50192         realloc.
50193         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50194         Free memory block if necessary.
50195
50196         [BZ #12847]
50197         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50198         be NULL.  Don't lock in this case.
50199
50200 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50201
50202         * elf/elf.h (ELFOSABI_GNU): New macro.
50203         (ELFOSABI_LINUX): Define to that.
50204
50205 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50206
50207         * string/strncat.c (strncat): Undef the symbol in case it has been
50208         defined in bits/string.h.
50209
50210 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50211
50212         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50213
50214         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50215         link map.
50216
50217 2011-08-17  Andreas Jaeger  <aj@suse.de>
50218
50219         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50220
50221 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50222             Ian Lance Taylor  <iant@google.com>
50223
50224         * math/libm-test.inc (lround_test): New testcase.
50225         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50226
50227 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50228
50229         * Makefile: Remove support for automatic cvs check-ins.
50230         * Makerules: Likewise.
50231         * config.make.in: Likewise.
50232         * configure.in: Likewise.
50233         * intl/Makefile: Likewise.
50234         * locale/Makefile: Likewise.
50235         * po/Makefile: Likewise.
50236         * posix/Makefile: Likewise.
50237         * sysdeps/gnu/Makefile: Likewise.
50238         * sysdeps/mach/hurd/Makefile: Likewise.
50239         * sysdeps/sparc/sparc32/Makefile: Likewise.
50240
50241         [BZ #13118]
50242         * posix/Makefile (bug-regex32-ENV): Define.
50243         Patch by John Stanley <jpsinthemix@verizon.net>.
50244
50245         * misc/Makefile (headers): Add bits/select2.h.
50246         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50247         * misc/bits/select2.h: New file.
50248         * include/bits/select2.h: New file.
50249         * debug/Makefile (routines): Add fdelt_chk.
50250         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50251         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50252         FD_ISSET.
50253         * debug/fdelt_chk.c: New file.
50254
50255         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50256         * wcsmbs/test-wmemcmp.c: Likewise.
50257         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50258         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50259
50260 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50261
50262         * string/Makefile (strop-tests): Add memcmp.
50263         * string/test-wmemcmp.c: New file.
50264         * string/test-memcmp.c: Add wmemcmp support.
50265
50266 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50267
50268         [BZ #13153]
50269         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50270         2011-07-19 change.
50271
50272         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50273         garbage value in a __mach_port_mod_refs call in the cases of the
50274         task-self and thread-self ports.
50275
50276 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50277
50278         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50279
50280 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50281
50282         * elf/dl-load.c (lose): Check for non-null L.
50283
50284 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50285
50286         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50287
50288         * elf/dl-libc.c (dlerror_run): Pass back error code from
50289         dl_catch_error.
50290
50291         [BZ #13123]
50292         * elf/dl-load.c (lose): Free l_origin if it is valid.
50293
50294         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50295         names.
50296         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50297         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50298         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50299         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50300         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50301         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50302
50303 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50304
50305         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50306         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50307         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50308         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50309         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50310         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50311         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50312         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50313         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50314         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50315
50316 2011-08-15  Alan Modra  <amodra@gmail.com>
50317
50318         [BZ #13092]
50319         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50320         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50321         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50322         ppc_mcount to static-only-routines.
50323         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50324         __mcount_internal.
50325         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50326         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50327
50328 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50329
50330         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50331         for finite and infinity parameters.
50332
50333 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50334
50335         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50336         and add nop instructions for throughput optimization.
50337         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50338
50339 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50340
50341         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50342         aligned copy for power7 with vector-scalar instructions.
50343         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50344
50345 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50346
50347         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50348         AVX check.
50349
50350 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50351
50352         [BZ #13144]
50353         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50354         last change.
50355
50356 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50357
50358         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50359         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50360         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50361         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50362         clock_gettime.
50363
50364 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50365
50366         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50367         Forgot to demangle the pointer.
50368
50369         * sysdeps/i386/sysdep.h: Define atom_text_section.
50370         * sysdeps/x86_64/sysdep.h: Likewise.
50371         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50372         section with atom_text_section.
50373         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50374         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50375         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50376         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50377         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50378
50379         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50380         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50381         already be defined.  Change to take two parameters and don't assign
50382         result to variable.  Adjust all users.
50383         Define INTERNAL_GETTIME if not already defined.
50384         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50385         call.
50386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50387         HAVE_CLOCK_GETTIME_VSYSCALL.
50388         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50389
50390         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50391         gettimeofday vsyscall, just use time.
50392
50393 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50394
50395         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50396         <errno.h>.
50397
50398 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50399
50400         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50401         syscall on x86-64.
50402         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50403         syscall.
50404         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50405         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50406         syscall if possible.
50407
50408 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50409
50410         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50411         e_ident.  Don't pass to find_mapsXX.
50412         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50413
50414 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50415
50416         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50417         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50418         * sysdeps/x86_64/multiarch/strchr.S: Update.
50419         Check bit_slow_BSF bit.
50420         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50421         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50422         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50423
50424 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50425
50426         [BZ #13134]
50427         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50428         before glibc 2.15.
50429         (tryshell): Define.
50430         (__spawni): Change last parameter to be flag.  Test
50431         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50432         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50433         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50434         * posix/spawni.c: Likewise.
50435         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50436         * posix/spawnp.c: Likewise.  Change normal version to use
50437         SPAWN_XFLAGS_USE_PATH.
50438         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50439         SPAWN_XFLAGS_TRY_SHELL.
50440
50441         [BZ #13150]
50442         * posix/glob.h: Remove gcc 1.x support.
50443
50444         [BZ #13068]
50445         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50446
50447 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50448
50449         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50450         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50451         strrchr-sse2-bsf
50452         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50453         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50454         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50455         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50456         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50457         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50458
50459 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50460
50461         * sysdeps/x86_64/wcscmp.S: New file.
50462
50463         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50464         wcscmp-c wcscmp-sse2
50465         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50466         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50467         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50468         * wcsmbs/wcscmp.c: Allow renaming.
50469
50470 2011-09-05  David S. Miller  <davem@davemloft.net>
50471
50472         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50473         stack slot, rather than the struct return pointer slot.
50474         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50475         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50477         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50478
50479 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50480
50481         * po/ja.po: Update from translation team.
50482
50483         [BZ #13144]
50484         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50485         kernel in 64-bit binaries.
50486
50487 2011-09-01  David S. Miller  <davem@davemloft.net>
50488
50489         * elf/elf.h (HWCAP_SPARC_*): Move to..
50490         * sysdeps/sparc/sysdep.h: this new file and add new values.
50491         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50492         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50493         _DL_HWCAP_COUNT to 24.
50494         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50495         entries.
50496         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50497         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50498         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50499         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50500         instead of magic constants.
50501         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50502
50503 2011-08-31  David S. Miller  <davem@davemloft.net>
50504
50505         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50506         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50507         Reimplement to do errno handling inline.
50508         (SYSCALL_ERROR_HANDLER): New macro.
50509         (__SYSCALL_STRING): Do not do errno handling in asm.
50510         (__CLONE_SYSCALL_STRING): Delete.
50511         (__INTERNAL_SYSCALL_STRING): Delete.
50512         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50513         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50514         (PSEUDO): Reimplement to do errno handling inline.
50515         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50516         (SYSCALL_ERROR_HANDLER): New macro.
50517         (__SYSCALL_STRING): Do not do errno handling in asm.
50518         (__CLONE_SYSCALL_STRING): Delete.
50519         (__INTERNAL_SYSCALL_STRING): Delete.
50520         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50521         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50522         i386.
50523         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50524         (inline_syscall*): Add 'err' argument.
50525         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50526         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50527         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50528         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50529
50530         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50531         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50532
50533 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50534
50535         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50536
50537 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50538
50539         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50540         directive.
50541
50542 2011-08-24  David S. Miller  <davem@davemloft.net>
50543
50544         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50545
50546 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50547
50548         * elf/Makefile: Add rules to build and run unload8 test.
50549         * elf/unload8.c: New file.
50550         * elf/unload8mod1.c: New file.
50551         * elf/unload8mod1x.c: New file.
50552         * elf/unload8mod2.c: New file.
50553         * elf/unload8mod3.c: New file.
50554
50555         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50556         it wasn't used.
50557
50558 2011-08-23  David S. Miller  <davem@davemloft.net>
50559
50560         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50561         subtract stack bias.
50562         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50563         %sp not %fp in calculations.
50564         (_JMPBUF_UNWINDS_ADJ): Likewise.
50565
50566         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50567         (aio_suspend): Call it to force an exception region around the
50568         AIO_MISC_WAIT() invocation.
50569
50570 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50571
50572         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50573         backslash.
50574
50575 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50576
50577         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50578         protection macro.
50579         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50580         and <dl-machine.h>.
50581         (Elf64_FuncDesc): Remove.
50582
50583 2011-08-22  David S. Miller  <davem@davemloft.net>
50584
50585         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50586         sigaltstack check, add missing cfi directives.
50587         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50588         missing cfi directives, and sigaltstack handling.
50589
50590 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50591
50592         [BZ #11724]
50593         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50594         object is seen twice.
50595         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50596
50597         * elf/Makefile (distribute): Add tst-initorder2.c.
50598         (tests): Add tst-initorder2.
50599         (modules-names): Add tst-initorder2a tst-initorder2b
50600         tst-initorder2c tst-initorder2d.  Add rules to build them.
50601         ($(objpfx)tst-initorder2.out): New rule.
50602         * elf/tst-initorder2.c: New file.
50603         * elf/tst-initorder2.exp: New file.
50604
50605 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50606
50607         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50608
50609         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50610         dependencies back to end of function.
50611
50612         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50613         $(elfobjdir)/ld.so.
50614
50615 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50616
50617         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50618         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50619         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50620         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50621         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50622         of __vdso_gettimeofday.
50623         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50624         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50625         attribute_hidden.
50626         (_libc_vdso_platform_setup): Remove initialization of
50627         __vdso_gettimeofday and __vdso_time.
50628
50629 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50630
50631         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50632         and fgetc_unlocked.
50633         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50634         getc_unlocked.
50635
50636         * elf/dl-open.c (add_to_global): Report additions to the global scope
50637         for LD_DEBUG=scopes.
50638         (dl_open_worker): Also print scope of newly loaded dependencies.
50639         (_dl_show_scope): Indicate if there is no scope.
50640
50641         [BZ #13114]
50642         * stdio-common/Makefile (tests): Add bug24.
50643         * stdio-common/bug24.c: New file.
50644
50645 2011-08-19  Andreas Jaeger  <aj@suse.de>
50646
50647         [BZ #13114]
50648         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50649         non-existant file when using close-on-exec mode.
50650
50651 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50652
50653         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50654         the very first instruction.
50655
50656         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50657         the CFI state in the end.
50658         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50659         inclusion of dl-trampoline.h.
50660         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50661
50662 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50663
50664         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50665         expectations for long double.
50666
50667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50668         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50669
50670 2011-08-14  David S. Miller  <davem@davemloft.net>
50671
50672         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50673         artificual limit depends upon the system page size.
50674
50675 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50676
50677         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50678         * resolv/Makefile: Define CFLAGS-libresolv.
50679
50680 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50681
50682         * nss/makedb.c (compute_tables): Make variables used in nested
50683         function static.
50684
50685 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50686
50687         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50688         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50689         if buffer was too small.
50690
50691         * elf/pldd.c (main): Attach to all threads in the process.
50692         Rewrite /proc handling to use *at functions.
50693
50694 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50695
50696         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50697         specifies first scope to show.
50698         (dl_open_worker): Update callers.  Move printing scope of new
50699         object to before the relocation.
50700         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50701         * sysdeps/generic/ldsodefs.h: Update declaration.
50702
50703         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50704         string for the scope number.
50705
50706 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50707
50708         * nscd/servicescache.c (cache_addserv): Make sure written is always
50709         initialized.
50710
50711 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50712
50713         * sysdeps/i386/i486/bits/atomic.h
50714         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50715         statement expression, so as to suppress "set but not used" warning.
50716         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50717
50718         * string/strncat.c (STRNCAT): Use prototype definition.
50719
50720         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50721         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50722         -Iprograms here.
50723         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50724         (localedef-modules): Add localedef.
50725         (locale-modules): Add locale.
50726
50727         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50728         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50729         to avoid a warning.
50730
50731 2011-08-14  David S. Miller  <davem@davemloft.net>
50732
50733         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50734         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50735
50736 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50737
50738         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50739         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50740         * elf/rtld.c (dl_main): Set l_name of vDSO.
50741         Call _dl_show_scope when DL_DEBUG_SCOPES.
50742         (process_dl_debug): Recognize scopes flag and also set it for all.
50743         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50744         Declare _dl_show_scope.
50745
50746         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50747         (do_dlopen): Pass caller_dlopen to dl_open.
50748         (__libc_dlopen_mode): Initialize caller_dlopen.
50749
50750         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50751         of libc.  Make tolower call locale-independent.  Optimize a bit by
50752         using isdigit instead of isalnum.
50753         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50754
50755 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50756
50757         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50758         was a dependency or dynamically loaded.
50759
50760 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50761
50762         * intl/l10nflist.c: Allow architecture-specific pop function.
50763         * sysdeps/x86_64/l10nflist.c: New file.
50764
50765         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50766         classification.
50767
50768 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50769
50770         * include/dirent.h: Add libc_hidden_proto for scandirat and
50771         scandirat64.  Don't declare __scandirat64.
50772         * dirent/scandirat.c: Add libc_hidden_def.
50773         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50774         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50775
50776 2011-08-10  David S. Miller  <davem@davemloft.net>
50777
50778         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50779         enum.
50780         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50781         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50782         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50783
50784 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50785
50786         * Versions.def [libc]: Add GLIBC_2.15.
50787         * dirent/Makefile (routines): Add scandirat and scandirat64.
50788         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50789         GLIBC_2.15.
50790         * dirent/dirent.h: Declare scandirat and scandirat64.
50791         * dirent/scandirat.c: New file.
50792         * dirent/scandirat64.c: New file.
50793         * sysdeps/wordsize-64/scandirat.c: New file.
50794         * sysdeps/wordsize-64/scandirat64.c: New file.
50795         * dirent/opendir.c: Define opendirat.
50796         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50797         using scandirat.
50798         * dirent/scandir64.c: Adjust for scandir.c change.
50799         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50800         __scandirat64, and __scandir_cancel_handler.
50801         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50802         additional parameter and use openat instead of open (outside of ld.so).
50803         Add new __opendir as wrapper around __opendirat.
50804         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50805         here without requiring old scandirat implementation.
50806
50807 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50808
50809         * dirent/scandir.c (cancel_handler): Renamed to
50810         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50811         defined.  Adjust users.
50812         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50813         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50814
50815 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50816
50817         * string/test-string.h (IMPL): Use __STRING to expand name and then
50818         stringify it.
50819
50820         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50821         of cleanups.
50822
50823 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50824
50825         * string/Makefile: Update.
50826         (strop-tests): Append strncat.
50827         * string/test-wcscmp.c: New file.
50828         New comprehensive test for wcscmp.
50829         * string/test-strcmp.c: Update.
50830         (WIDE): New define.
50831
50832 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50833
50834         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50835         line.
50836
50837 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50838
50839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50840         encoding to ACE if AI_IDN.
50841
50842 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50843
50844         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50845         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50846
50847 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50848
50849         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50850         Fix overflow bug in strncat.
50851         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50852
50853         * string/test-strncat.c: Update.
50854         Add new tests for checking overflow bugs.
50855
50856 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50857
50858         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50859         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50860         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50861         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50862         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50863         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50864         * sysdeps/i386/i686/multiarch/strncat.S: New file.
50865         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50866         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50867
50868         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50869         (USE_AS_STRCAT): Define.
50870         Add strcat and strncat support.
50871         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50872
50873 2011-07-25  Andreas Schwab  <schwab@redhat.com>
50874
50875         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50876         __n bigger than INT_MAX+1.
50877         (__strncmp_g): Likewise.
50878
50879 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
50880
50881         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50882         * libio/stido.h: Likewise.
50883
50884         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50885         (AF_NFC): Define.
50886         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50887         (AF_NFC): Define.
50888
50889         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50890         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50891         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50892         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50893         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50894
50895         [BZ #13021]
50896         * scripts/test-installation.pl: Don't expect libnss_test1 to be
50897         installed.
50898
50899         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50900         typo.
50901         (_dl_x86_64_save_sse): Likewise.
50902
50903 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
50904
50905         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50906         OSXSAVE.
50907         (_dl_x86_64_save_sse): Likewise.
50908
50909         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50910
50911         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50912
50913 2011-07-21  Andreas Schwab  <schwab@redhat.com>
50914
50915         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50916         change.
50917         (_dl_x86_64_save_sse): Use correct AVX check.
50918
50919 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50920
50921         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50922         bug in strncpy/strncat.
50923         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50924
50925 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
50926
50927         * string/tester.c (test_strcat): Add tests for different alignments
50928         of source and destination.
50929         (test_strncat): Likewise.
50930
50931 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50932
50933         [BZ #12852]
50934         * posix/glob.c (glob): Check passed in values before using them in
50935         expressions to avoid some overflows.
50936         (glob_in_dir): Likewise.
50937
50938         [BZ #13007]
50939         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50940         check for AVX enablement so that we don't crash with old kernels and
50941         new hardware.
50942         * elf/tst-audit4.c: Add same checks here.
50943         * elf/tst-audit6.c: Likewise.
50944
50945         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50946
50947 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
50948
50949         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50950
50951 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50952
50953         * po/cs.po: Update from translation team.
50954         * po/bg.po: Likewise.
50955
50956 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
50957
50958         * misc/sys/cdefs.h: Add support for const attribute.
50959         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50960         to gnu_dev_{major,minor,makedev} functions.
50961
50962 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
50963
50964         * intl/dcigettext.c (get_output_charset): Add missing bracket.
50965
50966 2011-07-20  Andreas Schwab  <schwab@redhat.com>
50967
50968         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50969         strlen results.
50970
50971 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50972
50973         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50974         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50975         register in order to avoid conflicts with the soft frame pointer
50976         being held in r11 when necessary.
50977         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50978         (INTERNAL_VSYSCALL_NCS): Likewise.
50979
50980 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
50981
50982         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50983         * elf/dl-fini.c (_dl_fini): Adjust caller.
50984         * elf/dl-close.c (_dl_close_worker): Likewise.
50985         * sysdeps/generic/ldsodefs.h: Adjust declaration.
50986
50987 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50988
50989         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50990         "aux_cache->nlibs < 0".
50991
50992         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50993         in the reload-count case.
50994
50995 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50996
50997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50998         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50999         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51000         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51001         * sysdeps/x86_64/multiarch/strcat.S: New file.
51002         * sysdeps/x86_64/multiarch/strncat.S: New file.
51003         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51004         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51005         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51006         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51007         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51008         (USE_AS_STRCAT): Define.
51009         Add strcat and strncat support.
51010         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51011         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51012         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51013         * string/strncat.c: Update.
51014         (USE_AS_STRNCAT): Define.
51015         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51016         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51017         and i7.
51018         * sysdeps/x86_64/multiarch/init-arch.h
51019         (bit_Prefer_PMINUB_for_stringop): New.
51020         (index_Prefer_PMINUB_for_stringop): Likewise.
51021         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51022         bit_Prefer_PMINUB_for_stringop.
51023
51024 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51025
51026         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51027         buffer64.
51028         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51029         of casting of buffer.
51030         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51031         buffer32 and buffer64.
51032         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51033         writes instead of casting of buffer.
51034         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51035         buffer32.
51036         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51037         casting of buffer.
51038
51039 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51040
51041         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51042
51043 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51044
51045         * nscd/nscd.c (termination_handler): Don't do anything for a database
51046         if it has not yet been initialized.
51047
51048 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51049
51050         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51051
51052 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51053
51054         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51055
51056 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51057
51058         * po/nl.po: Update from translation team.
51059         * po/sv.po: Likewise.
51060
51061 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51062
51063         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51064         now disallowed by GCC.
51065
51066         * configure.in (use-default-link): Default to yes if a test -shared
51067         link meets our qualifications.
51068         * configure: Regenerated.
51069
51070         * config.make.in (output-format): New variable.
51071         * configure.in: Check for ld --print-output-format support.
51072         * configure: Regenerated.
51073         * Makerules ($(common-objpfx)format.lds)
51074         [$(output-format) != unknown]: Just use $(output-format),
51075         instead of the linker-script munging.
51076
51077 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51078
51079         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51080         of $(common-objpfx)shlib.lds.
51081         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51082
51083         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51084         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51085
51086         * configure.in (-z relro check): Adjust test code to add a large
51087         writable data section after it.
51088         * configure: Regenerated.
51089
51090 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51091
51092         * configure.in (-z relro check): Fix test code to make the variable
51093         truly const.
51094         * configure: Regenerated.
51095
51096 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51097
51098         * nscd/nscd.h (struct traced_file): Define.
51099         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51100         elements.  Add traced_files.
51101         (inotify_fd): Declare.
51102         (register_traced_file): Declare.
51103         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51104         (inotify_fd): Export.
51105         (resolv_conf_descr): Remove.
51106         (nscd_init): Move inotify descriptor creation to main.
51107         Don't register files for notification here.
51108         (register_traced_file): New function.
51109         (invalidate_cache): Don't use reset_res to determine whether to call
51110         res_init, go through the list of registered files.
51111         (main_loop_poll): The inotify descriptors are now stored in the
51112         structures for the traced files.
51113         (main_loop_epoll): Likewise
51114         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51115         to __nss_disable_nscd.
51116         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51117         for a database anymore.  Check the records for all the registered
51118         files instead.
51119         * nss/Makefile (libnss_files-routines): Add files-init.
51120         (libnss_db-routines): Add db-init.
51121         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51122         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51123         * nss/nss_db/db-init.c: New file.
51124         * nss/nss_files/files-init.c: New file.
51125         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51126         __nss_lookup_function.
51127         (__nss_lookup_function): Call nss_load_library.
51128         (nss_load_all_libraries): New function.
51129         (__nss_disable_nscd): Take parameter with callback function for files
51130         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51131         used for the cached services.
51132         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51133         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51134         options for features to all the files in nscd.
51135
51136         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51137
51138 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51139
51140         * csu/elf-init.c (__libc_csu_init): Comment typo.
51141
51142 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51143
51144         * po/pl.po: Update from translation team.
51145         * po/ja.po: Likewise.
51146         * po/ru.po: Likewise.
51147         * po/ko.po: Likewise.
51148         * po/fr.po: Likewise.
51149
51150 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51151
51152         * configure.in (.ctors/.dtors header and trailer check):
51153         Use an empirical test on a built program.
51154         * configure: Regenerated.
51155
51156         * configure.in (-z relro check): Use an empirical test on a built DSO.
51157         Detect, but do not require, on ia64.
51158         * configure: Regenerated.
51159
51160         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51161         Update tests that use readelf to use $READELF instead.
51162         * configure: Regenerated.
51163
51164 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51165
51166         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51167         if the result is not used.
51168
51169 2011-07-05  Andreas Jaeger  <aj@suse.de>
51170
51171         [BZ#9696]
51172         * stdlib/tst-strtod.c: Add testcase.
51173
51174 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51175
51176         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51177         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51178         The latter has a higher limit.  Take additional parameter to pass to
51179         the new function.
51180         (__pathconf): Pass file to __statfs_link_max.
51181         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51182         __statfs_link_max.
51183         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51184         __statfs_link_max.
51185
51186         [BZ #12868]
51187         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51188         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51189         Handle Lustre.
51190         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51191         (__statfs_filesize_max): Likewise.
51192         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51193
51194 2011-07-05  Andreas Jaeger  <aj@suse.de>
51195
51196         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51197
51198 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51199
51200         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51201         `status' variable.
51202         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51203         Likewise.
51204
51205 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51206
51207         * Makefile (strop-tests): Add strncat.
51208         * string/test-strncat.c: New file.
51209
51210 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51211
51212         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51213
51214 2011-06-21  Andreas Jaeger  <aj@suse.de>
51215
51216         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51217         Copy rule from iconvdata/Makefile.
51218
51219 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51220
51221         [BZ #12922]
51222         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51223         but no long options are defined, just return 'W'.
51224
51225 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51226
51227         [BZ #9696]
51228         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51229
51230 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51231
51232         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51233         netgroups to read.
51234         (innetgr): Likewise.
51235
51236 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51237
51238         * config.make.in (install_root): Default to $(DESTDIR).
51239
51240 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51241
51242         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51243
51244 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51245
51246         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51247
51248         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51249         containing directory rather than embedding absolute directory names.
51250
51251         * scripts/check-local-headers.sh: Rewritten using awk.
51252         Match by word, not by line.  Print error messages for matches.
51253         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51254
51255         * Makerules [shlib-lds-flags empty]:
51256         ($(common-objpfx)libc_pic.opts): New target.
51257         ($(common-objpfx)libc_pic.os.clean): New target.
51258         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51259
51260         * config.make.in (OBJCOPY): New variable.
51261         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51262         * configure: Regenerated.
51263
51264         * config.make.in (use-default-link): New variable.
51265         * configure.in (use_default_link): Grok --with-default-link to set it.
51266         * configure: Regenerated.
51267         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51268         (shlib-lds, shlib-lds-flags): Define to empty.
51269
51270         * Makerules (shlib-lds): New variable.
51271         (shlib-lds-flags): New variable.
51272         (build-shlib, build-moduile, build-module-asneeded): Use it.
51273         ($(common-objpfx)libc.so): Use $(shlib-lds).
51274         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51275         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51276
51277         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51278         DT_FLAGS/DT_FLAGS_1 with zero flags.
51279
51280         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51281         linker script munging.
51282
51283 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51284
51285         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51286         as 128-bit value.
51287         * crypt/sha512.c (sha512_process_block): Perform total addition using
51288         128-bit if possible.
51289         (__sha512_finish_ctx): Likewise.
51290         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51291         as 64-bit value.
51292         * crypt/sha256.c (SWAP64): Define.
51293         (sha256_process_block): Perform total addition using 64-bit if
51294         possible.
51295         (__sha256_finish_ctx): Likewise.
51296
51297 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51298
51299         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51300         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51301         * nscd/hstcache.c (cache_addhst): Likewise.
51302         * nscd/grpcache.c (cache_addgr): Likewise.
51303         * nscd/aicache.c (addhstaiX): Likewise
51304         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51305
51306 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51307
51308         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51309         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51310         * nscd/hstcache.c (cache_addhst): Likewise.
51311         * nscd/grpcache.c (cache_addgr): Likewise.
51312         * nscd/aicache.c (addhstaiX): Likewise
51313
51314 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51315
51316         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51317         domain only when needed.
51318
51319 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51320
51321         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51322         is always restored.
51323
51324 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51325
51326         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51327         are re-adding the entry.
51328         * nscd/servicescache.c (cache_addserv): Likewise.
51329
51330 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51331
51332         * sysdeps/generic/dl-irel.h: fix protection against multiple
51333         inclusions.
51334         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51335
51336 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51337
51338         [BZ #12935]
51339         * malloc/memusage.sh: Fix quoting in message.
51340         * debug/xtrace.sh: Likewise.
51341
51342         * configure.in: Remove support for --experimental-malloc option, make
51343         it the default.
51344         * config.make.in: Likewise.
51345         * malloc/Makefile: Likewise.
51346
51347 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51348
51349         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51350         two-byte characters.
51351
51352 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51353
51354         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51355         AC_CACHE_CHECK invocation.
51356         * configure: Regenerated.
51357
51358         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51359
51360 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51361
51362         [BZ #12350]
51363         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51364         bit from old_res_options.
51365
51366         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51367
51368         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51369         value type for setfct.
51370
51371 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51372
51373         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51374         __gettimeofday instead of gettimeofday.
51375
51376 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51377
51378         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51379
51380 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51381
51382         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51383
51384         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51385         info.
51386
51387 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51388
51389         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51390         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51391         strcpy-sse2-unaligned strncpy-sse2-unaligned
51392         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51393         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51394         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51395         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51396         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51397         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51398         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51399         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51400         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51401         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51402         (STRCPY): Support SSE2 and SSSE3 versions.
51403
51404 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51405
51406         [BZ #12874]
51407         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51408         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51409         kernels which artificially limit size of requests.
51410
51411 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51412
51413         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51414         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51415         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51416         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51417         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51418         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51419         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51420         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51421         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51422         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51423         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51424         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51425         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51426         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51427         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51428         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51429         Enable unaligned load optimization for Intel Core i3, i5 and i7
51430         processors.
51431         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51432         Define.
51433         (index_Fast_Unaligned_Load): Define.
51434         (HAS_FAST_UNALIGNED_LOAD): Define.
51435
51436 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51437
51438         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51439
51440 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51441
51442         [BZ #12907]
51443         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51444         until it is clear that the information is realy needed.
51445         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51446
51447 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51448
51449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51450
51451 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51452
51453         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51454         /sys/devices/system/cpu/online if it is usable.
51455
51456         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51457         reading the information from the /proc filesystem to once a second.
51458
51459 2011-06-21  Andreas Jaeger  <aj@suse.de>
51460
51461         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51462         NULL after inclusion of kernel headers.
51463
51464 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51465
51466         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51467         calls to internal_setent.
51468
51469         [BZ #12885]
51470         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51471         addresses using gethostbyname4_r ignore IPv4 addresses.
51472
51473         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51474         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51475
51476         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51477
51478 2011-06-20  David S. Miller  <davem@davemloft.net>
51479
51480         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51481         inclusions.
51482         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51483
51484         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51485         (elf_irel): Use it.
51486         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51487         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51488         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51489         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51490         * sysdeps/x86_64/dl-irel.h: Likewise.
51491
51492         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51493         * elf/dl-sym.c: Likewise.
51494
51495 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51496
51497         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51498         need to dereference resplen2.
51499
51500 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51501
51502         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51503
51504 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51505
51506         * Makeconfig: Define vardbdir and inst_vardbdir.
51507         * nss/Makefile: Add rules to install db-Makefile.
51508
51509         * nss/nss_db/db-XXX.c: Cleanup.
51510
51511         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51512         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51513         GLIBC_PRIVATE.
51514         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51515         * nss/makedb.c: Implement -g option to specify that value strings
51516         are generated and should not be added to table iterated over for
51517         get*ent calls.
51518         * nss/nss_db/db-initgroups.c: New file.
51519
51520         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51521         interface.
51522
51523         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51524         (internal_getgrouplist): Adjust to name change.
51525         Update use_initgroups_entry if this is not the first call.
51526         * nss/databases.def: Add initgroups entry.
51527
51528         * nss/makedb.c (compute_tables): Check result of multiple hash table
51529         sizes to minimize maximum chain length.
51530
51531 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51532
51533         * Versions.def: Add entry for libnss_db.
51534         * shlib-versions: Likewise.
51535         * nss/Makefile: Add rules to build libnss_db.
51536         * nss/Versions: Add libnss_db information.  Organize libnss_files
51537         entries better.
51538         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51539         makedb progra.  Some minor improvements to generate smaller files.
51540         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51541         here from...
51542         * nss/makedb.c: ...here.
51543         Improve database format to be smaller and require less memory at
51544         runtime.
51545         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51546         db anymore.
51547         * nss/nss_db/db-netgrp.c: Likewise.
51548         * nss/nss_db/db-open.c: Likewise.
51549         * nss/nss_files/flies-XXX.x: Adjust comments.
51550         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51551         * nss/nss_files/files-grp.c: Likewise.
51552         * nss/nss_files/files-hosts.c: Likewise.
51553         * nss/nss_files/files-network.c: Likewise.
51554         * nss/nss_files/files-proto.c: Likewise.
51555         * nss/nss_files/files-pwd.c: Likewise.
51556         * nss/nss_files/files-rpc.c: Likewise.
51557         * nss/nss_files/files-service.c: Likewise.
51558         * nss/nss_files/files-sgrp.c: Likewise.
51559         * nss/nss_files/files-spwd.c: Likewise.
51560         * nss/nss_db/db-alias.c: Removed.
51561         * nss/nss_db/dummy-db.h: Removed.
51562
51563 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51564
51565         * nss/makedb.c: Rewritten to not use database library.
51566         * nss/Makefile: Update to build new makedb program.
51567
51568 2011-06-14  Andreas Jaeger  <aj@suse.de>
51569
51570         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51571         memset declaration.
51572
51573 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51574
51575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51576         tmpbuf.
51577
51578 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51579
51580         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51581         * elf/Makefile ($(objpfx)ld.so): Likewise.
51582
51583         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51584         Don't list ld.so twice in dependencies.
51585
51586         * posix/bug-regex31.c: Include <stdlib.h>.
51587
51588         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51589
51590         * nis/nss_compat/compat-spwd.c
51591         (getspent_next_nss_netgr): Remove unused variable.
51592         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51593
51594         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51595         nonmembers" output to use the right array.
51596
51597         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51598
51599         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51600
51601         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51602         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51603         * catgets/gencat.c (read_input_file): Likewise.
51604         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51605
51606         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51607         variable definition inside #if's controlling its use.
51608
51609         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51610
51611         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51612
51613         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51614
51615         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51616         unreachable code.
51617
51618         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51619
51620         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51621         * configure: Regenerated.
51622
51623         * Makerules: Revert last change.
51624         * elf/Makefile: Likewise.
51625
51626 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51627
51628         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51629         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51630         (reloc-link): Likewise.
51631
51632 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51633
51634         * elf/Makefile: Add rules to build pldd.
51635         * elf/pldd.c: New file.
51636         * elf/pldd-xx.c: New file.
51637
51638 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51639
51640         * version.h: Update for 2.15 development version.
51641
51642 2011-06-07  David S. Miller  <davem@davemloft.net>
51643
51644         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51645         ifuncs.
51646         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51647         elf_machine_lazy_rel): Likewise.
51648         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51649         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51650         elf_machine_lazy_rel): Likewise.
51651         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51652         dl_hwcap via passed in argument.
51653         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51654         Likewise.
51655
51656 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51657
51658         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51659
51660 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51661
51662         [BZ #12849]
51663         * manual/fdl-1.1.texi: New file, verbatim from:
51664         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51665         * manual/lgpl-2.1.texi: New file, verbatim from:
51666         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51667         * manual/Makefile (licenses): New variable, list those new file names.
51668         (texis): Use it.
51669         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51670
51671         * manual/fdl.texi: File removed.
51672         * manual/lesser.texi: File removed.
51673         * manual/libc.texinfo (Copying, Documentation License):
51674         Use new @include file names, put @appendix directive before @include.
51675
51676 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51677
51678         [BZ #12841]
51679         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51680         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51681         (mq_open): Add __NTH.
51682
51683 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51684
51685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51686         Assume Intel Core i3/i5/i7 processor if AVX is available.
51687
51688 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51689
51690         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51691         typo.
51692
51693 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51694
51695         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51696         memory.  Use alloca_account.  Fix memory leak when retrying.
51697
51698 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51699
51700         * version.h (RELEASE): Bump for 2.14 release.
51701         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51702
51703         * config.make.in (RANLIB): Remove entry.
51704
51705 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51706
51707         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51708         (libc.pot): Work around missing support for .ksh extension in xgettext.
51709
51710         [BZ #12684]
51711         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51712         if both request failed.
51713         (send_dg): In case of server errors clear resplen or *resplen2.
51714
51715         [BZ #12454]
51716         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51717         when there are multiple maps.
51718         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51719         (_dl_fini): Remove test here.
51720
51721         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51722
51723 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51724
51725         [BZ #12350]
51726         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51727         bit from old_res_options.
51728         (gaih_inet): Likewise.
51729
51730         [BZ #11099]
51731         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51732         as signed.
51733
51734         * resolv/res_init.c (res_setoptions): Make the code more compact.
51735
51736         [BZ #11558]
51737         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51738         set RES_USEVC.
51739
51740         [BZ #11634]
51741         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51742
51743         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51744
51745         [BZ #11781]
51746         * malloc/malloc.h: Declare malloc hook variables as volatile.
51747
51748         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51749         in last patch.
51750
51751         [BZ #11799]
51752         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51753         raise in the comment.
51754         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51755         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51756         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51757
51758 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51759
51760         [BZ #12811]
51761         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51762         grow the buffers more if it already has to be sufficient.
51763         (build_wcs_upper_buffer): Likewise.
51764         * posix/regexec.c (check_matching): Likewise.
51765         (clean_state_log_if_needed): Likewise.
51766         (extend_buffers): Don't enlarge buffers beyond size of the input
51767         buffer.
51768         Patches mostly by Emil Wojak <emil@wojak.eu>.
51769         * posix/bug-regex32.c: New file.
51770         * posix/Makefile (tests): Add bug-regex32.
51771
51772         * locale/findlocale.c (_nl_find_locale): Return right away if
51773         _nl_explode_name failed.
51774         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51775
51776         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51777
51778         * debug/xtrace.sh: Unify messages.
51779         * malloc/memusage.sh: Likewise.
51780
51781         [BZ #12813]
51782         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51783         time symbol from vDSO.  Substitute with vsyscall if not available.
51784         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51785         __vdso_time.
51786
51787         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51788         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51789         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51790         Add sendmmsg and internal_sendmmsg.
51791         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51792         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51793         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51794
51795         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51796         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51797         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51798
51799 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51800
51801         [BZ #12813]
51802         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51803         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51804         available.
51805         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51806         __vdso_getcpu.
51807
51808         [BZ #12814]
51809         * iconvdata/Makefile (tests): Add bug-iconv9.
51810         * iconvdata/bug-iconv9.c: New file.
51811
51812 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51813
51814         [BZ #12814]
51815         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51816
51817 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51818
51819         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51820         (struct user_regs_struct): Change intcs field back to cs.
51821
51822 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51823
51824         * po/ja.po: Update from translation team.
51825
51826 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51827
51828         [BZ #12795]
51829         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51830         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51831
51832 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51833
51834         * stdlib/longlong.h: Update from GCC.
51835
51836 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51837
51838         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51839         parameter name.
51840         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51841         Add parameter name.
51842         (__sysconf): Pass it down.
51843
51844 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51845
51846         [BZ #12671]
51847         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51848         some situations.
51849         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51850         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51851         add in in __libc_use_alloca calls.  Adjust callers.
51852         (glob): Use malloc in some situations.
51853
51854         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51855         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51856         pltexit.
51857
51858 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51859
51860         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51861         and CLOCK_BOOTTIME_ALARM.
51862
51863         [BZ #12782]
51864         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51865         is returned.
51866
51867         * string/_strerror.c (__strerror_r): Print negative errors as signed
51868         numbers.
51869
51870         [BZ #12777]
51871         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51872         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51873         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51874
51875         * configure.in: Fix typo in redirection and correct removal of test
51876         files in two cases.
51877
51878         [BZ #12788]
51879         * locale/setlocale.c (new_composite_name): Fix test to check for
51880         identical name of all categories.
51881
51882         [BZ #12792]
51883         * libio/filedoalloc.c (local_isatty): New function.
51884         (_IO_file_doallocate): Use local_isatty.
51885         * stdio-common/perror.c (perror): In case a new stream is used
51886         forward the stream error.
51887         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51888         error flag.
51889
51890 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
51891
51892         [BZ #11869]
51893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51894         alloca.
51895         * include/alloca.h (extend_alloca_account): Define.
51896
51897         [BZ #11857]
51898         * posix/regex.h: Fix comments with documentation of user-accessible
51899         fields after compilation and describe correct free'ing of pattern
51900         after re_compile_pattern.
51901         Patch by Reuben Thomas <rrt@sc3d.org>.
51902
51903 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
51904
51905         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51906         and -mno-altivec to prevent the compiler from using Altivec and/or
51907         VSX instructions when the corresponding registers are not available.
51908
51909 2011-05-19  Andreas Schwab  <schwab@redhat.com>
51910
51911         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51912
51913 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
51914
51915         * libio/freopen.c (freopen): Use __dup2, not dup2.
51916         * libio/freopen64.c (freopen64): Likewise.
51917
51918 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51919
51920         [BZ #12775]
51921         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51922         * math/Makefile (tests): Add test-powl.
51923         (CFLAGS-test-powl.c): Define.
51924         * math/test-powl.c: New file.
51925
51926 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51927
51928         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51929
51930 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
51931
51932         [BZ #11837]
51933         * iconvdata/gb18030.c: Update to GB18020-2005.
51934
51935 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
51936
51937         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51938         RE_SYNTAX_POSIX_AWK): Update to match recent development.
51939         Patch by Aharon Robbins <arnold@skeeve.com>.
51940
51941         [BZ #11892]
51942         * stdlib/putenv.c (putenv): Don't always create copy of the variable
51943         on the stack.
51944
51945         [BZ #11895]
51946         * misc/pselect.c (__pselect): Handle timeout value errors hidden
51947         through underflows.
51948
51949         [BZ #12766]
51950         * misc/error.c (error_at_line): Ensure file_name and old_file_name
51951         point to strings before performing equality test for error_one_per_line
51952         mode.
51953
51954         [BZ #11697]
51955         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51956
51957         [BZ #11820]
51958         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51959         (struct user_fpregs_struct): Avoid __uint*_t types.
51960
51961         [BZ #6420]
51962         * malloc/mtrace.c (tr_where): Add additional parameter to point to
51963         symbol info.  Use it instead of calling _dl_addr locally.
51964         (lock_and_info): New function.
51965         (tr_freehook): Call lock_and_info and pass symbol info as additional
51966         parameter to tr_where.
51967         (tr_mallochook): Likewise.
51968         (tr_reallochook): Likewise.
51969         (tr_memalignhook): Likewise.
51970
51971         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
51972         used and couldn't be at all thread-safe.
51973
51974 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
51975
51976         * libio/freopen.c (freopen): Don't close old file descriptor
51977         before the new one is opened.  Instead dup the new file descriptor
51978         to the old one after the new stream is created.
51979         * libio/freopen64.c (freopen64): Likewise.
51980         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51981         * libio/fileops.c (_IO_new_file_close_it): Handle new
51982         _IO_FLAGS2_NOCLOSE flag.
51983         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51984         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51985         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51986         _IO_FLAGS2_NOCLOSE flag.
51987         * include/unistd.h: Add hidden_proto for dup3.
51988         Define __have_dup3.
51989         * io/dup3.c: Define hidden symbol.
51990         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51991
51992         [BZ #7101]
51993         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51994         when an incomplete long option is used.
51995         * posix/tst-getopt_long1.c: New file.
51996         * posix/Makefile (tests): Add tst-getopt_long1.
51997
51998         [BZ #10138]
51999         * scripts/config.guess: Update from autoconf-2.68.
52000         * scripts/config.sub: Likewise.
52001
52002         [BZ #10157]
52003         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52004         tests into ...
52005         (has_cpuclock): ...this.  New function.
52006         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52007         macro here based on has_cpuclock code.
52008
52009         [BZ #10149]
52010         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52011         First byte (not low byte) is now always NUL.
52012         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52013
52014         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52015         Use non-cancelable interfaces.
52016
52017         [BZ #9809]
52018         * locale/iso-639.def: Add entry for Sorani.
52019
52020         [BZ #11901]
52021         * include/stdlib.h: Move include protection to the right place.
52022         Define abort_msg_s.  Declare __abort_msg with it.
52023         * stdlib/abort.c (__abort_msg): Adjust type.
52024         * assert/assert.c (__assert_fail_base): New function.  Majority
52025         of code from __assert_fail.  Allocate memory for __abort_msg with
52026         mmap.
52027         (__assert_fail): Now call __assert_fail_base.
52028         * assert/assert-perr.c: Remove bulk of implementation.  Use
52029         __assert_fail_base.
52030         * include/assert.hL Declare __assert_fail_base.
52031         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52032         mmap.
52033         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52034
52035 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52036
52037         [BZ #11952]
52038         [BZ #12453]
52039         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52040         until all modules are registered in the DTV.
52041         * elf/Makefile: Add rules to build and run tst-tls19.
52042         * elf/tst-tls19.c: New file.
52043         * elf/tst-tls19mod1.c: New file.
52044         * elf/tst-tls19mod2.c: New file.
52045         * elf/tst-tls19mod3.c: New file.
52046         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52047
52048         [BZ #12083]
52049         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52050         correctly.
52051
52052         [BZ #12601]
52053         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52054         two-byte sequence errors.
52055         * iconvdata/Makefile (tests): Add bug-iconv8.
52056         * iconvdata/bug-iconv8.c: New file.
52057
52058         [BZ #12626]
52059         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52060         buf2 definition.
52061
52062         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52063
52064         [BZ #12432]
52065         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52066         (dummy_getcfa): New function.
52067         (init): Get _Unwind_GetCFA address, use dummy if not found.
52068         (backtrace_helper): In recursion check, also check whether CFA changes.
52069         (__backtrace): Completely initialize arg.
52070
52071         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52072         storing incomplete byte sequence in state object.  Avoid testing for
52073         guaranteed too small input if we know there is enough data available.
52074
52075 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52076
52077         * Makeconfig (+link-pie): Indent.
52078         * Rules (binaries-pie): Define if $(have-fpie) and
52079         $(build-shared).
52080         (binaries-shared): Also filter out $(binaries-pie).
52081         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52082         * nscd/Makefile (others-pie): Add nscd.
52083         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52084         ($(objpfx)nscd): Remove command override.
52085         * login/Makefile (others-pie): Add pt_chown.
52086         ($(objpfx)pt_chown): Remove command override.
52087         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52088         remove command overrides.
52089
52090 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52091
52092         * libio/tst_putwc.c: Fix error messages.
52093
52094         [BZ #12724]
52095         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52096         currently writing and seek to current position when not.
52097         * libio/Makefile (tests): Add bug-fclose1.
52098         * libio/bug-fclose1.c: New file.
52099
52100 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52101
52102         [BZ #12511]
52103         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52104         don't set DF_1_NODELETE here.
52105         (do_lookup_x): When entering new entry test for copy relocation
52106         and if necessary set DF_1_NODELETE flag.
52107         * elf/tst-unique4.cc: New file.
52108         * elf/tst-unique4.h: New file.
52109         * elf/tst-unique4lib.cc: New file.
52110         * elf/Makefile: Add rules to build and run tst-unique4.
52111         Patch by Piotr Bury <pbury@goahead.com>.
52112
52113 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52114
52115         [BZ #12052]
52116         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52117
52118         [BZ #12625]
52119         * misc/mntent_r.c (addmntent): Flush the stream after the output
52120
52121         [BZ #12393]
52122         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52123         (is_trusted_path_normalize): Skip initial colon.  Append slash
52124         to empty buffer.  Duplicate is_trusted_path code but allow
52125         constructed patch to be prefix.
52126         (is_dst): Allow $ORIGIN followed by /.
52127         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52128         Correct testing of result of is_trusted_path_normalize
52129         (decompose_rpath): Fix warning.
52130
52131 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52132
52133         [BZ #11257]
52134         * grp/initgroups.c (internal_getgrouplist): When we found the service
52135         list through the initgroups entry in nsswitch.conf do not always
52136         continue on a successful lookup.  Don't always use the
52137         __nss_group_database value if it is set.
52138         * nss/nsswitch.conf (initgroups): Change action for successful db
52139         lookup to continue for compatibility.
52140
52141 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52142
52143         [BZ #11532]
52144         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52145         and CP774 modules.
52146         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52147         and CP774 modules.
52148         * iconvdata/tst-tables.sh: Likewise.
52149         * iconvdata/cp770.c: New file.
52150         * iconvdata/cp771.c: New file.
52151         * iconvdata/cp772.c: New file.
52152         * iconvdata/cp773.c: New file.
52153         * iconvdata/cp774.c: New file.
52154         * iconvdata/testdata/CP770: New file.
52155         * iconvdata/testdata/CP770..UTF8: New file.
52156         * iconvdata/testdata/CP771: New file.
52157         * iconvdata/testdata/CP771..UTF8: New file.
52158         * iconvdata/testdata/CP772: New file.
52159         * iconvdata/testdata/CP772..UTF8: New file.
52160         * iconvdata/testdata/CP773: New file.
52161         * iconvdata/testdata/CP773..UTF8: New file.
52162         * iconvdata/testdata/CP774: New file.
52163         * iconvdata/testdata/CP774..UTF8: New file.
52164
52165         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52166         END CHARMAP line.
52167         * iconvdata/gen-8bit-gap.sh: Likewise.
52168         * iconvdata/gen-8bit.sh: Likewise.
52169
52170         * locale/iso-639.def: Add ary entry.
52171
52172         [BZ #11258]
52173         * locale/C-translit.h.in: Add U20A1 transliteration.
52174
52175         [BZ #12178]
52176         * locale/iso-639.def: Add wae entry.
52177         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52178
52179         [BZ #12545]
52180         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52181         for n.
52182
52183         [BZ #12711]
52184         * locale/C-translit.h.in: Add entry for U20B9.
52185         Patch by pravin.d.s@gmail.com.
52186
52187 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52188
52189         [BZ #12713]
52190         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52191         ENAMETOOLONG use generic getcwd.
52192         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52193         in rtld.  Use *stat64.
52194         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52195         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52196         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52197         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52198         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52199         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52200         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52201         __fstatat64 macros.
52202         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52203         * dirent/rewinddir.c: Add libc_hidden_def.
52204         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52205         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52206
52207         * include/dirent.h (__alloc_dir): Add flags parameter.
52208         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52209         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52210         __alloc_dir.
52211         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52212         from fdopendir if O_CLOEXEC is already set.
52213
52214 2011-03-15  Alan Modra  <amodra@gmail.com>
52215
52216         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52217         l_tls_firstbyte_offset non-zero.  Save padding offset in
52218         l_tls_firstbyte_offset for later use.
52219         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52220         freeing static tls block.
52221
52222 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52223
52224         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52225         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52226         being defined by the kernel headers.
52227
52228 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52229
52230         [BZ #12734]
52231         * resolv/resolv.h: Define RES_NOTLDQUERY.
52232         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52233         no-tld-query and set RES_NOTLDQUERY.
52234         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52235         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52236         modern BIND to search name as TLD unless forbidden.
52237
52238 2011-05-07  Petr Baudis  <pasky@suse.cz>
52239             Ulrich Drepper  <drepper@gmail.com>
52240
52241         [BZ #12393]
52242         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52243         (is_trusted_path): ...to here.
52244         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52245         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52246         using is_trusted_path_normalize() in setuid scripts.
52247
52248 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52249
52250         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52251         __BEGIN/__END_DECLS.
52252
52253 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52254
52255         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52256         NSS_STATUS_NOTFOUND if no record was found.
52257
52258 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52259
52260         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52261         (headers-not-in-tirpc): Remove rpc/netdb.h
52262         * resolv/netdb.h: Revert last change.
52263
52264 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52265
52266         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52267         circular dependency between libgcc.a and libc.a.
52268
52269 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52270
52271         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52272         * nis/Makefile: Don't install rpcsvc/*.
52273         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52274         instead of <rpc/types.h>.
52275         (MAXHOSTNAMELEN): Define.
52276
52277 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52278
52279         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52280
52281 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52282
52283         [BZ #12714]
52284         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52285         gethostbyname4_r when IPv6 results are possible.
52286
52287 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52288
52289         [BZ #12723]
52290         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52291         _PC_PIPE_BUF handling.
52292
52293 2011-04-30  Bruno Haible  <bruno@clisp.org>
52294
52295         [BZ #12717]
52296         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52297         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52298         to 'int'.
52299         * inet/getnameinfo.c (getnameinfo): Likewise.
52300
52301 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52302
52303         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52304         to groups setting in database lookup.
52305         * nss/nsswitch.conf: Add initgroups entry.
52306
52307 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52308
52309         [BZ #12685]
52310         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52311         mode string.
52312         Patch by Eric Blake <eblake@redhat.com>.
52313
52314 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52315
52316         * sunrpc/Makefile (need-export-routines): Add svc_run.
52317         (routines): Remove svc_run.
52318         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52319         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52320         * sunrpc/svc_run.c (svc_run): Likewise.
52321         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52322
52323 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52324
52325         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52326         problem in reallocation in last patch.
52327
52328 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52329
52330         * sunrpc/Makefile: Move inclusion of Rules.
52331
52332 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52333
52334         * nss/nss_files/files-initgroups.c: New file.
52335         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52336         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52337         _nss_files_initgroups_dyn.
52338
52339 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52340
52341         * elf/elf.h (R_ARM_IRELATIVE): Define.
52342
52343 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52344
52345         * po/ru.po: Update from translation team.
52346
52347 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52348
52349         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52350         dependencies.
52351
52352 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52353
52354         [BZ #12653]
52355         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52356         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52357         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52358         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52359         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52360
52361 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52362
52363         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52364         differing bytes.
52365         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52366         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52367         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52368
52369 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52370
52371         [BZ #12420]
52372         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52373         storing it.
52374         * stdlib/bug-getcontext.c: New file.
52375         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52376
52377 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52378
52379         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52380         instructions into .machine "z9-109".
52381         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52382         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52383
52384 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52385
52386         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52387         between environment variables and auxiliary vector.
52388
52389 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52390
52391         * Makefile: Add rules to build linkobj/libc.so.
52392         * include/libc-symbols.h: Define libc_hidden_nolink.
52393         * include/rpc/auth.h: Mark functions which are to be hidden.
52394         * include/rpc/auth_des.h: Likewise.
52395         * include/rpc/auth_unix.h: Likewise.
52396         * include/rpc/clnt.h: Likewise.
52397         * include/rpc/des_crypt.h: Likewise.
52398         * include/rpc/key_prot.h: Likewise.
52399         * include/rpc/pmap_clnt.h: Likewise.
52400         * include/rpc/pmap_prot.h: Likewise.
52401         * include/rpc/pmap_rmt.h: Likewise.
52402         * include/rpc/rpc_msg.h: Likewise.
52403         * include/rpc/svc.h: Likewise.
52404         * include/rpc/svc_auth.h: Likewise.
52405         * include/rpc/xdr.h: Likewise.
52406         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52407         * nss/Makefile: Likewise.
52408         * sunrpc/Makefile: Don't install headers.  Build library with normal
52409         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52410         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52411         for the compat linking library.  Remove use of INTDEF/INTUSE.
52412         * sunrpc/auth_none.c: Likewise.
52413         * sunrpc/auth_unix.c: Likewise.
52414         * sunrpc/authdes_prot.c: Likewise.
52415         * sunrpc/authuxprot.c: Likewise.
52416         * sunrpc/clnt_gen.c: Likewise.
52417         * sunrpc/clnt_perr.c: Likewise.
52418         * sunrpc/clnt_raw.c: Likewise.
52419         * sunrpc/clnt_simp.c: Likewise.
52420         * sunrpc/clnt_tcp.c: Likewise.
52421         * sunrpc/clnt_udp.c: Likewise.
52422         * sunrpc/clnt_unix.c: Likewise.
52423         * sunrpc/des_crypt.c: Likewise.
52424         * sunrpc/des_soft.c: Likewise.
52425         * sunrpc/get_myaddr.c: Likewise.
52426         * sunrpc/key_call.c: Likewise.
52427         * sunrpc/key_prot.c: Likewise.
52428         * sunrpc/netname.c: Likewise.
52429         * sunrpc/pm_getmaps.c: Likewise.
52430         * sunrpc/pm_getport.c: Likewise.
52431         * sunrpc/pmap_clnt.c: Likewise.
52432         * sunrpc/pmap_prot.c: Likewise.
52433         * sunrpc/pmap_prot2.c: Likewise.
52434         * sunrpc/pmap_rmt.c: Likewise.
52435         * sunrpc/publickey.c: Likewise.
52436         * sunrpc/rpc_cmsg.c: Likewise.
52437         * sunrpc/rpc_common.c: Likewise.
52438         * sunrpc/rpc_dtable.c: Likewise.
52439         * sunrpc/rpc_prot.c: Likewise.
52440         * sunrpc/rpc_thread.c: Likewise.
52441         * sunrpc/rtime.c: Likewise.
52442         * sunrpc/svc.c: Likewise.
52443         * sunrpc/svc_auth.c: Likewise.
52444         * sunrpc/svc_authux.c: Likewise.
52445         * sunrpc/svc_raw.c: Likewise.
52446         * sunrpc/svc_run.c: Likewise.
52447         * sunrpc/svc_simple.c: Likewise.
52448         * sunrpc/svc_tcp.c: Likewise.
52449         * sunrpc/svc_udp.c: Likewise.
52450         * sunrpc/svc_unix.c: Likewise.
52451         * sunrpc/svcauth_des.c: Likewise.
52452         * sunrpc/xcrypt.c: Likewise.
52453         * sunrpc/xdr.c: Likewise.
52454         * sunrpc/xdr_array.c: Likewise.
52455         * sunrpc/xdr_float.c: Likewise.
52456         * sunrpc/xdr_intXX_t.c: Likewise.
52457         * sunrpc/xdr_mem.c: Likewise.
52458         * sunrpc/xdr_rec.c: Likewise.
52459         * sunrpc/xdr_ref.c: Likewise.
52460         * sunrpc/xdr_sizeof.c: Likewise.
52461         * sunrpc/xdr_stdio.c: Likewise.
52462
52463 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52464
52465         [BZ #12650]
52466         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52467         * sysdeps/ia64/dl-tls.h: Likewise.
52468         * sysdeps/powerpc/dl-tls.h: Likewise.
52469         * sysdeps/s390/dl-tls.h: Likewise.
52470         * sysdeps/sh/dl-tls.h: Likewise.
52471         * sysdeps/sparc/dl-tls.h: Likewise.
52472         * sysdeps/x86_64/dl-tls.h: Likewise.
52473         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52474
52475 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52476
52477         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52478         rpath element also skip the following colon.
52479         (expand_dynamic_string_token): Add is_path parameter and pass
52480         down to DL_DST_REQUIRED and _dl_dst_substitute.
52481         (decompose_rpath): Call expand_dynamic_string_token with
52482         non-zero is_path.  Ignore empty rpaths.
52483         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52484         with zero is_path.
52485
52486 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52487
52488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52489         Make cancelable.
52490
52491 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52492
52493         [BZ #12655]
52494         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52495         Patch by Filipe David Manana <fdmanana@apache.org>.
52496
52497 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52498
52499         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52500         Maintain aligned stack.
52501         (CHECK_RSP): Remove unused macro.
52502
52503 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52504
52505         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52506         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52507
52508 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52509
52510         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52511
52512         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52513
52514 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52515
52516         [BZ #12518]
52517         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52518         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52519         * sysdeps/x86_64/memmove.c: New file.
52520         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52521         (memcpy): Renamed to ...
52522         (__new_memcpy): This.
52523         (memcpy): Provide GLIBC_2_14 memcpy.
52524         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52525         (memcpy): Provide GLIBC_2_2_5 memcpy.
52526
52527 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52528
52529         [BZ #12631]
52530         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52531
52532 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52533
52534         * misc/syncfs.c: New file.
52535         * misc/Makefile (routines): Add syncfs.
52536         * posix/unistd.h: Declare syncfs.
52537         * sysdeps/unix/syscalls.list: Add syncfs.
52538
52539 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52540
52541         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52542         open_by_handle_at.
52543         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52544         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52545         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52546         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52547         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52548         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52549         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52550
52551 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52552
52553         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52554         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52555         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52557         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52559         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52560
52561         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52562         sync_file_range.c with -fexceptions.
52563         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52564         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52565         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52566         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52567         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52568         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52569         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52570         sync_file_range as cancellation point
52571         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52572         now a wrapper around __call_sync_file_range with cancellation handling.
52573         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52574         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52575         function name to __call_sync_file_range.
52576         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52577         Add call_sync_file_range.
52578
52579 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52580
52581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52582         bits/timex.h.
52583
52584 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52585
52586         * iconv/iconv.h: Fix typo in comment.
52587         * io/fcntl.h: Likewise.
52588         * libio/stdio.h: Likewise.
52589         * posix/spawn.h: Likewise.
52590         * posix/unistd.h: Likewise.
52591         * stdlib/stdlib.h: Likewise.
52592         * time/time.h: Likewise.
52593         * wcsmbs/wchar.h: Likewise.
52594
52595         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52596         open_by_handle): Add.
52597         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52598         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52599         Augment a few comments.
52600         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52601         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52602         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52603         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52604         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52605         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52606         open_by_handle.
52607
52608         * io/fcntl.h (AT_EMPTY_PATH): Define.
52609
52610 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52611
52612         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52613         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52614         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52615         to...
52616         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52617         * Versions.def: Add GLIBC_2.14.
52618         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52619         Export.
52620
52621 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52622
52623         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52624         round counter.
52625         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52626
52627 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52628
52629         [BZ #12597]
52630         * string/test-strncmp.c (do_page_test): New function.
52631         (check2): Likewise.
52632         (test_main): Call check2.
52633         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52634
52635 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52636
52637         [BZ #12587]
52638         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52639         Handle cache information in CPU leaf 4.
52640         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52641
52642 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52643
52644         [BZ #12583]
52645         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52646         character representation.
52647         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52648
52649 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52650
52651         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52652         END(__isnan) to END(__isnanf) to match function entry point/label
52653         EALIGN(__isnanf,...).
52654
52655 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52656
52657         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52658
52659 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52660
52661         [BZ #12510]
52662         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52663         copy from the symbol referenced in the relocation to initialize the
52664         used variable.
52665         Patch by Piotr Bury <pbury@goahead.com>.
52666         * elf/Makefile: Add rules to build and tst-unique3.
52667         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52668         * elf/tst-unique3.cc: New file.
52669         * elf/tst-unique3.h: New file.
52670         * elf/tst-unique3lib.cc: New file.
52671         * elf/tst-unique3lib2.cc: New file.
52672
52673         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52674
52675 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52676
52677         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52678         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52679         to _start.
52680
52681 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52682
52683         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52684         to-be-loaded object along a path to loader is ld.so.
52685
52686 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52687             Ulrich Drepper  <drepper@gmail.com>
52688
52689         * sysdeps/x86_64/memset.S: After aligning destination, code
52690         branches to different locations depending on the value of
52691         misalignment, when multiarch is enabled. Fix this.
52692
52693 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52694
52695         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52696         Set _x86_64_preferred_memory_instruction for AMD processsors.
52697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52698         Set bit_Prefer_SSE_for_memop for AMD processors.
52699
52700 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52701
52702         * libio/fmemopen.c (fmemopen): Optimize a bit.
52703
52704 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52705
52706         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52707
52708 2011-03-03  Roland McGrath  <roland@redhat.com>
52709
52710         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52711
52712 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52713
52714         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52715         __bzero_ultra1 instead of __memset_ultra1.
52716
52717 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52718             Ulrich Drepper  <drepper@gmail.com>
52719
52720         [BZ #12509]
52721         * include/link.h (struct link_map): Add l_orig_initfini.
52722         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52723         returning unsuccessfully.
52724         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52725         close of a file loaded at startup, restore the original l_initfini
52726         list.
52727         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52728         list, store the pointer.
52729         * elf/Makefile ($(objpfx)noload-mem): New rule.
52730         (noload-ENV): Define.
52731         (tests): Add $(objpfx)noload-mem.
52732         * elf/noload.c: Include <memcheck.h>.
52733         (main): Call mtrace.  Close all opened handles.
52734
52735 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52736
52737         [BZ #12454]
52738         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52739         dependencies are missing.
52740
52741 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52742
52743         Fix __if_freereq crash: Unlike the generic version which uses free,
52744         Hurd needs munmap.
52745         * sysdeps/mach/hurd/ifreq.h: New file.
52746
52747 2011-01-27  Petr Baudis  <pasky@suse.cz>
52748             Ulrich Drepper  <drepper@gmail.com>
52749
52750         [BZ 12445]#
52751         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52752         to extend_alloca().
52753         * stdio-common/bug23.c: New file.
52754         * stdio-common/Makefile (tests): Add bug23.
52755
52756 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52757             Ulrich Drepper  <drepper@gmail.com>
52758
52759         [BZ #12489]
52760         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52761         before performing relro protection.  At old place add assertion
52762         to make sure nothing changed.
52763
52764 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52765             Glauber de Oliveira Costa  <glommer@gmail.com>
52766
52767         * elf/elf.h: Add new ARM TLS relocs.
52768
52769 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52770
52771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52772         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52773         cast from r3.
52774         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52775         'tests' variable.
52776         * sysdeps/wordsize-64/tst-writev.c: New file.
52777
52778 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52779
52780         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52781         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52782         insns in _dl_start to prevent a TOC reference before relocs are
52783         resolved.
52784
52785 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52786
52787         [BZ #12469]
52788         * Makeconfig: Remove RANLIB definition.
52789         * Makerules: Don't use RANLIB.
52790         * aclocal.m4: Remove ranlib test.
52791         * configure.in: No need to check for ranlib.
52792         * elf/rtld-Rules: Don't use RANLIB.
52793
52794 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52795
52796         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52797         protection macro.
52798         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52799         inclusion protection macro.
52800
52801         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52802         SIGRTMIN and SIGRTMAX and print information in that case only when
52803         SIGRTMIN is defined.
52804
52805 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52806
52807         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52808         arginfo fn returning -1.
52809
52810         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52811         and thousands string is zero terminated.
52812
52813 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52814
52815         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52816         sysdeps/unix/sysv/linux/bits/socket.h.
52817
52818 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52819
52820         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52821         (__CPU_COUNT): Remove old macros.
52822         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52823         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52824         (__CPU_ALLOC, __CPU_FREE): Add macros.
52825         (__sched_cpualloc, __sched_cpufree): Add declarations.
52826
52827 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52828
52829         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52830         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52831         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52832         (readdhstai): Return value of addhstaiX call.
52833         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52834         (addgrbyX): Return value returned by cache_addgr.
52835         (readdgrbyname): Return value returned by addgrbyX.
52836         (readdgrbygid): Likewise.
52837         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52838         (addpwbyX): Return value returned by cache_addpw.
52839         (readdpwbyname): Return value returned by addhstbyX.
52840         (readdpwbyuid): Likewise.
52841         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52842         (addservbyX): Return value returned by cache_addserv.
52843         (readdservbyname): Return value returned by addservbyX:
52844         (readdservbyport): Likewise.
52845         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52846         (addhstbyX): Return value returned by cache_addhst.
52847         (readdhstbyname): Return value returned by addhstbyX.
52848         (readdhstbyaddr): Likewise.
52849         (readdhstbynamev6): Likewise.
52850         (readdhstbyaddrv6): Likewise.
52851         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52852         (readdinitgroups): Return value returned by addinitgroupsX.
52853         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52854         (prune_cache): Keep track of timeout value of re-added entries.
52855         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52856         * nscd/nscd.h: Adjust prototypes of readd* functions.
52857
52858 2011-02-04  Roland McGrath  <roland@redhat.com>
52859
52860         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52861         (nis_stats): Likewise.
52862         * nis/nis_modify.c (nis_modify): Likewise.
52863         * nis/nis_remove.c (nis_remove): Likewise.
52864         * nis/nis_add.c (nis_add): Likewise.
52865
52866         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52867
52868         * posix/fnmatch_loop.c: Add some consts.
52869
52870         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52871
52872 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
52873
52874         [BZ #12460]
52875         * config.make.in (config-cflags-novzeroupper): Define.
52876         * configure.in: Substitute libc_cv_cc_novzeroupper.
52877         * elf/Makefile (AVX-CFLAGS): Define.
52878         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52879         (CFLAGS-tst-auditmod4a.c): Likewise.
52880         (CFLAGS-tst-auditmod4b.c): Likewise.
52881         (CFLAGS-tst-auditmod6b.c): Likewise.
52882         (CFLAGS-tst-auditmod6c.c): Likewise.
52883         (CFLAGS-tst-auditmod7b.c): Likewise.
52884         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52885
52886 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
52887
52888         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52889         function to the callback.
52890         Patch partly by Jiri Olsa <jolsa@redhat.com>.
52891
52892 2011-02-02  Andreas Schwab  <schwab@redhat.com>
52893
52894         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52895         of errno.
52896
52897 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
52898
52899         [BZ #11724]
52900         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52901         of constructors.
52902         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52903         of destructors.
52904         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52905
52906         [BZ #11724]
52907         * elf/Makefile: Add rules to build and run new test.
52908         * elf/tst-initorder.c: New file.
52909         * elf/tst-initorder.exp: New file.
52910         * elf/tst-initordera1.c: New file.
52911         * elf/tst-initordera2.c: New file.
52912         * elf/tst-initordera3.c: New file.
52913         * elf/tst-initordera4.c: New file.
52914         * elf/tst-initorderb1.c: New file.
52915         * elf/tst-initorderb2.c: New file.
52916         * elf/tst-order-a1.c: New file.
52917         * elf/tst-order-a2.c: New file.
52918         * elf/tst-order-a3.c: New file.
52919         * elf/tst-order-a4.c: New file.
52920         * elf/tst-order-b1.c: New file.
52921         * elf/tst-order-b2.c: New file.
52922         * elf/tst-order-main.c: New file.
52923         New test case by George Gensure <werkt0@gmail.com>.
52924
52925 2010-10-01  Andreas Schwab  <schwab@redhat.com>
52926
52927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52928         decoding ACE if AI_CANONIDN.
52929
52930 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
52931
52932         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52933
52934 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
52935
52936         * version.h (RELEASE): Bump for 2.13 release.
52937         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52938
52939         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52940
52941         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52942         MADV_NOHUGEPAGE.
52943         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52944         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52945         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52946         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52947         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52948         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52949
52950         * posix/getconf.c: Update copyright year.
52951         * catgets/gencat.c: Likewise.
52952         * csu/version.c: Likewise.
52953         * debug/catchsegv.sh: Likewise.
52954         * debug/xtrace.sh: Likewise.
52955         * elf/ldconfig.c: Likewise.
52956         * elf/ldd.bash.in: Likewise.
52957         * elf/sprof.c (print_version): Likewise.
52958         * iconv/iconv_prog.c: Likewise.
52959         * iconv/iconvconfig.c: Likewise.
52960         * locale/programs/locale.c: Likewise.
52961         * locale/programs/localedef.c: Likewise.
52962         * malloc/memusage.sh: Likewise.
52963         * malloc/mtrace.pl: Likewise.
52964         * nscd/nscd.c (print_version): Likewise.
52965         * nss/getent.c: Likewise.
52966
52967         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52968         PF_CAIF, and PF_ALG.
52969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52970
52971 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
52972
52973         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52974         (modules-names): Use them.
52975         (ifunc-test-modules, ifunc-pie-tests): Define.
52976         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52977         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52978         (test-extras): Likewise.
52979         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52980         $(compile-command.c).
52981         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52982         (all-built-dso): Define.
52983         (check-textrel.out, check-execstack.out): Depend on it.
52984
52985         * configure.in: Don't override --enable-multi-arch.
52986
52987 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
52988
52989         [BZ #6812]
52990         * nscd/hstcache.c (tryagain): Define.
52991         (cache_addhst): Return tryagain not notfound for temporary errors.
52992         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52993         failed.
52994
52995 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
52996
52997         [BZ #10563]
52998         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52999         to make the syscall.
53000         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53001
53002         [BZ #12378]
53003         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53004         and fall back to matching as normal character if the string ends before
53005         the matching ']' is found.  This is what POSIX requires.
53006         * posix/testfnm.c: Adjust test result.
53007         * posix/globtest.sh: Adjust test result.  Add new test.
53008         * posix/tst-fnmatch.input: Likewise.
53009         * posix/tst-fnmatch2.c: Add new test.
53010
53011 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53012
53013         * elf/Makefile (check-execstack): Revert last change.  Depend on
53014         check-execstack.h.
53015         (check-execstack.h): New target.
53016         (generated): Add check-execstack.h.
53017         * elf/check-execstack.c: Include "check-execstack.h".
53018         (main): Revert last change.
53019         (handle_file): Return zero if GNU_STACK is absent and
53020         DEFAULT_STACK_PERMS doesn't include PF_X.
53021
53022 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53023
53024         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53025         in child fails because the descriptor is already closed.
53026         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53027         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53028         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53029
53030         [BZ #12397]
53031         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53032         syscall.
53033
53034         [BZ #10484]
53035         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53036         temporary buffer used to handle multi lookups locally.
53037         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53038
53039 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53040
53041         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53042         loader is ld.so.
53043
53044 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53045
53046         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53047         alignment for SSE2.
53048
53049 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53050
53051         [BZ #12394]
53052         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53053         characters.  When rounding increased number of integer digits recompute
53054         number of groups.
53055         * stdio-common/tst-grouping.c: New file.
53056         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53057
53058 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53059
53060         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53061         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53062
53063         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53064         void.
53065         * bits/select.h: Likewise.
53066
53067 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53068
53069         * po/ja.po: Update from translation team.
53070
53071 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53072
53073         [BZ #11155]
53074         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53075         implementation just like for lxstat, fxstatat, et al.
53076
53077 2010-12-27  Jim Meyering  <meyering@redhat.com>
53078
53079         [BZ #12348]
53080         * posix/regexec.c (build_trtable): Return failure indication upon
53081         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53082
53083 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53084
53085         [BZ #12201]
53086         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53087         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53088         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53089         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53090
53091         [BZ #12207]
53092         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53093
53094         [BZ #12204]
53095         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53096         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53097
53098 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53099
53100         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53101         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53102         script has SORT_BY_INIT_PRIORITY.
53103         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53104         NO_CTORS_DTORS_SECTIONS is defined.
53105         * elf/soinit.c: Likewise.
53106         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53107         NO_CTORS_DTORS_SECTIONS is defined.
53108         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53109         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53110         * sysdeps/sh/init-first.c: Likewise.
53111         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53112
53113 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53114
53115         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53116         always use the slow path.
53117
53118 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53119
53120         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53121         similar rule which adds the sysdep directories to the header search in
53122         order to pick up the correct platform stackinfo.h.
53123         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53124         perform test if it is, otherwise return successfully without testing.
53125         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53126         DEFAULT_STACK_PERMS define in stackinfo.h.
53127         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53128         defined in stackinfo.h.
53129         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53130         DEFAULT_STACK_PERMS defined in stackinfo.h.
53131         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53132         * sysdeps/ia64/stackinfo.h: Likewise.
53133         * sysdeps/s390/stackinfo.h: Likewise.
53134         * sysdeps/sh/stackinfo.h: Likewise.
53135         * sysdeps/sparc/stackinfo.h: Likewise.
53136         * sysdeps/x86_64/stackinfo.h: Likewise.
53137         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53138         PF_X for powerpc64.  Retain PF_X for powerpc32.
53139
53140 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53141
53142         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53143         accurately.
53144         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53145         GETDENTS_64BIT_ALIGNED.
53146
53147 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53148
53149         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53150
53151 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53152
53153         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53154         _GNU_SOURCE.
53155
53156         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53157         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53158         Remove __restrict.
53159         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53160         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53161
53162 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53163
53164         [BZ #11655]
53165         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53166         are initialized.
53167
53168 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53169
53170         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53171
53172 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53173
53174         * po/it.po: Update from translation team.
53175
53176 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53177
53178         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53179         unused codes.
53180
53181 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53182
53183         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53184
53185 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53186
53187         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53188         specially.
53189         (gaih_getanswer_slice): Likewise.
53190
53191 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53192
53193         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53194
53195 2010-05-31  Petr Baudis  <pasky@suse.cz>
53196
53197         [BZ #11149]
53198         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53199         silently even in the chroot mode.
53200
53201 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53202
53203         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53204         last patch a bit.  Pretty printing
53205
53206 2010-05-31  Petr Baudis <pasky@suse.cz>
53207
53208         [BZ #10085]
53209         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53210         initialization of skip_initgroups_dyn.
53211
53212 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53213
53214         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53215         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53216
53217 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53218
53219         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53220
53221 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53222
53223         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53224         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53225         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53226         ($(objpfx)tst-fnmatch-mem): New rule.
53227         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53228         * posix/tst-fnmatch.c (main): Call mtrace.
53229
53230 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53231
53232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53233         Support Intel processor model 6 and model 0x2c.
53234
53235 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53236
53237         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53238           signed comparison.
53239
53240 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53241
53242         [BZ #12205]
53243         * string/test-strncasecmp.c (check_result): New function.
53244         (do_one_test): Use it.
53245         (check1): New function.
53246         (test_main): Use it.
53247         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53248         Support strcasecmp and strncasecmp.
53249
53250 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53251
53252         [BZ #12194]
53253         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53254         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53255
53256 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53257
53258         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53259         IFUNC support.
53260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53261         memset-x86-64.
53262         * sysdeps/x86_64/multiarch/bzero.S: New file.
53263         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53264         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53265         * sysdeps/x86_64/multiarch/memset.S: New file.
53266         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53267         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53268         Set bit_Prefer_SSE_for_memop for Intel processors.
53269         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53270         Define.
53271         (index_Prefer_SSE_for_memop): Define.
53272         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53273
53274 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53275
53276         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53277         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53278
53279 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53280
53281         [BZ #12191]
53282         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53283         (__x86_64_raw_data_cache_size_half): Likewise.
53284         (__x86_64_raw_shared_cache_size): Likewise.
53285         (__x86_64_raw_shared_cache_size_half): Likewise.
53286
53287         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53288         (__x86_64_raw_data_cache_size_half): Likewise.
53289         (__x86_64_raw_shared_cache_size): Likewise.
53290         (__x86_64_raw_shared_cache_size_half): Likewise.
53291         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53292         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53293         and __x86_64_raw_shared_cache_size_half.  Round
53294         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53295         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53296         to multiple of 256 bytes.
53297
53298 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53299
53300         [BZ #12167]
53301         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53302         of inacessible symlinks.  Verify result of symlink before returning it.
53303         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53304         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53305
53306 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53307
53308         * math/math.h (isinf): Fix typo in comment.
53309
53310 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53311
53312         * po/da.po: Update from translation team.
53313
53314 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53315
53316         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53317         is added to the list.
53318
53319 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53320             Ulrich Drepper  <drepper@gmail.com>
53321
53322         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53323         the global list here.  Move code to...
53324         (_dl_add_to_namespace_list): ...here.  New function.
53325         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53326         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53327         * elf/dl-load.c (lose): Don't remove the element from the list.
53328         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53329         (_dl_map_object): Likewise.
53330
53331 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53332
53333         [BZ #12159]
53334         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53335         into all bytes of SSE register.
53336         Patch by Richard Li <richardpku@gmail.com>.
53337
53338 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53339
53340         [BZ #12140]
53341         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53342         perturbing.
53343
53344 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53345
53346         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53347         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53348         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53349         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53351         submachine.
53352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53353
53354 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53355
53356         * include/dlfcn.h (__RTLD_SECURE): Define.
53357         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53358         mode & __RTLD_SECURE instead.
53359         (open_path): Rename preloaded parameter to secure.
53360         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53361         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53362         * elf/dl-deps.c (openaux): Likewise.
53363         * elf/rtld.c (struct map_args): Remove is_preloaded.
53364         (map_doit): Don't use it.
53365         (dl_main): Likewise.
53366         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53367         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53368
53369 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53370
53371         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53372         (sysd-rules-targets): Remove duplicates.
53373         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53374         rtld-%.$o dependency.
53375
53376 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53377
53378         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53379         _dl_map_object do it.
53380
53381 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53382
53383         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53384         fast fma builtins, define the macros in the C99 standard.
53385         (FP_FAST_FMAF): Likewise.
53386         (FP_FAST_FMAL): Likewise.
53387         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53388
53389         * bits/mathdef.h: Update copyright year.
53390         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53391
53392 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53393
53394         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53395         builtins, define the macros in the C99 standard.
53396         (FP_FAST_FMAF): Likewise.
53397         (FP_FAST_FMAL): Likewise.
53398         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53399         multiply/add.
53400         (FP_FAST_FMAF): Likewise.
53401
53402 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53403
53404         [BZ #3268]
53405         * math/libm-test.inc (fma_test): Some new testcases.
53406         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53407         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53408         y and infinite z.  Do multiplication by C already in long double.
53409         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53410         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53411         y and infinite z.  Do bitwise or of inexact bit into u.d.
53412         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53413         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53414         * sysdeps/i386/fpu/s_fma.S: Removed.
53415         * sysdeps/i386/fpu/s_fmal.S: Removed.
53416
53417 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53418
53419         [BZ #3268]
53420         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53421         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53422         computation is not scheduled after fetestexcept.  Fix value
53423         of minimum denormal long double.
53424
53425 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53426
53427         [BZ #3268]
53428         * math/libm-test.inc (fma_test): Add some more tests.
53429         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53430         correctly.
53431
53432 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53433
53434         * scripts/data/localplt-s390-linux-gnu.data: New file.
53435         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53436
53437 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53438
53439         [BZ #3268]
53440         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53441         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53442         instead of dbl-64.
53443         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53444         inlines.
53445         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53446         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53447         if one of x and y is very large and the other is subnormal.
53448         * sysdeps/s390/fpu/s_fmaf.c: New file.
53449         * sysdeps/s390/fpu/s_fma.c: New file.
53450         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53451         * sysdeps/powerpc/fpu/s_fma.S: New file.
53452         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53453         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53454         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53455
53456 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53457
53458         [BZ #3268]
53459         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53460         fma tests.
53461         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53462         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53463         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53464         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53465         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53466         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53467         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53468
53469 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53470
53471         [BZ #12078]
53472         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53473         * posix/bug-regex31.input: Add test case.
53474
53475 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53476
53477         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53478         * posix/bug-regex31.input: New file.
53479
53480         [BZ #12078]
53481         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53482         (parse_sub_exp): Fix last change, use postorder.
53483
53484         * posix/bug-regex31.c: New file.
53485         * posix/Makefile: Add rules to build and run bug-regex31.
53486
53487         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53488
53489         [BZ #12078]
53490         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53491
53492         [BZ #12108]
53493         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53494         to have entries in sys_siglist.
53495
53496         [BZ #12093]
53497         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53498         be NULL.
53499
53500 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53501
53502         [BZ #3268]
53503         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53504         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53505         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53506         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53507         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53508         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53509         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53510         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53511         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53512         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53513         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53514         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53515         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53516         * math/ftestexcept.c (fetestexcept): Likewise.
53517         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53518         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53519         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53520         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53521         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53522         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53523         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53524
53525 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53526
53527         [BZ #12107]
53528         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53529         newline.
53530
53531 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53532
53533         * string/bug-strstr1.c: New file.
53534         * string/Makefile: Add rules to build and run bug-strstr1.
53535
53536 2010-10-05  Eric Blake  <eblake@redhat.com>
53537
53538         [BZ #12092]
53539         * string/str-two-way.h (two_way_long_needle): Always clear memory
53540         when skipping input due to the shift table.
53541
53542 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53543
53544         [BZ #12005]
53545         * malloc/mcheck.c: Handle large requests.
53546
53547         [BZ #12077]
53548         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53549         for strncmp and strncasecmp.
53550         * string/stratcliff.c: Add tests for strcmp and strncmp.
53551         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53552
53553 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53554
53555         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53556         __set_fpscr.
53557
53558 2010-09-30  Andreas Jaeger  <aj@suse.de>
53559
53560         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53561         (CGROUP_SUPER_MAGIC): Define.
53562         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53563         Handle btrfs and cgroup file systems.
53564         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53565         Likewise.
53566
53567 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53568
53569         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53570         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53571
53572 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53573
53574         [BZ #12067]
53575         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53576         trying to locate the ELF header.
53577
53578 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53579
53580         [BZ #11611]
53581         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53582         Mask out sign-bit copies when constructing f_fsid.
53583
53584 2010-09-24  Petr Baudis <pasky@suse.cz>
53585
53586         * debug/stack_chk_fail_local.c: Add missing licence exception.
53587         * debug/warning-nop.c: Likewise.
53588
53589 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53590
53591         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53592         implementing getdents64 using getdents syscall, set d_type if
53593         __ASSUME_GETDENTS32_D_TYPE.
53594
53595 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53596
53597         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53598         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53599
53600 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53601
53602         [BZ #12037]
53603         * posix/unistd.h: Undo change of feature selection for ftruncate from
53604         2010-01-11.
53605
53606 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53607
53608         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53609         detection.
53610
53611 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53612
53613         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53614         fanotify_mark.
53615         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53616
53617 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53618
53619         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53620         variables after CHECK_SP call.
53621         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53622
53623 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53624             Ulrich Drepper  <drepper@redhat.com>
53625
53626         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53627         re-relocationg ld.so.
53628         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53629         _dl_init_paths call.
53630         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53631         here anymore.
53632
53633 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53634
53635         * resolv/res_init.c (__res_vinit): Count the default server we added.
53636
53637 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53638             Ulrich Drepper  <drepper@redhat.com>
53639
53640         [BZ #11968]
53641         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53642         (____longjmp_chk): Use %ebx for saving value across system call.
53643         Add unwind info.
53644
53645 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53646
53647         * manual/Makefile: Don't mix pattern rules with normal rules.
53648
53649 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53650
53651         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53652         operation.
53653         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53654         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53655         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53656         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53657         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53658         Likewise.
53659
53660 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53661
53662         [BZ #11979]
53663         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53664         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53665
53666 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53667
53668         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53669         * sysdeps/x86_64/addmul_1.S: Likewise.
53670         * sysdeps/x86_64/lshift.S: Likewise.
53671         * sysdeps/x86_64/mul_1.S: Likewise.
53672         * sysdeps/x86_64/rshift.S: Likewise.
53673         * sysdeps/x86_64/sub_n.S: Likewise.
53674         * sysdeps/x86_64/submul_1.S: Likewise.
53675
53676 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53677
53678         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53679         Define __sched_param instead of SCHED_* and sched_param when
53680         <bits/sched.h> is included with __need_schedparam defined.
53681         * bits/sched.h [__need_schedparam]
53682         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53683         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53684         (__defined_schedparam): Define to 1.
53685         (__sched_param): New structure, identical to sched_param.
53686         (__need_schedparam): Undefine.
53687
53688 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53689
53690         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53691         (epoll_create1): Declare.
53692
53693         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53694
53695 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53696
53697         [BZ #7066]
53698         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53699         shifting retval into place.
53700
53701 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53702
53703         * nis/rpcsvc/nis.h: Update copyright notice.
53704         * nis/rpcsvc/nis.x: Likewise.
53705         * nis/rpcsvc/nis_callback.h: Likewise.
53706         * nis/rpcsvc/nis_callback.x: Likewise.
53707         * nis/rpcsvc/nis_object.x: Likewise.
53708         * nis/rpcsvc/nis_tags.h: Likewise.
53709         * nis/rpcsvc/yp.h: Likewise.
53710         * nis/rpcsvc/yp.x: Likewise.
53711         * nis/rpcsvc/ypupd.h: Likewise.
53712         * nis/yp_xdr.c: Likewise.
53713         * nis/ypupdate_xdr.c: Likewise.
53714
53715         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53716         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53717         (pmap_getport): Use __libc_rpc_getport.
53718         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53719         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53720         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53721
53722 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53723
53724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53725         fanotify_mark.
53726
53727 2010-08-27  Roland McGrath  <roland@redhat.com>
53728
53729         * sysdeps/i386/i686/multiarch/Makefile
53730         (CFLAGS-varshift.c): New variable.
53731
53732 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53733
53734         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53735         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53736
53737         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53738
53739         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53740
53741 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53742
53743         * sysdeps/x86_64/strlen.S: Unroll the loop.
53744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53745         strlen-sse2 strlen-sse2-bsf.
53746         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53747         __strlen_no_bsf if bit_Slow_BSF is set.
53748         (__strlen_sse42): Removed.
53749         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53750         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53751
53752 2010-08-25  Roland McGrath  <roland@redhat.com>
53753
53754         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53755         * sysdeps/x86_64/multiarch/varshift.c: New file.
53756         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53757         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53758         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53759         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53760
53761 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53762
53763         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53764         strlen-sse2 strlen-sse2-bsf.
53765         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53766         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53767         (__strlen_sse2): Removed.
53768         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53769         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53770         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53771         bit_Slow_BSF for Atom.
53772         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53773         (index_Slow_BSF): Define.
53774         (HAS_SLOW_BSF): Define.
53775
53776 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53777
53778         [BZ #10851]
53779         * resolv/res_init.c (__res_vinit): When no server address at all
53780         is given default to loopback.
53781
53782 2010-08-24  Roland McGrath  <roland@redhat.com>
53783
53784         * configure.in: Remove config-name.h generation.
53785         * configure: Regenerated.
53786         * config-name.in: File removed.
53787         * scripts/config-uname.sh: New file.
53788         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53789         ($(objdir)config-name.h): New target.
53790
53791         * sunrpc/rpc_parse.h: Avoid nested comment.
53792
53793 2010-08-24  Richard Henderson  <rth@redhat.com>
53794             Ulrich Drepper  <drepper@redhat.com>
53795             H.J. Lu  <hongjiu.lu@intel.com>
53796
53797         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53798         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53799         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53800         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53801         _mm_alignr_epi8 with _mm_loadu_si128.
53802         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53803         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53804         (__m128i_shift_right): Removed.
53805         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53806         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53807         * sysdeps/x86_64/multiarch/varshift.h: New file.
53808         * sysdeps/x86_64/multiarch/varshift.S: New file.
53809
53810 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53811
53812         * configure.in: Move assembler checks to before sysdep dir checking.
53813
53814 2010-08-20  Petr Baudis  <pasky@suse.cz>
53815
53816         * LICENSES: Sync the sunrpc license.
53817
53818 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53819
53820         * sunrpc/auth_des.c: Update copyright notice once again.
53821         * sunrpc/auth_none.c: Likewise.
53822         * sunrpc/auth_unix.c: Likewise.
53823         * sunrpc/authdes_prot.c: Likewise.
53824         * sunrpc/authuxprot.c: Likewise.
53825         * sunrpc/bindrsvprt.c: Likewise.
53826         * sunrpc/clnt_gen.c: Likewise.
53827         * sunrpc/clnt_perr.c: Likewise.
53828         * sunrpc/clnt_raw.c: Likewise.
53829         * sunrpc/clnt_simp.c: Likewise.
53830         * sunrpc/clnt_tcp.c: Likewise.
53831         * sunrpc/clnt_udp.c: Likewise.
53832         * sunrpc/clnt_unix.c: Likewise.
53833         * sunrpc/des_crypt.c: Likewise.
53834         * sunrpc/des_soft.c: Likewise.
53835         * sunrpc/get_myaddr.c: Likewise.
53836         * sunrpc/getrpcport.c: Likewise.
53837         * sunrpc/key_call.c: Likewise.
53838         * sunrpc/key_prot.c: Likewise.
53839         * sunrpc/openchild.c: Likewise.
53840         * sunrpc/pm_getmaps.c: Likewise.
53841         * sunrpc/pm_getport.c: Likewise.
53842         * sunrpc/pmap_clnt.c: Likewise.
53843         * sunrpc/pmap_prot.c: Likewise.
53844         * sunrpc/pmap_prot2.c: Likewise.
53845         * sunrpc/pmap_rmt.c: Likewise.
53846         * sunrpc/rpc/auth.h: Likewise.
53847         * sunrpc/rpc/auth_unix.h: Likewise.
53848         * sunrpc/rpc/clnt.h: Likewise.
53849         * sunrpc/rpc/des_crypt.h: Likewise.
53850         * sunrpc/rpc/key_prot.h: Likewise.
53851         * sunrpc/rpc/netdb.h: Likewise.
53852         * sunrpc/rpc/pmap_clnt.h: Likewise.
53853         * sunrpc/rpc/pmap_prot.h: Likewise.
53854         * sunrpc/rpc/pmap_rmt.h: Likewise.
53855         * sunrpc/rpc/rpc.h: Likewise.
53856         * sunrpc/rpc/rpc_des.h: Likewise.
53857         * sunrpc/rpc/rpc_msg.h: Likewise.
53858         * sunrpc/rpc/svc.h: Likewise.
53859         * sunrpc/rpc/svc_auth.h: Likewise.
53860         * sunrpc/rpc/types.h: Likewise.
53861         * sunrpc/rpc/xdr.h: Likewise.
53862         * sunrpc/rpc_clntout.c: Likewise.
53863         * sunrpc/rpc_cmsg.c: Likewise.
53864         * sunrpc/rpc_common.c: Likewise.
53865         * sunrpc/rpc_cout.c: Likewise.
53866         * sunrpc/rpc_dtable.c: Likewise.
53867         * sunrpc/rpc_hout.c: Likewise.
53868         * sunrpc/rpc_main.c: Likewise.
53869         * sunrpc/rpc_parse.c: Likewise.
53870         * sunrpc/rpc_parse.h: Likewise.
53871         * sunrpc/rpc_prot.c: Likewise.
53872         * sunrpc/rpc_sample.c: Likewise.
53873         * sunrpc/rpc_scan.c: Likewise.
53874         * sunrpc/rpc_scan.h: Likewise.
53875         * sunrpc/rpc_svcout.c: Likewise.
53876         * sunrpc/rpc_tblout.c: Likewise.
53877         * sunrpc/rpc_util.c: Likewise.
53878         * sunrpc/rpc_util.h: Likewise.
53879         * sunrpc/rpcinfo.c: Likewise.
53880         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53881         * sunrpc/rpcsvc/key_prot.x: Likewise.
53882         * sunrpc/rpcsvc/klm_prot.x: Likewise.
53883         * sunrpc/rpcsvc/mount.x: Likewise.
53884         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53885         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53886         * sunrpc/rpcsvc/rex.x: Likewise.
53887         * sunrpc/rpcsvc/rstat.x: Likewise.
53888         * sunrpc/rpcsvc/rusers.x: Likewise.
53889         * sunrpc/rpcsvc/sm_inter.x: Likewise.
53890         * sunrpc/rpcsvc/spray.x: Likewise.
53891         * sunrpc/rpcsvc/yppasswd.x: Likewise.
53892         * sunrpc/rtime.c: Likewise.
53893         * sunrpc/svc.c: Likewise.
53894         * sunrpc/svc_auth.c: Likewise.
53895         * sunrpc/svc_authux.c: Likewise.
53896         * sunrpc/svc_raw.c: Likewise.
53897         * sunrpc/svc_run.c: Likewise.
53898         * sunrpc/svc_simple.c: Likewise.
53899         * sunrpc/svc_tcp.c: Likewise.
53900         * sunrpc/svc_udp.c: Likewise.
53901         * sunrpc/svc_unix.c: Likewise.
53902         * sunrpc/svcauth_des.c: Likewise.
53903         * sunrpc/xcrypt.c: Likewise.
53904         * sunrpc/xdr.c: Likewise.
53905         * sunrpc/xdr_array.c: Likewise.
53906         * sunrpc/xdr_float.c: Likewise.
53907         * sunrpc/xdr_mem.c: Likewise.
53908         * sunrpc/xdr_rec.c: Likewise.
53909         * sunrpc/xdr_ref.c: Likewise.
53910         * sunrpc/xdr_sizeof.c: Likewise.
53911         * sunrpc/xdr_stdio.c: Likewise.
53912
53913         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53914         handling.
53915
53916 2010-08-19  Andreas Schwab  <schwab@redhat.com>
53917
53918         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53919
53920 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
53921
53922         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53923         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53924         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53925         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53926         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53927         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53928         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53929         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53930         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53931         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53932         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53933         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53934         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53935         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53936
53937 2010-07-26  Anton Blanchard  <anton@samba.org>
53938
53939         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53940         * malloc/arena.c (heap_trim): Likewise.
53941
53942 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
53943
53944         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53945         here.  Not...
53946         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53947         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53948
53949 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
53950
53951         * sysdeps/i386/elf/Makefile: New file.
53952
53953 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53954
53955         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53956         from fanotify_init.
53957         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53958         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53959
53960 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
53961
53962         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53963         of strncasecmp_l.
53964         * sysdeps/multiarch/strcmp.S: Likewise.
53965
53966 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
53967
53968         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53969         strncase_l-nonascii.
53970         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53971         Add strncase_l-ssse3.
53972         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53973         * sysdeps/x86_64/strcmp.S: Likewise.
53974         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53975         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53976         * sysdeps/x86_64/strncase.S: New file.
53977         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53978         * sysdeps/x86_64/strncase_l.S: New file.
53979         * string/Makefile (strop-tests): Add strncasecmp.
53980         * string/test-strncasecmp.c: New file.
53981
53982         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53983         warning.
53984
53985         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53986         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53987
53988 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53989
53990         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53991
53992 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
53993
53994         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53995         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53996         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53997
53998 2010-05-01  Alan Modra  <amodra@gmail.com>
53999
54000         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54001         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54002         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54003         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54004         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54005         tidying.  Don't tail-call __sigjmp_save for static lib.
54006         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54007         save location.
54008         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54009         (CALL_MCOUNT): Add eh info, and nop after bl.
54010         (TAIL_CALL_SYSCALL_ERROR): New macro.
54011         (PSEUDO_RET): Use it.
54012         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54013         Correct save location of integer regs and cr.
54014         (_dl_profile_resolve): Correct cr save location.  Delete nops
54015         after bl when SHARED.  Reduce cfi size a little by better
54016         placement of cfi directives.
54017         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54018         make a stack frame.  Instead use parm save area as a temp.
54019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54020         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54022         Don't make a stack frame for parent, use parm save area.
54023         Increase child stack frame to 112 bytes.  Don't save unused reg,
54024         and adjust reg usage.  Set up cfi on error recovery and
54025         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54027         (__makecontext): Add dummy nop after jump to exit.
54028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54029         Use correct parm save area and cr save, reduce stack frame.
54030         Correct cfi for possible PSEUDO_RET frame setup.
54031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54032         Branch to local label emitted by PSEUDO_RET rather than
54033         __syscall_error.
54034
54035 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54036
54037         [BZ #11904]
54038         * locale/programs/locale.c (print_assignment): New function.
54039         (show_locale_vars): Use it.
54040
54041 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54042
54043         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54044         field.
54045         (struct statfs64): Likewise.
54046         (_STATFS_F_FLAGS): Define.
54047         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54048         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54049         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54050         (ST_VALID): Define locally.
54051         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54052         __statvfs_getflags, use the provided value.
54053         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54054         __ASSUME_STATFS_F_FLAGS.
54055
54056         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54057
54058         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54059         Add sys/fanotify.h.
54060         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54061         fanotify_mask for GLIBC_2.13.
54062         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54063         fanotify_init and fanotify_mark.
54064         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54065         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54066
54067         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54068         Add prlimit.
54069         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54070         prlimit64 for GLIBC_2.13.
54071         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54072         prlimit64.
54073         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54074         syscall.
54075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54076         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54077         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54078         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54079         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54080         add prlimit alias.
54081         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54082
54083         [BZ #11903]
54084         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54085         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54086
54087         * nss/Makefile: Add rules to build and run tst-nss-test1.
54088         * shlib-versions: Add entry for libnss_test1.
54089         * nss/nss_test1.c: New file.
54090         * nss/tst-nss-test1.c: New file.
54091
54092         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54093         (__nss_configure_lookup): Set appropriate entry in
54094         __nss_configure_lookup to true.
54095         * nss/nsswitch.h: Define enum with indeces of databases in
54096         databases and __nss_database_custom arrays.  Declare
54097         __nss_database_custom.
54098         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54099         to avoid using nscd when custom rules are installed.
54100         * nss/getXXbyYY_r.c: Likewise.
54101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54102
54103         * nss/nss_files/files-parse.c: Whitespace fixes.
54104
54105 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54106
54107         [BZ #11883]
54108         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54109         * posix/fnmatch_loop.c: Likewise.
54110
54111 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54112
54113         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54114         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54115         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54116         * Versions.def [GLIBC_2.13]: Add.
54117
54118 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54119
54120         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54121         Also fail if tpwd after pwuid call is NULL.
54122
54123 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54124
54125         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54126         when converting to ms.
54127
54128 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54129
54130         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54131         EOPNOTSUPP errors with ENOTTY.
54132         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54133         EOPNOTSUPP errors with ENOTTY.
54134
54135 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54136
54137         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54138         Add strcasecmp_l-ssse3.
54139         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54140         strcasecmp.
54141         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54142         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54143         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54144
54145 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54146
54147         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54148
54149         * string/Makefile (strop-tests): Add strcasecmp.
54150         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54151         strcasecmp_l-nonascii.
54152         (gen-as-const-headers): Add locale-defines.sym.
54153         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54154         * sysdeps/x86_64/strcasecmp.S: New file.
54155         * sysdeps/x86_64/strcasecmp_l.S: New file.
54156         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54157         * sysdeps/x86_64/locale-defines.sym: New file.
54158         * string/test-strcasecmp.c: New file.
54159
54160         * string/test-strcasestr.c: Test both ends of the range of characters.
54161         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54162
54163 2010-07-29  Roland McGrath  <roland@redhat.com>
54164
54165         [BZ #11856]
54166         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54167
54168 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54169
54170         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54171         for ld.so.
54172
54173 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54174
54175         * manual/memory.texi (Malloc Tunable Parameters): Document
54176         M_PERTURB.
54177
54178 2010-07-26  Roland McGrath  <roland@redhat.com>
54179
54180         [BZ #11840]
54181         * configure.in (-fgnu89-inline check): Set and substitute
54182         gnu89_inline, not libc_cv_gnu89_inline.
54183         * configure: Regenerated.
54184         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54185
54186 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54187
54188         * string/test-strnlen.c: New file.
54189         * string/Makefile (strop-tests): Add strnlen.
54190         * string/tester.c (test_strnlen): Add a few more test cases.
54191         * string/tst-strlen.c: Better error reporting.
54192
54193         * sysdeps/x86_64/strnlen.S: New file.
54194
54195 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54196
54197         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54198         lower-latency instructions.
54199
54200 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54201
54202         * string/test-strcasestr.c: New file.
54203         * string/test-strstr.c: New file.
54204         * string/Makefile (strop-tests): Add strstr and strcasestr.
54205         * string/str-two-way.h: Don't undefine MAX.
54206         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54207
54208 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54209
54210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54211         strcasestr-nonascii.
54212         (CFLAGS-strcasestr-nonascii.c): Define.
54213         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54214         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54215         Remove unused attribute.
54216
54217 2010-07-20  Roland McGrath  <roland@redhat.com>
54218
54219         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54220         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54221         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54222         like LD_HWCAP_MASK can disable hwcaps.
54223
54224 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54225
54226         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54227
54228 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54229
54230         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54231         call in strcasestr.
54232         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54233         __strcasestr_sse42_nonascii.
54234         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54235         strcasestr-nonascii.c.
54236         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54237
54238 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54239
54240         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54241         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54242         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54243         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54244
54245 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54246
54247         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54248         fcntl.
54249
54250 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54251
54252         [BZ #11577]
54253         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54254         dl_signal_cerror.
54255
54256 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54257
54258         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54259         _PC_PIPE_BUF using F_GETPIPE_SZ.
54260
54261 2010-07-05  Roland McGrath  <roland@redhat.com>
54262
54263         * manual/arith.texi (Rounding Functions): Fix rint description
54264         implicit in round description.
54265
54266 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54267
54268         * elf/Makefile: Fix linking for a few tests to make recent linker
54269         happy.
54270
54271 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54272
54273         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54274         $(common-objpfx)libc_nonshared.a.
54275
54276 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54277
54278         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54279         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54280         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54281         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54282         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54283         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54284         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54285         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54300         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54301         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54302         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54303         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54304         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54305         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54306         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54307         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54308         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54309         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54310         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54311         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54326
54327 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54328
54329         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54330         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54331         * string/memmove.c (memmove): Renamed to ...
54332         (MEMMOVE): ...this.  Default to memmove.
54333         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54334         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54335         (END_CHK): Define.
54336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54337         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54338         mempcpy-ssse3-back memmove-ssse3-back.
54339         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54340         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54341         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54342         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54343         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54344         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54345         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54346         * sysdeps/x86_64/multiarch/memmove.c: New file.
54347         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54348         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54349         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54350         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54351         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54352         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54353         Define.
54354         (index_Fast_Copy_Backward): Define.
54355         (HAS_ARCH_FEATURE): Define.
54356         (HAS_FAST_REP_STRING): Define.
54357         (HAS_FAST_COPY_BACKWARD): Define.
54358
54359 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54360
54361         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54362         Restore proper fallback handling.
54363
54364 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54365
54366         [BZ #11701]
54367         * posix/group_member.c (__group_member): Correct checking loop.
54368
54369         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54370         OOM in getpwuid_r correctly.  Return error number when the caller
54371         should return, otherwise -1.
54372         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54373         call returning > 0 value.
54374         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54375
54376 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54377
54378         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54379         libc_nonshared.a from targets in modules-names.
54380
54381 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54382
54383         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54384         requires it.
54385
54386 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54387
54388         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54389         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54390         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54391         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54392
54393 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54394
54395         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54396
54397 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54398
54399         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54400         and F_GETPIPE_SZ.
54401         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54402         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54403         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54404         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54405         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54406         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54407
54408 2010-06-14  Roland McGrath  <roland@redhat.com>
54409
54410         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54411
54412 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54413
54414         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54415         __REDIRECT followed by __THROW.
54416         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54417         * posix/getopt.h (getopt): Likewise.
54418
54419 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54420
54421         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54422         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54423         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54424         in AT_FLAGS.
54425         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54426         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54427
54428 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54429
54430         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54431
54432 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54433
54434         [BZ #11640]
54435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54436         Properly check family and model.
54437
54438 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54439
54440         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54441
54442 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54443
54444         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54445
54446 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54447
54448         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54449         symbol reference.
54450
54451 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54452
54453         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54454         symbol reference.
54455
54456 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54457
54458         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54459         and internal_recvmmsg.
54460         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54461         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54462         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54463         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54464
54465         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54466         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54467         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54468
54469 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54470
54471         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54472
54473 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54474
54475         POWER7 optimizations.
54476         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54477         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54478
54479 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54480
54481         * version.h: Update for 2.13 development version.
54482
54483 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54484
54485         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54486         exceptions.  Return 0.
54487
54488 2010-05-07  Roland McGrath  <roland@redhat.com>
54489
54490         * elf/ldconfig.c (main): Add a const.
54491
54492 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54493
54494         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54495         (args_options): Add no-idn option.
54496         (ahosts_keys_int): Add idn_flags to ai_flags.
54497         (parse_option): Handle 'i' option to clear idn_flags.
54498
54499         * malloc/malloc.c (_int_free): Possible race in the most recently
54500         added check.  Only act on the data if no current modification
54501         happened.
54502
54503 See ChangeLog.17 for earlier changes.